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

Question number: 142

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

Edit
MCQ▾

Question

Which of the following is/are the types of program error?

Choices

Choice (4) Response

a.

Semantic errors

b.

Logical errors

c.

Syntax errors.

d.

All a. , b. and c. are correct

Question number: 143

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

Edit
MCQ▾

Question

Which of the following is/are correct regarding a function?

Choices

Choice (4) Response

a.

Logical clarity of the program get lost.

b.

Makes the debugging task tougher.

c.

Helps to avoid repeating a set of statements many times.

d.

All of the above

Question number: 144

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

Edit
MCQ▾

Question

What is the output of the following program?

  1. #include<stdio.h>
  2. main()
  3. {
  4.     int x = 66, *a = &y;
  5.     void *b=a;
  6.     char *c=b;
  7.     printf("%c",*c);
  8. }

Choices

Choice (4) Response

a.

66

b.

Compilation error

c.

B

d.

Garbage value

Question number: 145

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

Edit
MCQ▾

Question

When inorder traversing a tree resulted D B E A F C; the preorder traversal would return

Choices

Choice (4) Response

a.

B D E A F C

b.

A B D E F C

c.

A B D E C F

d.

B D A E F C

Question number: 146

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

Edit
MCQ▾

Question

Which of the following is selection statement in C++?

Choices

Choice (4) Response

a.

Break

b.

Goto

c.

Continue

d.

None of the above