

MCQOPTIONS
Saved Bookmarks
This section includes 7 Mcqs, each offering curated multiple-choice questions to sharpen your Php knowledge and support exam preparation. Choose a topic below to get started.
1. |
Think of a way to write addition of four numbers using maximum possible braces? |
A. | (+ 1 2 3 4) |
B. | (+ (+ 1 2) (+ 3 4)) |
C. | (+ 1 (+ 2 (+ 3 (4)))) |
D. | (+ 1 2 (+ 3 4)) |
Answer» C. (+ 1 (+ 2 (+ 3 (4)))) | |
2. |
Can LISP programs be nested? |
A. | Yes |
B. | No |
Answer» B. No | |
3. |
What is the basic syntax of LISP? (Note: arg means argument here) |
A. | (<LISP Primitive> <arg1> <arg2> …) |
B. | (<LISP Primitive> <arg>) |
C. | (<arg> <LISP Primitive>) |
D. | (<arg1> <arg2> … <LISP Primitive>) |
E. | (<LISP Primitive> <arg1> <arg2> …)b) (<LISP Primitive> <arg>)c) (<arg> <LISP Primitive>)d) (<arg1> <arg2> … <LISP Primitive>) |
Answer» B. (<LISP Primitive> <arg>) | |
4. |
How many arguments do a single LISP program has? |
A. | One |
B. | Two |
C. | Any number of arguments |
D. | Three |
Answer» D. Three | |
5. |
Arguments are ____ a part of LISP Syntax. |
A. | sometimes |
B. | always |
C. | vever |
D. | not considered as |
Answer» C. vever | |
6. |
Which of the following is part of basic syntax in LISP programming? |
A. | Primitive |
B. | + |
C. | NULL |
D. | #include |
Answer» B. + | |
7. |
REDREDRED?$ |
A. | redred |
B. | red |
C. | Error |
Answer» C. Error | |