
If else

Quiz
•
Computers
•
9th Grade
•
Hard
Bilal Chowdhury
Used 8+ times
FREE Resource
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
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
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
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
What is the console output of this program?
odd
even
7.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
What is the console output of this program?
Good evening
Good day
result
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
C# PROGRAMLAMA

Quiz
•
9th - 10th Grade
35 questions
[AP CSP] Programming with Conditionals [If, Elif, Else]

Quiz
•
9th Grade - University
25 questions
Algorithms are not magic - AQA A Level Computer Science

Quiz
•
8th Grade - University
28 questions
N5 Software Design and Development

Quiz
•
9th - 12th Grade
28 questions
Quarter 2 Quizbee CSS 9

Quiz
•
9th Grade
25 questions
Introduction to Python

Quiz
•
KG - University
28 questions
Python Functions Review Quiz

Quiz
•
9th - 12th Grade
25 questions
Defensive Design

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

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th 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
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade