InterviewPitch
Land the job you want — prepare
with Real interviews Q&A
Curated interview questions, company-wise guides and coding rounds. Practice mock interviews, improve with feedback, and track your progress.
Q&A
Top curated interview packs
Company-wise & role-wise packs, quality assured.
Mock interview
AI scoring
Coding rounds
Top 10 sets
Beginner
1. What is Lisp?
Lisp is one of the oldest high-level programming languages based on symbolic expressions and functional programming.
Beginner
2. What does Lisp stand for?
Lisp stands for "LISt Processing".
Beginner
3. What is an S-expression?
An S-expression (Symbolic Expression) is the fundamental syntax of Lisp, written in parentheses.
Beginner
4. What is a list in Lisp?
A list is a sequence of elements enclosed in parentheses.
Beginner
5. What is an atom?
An atom is a basic data element that is not a list.
Beginner
6. What is CAR?
CAR returns the first element of a list.
Beginner
7. What is CDR?
CDR returns the rest of the list after removing the first element.
Beginner
8. What is CONS?
CONS creates a new list by adding an element to the front of an existing list.
Beginner
9. What is NIL?
NIL represents both the empty list and false.
Beginner
10. What is T in Lisp?
T represents true in Lisp.
Beginner
11. What is a function in Lisp?
A function is defined using DEFUN and consists of parameters and a body.
Beginner
12. What is DEFUN?
DEFUN is used to define a named function.
Beginner
13. What is a lambda expression?
An anonymous function defined using LAMBDA.
Beginner
14. What is quoting?
Quoting prevents evaluation of an expression using ' or QUOTE.
Beginner
15. What is recursion in Lisp?
A function calling itself to solve a problem.
Intermediate
16. What is dynamic typing?
Variables are not declared with types; types are determined at runtime.
Intermediate
17. What is lexical scoping?
Variables are accessible within the block they are defined.
Intermediate
18. What is LET?
LET creates local variables.
Intermediate
19. What is COND?
COND is a conditional expression similar to if-else.
Intermediate
20. What is MAPCAR?
Applies a function to each element of a list.
Intermediate
21. What is APPLY?
APPLY calls a function with arguments from a list.
Intermediate
22. What is EVAL?
EVAL evaluates a Lisp expression.
Intermediate
23. What is a macro?
A macro generates code before evaluation using DEFMACRO.
Intermediate
24. What is garbage collection?
Automatic memory management that frees unused memory.
Intermediate
25. What is PROGN?
Evaluates multiple expressions sequentially.
Intermediate
26. What is LOOP?
LOOP is used for iteration in Lisp.
Intermediate
27. What is a property list?
A list storing key-value pairs.
Intermediate
28. What is a hash table?
A data structure storing key-value pairs efficiently.
Intermediate
29. What is tail recursion?
Recursion where the recursive call is the last operation.
Intermediate
30. What is functional programming?
A paradigm where functions are first-className citizens.
Advanced
31. What are closures?
Functions that capture and remember their lexical environment.
Advanced
32. What is Common Lisp?
A standardized and widely used dialect of Lisp.
Advanced
33. What is Scheme?
A minimalist dialect of Lisp focused on simplicity.
Advanced
34. What is homoiconicity?
Code and data share the same structure in Lisp.
Advanced
35. What is REPL?
Read-Eval-Print Loop used for interactive programming.
Advanced
36. What is macro expansion?
Process of transforming macros into executable code.
Advanced
37. What is multiple return values?
Lisp functions can return more than one value.
Advanced
38. What is dynamic scope?
Variables are resolved at runtime from call stack.
Advanced
39. What is type declaration?
Optional type hints provided for optimization.
Advanced
40. What is metaprogramming?
Writing programs that generate or manipulate other programs.
Coding Round
41. Define a function in Lisp
(defun add (a b) (+ a b))Coding Round
42. Anonymous function example
(lambda (x) (* x x))Coding Round
43. Using CAR and CDR
(car '(1 2 3)) ; returns 1 (cdr '(1 2 3)) ; returns (2 3)Coding Round
44. Create a list
(list 1 2 3 4)Coding Round
45. Recursive factorial
(defun fact (n) (if (= n 0) 1 (* n (fact (- n 1)))))Coding Round
46. Conditional using COND
Answer HereCoding Round
47. Using LET
(let ((x 10) (y 20)) (+ x y))Coding Round
48. Map function over list
(mapcar #'(lambda (x) (* x 2)) '(1 2 3))Coding Round
49. Define a macro
(defmacro square (x) `(* ,x ,x))Coding Round
50. Simple loop example
(loop for i from 1 to 5 do (print i))