Intro to CS Fall Sem. Final Review

Intro to CS Fall Sem. Final Review

Assessment

Flashcard

Created by

Quizizz Content

Computers

9th - 12th Grade

Hard

Student preview

quiz-placeholder

82 questions

Show all answers

1.

FLASHCARD

Front

To draw a rectangle 30 wide and 40 high you could use.....

Back

Rect(10, 20, 30, 40)

2.

FLASHCARD

Front

As x increases, you head right. As y increases, you head

Back

Down

3.

FLASHCARD

Front

Which rectangle has a right-bottom corner at (150, 100)? Options: Rect(70, 90, 150, 100), Rect(70, 90, 80, 10), Rect(70, 90, 30, 60), Rect(70, 90, 100, 150)

Back

Rect(70, 90, 80, 10)

4.

FLASHCARD

Front

What is the correct code to draw a green square? Options: Rect(50, 50, 100, 100 fill='green'), Rect(50, 50, 100, 100, fill 'green'), Rect(50, 50, 100, 100, fill='green'), rect(50, 50, 100, 100, fill='green')

Back

Rect(50, 50, 100, 100, fill='green')

5.

FLASHCARD

Front

What colour is the square which is on top of all the others?

Back

blue

6.

FLASHCARD

Front

Which code draws a yellow square with a blue border?
Options: Rect(50, 50, 100, 100, fill='yellow', border='blue', border=12), Rect(50, 50, 100, 100, fill='yellow', border='blue', borderWidth=12), Rect(50, 50, 100, 100, fill='yellow' (border='blue', borderWidth=12)), Rect(50, 50, 100, 100, fill='yellow', border=blue, borderWidth=12)

Back

Rect(50, 50, 100, 100, fill='yellow', border='blue', borderWidth=12)

7.

FLASHCARD

Front

Which rectangle has a dashed border? Options: Rect(50, 50, 100, 100, fill='cyan', border='navy', dashed='True'), Rect(50, 50, 100, 100, fill='cyan', border='navy', dashed=True), Rect(50, 50, 100, 100, fill='cyan', border='navy', dashes='True'), Rect(50, 50, 100, 100, fill='cyan', border='navy', dashes=True)

Back

Rect(50, 50, 100, 100, fill='cyan', border='navy', dashes=True)

8.

FLASHCARD

Front

Which code is correct: Rect(50, 50, 100, 100, fill=None, border='blue', borderWidth=6), Rect(50, 50, 100, 100, fill=none, border='blue', borderWidth=6), Rect(50, 50, 100, 100, fill='None', border='blue', borderWidth=6), Rect(50, 50, 100, 100, fill='none', border='blue', borderWidth=6)?

Back

Rect(50, 50, 100, 100, fill=None, border='blue', borderWidth=6)

9.

FLASHCARD

Front

How do we code RGB values? Options: Rect(100, 100, 100, 100, fill=rgb 46, 139, 87), Rect(100, 100, 100, 100, fill='rgb'(46, 139, 87)), Rect(100, 100, 100, 100, fill='rgb 46, 139, 87'), Rect(100, 100, 100, 100, fill=rgb(46, 139, 87))

Back

Rect(100, 100, 100, 100, fill=rgb(46, 139, 87))

10.

FLASHCARD

Front

Which is correct for a gradient? Options: Rect(50, 50, 100, 100, fill='gradient('red', 'blue')'), Rect(50, 50, 100, 100, fill=gradient,'red', 'blue'), Rect(50, 50, 100, 100, fill=gradient('red', 'blue')), Rect(50, 50, 100, 100, fill=gradient('red' 'blue'))

Back

Rect(50, 50, 100, 100, fill=gradient('red', 'blue'))

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?