
Programare cu C++ nivel medie 5
Quiz
•
Computers
•
6th - 8th Grade
•
Practice Problem
•
Medium
Ali Cabas
Used 19+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Care program afiseaza primele 10
numere fibonacci care sunt: 1 1 2 3 5 8 13 21 34 55
2.
REORDER QUESTION
1 min • 1 pt
Urmatorul program gaseste numarul de numere cu suma cifrelor pare, va rog gasiti ordine.
cin >> n;
int n, a, suma=0, cnt=0;
for(int i=0; i<n; i++)
{
cin >> a;
suma=0;
while(a>0)
{
suma=suma+a%10;
a=a/10;
}
if(suma%2==0)
cnt++;
}
cout << cnt;
3.
MATCH QUESTION
1 min • 1 pt
Care potriveste?
while(a>0)
{
cnt++;
a=a/10;
}
numarul de cifre
while(a>0)
{
s=s+a%10;
a=a/10;
}
cel mai mare cifra
while(a>0)
{
if(a%10>m)
m=a%10;
a=a/10;
}
numaruld e cifre pare
while(a>0)
{
if(a%2==0)
cnt++;
a=a/10;
}
suma cifrelor
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
for(int i=0; i<=10; i++)
{
if ( (i%2==0 && i%3==0) || i%5==0)
cout << "*";
}
Numarul de stelute?
3
4
5
2
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Ce face programul respectiv?
Cel mai mare numar mai mic decat primul numar citit si suma cifrelor mai mare decat 10
Numarul de numere mai mare decat primul numar citit si suma cifrelor mai mare decat 10
Primul numar cu suma cifrelor mai mare decat 10 si mai mare decat p
Cel mai mare numar mai mare decat primul numar citit si suma cifrelor mai mare decat 10
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for(int i=0; i>0; i++)
{
cout << "*";
}
infinit
0
1
2
7.
MATCH QUESTION
1 min • 1 pt
Care potriveste?
%
restul
==
mai mare sau egal
>=
diferit
!=
egal
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
15 questions
Начала программирования на языке Паскаль
Quiz
•
8th - 11th Grade
10 questions
El buen uso de la Computadora
Quiz
•
3rd - 6th Grade
12 questions
DISPOSITIVOS DE ENTRADA Y DE SALIDA
Quiz
•
6th - 9th Grade
10 questions
7 ICT Sem 2 Reviewer
Quiz
•
7th Grade
13 questions
Nhập môn HTML
Quiz
•
6th - 9th Grade
10 questions
Working with tables
Quiz
•
5th - 12th Grade
11 questions
Cascading Style Sheets
Quiz
•
8th - 12th Grade
15 questions
7ICT - Algorithms Revision Quiz
Quiz
•
7th 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
