12th class (Fsc) computer unit 9 MCQs
76. When a relational expression is false, it has the value:
a. Less than zero
b. Zero
c. Two
d. One
77. a+=b is equivalent to:
a. a=a+b
b. b+=a
c. b=b+a
d. a=+b
78. The symbols that perform operations on data are called:
a. Operators
b. Syntax
c. Operation code
d. Operand
79. The symbol “=” represents:
a. Equal to
b. Comparison
c. Logical
d. Assignment
80. All of the following are logical operators except:
a. OR
b. NOT
c. =
d. AND
81. The value of the C expression 5/9*2 is:
a. 0
b. 0.27
c. 2
d. 1.11
82. Which of the following is equivalent to (p>=q)?
a. p>q
b. P<q
c. !p<q
d. !(p<q)
83. Which operator has lowest precedence?
a. =
b. !
c. ==
d. +
84. This means to increase a value by one:
a. Decrement
b. Modulus
c. Increment
d. None of these
85. The value of logical operator OR will be 1 if:
a. A=1 & B=1
b. A=0 & B=1
c. A=1 & B=0
d. All of these
86. Logical operators are:
a. OR
b. NOT
c. AND
d. All
87. For A = 4 and B =4 which expression evaluates as true?
a. A<B
b. A>=B
c. A>B
d. A!=B
88. The expression p – = q is equivalent to:
a. p=p-q
b. p=q-p
c. q=p-q
d. p=q-1
89. The modulus operator is used for:
a. Division
b. Exponentiation
c. Remainder
d. Multiplication
90. The operators to compare operands and decide if the relation is true or false:
a. Relational operators
b. Arithmetic operators
c. Syntax operators
d. Logical operators
91. What does a compound condition use to join two conditions?
a. Logical result
b. Relational operator
c. Logical operator
d. Relational result
92. Which of the following statement is true for A = 25 and B = 35:
a. A ! = B
b. A + B
c. A = = B
d. A > = B
93. Arithmetic manipulation of data is known as:
a. Sorting
b. Summarizing
c. Calculations
d. Classifying
94. The result of C expression 9/4*2 will be equal to:
a. 5
b. 4.5
c. 4
d. 4.0
95. The left side of an assignment statement holds:
a. Variable
b. Constant
c. Expression
d. Both A & B
96. The right side of an assignment statement holds:
a. A variable
b. An expression
c. Both A & B
d. None
97. Which of the following is valid assignment statement?
a. X=c-d+10;
b. A=100;
c. C=a+b;
d. All of these
98. Which of the following operators works with one operand?
a. Tennary
b. Unary
c. Binary
d. None
99. Which of the following operators works with two operands?
a. Ternary
b. Unary
c. Binary
d. None
100. Which of the following operators works with two operands?
a. R value
b. Compound assignment
c. Input statement
d. L value