If-Statement and Relational Operators Quiz

If-Statement and Relational Operators Quiz

6th Grade

15 Qs

quiz-placeholder

Similar activities

Computer Troubleshooting 5-6

Computer Troubleshooting 5-6

6th Grade

16 Qs

Input Devices

Input Devices

1st - 10th Grade

10 Qs

GCSE J277 - 1.6.1 - Legal Issues

GCSE J277 - 1.6.1 - Legal Issues

7th Grade

20 Qs

Computer devices

Computer devices

2nd - 7th Grade

15 Qs

Types of Malware

Types of Malware

6th - 9th Grade

14 Qs

Malware

Malware

7th - 11th Grade

15 Qs

Computer Misuse Act

Computer Misuse Act

10th - 12th Grade

12 Qs

computer virus

computer virus

7th Grade

10 Qs

If-Statement and Relational Operators Quiz

If-Statement and Relational Operators Quiz

Assessment

Quiz

Computers

6th Grade

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?