Olete.in
Articles
Mock Tests
🧪 Erlang (programming language) MCQ Quiz Hub
Erlang MCQ Question
Choose a topic to test your knowledge and improve your Erlang (programming language) skills
1. _______ is a general purpose or you might say a functional programming language and runtime environment.
Verilog
Svn
Erlang
Solidity
2. Erlang was later released as an open source language in year?
1997
1998
1999
2000
3. The ______ sign is used to add comments to the program.
%
*
$
#
4. The /0 means that our function start accepts ______ parameters.
1
-1
0
None of the above
5. Single line comments are identified by using the % symbol at any position in the line.
Yes
No
Can be yes or no
Can not say
6. Which of the following removes all current variable bindings?
b()
f()
x()
z()
7. h() is used to?
Prints the current variable bindings
Removes all current variable bindings
Removes the binding for a particular variable
Prints the history list of all the commands executed in the shell
8. In Erlang, there are _______ types of numeric literals.
0
1
2
3
9. An atom is a literal, a constant with name.
TRUE
FALSE
Can be true or false
Can not say
10. Atoms should begin with a ?
special character
lowercase letter
uppercase character
None of the above
11. What are the datatypes that Erlang provides?
Constant data types
Compound data types
Both A and B
None
12. A file can be included in Erlang by
Include (File)
Include_lib (File)
Both of these
None of These
13. What is the list of valid guard expressions?
Arithmetic Expressions
Boolean Expressions
Short-circuit Expressions
All of the above
14. List out the pre-defined Macros in Erlang?
File
Line
Machine
All of the above
15. What are the advantages of Erlang over other programming languages?
Mostly functional programming with decent matching constructs, but with fully dynamic typing
Reliability-oriented standard library
Hot code swapping
All of the above
16. What are the large companies using Erlang in their production systems?
Amazon
Facebook
WhatsApp
All of the above
17. Erlang has built-in support for
Concurrency
Fault tolerance
Distribution
All of the above
18. What are the key features of Erlang? A. B. C. D. All of the above
Memory Management
Distribution
Integrationwrong
All of the above
19. What is the syntax to write Macros in Erlang?
define ( Const, Replacement )
define ( Fun ( Var1 , Var2, …., Var ) , Replacement )
both (a) and (b)
None of these
20. What is Erlang?
General purpose programming language
Assembly Language
Both of these
None
21. A true or false statement put into code that the programmer expects to always be true is an ...
exception
harness
assertion
expression
22. A section of code that responds to a particular interaction of the user with a gui control is called a ... ?
dispatch function
event handler
control structure
exception handler
23. RISC is ...
a defensive programming style
a web framework
a threading library
a CPU design strategy
24. At Dartmouth College in 1964 John Kemeny and Thomas Kurtz invented .... ?
ALGOL
BASIC
FORTRAN
None
25. List out the pre-defined Macros in Erlang?
Module: It returns the name of the current module
Module_String: It returns the name of the current module, as a string
File: It returns the current file name
All of the above
26. What are the key features of Erlang?
Declarative Syntax: It has got the declarative syntax
Concurrent: It has a process-based model of concurrency
Realtime: It programs a real-time system
All of the above
27. Dylan, Erlang, Haskell and ML are examples of ... ?
web languages
declarative languages
functional languages
visual languages
28. To include a file in Erlang what is the command used?
include (File)
include_lib (File)
All of these
None
29. Give the list of valid guard expressions?
Atom true
Other constants
Calls to the BIFs specified
All of these
30. You could use XSLT to ...
speed up database queries
encrypt passwords
transform XML into HTMLcorrect
cache html pages
31. Atoms should begin with a ?
special character
lowercase letter
uppercase character
None of the above
32. In Erlang, there are _______ types of numeric literals.
0
1
2
3
33. _____ is a general purpose or you might say a functional programming language and runtime environment.
Verilog
Svn
Erlang
Solidity
34. One Erlang represents _________
One call- hour per hour
One call-minute per hour
One call- hour per minute
Many calls- hour per hour
35. What is an erlang ?
An Appalachian musical instrument
An Australian Aboriginal weapon
unit of telephone traffic
A subatomic particle
36. What is the measure of the ability of user to access a trunked system during the busiest hour?
Trunking
Grade of Service
Multiplexing
Sectoring
37. GOS is typically given as a likelihood that a ________
Call is in progress
Channels are busy
Call is blocked
Channel are free
38. The time requires to allocate a trunked radio channel to a requesting user is called _______
Dwell time
Holding time
Run time
Set up Time
Submit