Computer Application and Data Processing-Basics of Programming [ISS (Statistical Services) Statistics Paper I]: Questions 45 - 49 of 574

Choose Programs:

📹 Video Course 2024 (60 Lectures [26 hrs : 20 mins]): Offline Support

Rs. 160.00 -OR-

1 Month Validity (Multiple Devices)

Preview All LecturesDetails

🎓 Study Material (589 Notes): 2024-2025 Syllabus

Rs. 650.00 -OR-

3 Year Validity (Multiple Devices)

Topic-wise Notes & SampleDetails

🎯 1595 MCQs (& PYQs) with Full Explanations (2024-2025 Exam)

Rs. 500.00 -OR-

3 Year Validity (Multiple Devices)

CoverageDetailsSample Explanation

Help me Choose & Register (Watch Video) Already Subscribed?

Question 45

Question MCQ▾

The output of following code is:

  1. main()
  2. {
  3. int x=4;
  4. int y=5;
  5. printf("%d",printf("%d%d",x,y);
  6. }

Choices

Choice (4)Response

a.

3 4 5

b.

5 4 3

c.

4 5 4

d.

4 5 3

Edit

Question 46

Question MCQ▾

What is the output of this JAVA program?

  1. class average {
  2. public static void main(String args[])
  3. {
  4. double num[] ={5.5, 10.1, 11, 12.8, 26.9, 2.5};
  5. double result;
  6. result =0;
  7. for (int i =0; i <6; ++i)
  8. result =result +num[i];
  9. System.out.print(result/6);
  10. }
  11. }

Choices

Choice (4)Response

a.

11.5555

b.

11.46666666666667

c.

11.34

d.

11.4666666666

Edit

Question 47

Question MCQ▾

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

Choices

Choice (4)Response

a.

Numbers

b.

Tuple

c.

List

d.

All a., b. and c. are correct

Edit

Question 48

Question MCQ▾

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

Choices

Choice (4)Response

a.

Saturated

b.

Underflow

c.

Overflow

d.

Fullflow

Edit

Question 49

Question MCQ▾

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

Choices

Choice (4)Response

a.

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

b.

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

c.

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

d.

None of the above

Edit