# Computer Application and Data Processing-Basics of Programming (ISS Statistics Paper I (New 2016 MCQ Pattern)): Questions 1 - 6 of 108

Get 1 year subscription: Access detailed explanations (illustrated with images and videos) to 469 questions. Access all new questions we will add tracking exam-pattern and syllabus changes. View Sample Explanation or View Features.

Rs. 300.00 or

## Question number: 1

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

MCQ▾

### Question

The part of algorithm which is repeated any number of times is called

### Choices

Choice (4) Response

a.

Iteration

b.

Infinite Loop

c.

Recursion

d.

Question does not provide sufficient data or is vague

## Question number: 2

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

MCQ▾

### Question

Worst case time complexity of Quicksort algorithm is

### Choices

Choice (4) Response

a.

Θ (n2)

b.

O (nlgn)

c.

Θ (nlgn)

d.

o (nlgn)

## Question number: 3

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

MCQ▾

### Question

Determine the output of the following program:

1. `main () {`
2. `    int i = abc(10);`
3. `    printf(" %d", --i);`
4. `}`
5. `int abcint i`
6. `{`
7. `    return (i++);`
8. `}`

### Choices

Choice (4) Response

a.

11

b.

9

c.

10

d.

None of the above

## Question number: 4

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

MCQ▾

### Question

Consider the following flowchart. What value will it display?

### Choices

Choice (4) Response

a.

2

b.

No value is displayed

c.

1

d.

0

## Question number: 5

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

MCQ▾

### Question

QuickSort algorithm have following as a pivot:

### Choices

Choice (4) Response

a.

Pick a random element as pivot.

b.

Always pick first element as pivot.

c.

Always pick last element as pivot (implemented below).

d.

All a. , b. and c. are correct

## Question number: 6

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

MCQ▾

### Question

Find the order of following algorithm where N is a natural number and z, y, x are variables:

1. `for(z=0;z<N*N;z++) {`
2. `    for(y=0;y<N+2;y++) {`
3. `        for(x=0;x<N/2;x++) {`
4. `            do_work( x,y,z );`
5. `        }`
6. `    }`
7. `}`

### Choices

Choice (4) Response

a.

O ()

b.

O ()

c.

o ()

d.

o ()

f Page