O que é uma constante em algoritmos?
Lógica Computacional - Constantes lógicas em Algoritmo

Quiz
•
Computers
•
10th Grade
•
Medium
GILSON MARCONDES
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Um valor fixo que não pode ser alterado durante a execução do programa
Um valor que pode ser alterado durante a execução do programa
Uma função matemática complexa
Um tipo especial de variável que aumenta automaticamente
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Qual é a fórmula para calcular o perímetro de um círculo?
P = r + pi
P = 2 * r / pi
P = pi * r^2
P = 2 * pi * r
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Qual é o valor aproximado da constante matemática pi?
2.71828
1.73205
3.14159
1.41421
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Qual é a principal diferença entre uma constante e uma variável em algoritmos?
Uma variável é sempre um número inteiro
Uma constante não pode ser usada em cálculos
Uma variável não pode ter seu valor alterado após a inicialização
Uma constante não pode ter seu valor alterado após a inicialização
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Por que é vantajoso usar constantes em vez de valores 'mágicos'?
Facilitam a alteração de valores em todo o código
Tornam o código mais confuso
Tornam o código mais legível e fácil de manter
Não há vantagens claras
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Como Lucas pode calcular a área de um círculo em um programa?
Usando a fórmula area = PI * raio * raio
Usando a fórmula area = 2 * PI * raio
Usando a fórmula area = PI + raio
Usando a fórmula area = PI / raio
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Qual é a fórmula para calcular a distância percorrida em queda livre?
d = g * t
d = g - t
d = g + t^2
d = 0.5 * g * t^2
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Redes de Computadores e Telecomunicações aula 2

Quiz
•
1st Grade - University
12 questions
PROVA PARANÁ - PENSAMENTO COMPUTACIONAL | REVISÃO ENSINO MÉDIO 1

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

Quiz
•
10th Grade
10 questions
HTML - Estrutura Básica

Quiz
•
10th Grade
10 questions
Programação C

Quiz
•
10th Grade
15 questions
Fontes Tipográficas 2: unidades de medida

Quiz
•
10th Grade
10 questions
1ª Recuperação - 3° Trim. - Pensamento Computacional - 9º ano

Quiz
•
9th Grade - University
7 questions
Pensamento Computacional

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