Search Header Logo

Selection, Sequence or Iteration

Authored by B Stent

Computers, Other

7th - 9th Grade

Used 18+ times

Selection, Sequence or Iteration
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will the output of the code be when the user types 221?

When the user types "Try again" it will say "Good!"

It will say "Good!" when the user types 221

It will say "Try again" if the user types 221

It will say "221"

It will say "answer"

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Why won't "Correct" ever be displayed?

Because X is already 50

Because X is set to 35

It WILL display "Correct"

Because X is something the user types

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Will this program display "Correct"?

Yes, because X is less than 50

No, because X is more than 50

No, because a 'Say' block doesn't produce text

Yes, because a 'Say' block must always run

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

X was set to 35 - Will the program output "Correct"

Yes, because it's mandatory

Yes, because X is less than 50

No, because X isn't being compared

Yes, because a 'Say' block is always used.

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Will "Correct" be displayed

Yes, because X is 35 which is less than 50

Yes, because X plus 2 is less than 50

Yes, because X times 2 is more than 50

No, because X times 2 is more than 50

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Will 'Correct' be displayed?

Yes because X is 35 and that's less than 50

No, because although X is less than 50, the NOT flips it.

No, because it's NOT using an X

No, because the variable X is NOT 35

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is being compared to get "Correct" to display?

X is 10 AND Y is 20

X is 50 OR Y is 50

X is 50 AND Y is 50

X is 10 AND Y is 50

X is less than Y

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?