image not found

Oops! That page can't be found.


Q1: A set of well-defined procedures based on mathematical and geometric formulas for solving a problem in a finite number of steps is called:

A a permutation

B an algorithm

C arithmetic logic

D a geometric model

E None of the above

Q2: Which of the following formulas can be used to generate random integers between 1 and 10?

A 10 + rand() % (10 + 1)

B 1 + (10 - 1 + 1) % rand()

C 10 + rand() % (10 - 1 + 1)

D 1 + rand() % (10 - 1 + 1)