
Test structuri C++ - Clasele 8 si 7
Authored by Liviana Liv
Computers
8th Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 mins • 5 pts
Programul din figură afișează:
Toate numerele între a și b
Numerele reprezentate de variabilele a, b și i
Litera i
Nu afișează nimic
2.
MULTIPLE CHOICE QUESTION
10 mins • 5 pts
Dacă în programul din figură se introduc numerele 4 și 10, rezultatul va fi;
4 5 6 7 8 9 10
5 6 7 8 9
6 9
3 6 9
3.
MULTIPLE CHOICE QUESTION
10 mins • 5 pts
Gaseste eroarea:
cin>>a>>b;
a=a+1;
b=a+1;
cout>>a+b
cin>>a>>b;
a=a+1;
b=a+1;
cout>>a+b;
4.
MULTIPLE CHOICE QUESTION
10 mins • 5 pts
Ce afiseaza secventa de mai jos pentru a=2 si b=8
cin>>a>>b;
if (a%2==1) cout<<a;
else cout<<b;
2
2 8
8
8 2
5.
MULTIPLE CHOICE QUESTION
10 mins • 5 pts
În urma executării secvenței:
p=2;
for( i=3; i<=5; i++) p=p*i;
valoarea lui p este:
16
24
120
6.
MULTIPLE CHOICE QUESTION
10 mins • 5 pts
În urma executării secvenței:
s=10;
for (i=2; i<=6; i++) s=s+i;
valoarea lui s este:
16
22
30
10
7.
MULTIPLE CHOICE QUESTION
10 mins • 5 pts
În urma executării secvenței:
i=3;
while( i<10)
{
i=i+3;
cout<< i<< " ";
}
se afișează numerele:
3 6 9
6 9 12
6 9
nu se afișează nimic
Access all questions and much more by creating a free account
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
12 questions
KT GHK2 Tin 8
Quiz
•
6th - 8th Grade
14 questions
Основы HTML
Quiz
•
1st - 11th Grade
15 questions
Programming - What Do I Know?
Quiz
•
7th - 9th Grade
17 questions
Test sumativ Lego Minsdstorms EV3
Quiz
•
7th - 8th Grade
20 questions
kiểm tra khối 3
Quiz
•
1st - 10th Grade
20 questions
Ôn tập GK2 Tin 8 - KNTT
Quiz
•
8th Grade
21 questions
ÔN TẬP HK1 LỚP 8
Quiz
•
8th Grade
16 questions
algorithms and programming
Quiz
•
8th - 10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade