- (a)z = a > b ? 35 : 25;
- (b)z = a > b ? 25 : 35;
- (c)z = a > b : 35 ? 25;
- (d)z = a > b : 25 ? 35;
Revision Tour II
Appeared in 10 of the 11 available papers.
Appears almost every year — treat as core
Average per paper it appears in · 265 marks in total
42% of this chapter's 69 questions
2 questions carry a figure — practise drawing them
Question-type distribution
- MCQ29
- Program26
- Output10
- Difference3
- Definition1
Most frequent topics
Showing 25 of 69 matching questions (265 marks).
25 questions
Choose the correct answers to the questions from the given options. (Do not copy the questions, write only the correct answers.)
- (a)Array
- (b)Condition
- (c)Nested loop
- (d)While loop

Choose the correct answers to the questions from the given options. (Do not copy the questions, write only the correct answers.)
- (a)for(int i=1; i<=10; i++)
- (b)for(int i=2; i!=0; i-=3)
- (c)for(int i=5; i<=5; i++)
- (d)for(int i=1; i>=1; i--)
- (a)Both (A) and (R) are true and (R) is a correct explanation of (A).
- (b)Both (A) and (R) are true and (R) is not a correct explanation of (A).
- (c)(A) is true and (R) is false.
- (d)(A) is false and (R) is true.
- (a)if
- (b)switch
- (c)for
- (d)if else if

- (a)Both (A) and (R) are true and (R) is a correct explanation of (A).
- (b)Both (A) and (R) are true and (R) is not a correct explanation of (A).
- (c)(A) is true and (R) is false.
- (d)(A) is false and (R) is true.
- (a)42
- (b)4200
- (c)00
- (d)02
Choose the correct answers to the questions from the given options. (Do not copy the questions, write only the correct answers.)
- (a)b
- (b)c
- (c)a
- (d)Wrong expression
- (a)int
- (b)char
- (c)String
- (d)Double
- (a)Only 1
- (b)1 and 2
- (c)1 and 3
- (d)3 and 4
Choose the correct answers to the questions from the given options. (Do not copy the questions, write only the correct answers.)
- (a)next()
- (b)nextLine()
- (c)nextWord()
- (d)nextString()
- (a)continue
- (b)break
- (c)return
- (d)System.exit(0)
- (a)finite
- (b)infinite
- (c)null
- (d)fixed
- (a)20 40
- (b)10 4
- (c)20, 40
- (d)10 10