If-Statement and Relational Operators Quiz

Quiz
•
Computers
•
6th Grade
•
Medium
Darion Taylor
Used 5+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the Operator SYMBOLS in programming?
+ , -, *, /
plus, minus, multiplication, variable
{}, (), ?, .
#, $, & ^
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An if-statement is like doing what in coding?
providing an example
asking a question
declaring a variable
opening a checking account
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
if an if-statement is true, then..?
the computer restarts
the computer skips it
produces an error
something will happen
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If an if-statement is false, then..?
the computer restarts
the computer skips it
produces an error
something will happen
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does an if statement do in C#?
Repeats code multiple times
Runs code only if a condition is false
Runs code only if a condition is true
Stops the program
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following are examples of RELATIONAL Operators?
== , != , < , >
+, - , * , /
{} , (), . , #
@ , &, $, !
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the == operator?
Makes a variable true
Checks if two values are equal
Adds two values
Assigns a value to a variable
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Checkpoint 1 Revision

Quiz
•
8th Grade
15 questions
Unit 2.6 data representation - character sets MCQs

Quiz
•
10th - 11th Grade
20 questions
Topic 2 - Computing Hardware

Quiz
•
1st - 9th Grade
20 questions
Javascript Conditional Statements

Quiz
•
9th - 12th Grade
11 questions
Computer Programming Basics

Quiz
•
8th Grade
15 questions
Javascript Quiz 2

Quiz
•
11th Grade
20 questions
S1 Computer Systems

Quiz
•
9th Grade
18 questions
Circuit Playground Review I

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade