Structura repetitivă

Quiz
•
Computers
•
7th Grade
•
Hard

LILIANA URSACHE
Used 8+ times
FREE Resource
6 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Cum te numești?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câte structuri de control sunt în programarea structurată?
1
2
3
4
3.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Ce instrucțiuni alternative cunoașteți în C++?
if
while
for
switch
4.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Ce instrucțiuni repetitive cunoașteți în C++?
for
if
while
switch
5.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Care dintre secvențele de cod de mai jos calculează și afișează corect cmmdc-ul a două variabile a și b?
if (a!=b)
do
if (a>b) b-=a;
else a-=b;
while (a!=b);
cout<<a;
if (b!=0)
do {
r=a%b; a=b; b=r;
}
while (b!=0);
cout<<b;
if (a!=b)
do
if (a>b) a-=b;
else b-=a;
while (a!=b);
cout<<a;
if (b!=0)
do {
r=a%b; a=b; b=r;
}
while (b!=0);
cout<<a;
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Completați spațiile punctate încât secvența obținută să corespundă cerinței de mai jos:
Se citesc pe rând numere naturale până la introducerea valorii 0. Să se calculeze și afișeze produsul numerelor citite.
p=1;
cin>>a;
while(a!=0){
............;
cin>>a;
}
cout<<p;
Similar Resources on Wayground
10 questions
Programming - Iteration, Basic Programming Constructs & Loop

Quiz
•
2nd - 12th Grade
11 questions
C++ Functions

Quiz
•
6th - 8th Grade
10 questions
Bài tập trắc nghiệm C++

Quiz
•
3rd - 12th Grade
10 questions
Evaluación De programación0

Quiz
•
6th - 7th Grade
10 questions
ICT Grade 7 Quiz

Quiz
•
7th Grade
8 questions
ПРОГРАММИРОВАНИЕ НА С++ 8 КЛАСС

Quiz
•
7th - 8th Grade
10 questions
Tema if

Quiz
•
1st - 10th Grade
10 questions
SDA Review Questions 51 - 60

Quiz
•
7th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade