Programming in C and C Plus Plus-Programming in C [NTA-NET (Based on NTA-UGC) Computer Science (Paper-II)]: Questions 1 - 6 of 34

Access detailed explanations (illustrated with images and videos) to 2202 questions. Access all new questions we will add tracking exam-pattern and syllabus changes. Unlimited Access for Unlimited Time!

View Sample Explanation or View Features.

Rs. 550.00 or

How to register?

Question number: 1

» Programming in C and C Plus Plus » Programming in C » Control Structures in C

Edit

Appeared in Year: 2010

MCQ▾

Question

Which one of the following sentences is true? (December Paper II)

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.

The body of a do … while loop is executed zero or more times.

d.

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

Question number: 2

» Programming in C and C Plus Plus » Programming in C » Control Structures in C

Edit

Appeared in Year: 2010

MCQ▾

Question

Which one of the following will set the value of y to 5 if x has the value 3, but not otherwise? (December Paper II)

Choices

Choice (4)Response

a.

b.

c.

d.

Question number: 3

» Programming in C and C Plus Plus » Programming in C » Elements of C-Tokens, Identifiers, Data Types in C

Edit

Appeared in Year: 2011

MCQ▾

Question

means (December Paper II)

Choices

Choice (4)Response

a.

b.

c.

d.

Question number: 4

» Programming in C and C Plus Plus » Programming in C » Elements of C-Tokens, Identifiers, Data Types in C

Edit

Appeared in Year: 2012

MCQ▾

Question

The ‘C’ language is (December Paper II)

Choices

Choice (4)Response

a.

Context free language

b.

Context sensitive language

c.

Regular language

d.

None of the above

Question number: 5

» Programming in C and C Plus Plus » Programming in C » Control Structures in C

Edit

Appeared in Year: 2013

MCQ▾

Question

How many times the word ‘print’ shall be printed by the following program segment?

for

for

for

(June Paper II)

Choices

Choice (4)Response

a.

1

b.

3

c.

6

d.

8

Question number: 6

» Programming in C and C Plus Plus » Programming in C » Elements of C-Tokens, Identifiers, Data Types in C

Edit

Appeared in Year: 2013

MCQ▾

Question

When the following code is executed what will be the value of x and y?

int

(June Paper II)

Choices

Choice (4)Response

a.

b.

c.

d.

Developed by: