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

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

Edit
MCQ▾

### Question

Comment on the 2 arrays regarding X and Y:

1. `int *A1[5];`
2. `int *(A2[5]);`

X: Pointer to an array

Y: Array of pointers

### Choices

Choice (4)Response

a.

A1 is Y, A2 is X

b.

A1 is Y, A2 is Y

c.

A1 is X, A2 is Y

d.

A1 is X, A2 is X

## Question number: 158

Edit
MCQ▾

### Question

What is the output of this C code?

1. `#include <stdio.h>`
2. `int main()`
3. `{`
4. `    int i=0;`
5. `    do`
6. `    printf("Go home ");`
7. `    while (i);`
8. `    printf("Come backn");`
9. `}`

### Choices

Choice (4)Response

a.

Go home Come back

b.

Infinite loop

c.

Come back

d.

Go home

## Question number: 159

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

Edit
MCQ▾

### Question

What will be output if you will execute following c code?

1. `#include<stdio.h>`
2. `void main(){`
3. `    int a[2][3]={0,1,2,3,4,5,6,7,8,9,10,11};`
4. `    printf("%o",data[0][2]);`
5. `}`

### Choices

Choice (4)Response

a.

4

b.

5

c.

Compilation error

d.

3

## Question number: 160

Edit
MCQ▾

### Question

Which of the following statement is/are correct regarding Modular Programming?

### Choices

Choice (4)Response

a.

Modular Programming encourages the use of control variables and flags in parameters.

b.

Modular Programming tends to discourage splitting of functionality.

c.

Modular programming is just a concept.

d.

All of the above

## Question number: 161

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

Edit
MCQ▾

### Question

What will be the output of the program?

1. `#include<stdio.h>`
2. `int main()`
3. `{`
4. `    int i;`
5. `    for(i=0; i<=4; i++);`
6. `    printf("%d", i);`
7. `    return 0;`
8. `}`

### Choices

Choice (4)Response

a.

4

b.

5

c.

1,2, 3

d.

0,1, 2,3, 4

Developed by: