Search Header Logo

Computer Science Academy Quiz

Authored by Tamara Stewart

Computers

12th Grade

Computer Science Academy Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a good name for a function that is used to draw a fancy star?

drawPolygon

drawShape

drawStar

drawFancyStar

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How should the body of a function be indented?

By 8 spaces

By 6 spaces

By 4 spaces

By 2 spaces

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are some general shape properties that can be modified?

Alignment properties

Size properties

All of the above

Position properties

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which shape-specific property is used for circles?

points

radius

dashes

roundness

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the app.background property?

To change the background color of the app

To set the size of the app

To add a background image to the app

To hide the app

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are some properties of a line shape?

radius, points

value, font, size, bold, italic

x1, y1, x2, y2

left, right, top, bottom

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the print function?

To draw a shape

To modify an existing shape

To help debug the code

To calculate a math problem

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?