
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
Assinale a alternativa que contém uma estrutura de controle que permite que a execução de um trecho de programa dependa do fato de uma condição ser verdadeira, isto é, vinculada à execução de um ou mais comandos ao resultado obtido na avaliação de uma expressão lógica (também denominada condicional).
A
Seleção simples.
B
Seleção dupla.
C
Comando composto.
D
Múltipla escolha.
E
Seleção aninhada.
Explanation:
This question is about control structures in programming. The description refers to a control structure where the execution of a program segment depends on whether a condition is true, linking the execution of one or more commands to the result obtained from evaluating a logical expression (also called a conditional).
Analysis of options:
The description specifically mentions that execution depends on whether a condition is true, which is the definition of a simple selection (if statement). While other options involve conditional logic, only simple selection directly matches the description of executing code based on a condition being true.