If-Statement and Relational Operators Quiz

If-Statement and Relational Operators Quiz

6th Grade

15 Qs

quiz-placeholder

Similar activities

S1 Computer Systems

S1 Computer Systems

9th Grade

20 Qs

Circuit Playground Review I

Circuit Playground Review I

9th - 12th Grade

18 Qs

High and low level languages

High and low level languages

10th - 12th Grade

17 Qs

Checkpoint 1 Revision

Checkpoint 1 Revision

8th Grade

20 Qs

COMPUTER LANGUAGES

COMPUTER LANGUAGES

6th Grade

10 Qs

Computer Programming Basics

Computer Programming Basics

8th Grade

11 Qs

Python - Loops & Lists

Python - Loops & Lists

7th - 11th Grade

15 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 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?