Algoritmos: Contadores e Acumuladores

Algoritmos: Contadores e Acumuladores

University

7 Qs

quiz-placeholder

Similar activities

Kad Jemputan (T15)

Kad Jemputan (T15)

University

10 Qs

CPE 2B

CPE 2B

University

10 Qs

Design Rules

Design Rules

University

10 Qs

SK Tingkatan 4 BAB 1 PENGATURCARAAN

SK Tingkatan 4 BAB 1 PENGATURCARAAN

12th Grade - University

10 Qs

Pengenalan Microsoft Word (T9)

Pengenalan Microsoft Word (T9)

University

10 Qs

Sains Komputer (Java) 1: Sintaks Asas & Pembolehubah

Sains Komputer (Java) 1: Sintaks Asas & Pembolehubah

10th Grade - University

10 Qs

Media quiz

Media quiz

1st Grade - Professional Development

10 Qs

PTI QUIZ 3

PTI QUIZ 3

1st Grade - University

10 Qs

Algoritmos: Contadores e Acumuladores

Algoritmos: Contadores e Acumuladores

Assessment

Quiz

Computers

University

Hard

Created by

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.