ISS (Statistical Services) Statistics Paper I (New 2016 MCQ Pattern): Questions 181 - 185 of 472

Access detailed explanations (illustrated with images and videos) to 472 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. 300.00 or

How to register?

Question number: 181

» Computer Application and Data Processing » Basics of Programming » Loops

Edit
MCQ▾

Question

What will be the output of the following program?

  1. #include<stdio.h>
  2. void main()
  3. {
  4.     int i=4;
  5.     for(;i;)
  6.     printf("Monday");
  7. }

Choices

Choice (4)Response

a.

Prints nothing

b.

Goes into infinite loop

c.

Both a. and b. are correct

d.

None of the above

Question number: 182

» Computer Application and Data Processing » Basics of Programming » Loops

Edit
MCQ▾

Question

Which of the following statements is/are correct regarding while loop?

Choices

Choice (4)Response

a.

While loop without any body is possible.

b.

If loop body contain only one statement the brace is optional.

c.

In while loop there can be more than 1 conditional expression.

d.

All a. , b. and c. are correct

Question number: 183

» Computer Application and Data Processing » Basics of Programming » Debugging

Edit
MCQ▾

Question

Which of the following is/are the ways for debugging a program:

Choices

Choice (4)Response

a.

By inserting output statements in the code.

b.

By executing the program by means of a debugger.

c.

Both a. and b. are correct

d.

Question does not provide sufficient data or is vague

Question number: 184

» Computer Application and Data Processing » Basics of Programming » Conditional Statements

Edit
MCQ▾

Question

The CONTINUE statement can be used in

Choices

Choice (4)Response

a.

goto

b.

switch

c.

array variables

d.

for

Question number: 185

» Computer Application and Data Processing » Basics of Programming » Conditional Statements

Edit
MCQ▾

Question

C provides following styles of flow control:

Choices

Choice (4)Response

a.

Branching

b.

Looping

c.

Both a. and b. are correct

d.

Question does not provide sufficient data or is vague

Developed by: