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
OCR J276 - 1.1 Computer Architecture

Quiz
•
9th - 11th Grade
10 questions
Computer Lab Rules

Quiz
•
5th - 11th Grade
11 questions
Computer Troubleshooting

Quiz
•
7th - 9th Grade
18 questions
Hardware and Software

Quiz
•
6th Grade - University
10 questions
KODU

Quiz
•
3rd - 6th Grade
12 questions
Computer Hardware

Quiz
•
9th - 12th Grade
15 questions
Inside a Computer

Quiz
•
9th - 10th Grade
16 questions
Introduction to AI-Excite

Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
21 questions
Input Output Storage Device

Quiz
•
5th - 8th Grade