GATE Computer Science: Questions 86 - 92 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: 86

» Programming and Data Structures » Programming in C

MCQ▾

Question

  1. main() {
  2.     static int
  3.     var = 6;
  4.     printf(“ % d”,
  5.         var ++);
  6.     if (varmain();
  7. }

Choices

Choice (4) Response

a.

1 2 3 4 5 6

b.

6 5 4 3 2 1

c.

5 8 9 10 12

d.

None of the above

Question number: 87

» Programming and Data Structures » Programming in C

MCQ▾

Question

Choose the correct way to indicate that a line in a C++ program is a comment line i. e. a line they will not be executed as an instruction________.

Choices

Choice (4) Response

a.

Begin the line with double slashes (/ /)

b.

Begin the line with a # sign

c.

Begin and end the line with double hyphens (-_-)

d.

None of the above

Question number: 88

» Databases » Query Languages

MCQ▾

Question

This type of key is used to link rows from one table to the rows in another table.

Choices

Choice (4) Response

a.

Foreign key

b.

Encryption key

c.

Primary key

d.

None of the above

Question number: 89

» Computer Networks » ISO-OSI Stack

MCQ▾

Question

A repeater is a connecting device that operates in the ________ of the Internet model.

Choices

Choice (4) Response

a.

transport layer

b.

physical layer

c.

data layer

d.

None of the above

Question number: 90

» Computer Networks » ISO-OSI Stack

MCQ▾

Question

Which of the following are layers in the TCP/IP model?

Choices

Choice (4) Response

a.

Internet

b.

Transport

c.

Application

d.

All a. , b. and c. are correct

Question number: 91

» Computer Networks » ISO-OSI Stack

MCQ▾

Question

Global System for Mobile Communication CGSM) is which generation cellular Phone system?

Choices

Choice (4) Response

a.

third

b.

second

c.

first

d.

fourth

Question number: 92

» Computer Networks » IP(v4)

MCQ▾

Question

Which of the following is not applicable to digital signature?

Choices

Choice (4) Response

a.

Confidentiality

b.

Integrity

c.

Authentication

d.

Non repudiation

Sign In