Erlang MCQ Questions & Answers

Erlang MCQs : This section focuses on "Basics" of Erlang. These Multiple Choice Questions (MCQ) should be practiced to improve the Erlang skills required for various interviews (campus interview, walk-in interview, company interview), placements, entrance exams and other competitive examinations.

1. ________ is a general purpose or you might say a functional programming language and runtime environment.

A. Verilog
B. Svn
C. Erlang
D. Solidity

View Answer


2. Erlang was later released as an open source language in year?

A. 1997
B. 1998
C. 1999
D. 2000

View Answer


3. The ______ sign is used to add comments to the program.

A. %
B. *
C. $
D. #

View Answer


4. The /0 means that our function start accepts ______ parameters.

A. 1
B. -1
C. 0
D. None of the above

View Answer


5. Single line comments are identified by using the % symbol at any position in the line.

A. Yes
B. No
C. Can be yes or no
D. Can not say

View Answer


6. Which of the following removes all current variable bindings?

A. b()
B. f()
C. x()
D. z()

View Answer


7. h() is used to?

A. Prints the current variable bindings
B. Removes all current variable bindings
C. Removes the binding for a particular variable
D. Prints the history list of all the commands executed in the shell

View Answer


8. In Erlang, there are _______ types of numeric literals.

A. 0
B. 1
C. 2
D. 3

View Answer


9. An atom is a literal, a constant with name.

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


10. Atoms should begin with a ?

A. special character
B. lowercase letter
C. uppercase character
D. None of the above

View Answer





Discussion



* You must be logged in to add comment.