Computer Application and Data Processing-Basics of Programming (ISS Statistics Paper I (New 2016 MCQ Pattern)): Questions 19 - 24 of 108

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

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

MCQ▾

Question

Which of the following is among the five standard data types of python programming language?

Choices

Choice (4) Response
a.

Numbers

b.

List

c.

Tuple

d. All a. , b. and c. are correct

Question number: 20

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

MCQ▾

Question

The situation when in a linked list START = NULL is called Stack________.

Choices

Choice (4) Response
a.

Underflow

b.

Overflow

c.

Fullflow

d.

Saturated

Question number: 21

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

MCQ▾

Question

Which of the following statement is/are incorrect regarding Static class member variables?

Choices

Choice (4) Response
a.

On the creation of the first object of the class a static variable is always initialized by zero.

b.

All the objects share the single copy of a static variable.

c.

The scope is only within the class but its lifetime is throughout the program.

d. None of the above

Question number: 22

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

MCQ▾

Question

What is the output of following program?

  1. #include<stdio.h>
  2. void main()
  3. {
  4.     int x=25,y=15,z;
  5.     z = x2 + y!=15;
  6.     printf("%d",z);
  7. }

Choices

Choice (4) Response
a.

1

b.

0

c.

15

d.

5

Question number: 23

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

MCQ▾

Question

What will happen if the below program is executed?

  1. #include <stdio.h>
  2. int main()
  3. {
  4.     int main = 45;
  5.     printf("%d"main);
  6. }

Choices

Choice (4) Response
a.

It will cause a compile-time error.

b.

It will cause a run-time error.

c.

It will run without any error and prints 45.

d.

It will experience infinite looping.

Question number: 24

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

MCQ▾

Question

What is the output of this C code?

  1. #include <stdio.h>
  2. int main()
  3. {
  4.     int x = 1y = 1;
  5.     while (x < 2)
  6.     {
  7.         p1x++;
  8.         while (y < 3)
  9.         {
  10.             printf("loopn");
  11.             goto p1;
  12.         }
  13.     }
  14. }

Choices

Choice (4) Response
a.

loop loop

b.

Infinite loop

c.

loop loop loop

d.

Compilation error

Sign In