Real Time LISP Programming Interview Questions with Answers PDF
1. What is LISP Programming
List Processing – Lisp (or LISP) is the second oldest high-level programming language after Fortran developed by John McCarthy in 1958 while he was at the Massachusetts Institute of Technology (MIT). LISP is a commonly used language for artificial intelligence (AI) programming.Lisp has changed since its early days, and many dialects have existed over its history. Today, the best known general-purpose Lisp dialects are Common Lisp and Scheme.
2. How many types of variables are available in LISP?
There are two types of variables are available in LISP one is lexical variable, and other is special variable
3. What is LISP Machine (LISPM)
Lisp machines are general-purpose computers designed to efficiently run Lisp as their main software and programming language, usually via hardware support. They are an example of a high-level language computer architecture, and in a sense, they were the first commercial single-user workstations.
4. Who is the Founder of LISP Programming
Lisp was invented by John McCarthy in 1958.
5. What is the full form of LISP?
Lisp stand for – List Processing – Lisp (or LISP)
6. What is LG3 , How to pass commands to LG3
7. Is lisp a functional programming language ?
No
8. For what lisp programming is used for
9. What is meant by symbolic expression in lisp?
10. How many types of arguments are available in lisp?
11. Which primitive in LISP tests two arguments to see if their values are the same expression?
12. What is meant by keyword argument in LISP?
keyword argument are function arguments that are passed by keyword, instead of position.Keyword arguments can be mixed with by-position arguments, and default-value expressions can be supplied for either kind of argument:
(define greet
(lambda (given #:last surname)
(string-append "Hello, " given " " surname)))
> (greet "John" #:last "Smith")
"Hello, John Smith"
> (greet #:last "Doe" "John")
"Hello, John Doe"
In above example last is a keyword argument.
13. Which symbol is used to represent the prompt in LISP?
* symbol is used to represent the prompt in LISP.
14. Which notation facilitates uniformity in Lisp?
Prefix notation facilitates uniformity in lisp.
No comments:
Post a Comment