CS Academy Unit 2 Review

CS Academy Unit 2 Review

9th - 10th Grade

10 Qs

quiz-placeholder

Similar activities

Y9 Homework 1: Python Revisited 1

Y9 Homework 1: Python Revisited 1

9th Grade

13 Qs

Python Quiz for 10s

Python Quiz for 10s

10th Grade

10 Qs

CodeHS Python

CodeHS Python

7th - 12th Grade

10 Qs

JavaScript and Graphics Quiz

JavaScript and Graphics Quiz

9th - 12th Grade

15 Qs

JavaScript Variable

JavaScript Variable

9th - 12th Grade

15 Qs

CodeHS Test

CodeHS Test

9th - 12th Grade

15 Qs

Java Script Quiz

Java Script Quiz

9th - 12th Grade

15 Qs

String Manipulation

String Manipulation

9th - 11th Grade

13 Qs

CS Academy Unit 2 Review

CS Academy Unit 2 Review

Assessment

Quiz

Computers

9th - 10th Grade

Medium

Created by

Jennifer Greger

Used 27+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid function name?

None

1234

drawCircle

def

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Given the function shown, which of the following would be a valid function call?

drawBigCircle(“purple”, 20, 300)

drawBigCircle(200, 200, “red”)

drawBigCircle(300, “blue”, 200)

Circle(200, 300, “green”)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following correctly uses the print function to print to the console?

print helloWorld

print(“hello world”)

print(helloWorld)

print “hello world”

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following shapes does not have a radius property?

Circle

RegularPolygon

Star

Rect

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a fill or border property?

borderStyle

fill

dashes

borderWidth

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do you click to run all of the test cases given in the problem?

Run button

Reset

Test case 1

Autograder

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is false about global variables?

They should be used sparingly

They should be used all the time

They are used to refer to shapes

They can be used inside and outside of functions

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?