Care program afiseaza primele 10
numere fibonacci care sunt: 1 1 2 3 5 8 13 21 34 55
Programare cu C++ nivel medie 5
Quiz
•
Computers
•
6th - 8th Grade
•
Medium
Ali Cabas
Used 13+ times
FREE Resource
10 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.
int n, a, suma=0, cnt=0;
cin >> n;
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)
{
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)
{
cnt++;
a=a/10;
}
suma cifrelor
while(a>0)
{
if(a%2==0)
cnt++;
a=a/10;
}
numarul de cifre
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?
>=
egal
!=
diferit
%
restul
==
mai mare sau egal
10 questions
Chestionar de evaluare sumativă Excel
Quiz
•
6th - 8th Grade
10 questions
STRUCTURA SI CASIFICAREA CALCULATOARELOR
Quiz
•
7th Grade
6 questions
A3 Lectia 7 divizori
Quiz
•
KG - 12th Grade
12 questions
Test clasa a 6 a Schema logica
Quiz
•
6th Grade
12 questions
Limbaj de programare
Quiz
•
7th - 8th Grade
9 questions
PracticaPedagogica
Quiz
•
8th Grade
10 questions
Instructiunea If
Quiz
•
6th Grade
8 questions
Despre cutemure
Quiz
•
5th - 12th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
20 questions
Final Exam Vocabulary
Quiz
•
6th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
11 questions
Decimal/fraction conversions quick check
Quiz
•
5th - 7th Grade
10 questions
Identifying equations
Quiz
•
KG - University
44 questions
El fin del año- 7th
Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary
Quiz
•
8th Grade
49 questions
How Well Do You Know Your 6th Grade Teachers?
Quiz
•
6th Grade