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

Question

MCQ▾

Which of the statement is/are correct regarding ‘short integer’ and ‘long integer’ ?

Choices

Choice (4)Response

a.

A ‘long integer’ is at least 4 bytes wide.

b.

A ‘short integer’ is at least 16 bits.

c.

Both a. and b. are correct

d.

Question does not provide sufficient data or is vague

Question 120

Question

MCQ▾

What will be the output of following program?

  1. #include<stdio.h>
  2. intmain()
  3. {
  4.     inti=10;
  5.     whilei==5
  6.     {
  7.         i=i-1;
  8.         printf“%d”, i;
  9.         i=--;
  10.     }
  11. }

Choices

Choice (4)Response

a.

Print nothing

b.

10

c.

1, 2, 3, 4, 5, 6, 7,8, 9,10

d.

None of the above

Question 121

Question

MCQ▾

What will be the output of the program?

  1. #include<stdio.h>
  2. voidabc(int⚹, int⚹);
  3. intmain()
  4. {
  5.     intx=10, y=6;
  6.     abc(&x, &y);
  7.     printf("%d, %d", x, y);
  8.     return0;
  9. }
  10. voidabc(int ⚹i, int ⚹j)
  11. {
  12.     i = ⚹i⚹⚹i;
  13.     j = ⚹j⚹⚹j;
  14. }

Choices

Choice (4)Response

a.

100,36

b.

10,6

c.

10,36

d.

6,10

Question 122

Question

MCQ▾
  1. inta;
  2. do {
  3.     scanf(“%d”,&a);
  4.     printf(“%d ”,a);
  5. } while (!(a == 0));

Consider above part of a code of an algorithm:

If a person inputs natural numbers always then, following statement will hold true:

Choices

Choice (4)Response

a.

It will go into infinite loop.

b.

It will show compilation error.

c.

It can form an array of finite length.

d.

Question does not provide sufficient data or is vague