Computer Application and Data Processing (ISS Statistics Paper I (New 2016 MCQ Pattern)): Questions 139 - 144 of 199

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

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

MCQ▾

Question

Which command is used to skip the rest of a loop and carry on from the top of the loop again?

Choices

Choice (4) Response
a.

Break

b.

While

c.

Switch

d.

Continue

Question number: 140

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

MCQ▾

Question

Data type of the controlling statement of a SWITCH statement can be of the type:

Choices

Choice (4) Response
a.

Char

b.

Double

c.

Float

d. All of the above

Question number: 141

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

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. None of the above

Question number: 142

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

MCQ▾

Question

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

Choices

Choice (4) Response
a.

Logical errors

b.

Syntax errors.

c.

Semantic errors

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

Question number: 143

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

MCQ▾

Question

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

Choices

Choice (4) Response
a.

Helps to avoid repeating a set of statements many times.

b.

Logical clarity of the program get lost.

c.

Makes the debugging task tougher.

d. All of the above

Question number: 144

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

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.

B

b.

Garbage value

c.

66

d.

Compilation error

Sign In