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

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

How to register? Already Subscribed?

Question 139

Question

MCQ▾

Which command is used to skip the rest of a loop and carry on from the top of the loop again?

Choices

Choice (4)Response

a.

Break

b.

Switch

c.

Continue

d.

While

Question 140

Question

MCQ▾

Data type of the controlling statement of a SWITCH statement can be of the type:

Choices

Choice (4)Response

a.

Double

b.

Float

c.

Char

d.

Question does not provide sufficient data or is vague

Question 141

Question

MCQ▾

Point out the error in the following program:

  1. #include<stdio.h>
  2. intabc(intx)
  3. {
  4.     x > 5? return(6): return(7);
  5. }
  6. intmain()
  7. {
  8.     intabc(int);
  9.     inty;
  10.     y = abc(5);
  11.     printf("%dn", y);
  12.     return0;
  13. }

Choices

Choice (4)Response

a.

No error

b.

Error: return statement cannot be used with conditional operators

c.

Error: Prototype declaration

d.

All of the above

Question 142

Question

MCQ▾

Which of the following is/are the types of program error?

Choices

Choice (4)Response

a.

Semantic errors

b.

Logical errors

c.

Syntax errors.

d.

All a., b. and c. are correct

Question 143

Question

MCQ▾

Which of the following is/are correct regarding a function?

Choices

Choice (4)Response

a.

Logical clarity of the program get lost.

b.

Makes the debugging task tougher.

c.

Helps to avoid repeating a set of statements many times.

d.

All of the above