Quiz: Data Layers in Elixir
Demonstrate your knowledge about data layers in Elixir.
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
Which answer best describes the following iex
code?
iex> x = 10
10
iex> x
10
iex> x = 11
11
iex> x
11
A.
Elixir is a mutable language because the value of x
can change.
B.
The bindings to the variable x
can change within a program, but Elixir is an immutable language.
C.
This listing is incorrect because iex
would not allow x = 11
.
D.
This code could happen only in iex
, but not in other Elixir programs.
1 / 5
...