Home / CSE MCQs / Erlang ::

CSE MCQs :: Erlang

  1. What are the key features of Erlang?
  2. A.
    Declarative Syntax: It has got declarative syntax
    B.
    Concurrent: It has process based model of concurrency
    C.
    Realtime: It programs realtime system
    D.
    All of the above

  3. Dylan, Erlang, Haskell and ML are examples of ... ?
  4. A.
    web languages
    B.
    declarative languages
    C.
    functional languages
    D.
    visual languages

  5. To include a file in Erlang what is the command used?
  6. A.
    include (File)
    B.
    include_lib (File)
    C.
    All of these
    D.
    None

  7. Give the list of valid guard expressions?
  8. A.
    Atom true
    B.
    Other constants
    C.
    Calls to the BIFs specified
    D.
    All of these

  9. You could use XSLT to ...
  10. A.
    speed up database queries
    B.
    encrypt passwords
    C.
    transform XML into HTML
    D.
    cache html pages

  11. List out the pre-defined Macros in Erlang?
  12. A.
    Module: It returns the name of the current module
    B.
    Module_String: It returns the name of the current module, as a string
    C.
    File: It returns the current file name
    D.
    All of the above

  13. At Dartmouth College in 1964 John Kemeny and Thomas Kurtz invented .... ?
  14. A.
    ALGOL
    B.
    BASIC
    C.
    FORTRAN
    D.
    None

  15. RISC is ...
  16. A.
    a defensive programming style
    B.
    a web framework
    C.
    a threading library
    D.
    a CPU design strategy

  17. A section of code that responds to a particular interaction of the user with a gui control is called a ... ?
  18. A.
    dispatch function
    B.
    event handler
    C.
    control structure
    D.
    exception handler

  19. A true or false statement put into code that the programmer expects to always be true is an ...
  20. A.
    exception
    B.
    harness
    C.
    assertion
    D.
    expression