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

Question

MCQ▾

Which of the following is incorrect in ?

Choices

Choice (4)Response

a.

When we write overloaded function, we must code the function for each usage

b.

It is difficult to debug macros

c.

Templates are more efficient than macros

d.

When we write function template, we code the function only once

Question 1930

Question

MCQ▾

A flow graph F with entry node (1) and exit node (11) is shown below:

Flow Graph F

Flow graph F

What is the Cyclomatic complexity of flow graph F

Choices

Choice (4)Response

a.

4

b.

2

c.

5

d.

3

Question 1931

Question

MCQ▾

Which of the following express the negation of the given statement so that the negation symbol is only applied to predicates?

Choices

Choice (4)Response

a.

b.

c.

d.

All of the above

Question 1932

Question

MCQ▾

The weight of the spanning tree in graph G, calculated using Kruskal՚s algorithms is:

The Weight of the Spanning Tree in Graph G

Choices

Choice (4)Response

a.

17

b.

15

c.

14

d.

18

Question 1933

Question

MCQ▾

A flow graph F with entry node (1) and exit node (11) is shown below:

Flow Graph F

Flow graph F

How many regions are there in flow graph F

Choices

Choice (4)Response

a.

2

b.

5

c.

3

d.

4

Question 1934

Question

MCQ▾

The size of data that the application layer can pass to the TCP layer?

Choices

Choice (4)Response

a.

Any Size.

b.

Byte

c.

byte-size of TCP header

d.

Developed by: