If else

If else

9th Grade

•

30 Qs

quiz-placeholder

Similar activities

Principles of Business chapter 1

Principles of Business chapter 1

9th - 12th Grade

•

25 Qs

Y7 Introduction to Computing Assessment

Y7 Introduction to Computing Assessment

8th - 9th Grade

•

25 Qs

Grade 4 - ICT - Review S1

Grade 4 - ICT - Review S1

3rd - 10th Grade

•

28 Qs

Excel Knowledge

Excel Knowledge

1st - 9th Grade

•

25 Qs

Microsoft Excel

Microsoft Excel

6th - 10th Grade

•

25 Qs

Adobe Illustrator Quiz Review

Adobe Illustrator Quiz Review

9th - 12th Grade

•

27 Qs

Search Algorithms

Search Algorithms

9th - 12th Grade

•

25 Qs

Computational Thinking, Algorithms & Flowcharts

Computational Thinking, Algorithms & Flowcharts

8th - 12th Grade

•

28 Qs

If else

If else

Assessment

Quiz

•

Computers

•

9th Grade

•

Practice Problem

•

Hard

Created by

Bilal Chowdhury

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

In ternary conditional operator (? :) signs are worked as:(?= if) (: = else)

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

When else statement is executed?

if statement is false then else statement is executed

if statement is true then else statement is executed

3.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Media Image

Why the output is like this?

curly brace is not given in else statement.

angle brackets is not given in else statement.

4.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Media Image

What is the console output of this program?

( use pen and papers)

error. Syntax error in if condition

odd

even

5.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Media Image

What is the console output of this program?

largest number is number2

largest number is number1

largest number is 2

largest number is 1

6.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Media Image

What is the console output of this program?

odd

even

7.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Media Image

What is the console output of this program?

Good evening

Good day

result

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?