Erlang (programming language)/Erlang MCQ Question Sample Test,Sample questions

Question:
 h() is used to?

1.Prints the current variable bindings

2.Removes all current variable bindings

3.Removes the binding for a particular variable

4.Prints the history list of all the commands executed in the shell


Question:
 In Erlang, there are _______ types of numeric literals.

1.0

2.1

3.2

4.3


Question:
 What are the datatypes that Erlang provides?

1.Constant data types

2.Compound data types

3.Both A and B

4.None


Question:
A file can be included in Erlang by

1.Include (File)

2.Include_lib (File)

3.Both of these

4.None of These


Question:
A section of code that responds to a particular interaction of the user with a gui control is called a ... ?

1.dispatch function

2.event handler

3.control structure

4.exception handler


Question:
A true or false statement put into code that the programmer expects to always be true is an ...

1.exception

2.harness

3.assertion

4.expression


Question:
An atom is a literal, a constant with name.

1.TRUE

2.FALSE

3.Can be true or false

4.Can not say


Question:
At Dartmouth College in 1964 John Kemeny and Thomas Kurtz invented .... ?

1.ALGOL

2.BASIC

3.FORTRAN

4.None


Question:
Atoms should begin with a ?

1.special character

2. lowercase letter

3.uppercase character

4. None of the above


Question:
Atoms should begin with a ?

1.special character

2.lowercase letter

3.uppercase character

4.None of the above


Question:
Dylan, Erlang, Haskell and ML are examples of ... ?

1.web languages

2.declarative languages

3.functional languages

4.visual languages


Question:
Erlang has built-in support for

1.Concurrency

2.Fault tolerance

3.Distribution

4.All of the above


Question:
Erlang was later released as an open source language in year?

1.1997

2.1998

3.1999

4.2000


Question:
Give the list of valid guard expressions?

1.Atom true

2.Other constants

3.Calls to the BIFs specified

4.All of these


Question:
GOS is typically given as a likelihood that a ________

1.Call is in progress

2.Channels are busy

3.Call is blocked

4.Channel are free


Question:
In Erlang, there are _______ types of numeric literals.

1.0

2.1

3.2

4.3


Question:
List out the pre-defined Macros in Erlang?

1.File

2.Line

3.Machine

4.All of the above


Question:
List out the pre-defined Macros in Erlang?

1.Module: It returns the name of the current module

2. Module_String: It returns the name of the current module, as a string

3. File: It returns the current file name

4.All of the above


Question:
One Erlang represents _________

1.One call- hour per hour

2.One call-minute per hour

3.One call- hour per minute

4.Many calls- hour per hour


Question:
RISC is ...

1.a defensive programming style

2.a web framework

3.a threading library

4.a CPU design strategy


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

1.Yes

2.No

3.Can be yes or no

4.Can not say


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

1. 1

2.-1

3.0

4.None of the above


Question:
The time requires to allocate a trunked radio channel to a requesting user is called _______

1.Dwell time

2.Holding time

3.Run time

4.Set up Time


Question:
The ______ sign is used to add comments to the program.

1. %

2. *

3.$

4. #


Question:
To include a file in Erlang what is the command used?

1.include (File)

2.include_lib (File)

3.All of these

4.None


Question:
What are the advantages of Erlang over other programming languages?

1.Mostly functional programming with decent matching constructs, but with fully dynamic typing

2.Reliability-oriented standard library

3.Hot code swapping

4.All of the above


Question:
What are the key features of Erlang?
A. 
B. 
C. 
D. All of the above

1.Memory Management

2.Distribution

3.Integrationwrong

4.All of the above


Question:
What are the key features of Erlang?

1.Declarative Syntax: It has got the declarative syntax

2.Concurrent: It has a process-based model of concurrency

3.Realtime: It programs a real-time system

4.All of the above


Question:
What are the large companies using Erlang in their production systems?

1.Amazon

2.Facebook

3.WhatsApp

4.All of the above


Question:
What is an erlang ?

1.An Appalachian musical instrument

2. An Australian Aboriginal weapon

3.unit of telephone traffic

4.A subatomic particle


Question:
What is Erlang?

1.General purpose programming language

2.Assembly Language

3.Both of these

4.None


Question:
What is the list of valid guard expressions?

1.Arithmetic Expressions

2.Boolean Expressions

3.Short-circuit Expressions

4.All of the above


Question:
What is the measure of the ability of user to access a trunked system during the busiest hour?

1.Trunking

2.Grade of Service

3.Multiplexing

4.Sectoring


Question:
What is the syntax to write Macros in Erlang?

1.define ( Const, Replacement )

2.define ( Fun ( Var1 , Var2, …., Var ) , Replacement )

3.both (a) and (b)

4.None of these


Question:
Which of the following removes all current variable bindings?

1.b()

2.f()

3. x()

4.z()


Question:
You could use XSLT to ...

1.speed up database queries

2.encrypt passwords

3.transform XML into HTMLcorrect

4.cache html pages


Question:
_____ is a general purpose or you might say a functional programming language and runtime environment.

1.Verilog

2.Svn

3.Erlang

4.Solidity


Question:
_______ is a general purpose or you might say a functional programming language and runtime environment.

1.Verilog

2.Svn

3.Erlang

4.Solidity


More MCQS

  1. Erlang MCQ Question
Search
Olete Team
Online Exam TestTop Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on Online Exam Testwebsite is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!