Search Header Logo

If-Statement and Relational Operators Quiz

Authored by Darion Taylor

Computers

6th Grade

Used 6+ times

If-Statement and Relational Operators Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?