In LISP, the function assigns the symbol x to y is
A. (setq y x)
B. (set y = 'x')
C. (setq y = 'x')
D. (setq y 'x')
E. None of the above
Answer: Option A
Solution(By Examveda Team)
In LISP, the function used to assign the value of one variable to another variable is setq. It stands for "set quoted". The syntax for using setq is (setq variable value).So, to assign the value of x to the variable y, the correct LISP expression is (setq y x).
Option B, Option C, and Option D do not follow the correct syntax for assigning a value to a variable in LISP.
Therefore, the correct LISP expression to assign the symbol x to y is Option A: (setq y x).
What is the term used for describing the judgmental or commonsense part of problem solving?
A. Heuristic
B. Critical
C. Value based
D. Analytical
E. None of the above
What stage of the manufacturing process has been described as "the mapping of function onto form"?
A. Design
B. Distribution
C. project management
D. field service
E. None of the above
Which kind of planning consists of successive representations of different levels of a plan?
A. hierarchical planning
B. non-hierarchical planning
C. All of the above
D. project planning
E. None of the above
What was originally called the "imitation game" by its creator?
A. The Turing Test
B. LISP
C. The Logic Theorist
D. Cybernetics
E. None of the above
Join The Discussion