Search Header Logo

Quiz Básico sobre p5.js

Information Technology (IT)

10th Grade

Used 47+ times

Quiz Básico sobre p5.js
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

O que é p5.js?

Uma biblioteca JavaScript para criar gráficos 3D.

Uma biblioteca JavaScript para criar gráficos e interações visuais.

Um editor de texto para programadores.

Um sistema operacional para dispositivos móveis.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual função é usada para definir o tamanho da tela no p5.js?

`createCanvas()`

`setSize()`

`initScreen()`

`defineCanvas()`

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual das seguintes opções desenha um círculo no p5.js?

`drawCircle(x, y, radius)`

`ellipse(x, y, width, height)`

`circle(x, y, diameter)`

`round(x, y, size)`

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Como você altera a cor de preenchimento de uma forma no p5.js?

`setColor(r, g, b)`

`fill(r, g, b)`

`color(r, g, b)`

`paint(r, g, b)`

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual função é usada para detectar o movimento do mouse no p5.js?

`mouseMove()`

`mouseDragged()`

`mouseMoved()`

`mouseMotion()`

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual das seguintes funções é usada para desenhar um retângulo no p5.js?

`rect(x, y, width, height)`

`rectangle(x, y, width, height)`

`square(x, y, size)`

`box(x, y, width, height)`

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Como você define a cor da borda de uma forma no p5.js?

`borderColor(r, g, b)`

`stroke(r, g, b)`

`outline(r, g, b)`

`edgeColor(r, g, b)`

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?