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

Appeared in Year: 2016 (UGC-NET)

Question

MCQ▾

If a function is friend of a class, which one of the following is wrong?

Choices

Choice (4)Response

a.

It can have access to all members of the class, even private ones.

b.

A function can only be declared a friend by a class itself.

c.

Friend functions are members of a class.

d.

Friend functions are not members of a class, they are associated with it.

Question 410

Appeared in Year: 2016 (UGC-NET)

Question

MCQ▾

Which one of the following array represents a binary max-heap?

Choices

Choice (4)Response

a.

[26, 15, 17, 14,11, 9,13]

b.

[26, 15, 14, 17,11, 9,13]

c.

[26, 13, 17, 14,11, 9,15]

d.

[26, 15, 13, 14,11, 9,17]

Question 411

Appeared in Year: 2016 (UGC-NET)

Question

Match List-Ⅰ List-Ⅱ▾

Match each application/software design concept in List-I to its definition in List-II.

List-Ⅰ (Software Design Concept)List-Ⅱ (Definition)
(A)

Scalable

(i)

Easy to add functionality to a software without having to redesign it.

(B)

Readable

(ii)

Focus of a code upon a single goal.

(C)

Coupling

(iii)

Reliance of a code module upon other code modules.

(D)

Cohesion

(iv)

Easy to visually inspect the design of the software and understand its purpose.

Choices

Choice (4)Response
  • (A)
  • (B)
  • (C)
  • (D)

a.

  • (i)
  • (iv)
  • (iii)
  • (ii)

b.

  • (ii)
  • (iv)
  • (i)
  • (iii)

c.

  • (iii)
  • (i)
  • (iv)
  • (ii)

d.

  • (ii)
  • (i)
  • (iii)
  • (iv)

Developed by: