What is the main function of the ALU (Arithmetic Logic Unit)?

a) Perform calculations and logical operations

b) Manage memory allocation

c) Control input and output devices

d) Store data temporarily

Which of the following is not a type of loop in programming?

a) For loop

b) While loop

c) Do-While loop

d) Repeat-Until loop

Which of the following is the primary function of the operating system?

a) To manage hardware resources

b) To execute programs

c) To provide security

d) All of the above

Which of the following is not a valid data type in programming?

a) Integer

b) Float

c) Boolean

d) Character Array

What is the primary difference between scalars and vectors?

A) Vectors have only magnitude.
B) Scalars have both magnitude and direction.
C) Vectors have both magnitude and direction.
D) Scalars have no magnitude.

In a perfectly inelastic collision, what happens to the kinetic energy?

A) It is conserved.
B) It is lost.
C) It is converted into potential energy.
D) It remains the same.

Which of these is the correct formula for calculating speed?

A) Speed = Distance / Time
B) Speed = Time / Distance
C) Speed = Mass / Time
D) Speed = Distance × Time

Which of the following laws is related to the motion of planets?

A) Newton’s First Law
B) Kepler’s Laws
C) Coulomb’s Law
D) Ohm’s Law

Which of the following is NOT a vector quantity?

A) Velocity
B) Force
C) Temperature
D) Acceleration