If-Statement and Relational Operators Quiz

If-Statement and Relational Operators Quiz

6th Grade

15 Qs

quiz-placeholder

Similar activities

Entry Level - Moral, Legal & Environmental

Entry Level - Moral, Legal & Environmental

8th - 9th Grade

17 Qs

CSD U1 Problem Solving & Computing

CSD U1 Problem Solving & Computing

7th - 8th Grade

20 Qs

Kodu 101

Kodu 101

6th - 8th Grade

12 Qs

Computer Basics

Computer Basics

6th - 8th Grade

20 Qs

Computer Programming Vocabulary

Computer Programming Vocabulary

5th - 7th Grade

18 Qs

Troubleshooting

Troubleshooting

9th - 10th Grade

20 Qs

ICT - CSS G10 MODULE 1 POST TEST

ICT - CSS G10 MODULE 1 POST TEST

10th Grade

15 Qs

Y8 Computer crime 2

Y8 Computer crime 2

7th - 9th 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?