
Class 9 Conditional Statement
Authored by Laxmi Narayan Gupta
Computers
9th Grade
Used 105+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a switch case, when the switch value does not respond to any case then the execution transfers to:
A break statement
A default case
A loop
None
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a compound statement?
p=Integer.parseInt(in.readLine());
c=++a;
if(a>b )a++; b++;
a=4;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Condition is essentially formed using:
Arithmetic operators
Relational operators
Logical operators
All
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If((a>b) && (a>c)), then which of the following statement is true?
b is the smallest number
b is the greatest number
a is the greatest number
all of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a, b and c are the sides of a triangle then which of the following statement is true for:
if(a==b && a==c && b==c)?
Equilateral triangle
Scalene triangle
Isosceles triangle
All of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a, b and c are the sides of a triangle then which of the following statement is true for:
if(a!=b && a!=c && b!=c)?
Equilateral triangle
Scalene triangle
Isosceles triangle
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Two arithmetic expressions can be compared with if statement, using:
Arithmetic operator
Relational operator
Ternary operator
None
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
PRUEBA CORTA I - SISTEMA E INSTALACIÓN DE SOFTWARE I - U4
Quiz
•
9th - 12th Grade
10 questions
Unit 4 Advanced AP CSP
Quiz
•
9th - 12th Grade
10 questions
BÀI 8. SẮP XẾP VÀ LỌC DỮ LIỆU
Quiz
•
1st - 12th Grade
10 questions
Cyber Security
Quiz
•
1st - 10th Grade
14 questions
BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ
Quiz
•
6th Grade - University
14 questions
Linux: Users and Groups
Quiz
•
9th Grade - University
12 questions
Quizz Internet
Quiz
•
KG - Professional Dev...
12 questions
FTP
Quiz
•
1st - 10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade