Solved MCQs ch#6
Solved MCQs ch#6
Objective Type
14) What is the name for a word that has a specific meaning in C language ?
a) Keywords b) Commands c) Operands d) Operators
16) A process of assigning initial value to a variable at the time of declaration is called .
a) Assigning b) Initializing c) Naming d) Executing
17) A memory location with some data that can be changed is called .
a) Constant b) Named constant c) Address d) Variable
21) Which term describes the kind of values that a variable can store ?
a) Data type b) Variable name c) Variable type d) Variable size
23) Which of the following data type offers the highest precision ?
a) Float b) Long int c) Long double d) Unsigned long int
24) When the result of the computation of two very small numbers is too small to be represented , this phenomenon is called .
a) Arithmetic overflows b) Truncation c) Arithmetic underflow d) Round off
30) The number of bytes used by " float " data type in C is .
a) 2 b) 4 c) 6 d) 8
31) Which of the following data type is used to store " String " ?
a) Char b) Float c) String d) Double
32) What happens when the result of a calculation exceeds the capacity of data type ?
a) System error b) Logic error c) Syntax error d) Overflow
35) a + = b is equivalent to .
a) b + = a b) a = + b c) a = a + b d) b = b + a
48) Which of the following data type offers the highest precision ?
a) Float b) Long int c) Long double d) Unsigned long int
49) When the result of the computation of two very small numbers is too small to be represented , this phenomenon is called .
a) Arithmetic overflows b) Truncation c) Arithmetic underflow d) Round off
55) a + = b is equivalent to
a) b + = a b) a = a - b c) a = a + b d) b = b + a
2. Write "T" for a true statement and "F" for a false statement (1 x 10 = 10)
59) Printf and scanf are standard identifiers .
✅ True ☐ False
63) In Scientific notation , the exponent represents the value of the number and mantissa represents the power to which it is raised .
☐ True ✅ False
71) Named memory cells which are used to store program's input and output are called ___________ .
Variable
73) The value of a variable of type into ranges from ___________ to ___________ .
-32768 to 32767