GATE Computer Science: Questions 186 - 192 of 913

Get 1 year subscription: Access detailed explanations (illustrated with images and videos) to 913 questions. Access all new questions we will add tracking exam-pattern and syllabus changes. View Sample Explanation or View Features.

Rs. 450.00 or

Question number: 186

» Operating System » Threads

MCQ▾

Question

LWP stands for

Choices

Choice (4) Response

a.

Lightweight process

b.

Lightweight program

c.

Light window process

d.

All of the above

Question number: 187

» Programming and Data Structures » Programming in C

MCQ▾

Question

Which will contain the body of the thread?

Choices

Choice (4) Response

a.

run ();

b.

start ();

c.

stop ();

d.

main ();

Question number: 188

» Programming and Data Structures » Programming in C

MCQ▾

Question

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

  1. void main() {
  2.     int i=0;
  3.     if(i==0) {
  4.         i=((5,(i=3)),i=1);
  5.         printf("%d",i);
  6.     }
  7.     else printf("equal");
  8. }

Choices

Choice (4) Response

a.

5

b.

3

c.

1

d.

equal

Question number: 189

» Databases » Database Design

MCQ▾

Question

The function ADD_MONTHS (TO_DATE (‘12-FEB-2007’, ‘DD-MON-YYYY’), 10) would return

Choices

Choice (4) Response

a.

12-DEC-2007

b.

12-NOV-2006

c.

12-NOV-2007

d.

12-DEC-2008

Question number: 190

» Programming and Data Structures » Programming in C

MCQ▾

Question

Full Form Of PCB

Choices

Choice (4) Response

a.

PROCESS Control Block

b.

Program Control Block

c.

process Communication Block

d.

Question does not provide sufficient data or is vague

Question number: 191

» Programming and Data Structures » Programming in C

MCQ▾

Question

What is the value of “d” after this line of code has been executed?

double d = Math. round (2.5 + Math. random () );

Choices

Choice (4) Response

a.

2

b.

3

c.

4

d.

2.5

Question number: 192

» Programming and Data Structures » Programming in C

MCQ▾

Question

Which of the following systems software does the job of merging the records from two files into one?

Choices

Choice (4) Response

a.

Security software

b.

Networking software

c.

Documentation system

d.

Utility program

Sign In