O que é necessário colocar após a estrutura if para definir a condição?

JavaScript - Alura módulo 2.

Quiz
•
Computers
•
10th Grade
•
Medium
ISRAEL MODZELEWSKI
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Parênteses e colchetes
Parênteses e chaves
Colchetes e chaves
Apenas parênteses
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é o valor de fundo definido na função draw()?
255
100
220
0
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a metade da altura do canvas?
100
150
200
250
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a largura total do canvas?
600
500
300
400
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual função é usada para desenhar um círculo no canvas?
line()
rect()
circle()
ellipse()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a sintaxe correta para definir uma variável em JavaScript?
nome = 'valor';
let nome: 'valor';
let nome = valor;
const nome = 'valor';
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Como você pode mudar a cor de fundo em p5.js?
Use a função fill(cor) para mudar a cor de fundo.
A cor de fundo não pode ser alterada em p5.js.
Mude a cor de fundo usando a função setBackground(cor).
Use a função background(cor) para mudar a cor de fundo.
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Introdução ao JavaScript

Quiz
•
10th Grade
10 questions
Introdução ao JavaScript e CSS

Quiz
•
1st Grade - University
10 questions
Quiz sobre p5.js (aulas 3 e 4)

Quiz
•
10th Grade - University
10 questions
Quiz de Scratch para 8º Ano

Quiz
•
8th Grade - University
10 questions
PENSAMENTO_COMPUTACIONAL_R1_T3_24

Quiz
•
10th Grade
10 questions
Quiz sobre HTML e CSS

Quiz
•
1st Grade - University
10 questions
Evaluasi Javascript 3

Quiz
•
10th Grade
10 questions
TLE Q3 M1-5

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University