Quick Test 14: Mathematical Functions

1. What will be the result of the next function call?

Round(3.53)

3
3.0
4
4.0

2.  How to implement the function ArcCos(x)?

for x>0:

for x=0:

for x<0:

 

3. What will be the result of the next function call?

Random(100)

100
0, because we forgot to call Randomize;
Unpredictable. Any number between 0 and 99 (inclusive)
Unpredictable. Any number between 1 and 100 (inclusive)

4. What will be is the value of x after the next instruction?

x := Sqr(Sqr(Sqr(2.0)));

This construction is not allowed!
4.0
16.0
256.0