Qual é a função do comando `createCanvas(400, 400);` no código?

Quiz sobre Programação em JavaScript

Quiz
•
Information Technology (IT)
•
9th Grade
•
Hard
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Define a cor de fundo da tela.
Cria uma tela de desenho com dimensões 400x400.
Gera números aleatórios para a cor.
Desenha um círculo na tela.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que faz a função `random(0, 255)` no código?
Define a posição do círculo.
Gera um número aleatório entre 0 e 255.
Cria um círculo na tela.
Define a cor de fundo da tela.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a cor de fundo inicial da tela definida no código?
Azul
Verde
Vermelho
Amarelo
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é o tamanho do círculo desenhado na tela?
50
100
150
200
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que acontece quando `mouseX` é menor que `posicaoHorizontal`?
O círculo se move para a direita.
O círculo se move para a esquerda.
O círculo se move para cima.
O círculo se move para baixo.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que acontece quando `mouseY` é maior que `posicaoVertical`?
O círculo se move para a direita.
O círculo se move para a esquerda.
O círculo se move para cima.
O círculo se move para baixo.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a função do comando `fill(cor);` no código?
Define a cor de fundo da tela.
Preenche o círculo com a cor especificada.
Cria um círculo na tela.
Define a posição do círculo.
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Recuperação Pensamento computacional 9º ano

Quiz
•
9th Grade
11 questions
Quiz sobre o Pinheiro do Paraná

Quiz
•
9th Grade
10 questions
Quiz sobre Programação

Quiz
•
9th Grade
12 questions
Quiz de Scratch e Lógica

Quiz
•
9th Grade
10 questions
Quiz de Programação em Scratch

Quiz
•
9th Grade
10 questions
Avaliação 9º anos

Quiz
•
9th Grade
10 questions
Revisão de conteúdo 05

Quiz
•
9th Grade
10 questions
Questões sobre Funções em Programação

Quiz
•
9th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade