
Programare cu C++ nivel medie 7

Quiz
•
Computers
•
6th - 8th Grade
•
Medium
Ali Cabas
Used 25+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
if( (a%3==0 || a%5==0) || a/100%10%2==1 || a%100<10)
1273
473
1001
3883
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cate stelute va fi afisat?
for(int i=0; i<5; i++) {
for(int j=0; j<5-i; j++)
cout << "*"; }
20
14
15
10
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ce face programul respectiv?
Gaseste cel mai mare cifra si aparitie
Gaseste de cate ori exista cel mai mare cifra
Gaseste numarul de cifre egal cu ultima cifra
Gaseste numarul de cifre egal cu prima cifra
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Din numarul a=145782 vrem sa afisam cel mai mare numar obtinut prin prima si ultima cifra, vrem obtinem 21 din 1 si 2
u=a%10;
while(a>99)
{ a=a/10; }
if(u>a)
cout << a*10+u;
else
cout << u*10+a;
u=a%10;
while(a>9)
{ a=a/10; }
if(u>a)
cout << u*10+a;
else
cout << a*10+u;
ca=a;
while(a>0)
{
ras=ras*10+a%10;
a=a/10;
}
cout << ca%10*10+ras%10;
u=a%10;
while(a>99)
{ a=a/10; }
cout << a/10*10+u;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
De cate ori se repeta?
for(int i=0; i>5 || i%2==0; i++)
infinit
0
1
10
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ce afiseaza programul?
cel mai mare cifra impar si aparitie
cel mai mare numar impar si aparitie
cel mai mare numar care incepe cu cifra impar si aparitie
cel mai mare numar impar si aparitie care incepe si termina cu același cifra
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
De cate ori se repeta?
for(int i=10; i>=0 && i>5; i--)
10
11
1
5
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Programming

Quiz
•
1st - 10th Grade
10 questions
Excel If function WSC 4.2.3

Quiz
•
7th Grade - University
15 questions
6. razred - Python

Quiz
•
6th Grade
10 questions
UF465 - Tema 2

Quiz
•
8th Grade - Professio...
10 questions
Programming - Selection in an Algorithm

Quiz
•
1st - 11th Grade
12 questions
7 клас. Підсумкова робота "Циклічні алгоритми""

Quiz
•
7th Grade
14 questions
Câu Lệnh lặp (1)

Quiz
•
8th Grade
10 questions
8 сынып, цикл операторлары

Quiz
•
8th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
30 questions
Teacher Facts

Quiz
•
6th Grade
24 questions
Flinn Lab Safety Quiz

Quiz
•
5th - 8th Grade
22 questions
Figurative Language

Quiz
•
7th Grade