NCO- Cyber Olympiad (SOF) Class 11: Questions 170 - 172 of 599

Access detailed explanations (illustrated with images and videos) to 599 questions. Access all new questions- tracking exam pattern and syllabus. View the complete topic-wise distribution of questions. Unlimited Access, Unlimited Time, on Unlimited Devices!

View Sample Explanation or View Features.

Rs. 350.00 -OR-

How to register? Already Subscribed?

Question 170

Appeared in Year: 2014

Question

MCQ▾

In the following C ++ program code, what is the value of result?

  1. intsum(inta, intb=20)
  2. {
  3.     intresult;
  4.     result = a+b;
  5.     return (result);
  6. }
  7. intmain()
  8. {
  9.     inta = 150;
  10.     intb = 200;
  11.     intresult;
  12.     result = sum(a, b);
  13.     cout≪”Totalis -”≪result;
  14.     return0;
  15. }

Choices

Choice (4)Response

a.

Total is – 350

b.

Total is – 170

c.

Total is – 370

d.

Total is – 220

Question 171

Appeared in Year: 2014

Question

MCQ▾

Four married couples live on a street in four different coloured houses. One of the house is red.

B, a male, does not live in the white house. H, a female, is not married to A. C lives in the yellow houses. D is not married to E. B does not live in the blue house. H lives in the blue house. E is married to B. G, a female, is not married to C. F is one of the wives.

Which of the following statements is/are not true?

I. D is the husband of A.

II. G is the wife of A.

III. C lives in the yellow-coloured house.

IV. F lives in the yellow-coloured house.

Choices

Choice (4)Response

a.

Only I and III

b.

Only I and IV

c.

Only I

d.

None of the above

Question 172

Appeared in Year: 2014

Question

MCQ▾

Which of the following is an INCORRECT way to access the Format Cells dialog box in MS-Excel 2010?

Choices

Choice (4)Response

a.

Select the cell/cells Home tab Styles group Format cells

b.

Select the cell/cells Right click choose Format Cells from the shortcut menu.

c.

Select the cell/cells Press Ctrl

d.

Select the cell/cells Home tab Number group click on dialog box launcher icon.