Programming and Data Structures-Programming in C (GATE Computer Science): Questions 74 - 79 of 134

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: 74

» Programming and Data Structures » Programming in C

MCQ▾

Question

Which of the following is an example of SPOOLED device?

Choices

Choice (4) Response

a.

A line printer used to print the output of number of job’s

b.

The terminal used to enter the input data for a program being executed

c.

The secondary memory device in a virtual memory system

d.

Question does not provide sufficient data or is vague

Question number: 75

» 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: 76

» 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: 77

» 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: 78

» 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: 79

» 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