CS508 Quiz No. 1 Solution and Discussion
-
LISP was basically developed to solve ________ problems.
Select correct option:
Artificial intelligence
Accounting
Scientific
Business -
- Increased capacity to express programming concepts
Study of programming languages helps in increasing the capacity of express
programming concepts.
- Increased capacity to express programming concepts
-
Block statement in Ada is very similar to a block in _______.
in C
-
How many element(s) are there in LISP list (a (b c))?
-
write (list 1 2)) (terpri) (write (list 'a 'b)) (terpri) (write (list 1 nil)) (terpri) (write (list 1 2 3)) (terpri) (write (list 'a 'b 'c)) (terpri) (write (list 3 4 'a (car '(b . c)) (* 4 -2))) (terpri) (write (list (list 'a 'b) (list 'c 'd 'e)))When you execute the code, it returns the following result −
(1 2) (A B) (1 NIL) (1 2 3) (A B C) (3 4 A B -8) ((A B) (C D E)) -
Which of the following is the only Control structure in SNOBOL?
GOTO control structure -
A language evaluation criteria includes following factors EXCEPT
correct option:
Modularity -
A list in LISP is a group of atoms and /or lists. “(b c)” in list (a (b c)) is _____ ?
list
-
___________ is an important feature of Ada language used in embedded systems and operating systems. It is used in managing parallel threads of controls.
Features of Ada include: strong typing, modularity mechanisms (packages), run-time checking, parallel processing (tasks, synchronous message passing, protected objects, and nondeterministic select statements), exception handling, and generics.
-
SNOBOL was created specifically for text and string manipulation
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login








