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

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

Edit
MCQ▾

Question

Which of the following cannot be a variable name in C?

Choices

Choice (4) Response

a.

Extern

b.

left

c.

Right

d.

Intern

Question number: 130

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

Edit
MCQ▾

Question

What is the output of following C program?

  1. main()
  2. {
  3.     int x = alpha(20);
  4.     printf("%d", --x);
  5. }
  6. int alpha(int x)
  7. {
  8.     return(x++);
  9. }

Choices

Choice (4) Response

a.

20

b.

21

c.

19

d.

All of the above

Question number: 131

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

Edit
MCQ▾

Question

What is the output of following program?

  1. #include <stdio.h>
  2. int main()
  3. {
  4.     char b,a='a' ;
  5.     int i=0;
  6.     for(b='A';b<'a';b++) {
  7.         i=i+1;
  8.     }
  9.     if(i>0)
  10.     printf("%d ",i);
  11.     return(0);
  12. }

Choices

Choice (4) Response

a.

32

b.

0

c.

33

d.

None of the above

Question number: 132

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

Edit
MCQ▾

Question

What will be output of following c code?

  1. #include<stdio.h>
  2. int main(){
  3.     int x=20;
  4.     do{
  5.         printf("%d",x++);
  6.     }
  7.     while(2,0);
  8.     return 0;
  9. }

Choices

Choice (4) Response

a.

Compilation error

b.

21

c.

20

d.

0

Question number: 133

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

Edit
MCQ▾

Question

Fill the blanks in the following statement by using suitable option: ________is used to take control to the beginning of the loop while ________ is used for terminating all loops.

Choices

Choice (4) Response

a.

Break, continue

b.

Continue, break

c.

Continue, exit

d.

None of the above

Question number: 134

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

Edit
MCQ▾

Question

What is the output of this C code?

  1. void main()
  2. {
  3.     int x=1;
  4.     if (x < 2)
  5.     main();
  6. }

Choices

Choice (4) Response

a.

Infinite calls to main

b.

Run time error

c.

Compilation error

d.

Main is called twice