Search Header Logo

Algorithms

Authored by Seth Halpern

Computers

8th Grade

Used 6+ times

Algorithms
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an algorithm?

A set of steps to accomplish something.

A set of variables.

A set of known data.

A set of anti virus code.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Pseudocode?

Sketch out the logical steps of a process before using a programming language.

Python sublanguage.

C++ sublanguage.

Sketch out the logical steps of a process before compiling a code.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Get egg carton from the fridge.

______________

Break egg into bowl.

Get flour bag from pantry.

Take flour out of bag.

Pour flour into bowl.

What is missing from this pseudocode?

Take egg out of carton.

Put egg in flour bag.

Put flour back in pantry.

Put egg carton back in fridge.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Describes a test condition.

List some instructions that should run if the test succeeds.

conditional instructions

unconditional instructions

variable instructions

input instructions

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is a conditional instruction?

if it is dark outside:

turn on the lights

x= x - 1

x= x + 1

input("What is your favorite color")

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A “while” instruction continues running until its test ______.

fails

repeats

Decrements to zero.

Increments by the value of i.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Removing which statement will make this an infinite loop?

set countdown to countdown - 1

print a black and white page

while countdown > 0:

set countdown to 3

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?

Discover more resources for Computers