
Тест по C++ шарт
Authored by Saule Raimbai
Computers
12th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Егер х=a, онда у-ке 2 мәнiн меншiкте, ал егер х=2 тең болса, у-ке 1 мәнiн меншiкте
if (x=a) y=2; else if (x=2) y=1;
if (x=a) y=2 if (x=2) y=1;
if (x=a) y=2; else y=1;
if (x=a) y=1; else y=2;
if (x=a) y=1; else y=3;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Егер х=a, онда у-ке 2 мәнiн меншiкте, әйтпесе у-ке 1 мәнiн меншiкте:
if (x=a)y=2 else if (x=b) y=1;
if (x=a)y=2; else if (x=b)y=1;
if (x=a) y=2; else y=1;
if (x=a)y=2;
if (x=a)y=1; else y=3;
3.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Келесi шартты оператор есептер шешiмдерiнiң дұрысын таңдаңыз: егер екi санның қосындысы бiрден кем болса, онда осы сандардың арифметикалық ортасын табу, қарсы жағдайда олардың геометриялық ортасын табу.
if (x+y>a)s=(x+y)/2; else s=sqr(x*y);
if (x+y<a)s=(x+y)/2; else s=sqrt(x*y);
if (x+y<a)s=(x+y)/2 else s=sqrt(x*y);
if (x+y>a)s=x+y/2; else s=sqr(x*y);
if (x+y<a)s=x+y/2 else s=sqrt(x*y);
4.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Х пен У-тiң үлкенiн тап:
if (x>y) max=x; else max=y;
if (x>y) ans= x; if (x<y) ans= y; if (x=y) ans= 1;
ans= 3; if (x=y) ans= x; if (x = y) ans=y;
if (x=y) cout<<x; if (x=!y)
If (X>Y) ans=X; If (X<=Y) ans=Y;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Берiлген Х пен Ү үлкенiн табу керек болса, дұрыс жауабын табыңыз:
If (X>Y) Max:=X Else Max:=Y: cout<<Max;
If (X>Y) Max=X; else Max=Y; cout<< Max;
If (X>Y) Max:=X; If (X<=Y) Max:=Y; cout<<Max;
Max:= Y; If (X>Y) Max:=У; cout<< “Max”;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Егер Х>У болса ans айнымалысына Х-тiң мәнiн меншiкте, әйтпесе ans айнымалысына 1 меншiктеу керек:
if (x > y) ans= x; else ans= 1;
if (x>y) max=x; if (x<=y) max=y; cout<
ans= 3; if (x=y) ans= x; if (x = y) ans=y;
if (x=y) cout<
if (x > y) ans= x; if (x< y) ans= 1
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Switch операторы программада қандай әрекет орындайды?
Бiрнеше операторлардан кұрылған цикл ұйымдастырылады
Тармақталу құрылымын программалайды
Бiрнеше мүмкiн жағдайдың бiреуiн таңдап алады
Алдын ала белгiсiз еет қайталанатын цикл ұйымдастырылады
Функциялармен жұмысты ұйымдастырады
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
10 questions
SHORTCUT PADA KEYBOARD
Quiz
•
10th - 12th Grade
10 questions
Binary Subtraction
Quiz
•
12th Grade
11 questions
Herramientas WEB
Quiz
•
6th Grade - Professio...
10 questions
Control y Robótica
Quiz
•
12th Grade
14 questions
LA5.C5: Branching and Subroutines
Quiz
•
9th Grade - University
10 questions
A level Computer Science In-fix post-fix Reverse polish
Quiz
•
10th Grade - University
10 questions
REVIEW AD KLS 9
Quiz
•
9th Grade - University
10 questions
Explorando Tinkercad en Secundaria
Quiz
•
7th Grade - University
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade
14 questions
Making Inferences From Samples
Quiz
•
7th - 12th Grade
23 questions
CCG - CH8 Polygon angles and area Review
Quiz
•
9th - 12th Grade
8 questions
Momentum and Collisions
Lesson
•
9th - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade