- Aint
- Bnull
- ✓none
- DAn exception is thrown without the return statement
Answer: C.
View full solution →71 questions across 7 question groups — pick any mix to generate a Computer Science paper with step-by-step answer keys.
M.C.Q
8 Q→02Fill In The Blanks
5 Q→031 Marks Each
13 Q→042 Marks Each
13 Q→053 Marks Each
11 Q→065 Marks Each
3 Q→074 Marks Each
18 Q→One sample from each question group in this chapter. Select any group above to see the full set with answer keys.
Answer: C.
View full solution →Answer: C.
View full solution →Answer: B.
View full solution →Answer: A.
View full solution →Answer: B.
View full solution →

Write the output of the given program:
| Maths | Science | Average | Stream_Offered |
| >=80 | >=90 | >=90 | Medical |
| >=75 | >=85 | >=85 | Non-Medical |
| >=75 | >=60 | >=75 | Commerce with Maths |
| >=60 | >=60 | >=60 | Commerce without Maths |
| >=50 | >=45 | >=50 | Humanities Stream |
| Otherwise | Vocational Stream | ||
Choose the correct possible option on the basis of following code.
(a) Which Statement will be executed, If a Student scored marks as Maths = 75, Science = 80 and Average = 89.
(i) Statement 1 (ii) Statement 2
(iii) Statement 3 (iv) Statement 4
(b) When a Student is Eligible for Humanities Stream?
(i) Student scored marks as Maths less than 65, Science = 80 and Average = 89.
(ii) Student scored marks as Maths = 75, Science = 80 and Average = 89.
(iii) If a Student scored marks as Maths = 55, Science = 47 and Average = 55.
(iv) If a Student scored marks as Maths = 75, Science = 80 and Average = 89.
(c) Which Statement will be executed, If a Student scored marks as Average = 65, Science = 78 and Maths = 80.
(i) Statement 3 (ii) Statement 4
(iii) Statement 5 (iv) Statement 6
(d) Which Statement will be executed, if a Student Scored marks in Science = 35, Maths = 37 and Average = 41.
(i) Statement 3 (ii) Statement 4
(iii) Statement 5 (iv) Statement 6
(e) Which Statement will be executed, If a Student Scored Science =66 , Maths =64 and Average = 65.
(i) Statement 4 (ii) Statement 5
(iii) Statement 3 (iv) Statement 6
On the basis of above code, choose the best appropriate option.
(a) Which statement will be executed if Nationality is Indian, Gender is Male and Age is 19.
(i) Statement 1 (ii) Statement 2
(iii) Statement 3 (iv) Statement 4
(b) Which Statement will be executed, if Nationality is American, Gender is Female and Age is 27.
(i) Statement 1 (ii) Statement 2
(iii) Statement 4 (iv) Statement 5
(c) Which Statement is executed, if Nationality is Indian, Age is 25 and Gender if Female.
(i) Statement 1 (ii) Statement 2
(iii) Statement 3 (iv) Statement 4
(d) Which Statement is executed, if Nationality is Indian, Age is 17 and Gender is Female.
(i) Statement 1 (ii) Statement 2
(iii) Statement 3 (iv) Statement 4
(e) Which statement will be executed if Nationality is Indian, Gender is Male and Age is 29.
(i) Statement 1 (ii) Statement 2
(iii) Statement 3 (iv) Statement 4
where n and x have to be input from the user. The function should have two parameter n and x and return the sum of the series.
where n and x have to be input from the user. The function should have two parameter n and x and return the sum of the series.
Pick question groups from the list above, set marks and difficulty, and export a branded PDF with step-by-step answer keys. First 3 chapters free — no signup.