PGT Computer Science (Level-3), (HTET Practice MCQs) (Part-IV)

Total Questions: 100

91. Loop unrolling is a code optimization technique:

Correct Answer: A. that avoids tests at every iteration of the loop.

92. What will be the hexadecimal value in the register ax (32-bit) after executing the following instructions?

mov al, 15
mov ah, 15
xor al, al
mov cl, 3
shr ax, cl
Codes:

Correct Answer: C. 01E0 h

93. Which of the following statements is false?

Correct Answer: B. (000)* is a regular expression that matches only strings containing an odd number of zeroes, including the empty string.

94. System calls are usually invoked by using:

Correct Answer: C. A software interrupt

95. The .................... transfers the executable image of a C++ program from hard disk to main memory.

Correct Answer: D. Loader

96. In software testing, how the error, fault and failure are related to each other?

Correct Answer: C. Error leads to fault and fault leads to failure.

97. Which of the following is not a software process model?

Correct Answer: D. Glassboxing

98. How many solutions are there for the equation x + y + z + u = 29 subject to the constraints that x ≥ 1, y ≥ 2, z ≥ 3 and u ≥ 0?

Correct Answer: B. 2600

99. A unix file system has 1-KB blocks and 4-byte disk addresses. What is the maximum file size if i-nodes contain 10 direct entries and one single, double and triple indirect entry each?

Correct Answer: C. 16 GB

100. ................... uses electronic means to transfer funds directly from one account to another rather than by cheque or cash.

Correct Answer: B. E-Banking