Computer Science, asked by technosolutions, 4 months ago

ASSESSMENT ZONE

A. Choose the correct answer.
1. Which of the following is a literal in Java?
(a) {
(b) +
(c) +1
2. Which of the following is an example of iteration?
(a) If
(b) Switch
(c) While
3. What is used when both the conditions of an expression must be true?
(a) ||
(b)!
(c) &&
4. The following is optional in case of switch case construct.
(a) default
(b) break
(c) both a and b
5. Boolean can support –
(a) true
(b) false
(c) either a orb
(d) +
(d) either of a and b
(d) both a and b​

Answers

Answered by nasaanirudh
5

Answer:

1.(c)+1

2.(c)while loop

3.(b)!

4.(a)default

5.(last option) both a and b

Similar questions