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

Appeared in Year: 2017 (UGC-NET)

Question

True-False▾

Statements

  1. A ‘view’ is a special stored procedure executed when certain event occurs. (January Paper III)

  2. A ‘view’ is a virtual table, which occurs after executing a pre-compiled query.

Choices

Choice (4)Response

a.

None of the statements is correct.

b.

Only statement Ⅰ is true.

c.

Only statement Ⅱ is true.

d.

All the statements are correct.

Question 1066

Appeared in Year: 2017 (UGC-NET)

Question

MCQ▾

Consider a disk queue with I/O requests on the following cylinders in their arriving order:

The disk head is assumed to be at cylinder 23 and moving in the direction of decreasing number of cylinders. Total number of cylinders in the disk is . The disk head movement using SCAN-scheduling algorithm is: (January Paper III)

Choices

Choice (4)Response

a.

228

b.

173

c.

227

d.

172

Question 1067

Question

MCQ▾

What is the output of the following C program?

  1. #include<stdio.h>
  2. #include<string.h>
  3. Voidmain()
  4. {
  5.     printf("Function1=%d⧵n",sizeof("ASIA"));
  6.     printf("Function2=%d",strlen("ASIA"));
  7.     Return0;
  8. }

Choices

Choice (4)Response

a.

Function 1 = 5

Function 2 = 5

b.

Error

c.

Function 1 = 4

Function 2 = 4

d.

Function 1 = 5

Function 2 = 4

Developed by: