
p5js final
Information Technology (IT)
10th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
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
11 questions
Quiz aula 3
Quiz
•
9th - 12th Grade
15 questions
Hardware Software 1ºA
Quiz
•
9th - 12th Grade
10 questions
Cuestionario N°1 - Arquitectura Web
Quiz
•
10th Grade
15 questions
Bài 25
Quiz
•
10th Grade - University
6 questions
Cuestionario sobre la BIOS/UEFI
Quiz
•
9th - 12th Grade
11 questions
Partes Internas de la computadora
Quiz
•
10th Grade
14 questions
Dispositivos de Entrada/Salida
Quiz
•
9th - 12th Grade
10 questions
CONCEPTOS ARDUINO
Quiz
•
1st Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
20 questions
Cell Organelles
Quiz
•
10th Grade
25 questions
Complementary and Supplementary Angles
Quiz
•
7th - 10th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
10 questions
Exploring the Layers of the Earth
Interactive video
•
6th - 10th Grade