×

Top 15 Erlang Interview Questions for 2024

1) What is Erlang÷

Erlang is an open source programming language. It is used to build massively scalable soft real-time systems. It has runtime environment. It supports concurrency, fault tolerance and distribution.

2) What are the uses of Erlang÷

The uses of Erlang are given below:
  • Telecoms
  • Banking
  • E-commerce
  • Computer telephony etc.

3) Who developed Erlang÷

Erlang developed by Joe Armstrong, Robert Virding and Mike Williams in 1986.

4) Why we should use Erlang÷

We should use Erlang because of its features:
  • It is used to develop our application.
  • It handles a large number of concurrent actives.
  • It provides us to make the application fault-tolerant.
  • It is easy to upgrade and reconfigure.

5) How to create a simple program in Erlang÷

The following codes for create a simple program:
% hello world program  
-module?helloworld).   
-export?[start/0]).   
start?) ->   
   io:fwrite?"Hello, world!\n").

6) How to import statement in Erlang÷

The following code is used to import statement in Erlang:
-import ?modulename, [functionname/parameter]).

7) How can we comment a single line÷

We can comment a single line by using % symbols. Example:
% hello world program

8) What are the functions for Erlang shell÷

There are following functions for Erlang shell:
  • b?) : It is used to print the current variable binding.
  • f?) : It is used to remove all current variable bindings.
  • h?): It is used to print the history of all the command executed.

9) What is pattern matching÷

Pattern matching is used to bind to the value. It occurs while evaluating a function call.

10) What are the ways to include a files in Erland÷

There are two ways to include a file in Erland.
include ?File).
include_lib ?File).

11) What is PID datatype in Erlang÷

PID stands for process identifier datatype. It is used for unique process identifiers which are assigning to every process.

12) How to create a module in Erlang÷

The following syntax is used to create a module. Syntax:
-module?modulename)

13) What is OTP in Erlang÷

OTP stands for open telecom platform. It is a set of Erlang libraries and design principles providing middile-ware to develop system collection of libraries open source platform.

14) What are the methods of I/O in Erlang÷

There are various methods of I/O in Erlang:
I/O Methods Description
file_read It is used to read all the contents of a file.
write It is used to write the contents to a file.
copy It is used to delete an existing file.
delete It is used to delete an existing file.
list_dir It is used to list down the contents of a particular directory.

15) What is the command to disconnect node in Erlang÷

In Erlang, erlang: disconnect_node ?Node) command is used to disconnect node in Erlang.

Related Topics

Top 14 Web icon Interview Questions for 2024

1) What is Web Icon? Web Icon is a symbol that is used to represent a specific action or a capability on a webpage. It is used in documents as well...

5 minutes read.

Top 15 Java Multithreading Interview Questions for 2024

1) What is Multithreading in Java ? It is a process of executing multiple threads simultaneously. It is used to achieve multitasking. It is mostly used in animation and games etc. 2) What are...

4 minutes read.

VB.NET Interview Questions

1) What is VB.NET? VB.NET stands for Visual Basic .NET. It is an object oriented programming language. It is implemented on .NET framework and launched by Microsoft in 2001. 2) Who is...

3 minutes read.

Top 10 Java Swing Interview Questions for 2024

1) What is Java Swing? It is a part of JFC (Java Foundation Classess) that is used to create window-based applications. Java Swing components are platform independent and lightweight . 2) What is...

3 minutes read.

Top 30 FuelPHP Framework Interview Questions for 2024

1) What is FuelPHPFramework? FuelPHP Framework is an open source web application and written in PHP scripting language. It is based on the HMVC (Hierarchical Model View Controller) design pattern. It was released...

6 minutes read.

Top 30 JSF Interview Questions for 2024

1) What is JSF? JSF stands for Java Server Faces is a Java-Based web application framework. JSF (Java Server Faces) provides a facility to connect UI widgets with data sources. 2) What are...

4 minutes read.

Top 15 CSS Buttons Interview Questions for 2024

1) What is CSS buttons? CSS buttons is used to create awesome button. It provides huge collection of CSS library files. 2) What are the CSS libraries to create buttons? There are following...

5 minutes read.

Top 14 Elixir Interview Questions for 2024

1) What is Elixir? Elixir is a dynamic, functional language. It is designed to build scalable and maintainable applications. 2) Who developed Elixir? Ericsson developed elixir in 1986. 3) What is the stable version of...

2 minutes read.

Top 30 VB Script Interview Questions for 2024

1) What is VB Script? VBScript stands for Visual Basic Scripting Language. It is a light version of Microsoft Visual Basic. It is a client side scripting Language. 2) What is the...

5 minutes read.

W3.CSS Interview Questions

1) What is W3.CSS? W3.CSS stands for Cascading Style Sheet. It is developed by w3schools.com. It is used to create faster, beautiful and responsive websites. 2) What are the features of W3.CSS? W3.CSS...

3 minutes read.

Top 30 Go Programming Language Interview Questions for 2024

1) What is Go Programming language? Go programming language is an open source programming language. It is developed at Google in 2007. It is designed for system programming language. 2) Who designed...

4 minutes read.

Top 50 ReactJS Interview Questions for 2024

Top 50 Frequently asked ReactJS Interview Questions Q-1. What is React? Ans-1 React is a front-end JavaScript library which is developed by Facebook in 2011. It follows the component-based approach and allows us to...

15 minutes read.

Top 30 Web2py Framework Interview Questions for 2024

1) What is Web2py Framework? Web2py is an open source web application framework. It is written in the Python programming language. It allows web developers to design and develop dynamic web...

7 minutes read.

Top 14 Material Design Lite Interview Questions for 2024

1) What is Material Design Lite? Material Design Lite is UI component Library. It is created with CSS, JavaScript and HTML. It is used for design purpose. It is developed by...

3 minutes read.

Top 50 HTML Interview Questions for 2024

1) What is HTML? HTML stands for Hyper Text Markup Language. It is used for creating web pages and web applications. HTML documents are made up of two things: the content and the tags. 2) What are...

10 minutes read.

Top 26 CouchDB interview questions for 2024

1) What is CouchDB? CouchDB is a document typed database server which can be accessed through RESTful JSON API. It is a schema free and Ad-hoc database with a flat address...

4 minutes read.

Top 30 RPA Interview questions for 2024

Q1. What is RPA (Robotic Process Automation)? The Robotic Process Automation is a trending technology in the market where: Robotic: Robotic means "machines that copy the human actions." Process: Process means "the sequence of steps which...

12 minutes read.

Top 30 Magento Interview Questions for 2024

1) What is Magento? Magento is an open-source content management system. It is used to create e-commerce websites. It is developed by Varien ,Inc, a US private company headquartered in Culver City, California. It...

5 minutes read.

Top 15 Pure CSS Interview Questions for 2024

1) What is Pure CSS? Pure is a CSS (Cascading Style Sheet) framework. It is a collection of small set of responsive CSS modules. We can integrate it to any web...

5 minutes read.

Top 20 HTTP Interview Questions for 2024

1) What is HTTP? HTTP stands for Hypertext Transfer Protocol. It is a set of rules for transferring of data on WWW (World Wide Web). 2) What are the basic Features of...

4 minutes read.