SOLVED CS508 Quiz No. 1 Solution and Discussion
Opening Dec 06, 2019
Closing Dec 08, 2019
LISP was basically developed to solve ________ problems.
LISP was one of the earliest programming language. It was designed at MIT for artificial
intelligence and it has since been the defacto standard language for the AI community,
especially in the US.
For immediate value assignment ______ sign is used.
The $ is used for immediate value assignment even if the entire pattern does not match. It
is used as follows:
Following statement returns the union of the two list in LISP.
Page : 68
Block statement in Ada is very similar to a block in _______.
_____________ was considered good for describing algorithms.
The declarative language among the following is CS508 C
In Ada programming language Tagged types are used for _____
_____ are a type of Aliasing.
How many element(s) are there in LISP list (a (b c))? CS508 1
In __________, Enumeration type can also be used as indexes in arrays.
Following factors influences a portable language design EXCEPT CS508
Elements of the array in SNOBOL4 _______ CS508
must be of same type
not necessarily of the same
What is maximum length of variable name in Snobol? CS508
____ is used to give comments in Ada language. CS508
In LISP, following statement returns the difference of the two lists. CS508
(Difference L1 L2)
>(set-difference L1 L2)
Which of the following functions assigns value 5 to symbol y.? CS508 >
(setq 5 y)
COBOL was the first language that brings the concept of __________. CS508
If a language become very simple then it will _______________. CS508
increase readability and decrease writability
decrease both readability and writability
__________helps in creating types of your own choice even numeric types can be created. CS508