
Algoritmos: Contadores e Acumuladores
Authored by Ronilson Silva
Computers
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The leia() command in algorithms is used to:
Display messages on the screen.
Capture data entered by the user and store it in variables.
Increment values in a counter.
Concatenate strings in an accumulator.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Regarding input and output commands in algorithms, analyze the following statements:
I. The command leia() stores the value entered by the user directly in the computer's memory, without going through any variable.
II. The command escreva() can be used to display the value of a variable or a literal message.
III. It is possible to use more than one leia() command in the same algorithm to capture different data.
IV. The leia() command is essential for the algorithm to interact with the user. Which of the following is correct?
I and II only.
II and IV only.
II, III, and IV only.
I, III, and IV only.
I, II, III, and IV.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Considering the information presented, evaluate the following assertions and the proposed relationship between them:
I. Desk checking helps in detecting logical errors in algorithms by simulating their execution step by step. BECAUSE
II. Simulating the execution of an algorithm allows observing the behavior of variables, facilitating the identification of inconsistencies in algorithmic reasoning. Regarding these assertions, select the correct option:
Assertions I and II are true, and II is a correct justification of I.
Assertions I and II are true, but II is not a correct justification of I.
Assertion I is true, and II is false.
Assertion I is false, and II is true.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
No fluxograma, o símbolo que representa uma tomada de decisão, como em estruturas condicionais do tipo 'se...então', é o _____.
Retângulo
Círculo
Elipse
Losango
Triângulo
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Em qual das situações a estrutura condicional composta deve ser utilizada?
Quando é necessário repetir um bloco de código diversas vezes.
Quando o algoritmo precisa de uma decisão com mais de duas alternativas.
Quando é necessário ler múltiplas variáveis ao mesmo tempo.
Quando há apenas uma ação a ser executada.
Quando há duas possibilidades de caminho, dependendo de uma condição.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Com base nas estruturas de repetição, é correto afirmar que:
I. A estrutura “para” exige uma condição de parada previamente conhecida.
II. O “enquanto” pode não executar nenhuma vez, caso a condição já seja falsa no início.
Apenas I está correta.
Apenas II está correta.
Ambas estão corretas.
Nenhuma está correta.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statements are correct regarding the execution of loops?
I and II only.
I, II, and III only.
I, III, and IV only.
II, III, and IV only.
I, II, III, and IV.
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?