O que a função `setup()` faz no código fornecido?

Questões sobre Funções em Programação

Quiz
•
Information Technology (IT)
•
9th Grade
•
Hard
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Desenha formas na tela.
Prepara o ambiente de execução.
Define a cor de fundo.
Cria um retângulo.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é o propósito da função `createCanvas(400, 400);` dentro da função `setup()`?
Definir a cor de fundo.
Criar um retângulo.
Criar uma tela de 400x400 pixels.
Preencher o retângulo com cor.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que a função `draw()` faz no código?
Prepara o ambiente de execução.
Define a cor de fundo.
Desenha continuamente na tela.
Cria a tela.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a cor de fundo definida na função `draw()`?
Azul
Verde
Vermelho
Amarelo
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a posição inicial do retângulo criado pela função `rect(0, 0, 100, 150);`?
(100, 150)
(0, 0)
(50, 75)
(150, 100)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a largura do retângulo criado pela função `rect(0, 0, 100, 150);`?
150
50
100
200
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a altura do retângulo criado pela função `rect(0, 0, 100, 150);`?
100
150
200
50
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
SE LIGA - PENSAMENTO COMPUTACIONAL

Quiz
•
9th Grade
10 questions
Quiz sobre Sistemas Operativos CEF 24/25

Quiz
•
8th Grade - University
15 questions
Campeonato Brasileiro

Quiz
•
9th Grade
15 questions
Quiz de Scratch e Lógica

Quiz
•
9th Grade
15 questions
Programação em Scratch

Quiz
•
9th Grade
10 questions
Aula 4

Quiz
•
9th - 12th Grade
10 questions
Avaliação 9º anos

Quiz
•
9th Grade
10 questions
Revisão de conteúdo 05

Quiz
•
9th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade