# 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-

## Question 170

Appeared in Year: 2014

### Question

MCQ▾

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

1. `int sum(int a, int b=20)`
2. `{`
3. `    int result;`
4. `    result = a+b;`
5. `    return (result);`
6. `}`
7. `int main()`
8. `{`
9. `    int a = 150;`
10. `    int b = 200;`
11. `    int result;`
12. `    result = sum(a, b);`
13. `    cout≪”Total is -”≪result;`
14. `    return 0;`
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.