ISS Statistics Paper I (New 2016 MCQ Pattern): Questions 100 - 104 of 404

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: 100

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

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.

Strings are equal

b.

No output

c.

Strings are unequal

d.

Compilation error

Question number: 101

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

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.

Question does not provide sufficient data or is vague

Question number: 102

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

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.

Question does not provide sufficient data or is vague

Question number: 103

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

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.

No output

b.

Error: Expression syntax

c.

Error: Undeclared identifier if

d.

Output: Good Morning

Question number: 104

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

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.

Good bad

b.

Good

c.

Bad

d.

Compilation error

Sign In