300+ TOP Lisp programming Interview Questions [LATEST]

  1. 1. Can I Save My Programs To Files?

    Yes, absolutely, and the files are standard LISP code that will run on any AutoCAD system.

  2. 2. What Is Meant By Symbolic Expression In Lisp?

    The S- expression. The syntactic elements of the Lisp programming language are symbolic expressions, also known as s-expressions. Both programs and data are represented as s-expressions: an s-expression may be either an atom or a list.

  3. AutoCAD Interview Questions

  4. 3. What Is Meant By Keyword Argument In Lisp?

    Keyword arguments 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.

  5. 4. Mention What Are The Three Functions Required By Lisp?

    For defining functions, macro named defund is used, it needs three arguments

    • Name of the function
    • Parameters of the function
    • Body of the function
  6. Python Tutorial

  7. 5. Explain What Is The Property List In Lisp?

    In LISP, a symbol represents a data-object. It consists of component called Property list or plist. LISP enables to assign properties to symbols. A property list is executed as a list within an even numbers of elements.

  8. Python Interview Questions

  9. 6. Mention What Are The Two Pre-defined Packages Used In Lisp?

    The two pre-defined packages in LISP are:

    • Common Lisp:
      It contains symbols for all the functions and variables defined.
    • Common Lisp User:
      It uses the common-lisp package and all other packages with editing and debugging tools.
  10. 7. Explain What Is A Lisp Constant?

    In LISP, during execution constants are variables that never change their values. Using the defconstant construct constants is declared.

  11. Microstrategy Tutorial
    Microstrategy Interview Questions

  12. 8. Explain What Is Slot And What Are The Most Commonly Used Slot Options?

    Slots are nothing but variables that stores data or fields. A slot description has the form, where each option is a keyword followed by name, expression and other options.

    The most commonly used slot options are:

    • : accessor function-name
    • : initform expression
    • : initarg symbol
  13. 9. Explain What Is Local Variables?

    With a given procedure local variables are defined. The parameters named as arguments within a function are also referred as local variables. They are accessible only within the respective function.

  14. Basic Programming Interview Questions

  15. 10. Which Notation Facilitates Uniformity In Lisp?

    Prefix notation facilitates uniformity in lisp.

  16. Ruby on Rails Tutorial

  17. 11. Which Symbol Is Used To Represent The Prompt In Lisp?

    * Symbol is used to represent the prompt in LISP.

  18. Ruby on Rails Interview Questions

  19. 12. How Complex Can We Get?

    If you want, extremely complex. The LISP Generator utilizes nearly the entire Auto LISP language. There’s no limit to how large your programs can be, and no limit to how complex they can be either. Even though most programs can be written in a straightforward or “linear” manner, you have the option to write highly embedded code. You can nest multiple IF and LOOP statements within each other. Also, you can always feed complex operations or math equations as direct input to larger operations, which themselves could be embedded or “nested” in other operations, and so on. So, the sky’s the limit.

  20. AutoCAD Interview Questions

  21. 13. Who Is The Founder Of Lisp Programming?

    Lisp was invented by John McCarthy in 1958.

  22. Ruby on Rails 2.1 Tutorial

  23. 14. What Is The Full Form Of Lisp?

    Lisp stand for – List Processing – Lisp (or LISP).

  24. 15. Explain What Is The Output Like?

    LG3 writes easy-to-read, fully indented Auto LISP programs loaded with detailed comments in English that explain what all of the LISP code is doing. The files are standard “.LSP” files. You can view, edit, or print them with any editor, and run them on any AutoCAD system with or without the Generator.

  25. Ruby Interview Questions

  26. 16. 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 high-level language computer architecture, and in a sense, they were the first commercial single-user workstations.

  27. D Programming Language Tutorial

  28. 17. 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.

  29. Prolog Interview Questions

  30. 18. What Is Repl In Context Of Node?

    REPL stands for Read Eval Print Loop and it represents a computer environment like a window console or unix/linux shell where a command is entered and system responds with an output. Node.js or Node comes bundled with a REPL environment. It performs the following desired tasks.

    Read –
    Reads user’s input, parse the input into JavaScript data-structure and stores in memory.

    Eval –
    Takes and evaluates the data structure

    Print –
    Prints the result

    Loop –
    Loops the above command until user press ctrl-c twice.

  31. Python Interview Questions

  32. 19. Mention How Many Types Of Variables Available Is Lisp? Explain What Are The Variables That Are Bound, And That Have Values Assigned To Them?

    The number of variables available in LISP is two one is lexical variable, and other is special variable. The parameter of procedures is variable which are bound and have values allotted to them.

  33. 20. How To Save Programs To Files?

    files are standard LISP code that will run on any AutoCAD system.

  34. CGI Programming Interview Questions

  35. 21. Why We Need Lisp?

    In short, no single improvement you can make to your AutoCAD system will save you more time, effort, and money. You can spend thousands on the latest generation computers, the fastest video cards, and so on, but that won’t make nearly as big a difference as automating your system with software. With an arsenal of LISP routines, you will send accuracy, consistency, and productivity soaring while greatly reducing the stress and strain of CAD operation.

    The right software is the key, and there is no amount of software you can buy that beats being able to program AutoCAD yourself with as many tailor-made routines as you want. And that is exactly what the LISP Generator enables you to do.

  36. 22. What If We Get Interrupted?

    You are free to come and go from the LISP Generator and do whatever you want in AutoCAD while you are in the middle of creating a program. There are helpful tools in case you forget things like the names of variables you defined.

  37. 23. Explain What Is The Ouput Like?

    LG3 writes easy-to-read, fully indented AutoLISP programs loaded with detailed comments in English that explain what all of the LISP code is doing. The files are standard “.LSP” files. You can view, edit, or print them with any editor, and run them on any AutoCAD system with or without the Generator.

  38. D Programming Language Interview Questions

  39. 24. How To Pass Commands To Lg3?

    By selecting general operations from the tools menu. You can think of the tools as building blocks – each tool corresponding to several lines of LISP code. The tools you use and the order in which you select them defines what your program does.

  40. Microstrategy Interview Questions