
p5js final
Quiz
•
Information Technology (IT)
•
10th Grade
•
Practice Problem
•
Hard
FREE Resource
Enhance your content in a minute
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:
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
Se quisermos alterar a cor do preview, qual função devemos usar?
7.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Criando 2 variáveis para movimentar os eixos x e y da bolinha, como ilustra o código abaixo: let velocidadeXBolinha = 6 let velocidadeYBolinha = 6 O que acontecerá se alterarmos os valores numéricos para 3, ao invés de 6, como mostra o código abaixo? let velocidadeXBolinha = 3 let velocidadeYBolinha = 3
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Motherboard Functionality Quiz
Quiz
•
8th Grade - University
10 questions
Modelo OSI e TCP/IP (2)
Quiz
•
10th Grade - University
10 questions
INMERSION IA
Quiz
•
9th - 12th Grade
10 questions
Arquitectura y protocolos de red
Quiz
•
9th Grade - University
10 questions
QUIZ 2 PLC
Quiz
•
10th Grade - University
10 questions
Taller de Cultura Digital Parcial 1
Quiz
•
10th Grade
16 questions
Desenvolvimento Web 1 (Turma A)
Quiz
•
10th Grade
10 questions
Actividad incidencias 2024
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Information Technology (IT)
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
25 questions
Preterito regular
Quiz
•
10th - 12th Grade
20 questions
Cell organelles and functions
Quiz
•
10th Grade
20 questions
Figurative Language Review
Quiz
•
10th Grade
10 questions
hands washing
Quiz
•
5th - 12th Grade
10 questions
Exploring the Energy Cycle: Photosynthesis and Cellular Respiration
Interactive video
•
6th - 10th Grade
