Search Header Logo

Fundamentals of Programming Part 7

Authored by Barbara Froehlich

Computers

11th Grade

5 Questions

Used 1+ times

Fundamentals of Programming Part 7
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can we teach Karel new commands?

For loop

Define a new function

While loop

The start function

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Say you want to write a program to have Karel put down 300 tennis balls. Which control structure would you use?

If statement

While loop

For loop

Nested while loop

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In the following array:

Which of the following statements will change “cookies” to “bread”?

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an array (or list)?

An unordered collection of unique items

An ordered collection of items

A collection of (key, value) pairs

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A store has 20 apples in its inventory. How can you store this information in a JavaScript variable?

var numApples == 20;

20 = numApples;

var numApples = 20;

var num apples = 20;

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?