KVS PGT Computer Science Question Paper - January 2017 (Question No 1-5)
Q 1. Which one of the following most
accurately describes “multiple inheritance”?
1)
When
two classes inherits from each other.
2)
When a child class has two or more
parent classes.
3)
When
a base class has two or more derived classes.
4)
When
a child class has both an “is a” and “has a” relationship with its parent
class.
Answer : 2
Q 2. The logic circuit of binary
adder which is used to add two 4-bit binary numbers, requires ________ half
adder(s) and ____________ full adder(s).
1)
1, 3
2)
3,
1
3)
2,
2
4)
4,
0
Answer : 1
Q 3. ________refers to the amount of
time required to position the read – write head of a hard disk on appropriate
sector,
1)
Seek
time
2)
Rotational latency
3)
Access
time
4)
Load
time
Answer : 2
Q 4. Anti-aliasing is important to
improve the readability of text. It deals with the :
1)
Spacing
between two individual characters.
2)
Spacing
of a group of characters.
3)
Underlining
of letters.
4)
Elimination of “jaggies”.
Answer : 4
Q 5. Assume X and Y are non-zero
positive integers. Consider the following pseudo-code fragment :
While X<>Y do
If
X>Y then
XßX—Y
else
YßY—X
endif
endwhile
print (X)
What is the code doing ?
1)
It
computes the LCM of two numbers.
2)
It
divides the largest number by the smaller.
3)
It
finds the smallest of two numbers.
4)
It computes the GCD of two numbers.
Answer : 4
0 comments:
Post a Comment