Scanner & If Statements

Scanner & If Statements

5th - 12th Grade

18 Qs

quiz-placeholder

Similar activities

11° Evaluación bimestral de informática

11° Evaluación bimestral de informática

11th Grade

15 Qs

TIN 11 BÀI 11 KIỂU MẢNG

TIN 11 BÀI 11 KIỂU MẢNG

11th Grade

18 Qs

7ICT - Algorithms Revision Quiz

7ICT - Algorithms Revision Quiz

7th Grade

15 Qs

Начала программирования на языке Паскаль

Начала программирования на языке Паскаль

8th - 11th Grade

15 Qs

Online Platform Block Q

Online Platform Block Q

11th - 12th Grade

20 Qs

Pengayaan Informatika

Pengayaan Informatika

12th Grade

20 Qs

[RB3-Ch9] Application of Computers

[RB3-Ch9] Application of Computers

8th Grade

15 Qs

Scanner & If Statements

Scanner & If Statements

Assessment

Quiz

Computers

5th - 12th Grade

Hard

CCSS
L.1.1G, L.3.1H, L.5.1A

+1

Standards-aligned

Created by

Khushi H

Used 38+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

 Evaluate (to true or false) each of the following expressions:
14 >= 14
15 > 15
16 != 16
18 >= 19

T, F, F, F
T, T, T, T
F, T, F, F
F, T, T, F

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Evaluate the following expression:
2 + 2 == 4

true
false
sometimes true
only true on sundays

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Evaluate the following expression
Math.pow(2, 3) >= 9;

true
false
compile error
only true when the Patriots win

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

True/False: The body of an "if" statement will only be executed if the condition is true.

True

False

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What happens to the code in the body of an "if" statement if the condition is false?

The computer determines if it is essential to the program and if it is, then the code is executed anyway.

The code moves to a coastal city, attempting to find love and start a family. However, low waged and crushing mortgage rates lead to it moving back home where it sits, hoping that one day it will be executed.

The code is skipped.

The code stages a revolution and attempts to take over the program, ultimately unsuccessfully, which leads to it not being executed.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these can be paired with an "if" statement to represent other outcomes of a scenario?

or

else

but

sheboygan

Tags

CCSS.L.1.1G

CCSS.L.3.1H

CCSS.L.5.1A

CCSS.L.5.1E

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which symbol means "not equal to"?

==

<=

>=

!=

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?