Search Header Logo
CMU CS Academy 2.1.4

CMU CS Academy 2.1.4

Assessment

Interactive Video

•

Computers

•

9th - 12th Grade

•

Medium

Created by

Maria Cruz Farooqi

Used 6+ times

FREE Resource

24 questions

Show all answers

1.

SLIDE QUESTION

30 sec • Ungraded

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many shapes are drawn according to the code below?

2

3

5

6

8

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many shapes are drawn according to the code below?

1

2

3

4

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many shapes are drawn according to the code below?

1

2

3

4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when you switch the order of parameters in a function call?

The function runs without any issues.

The function returns a random result.

The function automatically corrects the order.

An error occurs because the parameters are in the wrong order.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of having multiple parameters in a function?

To make the function run faster

To allow the function to perform multiple tasks

To provide more information for the function to use

To make the function look more complex

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of using functions in programming?

To repeat code for every action needed

To create mini-programs that can be reused

To avoid using loops in the code

To make the code longer and more complex

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?