P5.js Review - Part 2

P5.js Review - Part 2

10th Grade

26 Qs

quiz-placeholder

Similar activities

Storage and Memory Test

Storage and Memory Test

10th - 11th Grade

21 Qs

10H2 - Networks 2

10H2 - Networks 2

10th Grade

21 Qs

Cybersecurity: Ch 5 & 6

Cybersecurity: Ch 5 & 6

9th - 12th Grade

21 Qs

Internet Searching and Citations

Internet Searching and Citations

9th - 12th Grade

23 Qs

GCSE Computer Science: Topic 3 Consolidation

GCSE Computer Science: Topic 3 Consolidation

10th - 11th Grade

30 Qs

G10 REVISION Ch 7 Systems Lifecycle: Implementation

G10 REVISION Ch 7 Systems Lifecycle: Implementation

9th - 10th Grade

21 Qs

Test vstupní a výstupní zařízení PC

Test vstupní a výstupní zařízení PC

10th Grade

21 Qs

CPA MS-Office Hotkeys Quiz

CPA MS-Office Hotkeys Quiz

8th Grade - Professional Development

21 Qs

P5.js Review - Part 2

P5.js Review - Part 2

Assessment

Quiz

Computers

10th Grade

Practice Problem

Medium

Created by

Mr. Kedwell

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

26 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following for loop would repeat how many times?

for ( let num = 1;  num < 3;  num = num + 1 ){

}

0

1

2

3

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following for loop would repeat how many times?

for ( let num = 1;  num <= 3;  num = num + 1 ){

}

0

1

2

3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following for loop would repeat how many times?

for ( let num = 0;  num < 6;  num = num + 2 ){

}

0

1

2

3

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many lines would be drawn on the screen utilizing the following While Loop code?

  let y = 0;

  while (y <= 50) {

    y = y + 10;

    line(20, y, 50, y);

  }

0

4

5

6

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This concept "helps with organizing and reusing code" best describes what?

functions

return

parameter

selection (If/else)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following code will generate random numbers for x in what range?

function setup() {

createCanvas(400, 200);

let x = int(random(0, width));

}

0 to 399

0 to 200

200 to 400

1 to 400

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The description "This function is called once when a mouse button is pressed." aligns with what function?

mousePressed()

mouseReleased()

mouseDragged()

mouseClicked()

doubleClicked()

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?