
Quiz de Programação em JavaScript

Quiz
•
Computers
•
10th Grade
•
Hard
BRUNO YOSHIKAWA
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Qual das opções abaixo declara corretamente uma variável em JavaScript?
`varidade = 15;`
`let idade = 15;`
`idade := 15;`
`int idade = 15;`
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Qual é a função principal utilizada para desenhar continuamente na plataforma p5.js?
`function main()`
`function draw()`
`function render()`
`function paint()`
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
O que o seguinte código desenha na tela do p5.js? ```javascript ellipse(50, 50, 80, 80); ```
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Qual das alternativas abaixo é a forma correta de criar uma função em JavaScript?
`function soma(a, b) { return a + b; }`
`def soma(a, b): return a + b`
`fun soma(a, b) { return a + b; }`
`soma(a, b) => a + b;`
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Em p5.js, qual comando é utilizado para definir a cor de preenchimento de uma forma?
`color(255, 0, 0);`
`fill(255, 0, 0);`
`background(255, 0, 0);`
`stroke(255, 0, 0);`
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Qual das opções abaixo representa uma variável do tipo string em JavaScript?
`let nome = "Maria";`
`let nome = 123;`
`let nome = true;`
`let nome = [1, 2, 3];`
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
O que faz o comando `background(0);` em p5.js?
Define a cor de fundo como branco
Define a cor de fundo como preto
Remove todos os desenhos da tela
Define a cor de fundo como transparente
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
INTERNET AULAS INICIAIS

Quiz
•
1st Grade - Professio...
15 questions
Algoritmo e Lógica de Programação

Quiz
•
10th Grade
10 questions
Automação e Computadores

Quiz
•
10th - 12th Grade
19 questions
Excel - medio

Quiz
•
1st Grade - University
10 questions
Cultura geral

Quiz
•
10th - 11th Grade
10 questions
Quiz de Lógica Computacional

Quiz
•
10th Grade
20 questions
Variáveis e Funções em JavaScript

Quiz
•
10th Grade
10 questions
Software de Apresentação - Introdução

Quiz
•
9th - 10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade