Instructiuni Repetitive C++
Flashcard
•
Computers
•
10th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

7 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Ce este o instructiune for in C++?
Back
O instructiune for în C++ este o structură de control care permite execuția repetată a unui bloc de cod pentru un anumit număr de ori.
2.
FLASHCARD QUESTION
Front
Cum se pot afisa numerele naturale pare din intervalul [2, 100] in C++? Options: for(int i = 2; i < 100; i++) { cout<<i<<" "; } , for(int i = 1; i <= 100; i=i+2) { cout<<i<<" "; } , for(int i = 2; i <= 100; i=i+2) { cout<<i<<" "; } , for(int i = 2; i <= 100; i++) { cout<<i<<" "; }
Back
for(int i = 2; i <= 100; i=i+2) { cout<<i<<" "; }
3.
FLASHCARD QUESTION
Front
Ce este un do-while in C++?
Back
Un do-while in C++ este similar cu un while, cu diferenta ca instructiunile din interiorul sau sunt executate macar o data.
4.
FLASHCARD QUESTION
Front
Cum functioneaza un do-while in C++?
Back
Un do-while in C++ se executa cel putin o data, deoarece conditia este verificata dupa executarea blocului de cod.
5.
FLASHCARD QUESTION
Front
Care sunt avantajele folosirii unui do-while in comparatie cu un while?
Back
Un do-while garantează că instrucțiunile din interiorul buclei sunt executate cel puțin o dată.
6.
FLASHCARD QUESTION
Front
Poti folosi un do-while loop pentru a itera peste un array in C++?
Back
Da
7.
FLASHCARD QUESTION
Front
Care este diferenta de functionare intre un for loop si un do-while loop in C++?
Back
For loop checks the condition before each iteration, while do-while loop checks the condition after each iteration.
Similar Resources on Wayground
7 questions
Earthquake
Flashcard
•
9th Grade
9 questions
Tuesdays with Morrie
Flashcard
•
12th Grade
6 questions
Géneros Narrativos
Flashcard
•
10th - 12th Grade
9 questions
MLV 6 Spanish ir E1B Czora
Flashcard
•
9th Grade
12 questions
Elements and Principles of Design
Flashcard
•
9th - 12th Grade
3 questions
Escort Service in Marina Dubai
Flashcard
•
KG
4 questions
Les questions à poser dans la salle de classe
Flashcard
•
10th Grade
12 questions
Evolución Tecnológica en la Información y la Comunicación
Flashcard
•
10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade