Algoritmos: Contadores e Acumuladores

Quiz
•
Computers
•
University
•
Hard
Ronilson Silva
FREE Resource
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.
Similar Resources on Wayground
10 questions
Design Rules

Quiz
•
University
10 questions
CPE 2B

Quiz
•
University
10 questions
Revisão de Compiladores U3 e U4

Quiz
•
University
10 questions
Intro-Computacao_3.4

Quiz
•
University
11 questions
Communication & Networks 1.0

Quiz
•
University
10 questions
Segurança da informação

Quiz
•
University
5 questions
GROUP 3 QUESTIONS

Quiz
•
University
5 questions
ERP_Pertemuan 2

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University