GATE (Graduate Aptitude Test in Engineering) Computer Science: Questions 155 - 161 of 2080

Access detailed explanations (illustrated with images and videos) to 2080 questions. Access all new questions- tracking exam pattern and syllabus. View the complete topic-wise distribution of questions. Unlimited Access, Unlimited Time, on Unlimited Devices!

View Sample Explanation or View Features.

Rs. 550.00 -OR-

How to register? Already Subscribed?

Question 155

Question

MCQ▾

Which type of statement does not occur in computer programs?

Choices

Choice (4)Response

a.

sequence

b.

denial

c.

selection

d.

loop

Question 156

Question

MCQ▾

Von Neumann architecture is?

Choices

Choice (4)Response

a.

SISD

b.

MISD

c.

MIMD

d.

SIMD

Question 157

Question

MCQ▾

What will be output if you will compile and execute the following c code?

  1. voidmain() {
  2.     if(printf("cquestionbank")) printf("Iknowc");
  3.     elseprintf("Iknowc++");
  4. }

Choices

Choice (4)Response

a.

I know c

b.

I know c ++

c.

c questionbank

d.

None of the above

Question 158

Question

MCQ▾

Thread invokes the ________ the program

Choices

Choice (4)Response

a.

start () system call

b.

exec () system call

c.

end () system call

d.

None of the above

Question 159

Question

MCQ▾

The output of this SQL Statement is

SELECT INSTR ( ‘Knowledge Check’ , ‘e’ , 7) , FROM DUAL

Choices

Choice (4)Response

a.

8

b.

9

c.

6

d.

12

Question 160

Question

MCQ▾

Thread cancellation is the task of ________ before it has completed.

Choices

Choice (4)Response

a.

creating a thread

b.

terminating a thread

c.

summiting a thread

d.

None of the above

Question 161

Question

MCQ▾

What will the function randomize () do in Turbo C under DOS?

Choices

Choice (4)Response

a.

returns a random number generator with a random value based on time.

b.

returns a random number.

c.

return a random number with a given seed value.

d.

returns a random number generator in the specified range.

Developed by: