ISS (Statistical Services) Statistics Paper I (New 2016 MCQ Pattern): Questions 117 - 122 of 471

Access detailed explanations (illustrated with images and videos) to 471 questions. Access all new questions we will add tracking exam-pattern and syllabus changes. Subscription can be renewed yearly absolutely FREE! View Sample Explanation or View Features.

Rs. 300.00 or

How to register?

Question number: 117

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

Edit
MCQ▾

Question

Which for loop has range of similar indexes of ‘i’ used in for (i = 1; i < n; i++)?

Choices

Choice (4) Response

a.

for (i = n; i > 0; i–)

b.

for (i = n-2; i > -1; i–)

c.

for (i = n-1; i > 0; i–)

d.

for (i = n; i > = 0; i–)

Question number: 118

» Computer Application and Data Processing » Basics of Programming » Array and Usages

Edit
MCQ▾

Question

Which of the following correctly accesses the sixth element stored in A, an array with 50 elements?

Choices

Choice (4) Response

a.

A [6]

b.

A [5]

c.

A {6}

d.

A {5}

Question number: 119

» Computer Application and Data Processing » Basics of Programming » Control Structures

Edit
MCQ▾

Question

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 number: 120

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

Edit
MCQ▾

Question

What will be the output of following program?

  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int i=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 number: 121

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

Edit
MCQ▾

Question

What will be the output of the program?

  1. #include<stdio.h>
  2. void abc(int*, int*);
  3. int main()
  4. {
  5.     int x=10y=6;
  6.     abc(&x, &y);
  7.     printf("%d, %d"xy);
  8.     return 0;
  9. }
  10. void abc(int *iint *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 number: 122

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

Edit
MCQ▾

Question

  1. int a;
  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