GATE (Graduate Aptitude Test in Engineering) Computer Science: Questions 180 - 184 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 180

Question

MCQ▾

A scheduling discipline is non-preemptive if,

Choices

Choice (4)Response

a.

once a process has been given the CPU, the CPU cannot be taken away from that process.

b.

once a process has been given the CPU can taken away.

c.

short jobs are made to wait by longer jobs but the overall treatment of all processes is fair.

d.

Both a. and c. are correct

Question 181

Question

MCQ▾

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

  1. voidmain()
  2. {
  3.     inta=25;
  4.     clrscr();
  5.     printf("o %x",a,a);
  6.     getch();
  7. }

Choices

Choice (4)Response

a.

31 39

b.

25 25

c.

12 42

d.

025 × 25

Question 182

Question

MCQ▾

Spiral Model was developed by?

Choices

Choice (4)Response

a.

Bev Littlewood

b.

Victor Bisili

c.

Roger Pressman

d.

Berry Bohem

Question 183

Question

MCQ▾

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

  1. voidmain()
  2. {
  3.     inti=320;
  4.     char ⚹ptr=(char ⚹)&i;
  5.     printf("%d",⚹ptr);
  6. }

Choices

Choice (4)Response

a.

320

b.

64

c.

1

d.

Error

Question 184

Question

MCQ▾

The output of this SQL Statement is

SELECT LPAD ( ‘Check’ , 8, +) , RPAD ( ‘Check’ , 8, +) FROM DUAL;

Choices

Choice (4)Response

a.

++ + Check, Check ++ +

b.

Check ++ + , ++ + Check

c.

++ + Check

d.

None of the above

Developed by: