
p5js final

Quiz
•
Information Technology (IT)
•
10th Grade
•
Hard
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Leia o código na imagem e responda.
Qual é a função da sequência de caracteres "//" na linha de código?
Iniciar um loop infinito.
Marcar o início de um comentário.
Indicar o início de uma nova função.
marca o inicio de uma variavel
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Observe o código da imagem.
Usamos as condicionais para realizar uma verificação de algum aspecto do código e executar uma ação.
Qual é a sintaxe correta para escrevermos uma condicional, em programação na linguagem JavaScript, a fim de verificar se a posição da bolinha no eixo x é maior que a largura da tela?
if Bolinha > width. { }
if Bolinha =* width. { }
if (xBolinha > width) { }
if {xBolinha > width}
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Até o momento no jogo Pong, podemos visualizar o código abaixo dentro da função draw (observe a imagem).
Sabendo disso, analise as alternativas abaixo e marque aquela que mostra a função correta que está relacionada à colisão da raquete do oponente.
marcaPonto()
verificaColisaoRaquete (xRaquete, yRaquete)
verificaColisaoRaquete(xRaqueteOponente, yRaqueteOponente)
movimentaRaqueteOponente()
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Javascript: Vamos alterar a cor do placar do jogo do Pong para laranja. Para isso escolha a alternativa que apresenta a ordem correta dos blocos:
mudaCorPlacar() {
fill
function
("orange");}
function
mudaCorPlacar() {
("orange");}
fill
mudaCorPlacar() {
fill
("orange");}
function
function
mudaCorPlacar() {
fill
("orange");}
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Após um comando "function setup", os comandos devem vir entre...
chaves { }
colchetes [ ]
parenteses ( )
aspas " "
6.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
7.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Create a free account and access millions of resources
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
7 questions
EAHS PBIS Lesson- Bathroom

Lesson
•
9th - 12th Grade
57 questions
How well do YOU know Neuwirth?

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
6 questions
Secondary Safety Quiz

Lesson
•
9th - 12th Grade
4 questions
Study Skills

Lesson
•
5th - 12th Grade