Search Header Logo

Fundamentos de JavaScript para Iniciantes

Education

2nd Grade

Used 3+ times

Fundamentos de JavaScript para Iniciantes
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Qual comando é utilizado para criar uma tela de 400 pixels de largura por 400 pixels de altura no p5.js?

tela(400, 400);

createCanvas(400, 400);

drawCanvas(400, 400);

makeScreen(400, 400);

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Qual função é chamada automaticamente pelo p5.js para desenhar continuamente na tela?

setup()

draw()

paint()

render()

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Como você define a cor de fundo da tela para preto no p5.js?

background(255);

background(0);

fill(0);

color(0);

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

ellipse(100, 100, 50, 50);

circle(100, 100, 50);

rect(100, 100, 50, 50);

arc(100, 100, 50, 50, 0, PI);

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Qual destas opções representa uma variável corretamente declarada em JavaScript?

var numero = 10;

numero := 10;

int numero = 10;

numero == 10;

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

O que o comando fill(255, 0, 0) faz?

Preenche as formas com a cor azul

Preenche as formas com a cor vermelha

Preenche as formas com a cor verde

Preenche as formas com a cor preta

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

rect(50, 50, 80, 40);

rectangle(50, 50, 80, 40);

square(50, 50, 80, 40);

box(50, 50, 80, 40);

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?