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