ISS (Statistical Services) Statistics Paper I (New 2016 MCQ Pattern): Questions 128 - 133 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 128

Question

MCQ▾

What is the output of the following statements?

  1. for(i=0; i++; i<6)
  2. printf("%d ", i);

Choices

Choice (4)Response

a.

Infinite loop

b.

0 1 2 3 4 5

c.

0 1 2 3 4 5 6

d.

Question does not provide sufficient data or is vague

Question 129

Question

MCQ▾

Which of the following cannot be a variable name in C?

Choices

Choice (4)Response

a.

Extern

b.

left

c.

Right

d.

Intern

Question 130

Question

MCQ▾

What is the output of following C program?

  1. main()
  2. {
  3.     intx = alpha(20);
  4.     printf("%d", --x);
  5. }
  6. intalpha(intx)
  7. {
  8.     return(x++);
  9. }

Choices

Choice (4)Response

a.

20

b.

21

c.

19

d.

All of the above

Question 131

Question

MCQ▾

What is the output of following program?

  1. #include<stdio.h>
  2. intmain()
  3. {
  4.     charb,a='a' ;
  5.     inti=0;
  6.     for(b='A';b<'a';b++) {
  7.         i=i+1;
  8.     }
  9.     if(i>0)
  10.     printf("%d ",i);
  11.     return(0);
  12. }

Choices

Choice (4)Response

a.

32

b.

0

c.

33

d.

None of the above

Question 132

Question

MCQ▾

What will be output of following c code?

  1. #include<stdio.h>
  2. intmain(){
  3.     intx=20;
  4.     do{
  5.         printf("%d",x++);
  6.     }
  7.     while(2,0);
  8.     return0;
  9. }

Choices

Choice (4)Response

a.

Compilation error

b.

21

c.

20

d.

0

Question 133

Question

MCQ▾

Fill the blanks in the following statement by using suitable option: ________is used to take control to the beginning of the loop while ________ is used for terminating all loops.

Choices

Choice (4)Response

a.

Break, continue

b.

Continue, break

c.

Continue, exit

d.

None of the above