CS508 Midterm Paper 2010

CS508 – Modern Programming Languages – Midterm Paper 2010

Spring – Session 2


CS508 - Modern Programming Languages - Q. No. 1 M -  5
Compare ADA dor loop with dolist and dotime in LISP

CS508 - Modern Programming Languages - Q. No. 2 M -  5
Differentiate between ADA access types and C/C++ pointer type

CS508 - Modern Programming Languages - Q. No. 3 M -  3
Why predicate is a special function in LISP
 http://www.vuzs.net/study-portals/mcs-study-portal.html
CS508 - Modern Programming Languages - Q. No. 4 M -  3
Differentiate between C/C++ unions and ADA discriminated type (3)

CS508 - Modern Programming Languages - Q. No. 5 M -  2
What additional features are added in COBOL

CS508 - Modern Programming Languages - Q. No. 6 M -  2
Is there anything like templates as in C++

CS508 - Modern Programming Languages - Q. No. 7
  1. Anything starting with Capital or underscore is a variable in ____________(Prolog, Lisp, Cobol)
  2. In Prolog we specify ______ and not ______ (solution, problem)
  3. LISP is used in _______ and _______(functional paradigm, AI)
  4. First arguments in LISP is __________ (Atom, argument, integer, LIST)
  5. ADA has ____ do while loop as C/C++ (NO, effective, similar)
  6. Maps in SNOBOL are also available in ____(C, C++, MATLAB, Prolog)
  7. We use ____ indirect referencing operator in SNOBOL (Binary “.”, Binary $, Unary “.”, Unary $)
  8. Elementary types are also called __________ in ADA (Static, user defines, builtin)
  9. ADA is a _____typed language (strongly)
  10. http://www.vuzs.net/study-portals/mcs-study-portal.html
  11. In Snobol 2 spaces  are used for , 1st for ______, 2nd for _________
  12. ______ has elaborated exception handling (ADA, C++, JAVA, COBOL)
  13. ___ has a powerful set of operators but poor type checking (C, C++, ADA, LISP)
  14. ______and _______ have declaration paradigm (Prolog, SQL)
  15. 1st machine independent language is _______ sonobol
  16. To make necessary arguments at run time error is called ___________(exception handling)
  17. Language with wide domain of application has higher_________(generality)
  18. _____ has distributed computing architecture (COBRA)
  19. Readability has no influence on the cost of _________(deployment)
  20. The depth at which we can think is influenced by _________(implementation details)

Leave a Reply

Related Posts Plugin for WordPress, Blogger...