
Estruturas de Repetição em C
Flashcard
•
Other
•
1st Grade
•
Practice Problem
•
Hard
Claudio Batista
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Qual é a sintaxe correta para a estrutura do..while em C?
Back
`do { // código } while (condição);`
2.
FLASHCARD QUESTION
Front
Qual das seguintes opções descreve corretamente a estrutura de um loop for em C? `for (inicialização; condição; incremento) { // código }`, `while (condição) { // código }`, `do { // código } while (condição);`, `for (condição; inicialização; incremento) { // código }`
Back
`for (inicialização; condição; incremento) { // código }`
3.
FLASHCARD QUESTION
Front
Qual é a principal diferença entre os loops while e do..while em C?
Back
O loop do..while executa pelo menos uma vez, enquanto o loop while pode não executar nenhuma vez.
4.
FLASHCARD QUESTION
Front
Exemplo de controle de repetição em C: `if (condição) { // código }`, `switch (expressão) { case valor: // código }`, `break;`, `return valor;`
Back
`break;`
5.
FLASHCARD QUESTION
Front
Qual é a sintaxe correta para um loop while em C?
Back
`while (condição) { // código }`
6.
FLASHCARD QUESTION
Front
Qual das seguintes opções é usada para sair de um loop prematuramente em C? `continue;`, `break;`, `exit;`, `stop;`
Back
`break;`
7.
FLASHCARD QUESTION
Front
Qual das seguintes opções é usada para pular a iteração atual e continuar com a próxima iteração do loop em C? `break;`, `continue;`, `exit;`, `skip;`
Back
`continue;`
Create a free account and access millions of resources
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?
Similar Resources on Wayground
5 questions
Freight Management Overview
Flashcard
•
KG
11 questions
Vietnamese Family Terms
Flashcard
•
KG
6 questions
Origem do Xadrez
Flashcard
•
1st Grade
3 questions
Substantivo: flexão de grau
Flashcard
•
1st Grade
8 questions
Sound Waves
Flashcard
•
KG
9 questions
Sistema Nervoso
Flashcard
•
1st Grade
10 questions
Châu Âu
Flashcard
•
KG
9 questions
Complex Sentences & Subordinating Conjunctions
Flashcard
•
3rd Grade
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Other
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
20 questions
Thanksgiving
Quiz
•
KG - 12th Grade
15 questions
Living and Nonliving Things
Quiz
•
1st Grade
47 questions
NWEA Reading Prep 160-171
Quiz
•
1st - 4th Grade
10 questions
Exploring the Water Cycle
Interactive video
•
1st - 5th Grade