Computer Application and Data Processing (ISS Statistics Paper I (New 2016 MCQ Pattern)): Questions 173 - 176 of 199

Get 1 year subscription: Access detailed explanations (illustrated with images and videos) to 404 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: 173

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

MCQ▾

Question

Consider a hash table with 5 slots. The hash function is h (k) = k mod 5. The collisions are resolved by chaining. The following 10 keys are inserted in the order: 2, 39, 29, 25, 16, 23, 37, 19, 26, 31. The maximum, minimum, and average chain lengths in the hash table, respectively, are

Choices

Choice (4) Response
a.

3, 1 and 1.

b.

4, 0 and 1.

c.

4, 1 and 2.

d.

3, 0 and 1.

Question number: 174

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

MCQ▾

Question

What will be the output of the program if the array begins at address 53564?

  1. #include
  2. void main()
  3. {
  4.     int A[] = {012345};
  5.     printf("%u, %u"A, &A);
  6. }

Choices

Choice (4) Response
a.

53564, 53566

b.

53564, 53568

c.

53564, 53564

d. Question does not provide sufficient data or is vague

Question number: 175

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

MCQ▾

Question

Consider following part of a flowchart:

Finding the output for the flowchart algorithm

Finding the Output for the Flowchart Algorithm

What would be the correct flowchart output

The output of this algorithm will be:

Choices

Choice (4) Response
a.

Minimum of (a, b, c)

b.

Maximum of (a, b, c)

c.

If b, a, c are in ascending order, it will print c.

d. All of the above

Question number: 176

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

MCQ▾

Question

What is the output of this C code (on a 32-bit machine)?

  1. #include <stdio.h>
  2. int main()
  3. {
  4.     int x = 4;
  5.     double y = 2;
  6.     int *ptrx = &x;
  7.     double *ptry = &y;
  8.     printf("ptrx and ptry are %d and %d"sizeof(ptrx), sizeof(ptry));
  9.     return 0;
  10. }

Choices

Choice (4) Response
a.

Compiler error

b.

ptrx and ptry are 4 and 2

c.

ptrx and ptry are 4 and 4

d.

ptrx and ptry are 4 and 8

Sign In