Class 9 Conditional Statement

Class 9 Conditional Statement

9th Grade

10 Qs

quiz-placeholder

Similar activities

SNAP-Quiz 1

SNAP-Quiz 1

9th Grade

10 Qs

Conditional Statements

Conditional Statements

9th Grade

15 Qs

Unit 2 Review

Unit 2 Review

9th Grade - University

10 Qs

1 - Pseudocode

1 - Pseudocode

9th - 10th Grade

15 Qs

AP CSP - Code.org Unit 3 Review

AP CSP - Code.org Unit 3 Review

9th - 12th Grade

15 Qs

IF & CASE Conditional Statements

IF & CASE Conditional Statements

9th - 12th Grade

15 Qs

U1L1 Alonzo wants you to know...

U1L1 Alonzo wants you to know...

7th Grade - University

12 Qs

Software Types and USB Exit Ticket

Software Types and USB Exit Ticket

9th - 12th Grade

12 Qs

Class 9 Conditional Statement

Class 9 Conditional Statement

Assessment

Quiz

Computers

9th Grade

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?