
c++Test

Quiz
•
Computers
•
6th Grade
•
Hard
alex stefu
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Ce se afiseaza in urma executarii urmatoarelor linii de cod:
int n =5;
for(int i =0;i<n;i++)
cout<<i<<"-";
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Completati urmatorul cod astfel incat mesajul de afisare sa fie : 1 3 5 7 9 11
int i =1,n=1;
while(n<= 6){
cout<<i<< " " ;
i = _____;
n++;
}
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Ce se afiseaza in urma executarii urmatoarelor linii de cod:
int n =10;
for(int i =0;i<n;i++)
cout<<i--<<" ";
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Care este rezultatul urmatoarei operatii:
int x = 5;
int y = 3;
int z = x * y + 2;
15
17
18
20
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Ce se afiseaza in urma executarii urmatoarelor linii de cod:
int n = 3;
for(int i = 0; i < n; i++)
cout << i*i << "-";
0-1-4-
0-1-2-3-
0-1-4-9-
0-1-2-3-4-
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ce se va afisa :
int i = 1;
cout << i++ << "?-?";
cout<<++i;
eroare
1?-?3
1?-?2
0-1
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Ce se afiseaza?
int n = 54128;
cout<<n/100%100;
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
C++ While Loops

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

Quiz
•
1st - 10th Grade
14 questions
Test 3 Python (2024-2025)

Quiz
•
6th - 8th Grade
10 questions
Tin 8 49-50

Quiz
•
6th - 8th Grade
14 questions
JAVA IDENTIFIERS

Quiz
•
6th - 8th Grade
15 questions
Python

Quiz
•
6th Grade - University
12 questions
Test Cls 7 Sem I

Quiz
•
6th Grade
11 questions
C++ Functions

Quiz
•
6th - 8th 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