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

Question number: 141

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

Edit
MCQ▾

Question

Point out the error in the following program:

  1. #include<stdio.h>
  2. int abc(int x)
  3. {
  4.     x > 5return(6): return(7);
  5. }
  6. int main()
  7. {
  8.     int abc(int);
  9.     int y;
  10.     y = abc(5);
  11.     printf("%dn"y);
  12.     return 0;
  13. }

Choices

Choice (4)Response

a.

No error

b.

Error: return statement cannot be used with conditional operators

c.

Error: Prototype declaration

d.

All of the above

Developed by: