Computer Science, asked by wwwsmritijaiswallove, 6 days ago

1. Multiple Choice Questions Tick () the correct answer 1. In a switch case, when the switch value does execution transfers to (a) a break statement (c) a loop (d) : (b) Relational operators (b) b is the greatest number (d) all of the above 2. Which of the following is a compound statement? (a) p=Integer.parseInt(in.readLine()); (h) C++ (c) if(a>b) a++; b--; 3. Condition is essentially formed by using (a) Arithmetic operators (c) Logical operators (d) All 4. If((a>b)&&(a>c)), then which of the given statements is true? (a) b is the smallest number (c) a is the greatest number 5. If(a>b) C=a; else (-b; It can be written as: (a) c= (b>a)?a:b; (b) e= (al=b)?ab (c) c= (a>b)?b:a; (d) None 6. If a, b and c are the sides of a triangle then which of the following state is true for: if(a!=b && a!=c && b!=c)? (a) Equilateral triangle (b) Scalene triangle (c) Isosceles triangle (d) All of the above 7. Two arithmetical expressions can be compared with the if statement, us (a) Arithmetic operator (b) Relational operator (c) Logical operator (d) None a 8. Which of the following is a conditional statement? (b) goto (d) none (a) if (c) for 9. Which of the following statement accomplishes a 'fall through? (a) for statement (b) switch case statement (c) if-else (d) none 10. A Java program executes but doesn't give the desired output. It (a) the logical error in the program (b) the syntax error in the pa (c) the run time error in the program (d) none​

Answers

Answered by ajd4770
2

Answer:

write answer is (b)

please give me brainliest

Similar questions