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

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

Edit
MCQ▾

Question

What is the output of following code?

  1. #include<stdio.h>
  2. main()
  3. {
  4.     char p[]="good"q[]="good";
  5.     if(p==q){
  6.         printf("strings are equal");
  7.     }
  8. }

Choices

Choice (4) Response

a.

No output

b.

Strings are equal

c.

Compilation error

d.

Strings are unequal

Question number: 101

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

Edit
MCQ▾

Question

Which of the following statement is/are incorrect regarding Python:

Choices

Choice (4) Response

a.

New line never means termination of the statement.

b.

Python require a semicolon (; ) to terminate a statement.

c.

Both a. and b. are correct

d.

None of the above

Question number: 102

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

Edit
MCQ▾

Question

Two dimensional arrays are also called

Choices

Choice (4) Response

a.

Tables arrays

b.

Matrix arrays

c.

Both a. and b. are correct

d.

None of the above

Question number: 103

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

Edit
MCQ▾

Question

Which of the following statements are correct about the below program?

  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int i = 1j = 2;
  5.     if(i = 1) || if(j = 1)
  6.     printf("Good Morning");
  7.     return 0;
  8. }

Choices

Choice (4) Response

a.

Error: Undeclared identifier if

b.

Error: Expression syntax

c.

No output

d.

Output: Good Morning

Question number: 104

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

Edit
MCQ▾

Question

What is the output of this C code?

  1. #include <stdio.h>
  2. const int x = 1y = 2;
  3. int main()
  4. {
  5.     int a = 2;
  6.     switch (a)
  7.     {
  8.         case x:
  9.         printf("good ");
  10.         case y:
  11.         printf("badn");
  12.         break;
  13.     }
  14. }

Choices

Choice (4) Response

a.

Bad

b.

Good

c.

Compilation error

d.

Good bad

Question number: 105

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

Edit
MCQ▾

Question

What is the return-type of the function sqrt ()?

Choices

Choice (4) Response

a.

Depends on the data type of the parameter

b.

double

c.

float

d.

int