Programul din figură afișează:

Test structuri C++ - Clasele 8 si 7

Quiz
•
Computers
•
8th Grade
•
Hard
Liviana Liv
Used 6+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 mins • 5 pts
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
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Limbaj de programare

Quiz
•
7th - 8th Grade
13 questions
HTML тегтері

Quiz
•
1st Grade - University
17 questions
Web Design- HTML Review

Quiz
•
KG - University
15 questions
Hyperlink Tags (HTML)

Quiz
•
6th - 12th Grade
20 questions
Intro to HTML

Quiz
•
8th - 12th Grade
21 questions
CodeHS JavaScript

Quiz
•
8th - 12th Grade
14 questions
Vectori clasa VIII

Quiz
•
8th Grade
20 questions
8 klasa C++

Quiz
•
7th - 10th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade