December 23

December 23

3rd - 12th Grade

20 Qs

quiz-placeholder

Similar activities

p5.js - shape and color

p5.js - shape and color

8th Grade

17 Qs

C5 Web Tech Quiz 1 (Practice)

C5 Web Tech Quiz 1 (Practice)

10th - 12th Grade

20 Qs

Game Lab Shapes 1

Game Lab Shapes 1

6th - 7th Grade

16 Qs

CMU quiz

CMU quiz

7th - 9th Grade

20 Qs

Kiểm Tra Cuối HK2

Kiểm Tra Cuối HK2

8th Grade

20 Qs

Processing Beginners Quiz

Processing Beginners Quiz

7th - 12th Grade

15 Qs

Grasshopper App Quiz

Grasshopper App Quiz

4th - 6th Grade

15 Qs

Unit 3 - Interactive Animations and Games

Unit 3 - Interactive Animations and Games

7th - 8th Grade

17 Qs

December 23

December 23

Assessment

Quiz

Computers

3rd - 12th Grade

Medium

Created by

Brenda McLachlin

Used 3+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of these are acceptable ways to write the variable name "letter one"?

letterOne

letterOne

letter-one

letter_one

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these poorly-formatted coding excerpts will break the code?

var x-pos = 0;

ellipse(200,200,50,50);

if(i - 10 > 3) {

text("Once upon a midnight dreary, while I pondered, weak and weary, Over many a quaint and curious volume of forgotten lore\nWhile I nodded, nearly napping, suddenly there came a tapping,As of some one gently rapping, rapping at my chamber door.", 200, 200);

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do you know about the whole program based on this section of code?


switch (state) {

case 1:

There are multiple different ways the program can work, depending on the variable "state"

The canvas size is changed from 400, 400 to something else

There is a draw function in the code

There is an array called "state" that holds a list of boolean variables

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Finish this comment:


// When the user presses a key...

if (keyPressed) {

fill(colours[round(random(12))]);

}

...change the fill to any random colour

...change the fill to the colour at position 12 in the colours array

...change the fill to a random colour from the colours array

...add a new colour to the end of the colours array

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the symbol for IS:

||

&&

!

===

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Evaluate this expression:


False === False

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Evaluate this expression:


var x; // x is either true or false but you don't know which


(x && !x)

True

False

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?