
O que vamos aprender?
Authored by CLEBER RODRIGUES CAVALCANTE
Instructional Technology
9th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que significa otimizar o código através da criação de uma função?
Reduzir o número de linhas de código sem alterar a funcionalidade.
Aumentar a complexidade do código para torná-lo mais robusto.
Reescrever o código em uma linguagem de programação diferente.
Adicionar comentários detalhados para cada linha de código.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que são parâmetros de uma função?
Variáveis que armazenam valores de retorno
Valores que uma função pode receber como entrada
Funções que são chamadas dentro de outras funções
Instruções que definem o comportamento de uma função
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é o valor armazenado na variável 'minimo' no código?
width
0
mouseX
palavra.length
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Como será a função que inclui todo o código responsável pelo cálculo da quantidade de letras e caracteres parciais (letra por letra)?
A função será chamada calcularQuantidadeLetras e receberá os parâmetros minimo e maximo.
A função será chamada calcularLetras e não terá parâmetros.
A função será chamada quantidadeLetras e receberá apenas o parâmetro maximo.
A função será chamada calcularCaracteres e receberá os parâmetros minimo e maximo.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que a função palavraParcial() faz com base no código fornecido?
A função retorna a palavra completa.
A função retorna uma parte da palavra.
A função não faz nada.
A função altera a palavra.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que indica o erro 'ReferenceError: minimo is not defined' no código apresentado?
A variável 'minimo' não foi declarada antes de ser usada.
A variável 'minimo' foi declarada, mas não foi inicializada.
A variável 'minimo' foi declarada em um escopo diferente.
A variável 'minimo' foi declarada, mas não foi importada corretamente.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Como solucionamos o problema das variáveis minimo e maximo serem locais na função draw() e não poderem ser acessadas pela função palavraParcial()?
Definindo as variáveis como globais.
Usando variáveis estáticas.
Passando as variáveis como parâmetros.
Criando uma nova função para acessar as variáveis.
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
10 questions
Excel
Quiz
•
6th - 9th Grade
11 questions
Python Grado 10° Diagnostico
Quiz
•
9th Grade
16 questions
Hardware Basico
Quiz
•
7th Grade - Professio...
16 questions
tecnologia 4º eso 2º trimestre recuperación
Quiz
•
9th - 10th Grade
12 questions
Robótica Lego EV3 - Básico
Quiz
•
6th - 9th Grade
10 questions
Sistemas automáticos de control
Quiz
•
9th Grade
10 questions
Comunicación Técnica
Quiz
•
1st - 10th Grade
15 questions
Gerador inteligente de artigos.
Quiz
•
9th Grade
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Instructional Technology
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
10 questions
Cell Organelles and Their Functions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Combining Sentences
Lesson
•
9th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
20 questions
Box and Whisker Plots
Quiz
•
9th Grade
18 questions
Exponential Growth and Decay
Quiz
•
9th Grade