Class 9 Conditional Statement

Quiz
•
Computers
•
9th Grade
•
Medium
Laxmi Narayan Gupta
Used 103+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
Swift Playgrounds

Quiz
•
9th Grade
12 questions
While Loop Quiz

Quiz
•
9th - 12th Grade
15 questions
Basics in Java

Quiz
•
9th - 12th Grade
10 questions
CodeHS 2.10 While Loops

Quiz
•
9th - 12th Grade
10 questions
Selection 2

Quiz
•
9th Grade
9 questions
Lesson 9 Practice Problems

Quiz
•
9th Grade - University
15 questions
Python Basics Quiz

Quiz
•
6th - 10th Grade
9 questions
U3: [Assess] L14-L17 Code.org

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade