×

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 15 PouchDB Interview Questions for 2024

1) What is PouchDB? PouchDB is an in-browser database that allows applications to save data. It is an open source database. It runs in Node.js. 2) In which language PouchDB was written? PouchDB was written in JavaScript language. 3)...

2 minutes read.

Top 14 Apache Presto Interview Questions for 2024

1) What is Presto? Presto is a distributed SQL query engine. It is an open source software project to develop a database. 2) What are the features of Presto? There are following features...

2 minutes read.

Flutter Interview Questions

Here’s a list of top Flutter questions that are frequently asked. Q1.  Is Flutter an open-source? A1.  Yes, Flutter is a 100% open-source software development kit. Q2.  What are flutter widgets? A2.  Widgets are...

7 minutes read.

Top 10 WCF Interview Questions for 2024

  1. What is WCF? Windows Communication Foundation (WCF), earlier known by the name Indigo, is a run-time platform and a set of APIs in the .NET Framework for building, configuring, and...

7 minutes read.

Top 30 CSS Interview Questions for 2024

1) Define the process where block elements can be centered with css. It can be centered by using margin-left and margin-right properties we can centered the block level elements. 2) Name the...

4 minutes read.

Top 30 SQLite Interview Question for 2024

1) What is SQLite? It is an in-process library which implements self-contained, serverless, zero-configuration, transactional SQL database. 2) What datatype does SQLite supports? It uses dynamic typing and data can be stored in...

5 minutes read.

Top 30 Fortran Interview Questions for 2024

1) What is Fortran? Fortran is general purpose, high-level programming language which is used for numeric and scientific computing. 2) What are the features of Fortran programming language? Features of Fortran language are: ...

4 minutes read.

Top 30 WordPress Interview Questions for 2024

Most Frequently asked WordPress Interview Questions and Answers 2019 1) What is WordPress? WordPress is an open-source CMS (Content Management System) and a blogging tool. It is used to create web sites and...

5 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 T-SQL(Transact-SQL) Interview Questions for 2024

1) What is T-SQL? T-SQL stands for Transact Structured Query Language. T-SQL is the extension of SQL functionality supported by Microsoft SQL Server and Sybase ASE. 2) What are the features of...

3 minutes read.

Top 31 PHP Interview Questions for 2024

1) What is PHP? PHP is a object-oriented scripting language, open source, interpreted and executed at server side. It is also used to develop web applications. 2) What are the features of PHP? Features...

4 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 15 NodeJS Interview Questions for 2024

1) What is NodeJs? NodeJs is open source JavaScript based feamework used to develop I/O intensive web application. It is collections of JavaScript library and runtime environment. It is used to...

3 minutes read.

Top 30 TypeScript Interview Questions for 2024

1) What is TypeScript? TypeScript is an object-oriented and compiled language. TypeScript is also known as a set of tools. TypeScript is used for application-scale development. 2) What are the features of TypeScript? Features of...

4 minutes read.

Top 30 Swift Interview Questions for 2024

1) What is Swift? It is an innovative programming language developed by Apple Inc. It is used for creating applications for iOS and OS X. 2) What are the features of Swift Programming? Features...

4 minutes read.

Top 15 Foundation Interview Questions for 2024

1) What is Foundation? Foundation is a front-end framework that is for designing beautiful responsive websites. This framework is compatible with all types of devices and provides you with HTML, CSS...

2 minutes read.

Top 30 Drupal Interview Questions for 2024

1) What is Drupal? Drupal is an open source CMS (Content Management System) framework. It is written in php and provides rich set of tools to create web sites. 2) What are...

4 minutes read.

Top 15 ASP.NET MVC Framework Interview Questions for 2024

1) What is ASP.NET MVC Framework? ASP.NET MVC framework is a software architecture pattern for developing web applications. It is used to split the application's implementation logic into three components: models,...

4 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 22 MariaDB Interview Question for 2024

1) What is MariaDB? It is a community based database devoloped by MySQL Devolopers. It provides same features as MySQL also, can be said that it is a replacement of MySQL. 2)...

3 minutes read.