Programming and Data Structures-Functions (GATE Computer Science): Questions 1 - 2 of 2

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: 1

» Programming and Data Structures » Functions

MCQ▾

Question

The goal of structured programming is to

Choices

Choice (4) Response

a.

be able to infer the flow of control from the compiled code

b.

have well indented programs

c.

avoid the use of GOTO statements

d.

be able to infer the flow of control from the program text

Question number: 2

» Programming and Data Structures » Functions

MCQ▾

Question

The tightest lower bound on the number of comparisons, in the worst ease, for comparison-based sorting is of the order of

Choices

Choice (4) Response

a.

n log2 n

b.

n 2

c.

n log n

d.

n

Sign In