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

Question

MCQ▾

The value of the following expression is

Choices

Choice (4)Response

a.

19

b.

17

c.

15

d.

13

Question 1138

Appeared in Year: 2017 (UGC-NET)

Question

MCQ▾

Which of the following is not correct for virtual function in C ++ ? (November Paper II)

Choices

Choice (4)Response

a.

Must be declared in public section of class.

b.

Virtual function can be static.

c.

Virtual function should be accessed using pointers.

d.

Virtual function is defined in base class.

Question 1139

Question

MCQ▾

Which one of the following sentences is false?

Choices

Choice (4)Response

a.

The body of a while loop is executed at least once.

b.

The body of a do … while loop is executed at least once.

c.

A for loop can be used in place of a do … while loop.

d.

A for loop can be used in place of a while loop.

Question 1140

Appeared in Year: 2017 (UGC-NET)

Question

MCQ▾

Which of the following HTML code will affect the vertical alignment of the table content? (January Paper III)

Choices

Choice (4)Response

a.

< tdstyle = “vertical-align: middle” > TextHere < /td >

b.

< tdvalign = “centre” > TextHere < /td >

c.

< tdstyle = “text-align: center” > TextHere < /td >

d.

< tdalign = “middle” > TextHere < /td >

Developed by: