12th class (Fsc) computer unit 9 MCQs
51. The number of bytes used by double data type in C is:
a. 12
b. 2
c. 16
d. 8
52. What happens when the result of a calculation exceeds the capacity of data type?
a. Syntax error
b. System error
c. Overflow
d. Logic error
53. The exponential notation consists of:
a. Mantissa
b. Exponent
c. Range
d. Both A & B
54. The float, long float and double data types are known as:
a. Integral data
b. Integer data
c. Real data
d. Character data
55. Which of the following data type is used to store string value?
a. String
b. Char
c. Float
d. None
56. The number of bytes used by char data type in C is:
a. 12
b. 2
c. 16
d. 1
57. Which variable should be used to store the value “I want an A in this exam”
a. Float
b. Char
c. Character
d. Int
58. Another way to write the value 3452211903 is:
a. 3.452211903×09
b. 3.452211903e09
c. 3452211903e09
d. 3.452211903e-
59. The constant 0.15e+6 represents the same value as:
a. 0.75
b. 150000.0
c. 0.21
d. 6.15
60. Which of the following statement is not legal?
a. Char ch=65;
b. Char ch=’b’
c. Char ch=”cc”,
d. Char ch=’0’
61. Which of the following data types is most appropriate for storing a name?
a. Char
b. Float
c. Integer
d. None
62. What is the valid range of number for int type of data?
a. 65536 to +65536
b. 0 to 256
c. No specific range
d. .32768 to +32767
63. How many bytes are occupied by the statement float a,b;
a. 8
b. 1 byte
c. 16
d. 4
64. When the result of the computation of two very small numbers is too small to be represented, it is called:
a. Truncation
b. Arithmetic overflow
c. Round off
d. Arithmetic underflow
65. Data type int contains bytes:
a. 2
b. 10
c. 16
d. 4
66. The numeric data types in C can be divided into two general categories:
a. Numbers and characters
b. Integer and floating point
c. Single and double
d. None
67. Which is numeric data type with decimal point?
a. Char
b. Float
c. Long
d. Int
68. The symbol ‘=’, represents:
a. Equal to operator
b. Comparison operator
c. Assignment operator
d. None of these
69. Which of the following operators has lowest precedence?
a. =
b. !
c. ==
d. +
70. Relational operator is used to:
a. Construct compound conditions
b. Establish a relationship among variables
c. Perform arithmetic operations
d .Compare two values
71. The logical NOT operator denoted by !, is a:
a. Binary operator
b. Ternary operator
c. Bitwise operator
d. Uniary operator
72. a += b is equivalent to:
a. a = a+b
b. b += a
c. b = b+a
d. a =+b
73. The only binary operator in the following is:
a. —
b. ?
c. +
d. ++
74. Which operators are used to join two or more conditions?
a. Assignment
b. Relational
c. Comparison
d. Logical
75. Relational operators allow you to ……… values.
a. Multiply
b. Compare
c. Divide
d. Add