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

Question

MCQ▾

How many times is the statement “This is a loop” printed in this C program?

  1. #include<stdio.h>
  2. voidmain()
  3. {
  4.     inti=0,j=0;
  5.     for(i=0;i<5;i++)
  6.     {
  7.         for(j=0;j<4;j++)
  8.         {if(i>1)
  9.             break;
  10.         }
  11.         printf("Thisisaloop⧵n");
  12.     }

Choices

Choice (4)Response

a.

5

b.

8

c.

4

d.

9

Question 1470

Question

MCQ▾

What is the definition below referring to?

“It is an incorrect step, process or data definition in a computer program which causes the program to perform in an unintended or unanticipated manner.”

Choices

Choice (4)Response

a.

Failure

b.

Error

c.

Bug

d.

Fault

Question 1471

Question

MCQ▾

All aggregate functions ignore null values in the table, except ________.

Choices

Choice (4)Response

a.

Count

b.

Average

c.

MIN

d.

MAX

Question 1472

Question

MCQ▾

To perform Benchmark testing, a benchmark must be ________ and ________?

Choices

Choice (4)Response

a.

Quantifiable, Confirmative

b.

Quantifiable, Visible

c.

Repeatable, Verifiable

d.

Repeatable, Quantifiable

Question 1473

Question

MCQ▾

What is the output of the following Oracle SQL statement?

Choices

Choice (4)Response

a.

All records of the employee table

b.

2 records of the employee table

c.

1 record of the employee table

d.

0 records of the employee table

Developed by: