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
8 questions
Sistemas de Informação nas Empresas

Quiz
•
3rd Grade - Professio...
6 questions
Estruturas de Dados e Modularização

Quiz
•
University
7 questions
AIPP 2024

Quiz
•
University
10 questions
Sains Komputer Tingkatan 4 (Proses Penyelesaian 1.1.3)

Quiz
•
6th Grade - University
10 questions
Konsep Asas Pemikiran Komputasional

Quiz
•
University
10 questions
Instância de Classes em JAVA

Quiz
•
University
10 questions
Manajemen Bangking

Quiz
•
University
10 questions
TEMA 03: Gerenciamento Operacional

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University