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

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

Edit
MCQ▾

Question

Which of the following is not a pointer declaration?

Choices

Choice (4) Response

a.

double B [] = {‘25’, ‘36’, ‘11’};

b.

double A [20];

c.

char * ptr;

d.

double ptr;

Question number: 136

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

Edit
MCQ▾

Question

Point out the error, if any in the program.

  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int x = 1;
  5.     switch(x)
  6.     {
  7.     }
  8.     printf("Hello");
  9.     return 0;
  10. }

Choices

Choice (4) Response

a.

No Error

b.

Error: No case statement specified

c.

Error: No default specified

d.

Error: infinite loop occurs

Question number: 137

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

Edit
MCQ▾

Question

What is the output of this C code?

  1. #include <stdio.h>
  2. int main()
  3. {
  4.     int x = 2;
  5.     int yx +(x== 10);
  6.     printf("%dn"y);
  7. }

Choices

Choice (4) Response

a.

4

b.

2

c.

20

d.

Question does not provide sufficient data or is vague

Question number: 138

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

Edit
MCQ▾

Question

Which of the following statement is correct regarding the following program?

  1. int main( )
  2. {
  3.     const double PI;
  4.     int n;
  5.     PI = 3.14159265358979;
  6.     n = 22;
  7. }

Choices

Choice (4) Response

a.

Const declared PI must be initialized at the time of declaration.

b.

Initialization of int n is incorrect.

c.

None of the above

d.

Question does not provide sufficient data or is vague

Question number: 139

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

Edit
MCQ▾

Question

Which command is used to skip the rest of a loop and carry on from the top of the loop again?

Choices

Choice (4) Response

a.

Break

b.

Switch

c.

Continue

d.

While

Question number: 140

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

Edit
MCQ▾

Question

Data type of the controlling statement of a SWITCH statement can be of the type:

Choices

Choice (4) Response

a.

Double

b.

Float

c.

Char

d.

Question does not provide sufficient data or is vague