
Podstawy C++
Computers
11th - 12th Grade
Used 107+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Wybierz poprawne deklaracje zmiennych:
float pole;float liczbaint iloczyn liczba;float pole, char litera; 2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Jaka będzie wartość zmiennej liczba2 po wykonaniu następującego ciągu instrukcji?
liczba3=54;
liczba1=liczba3;
liczba3=liczba3+20;
liczba2=liczba1;
liczba1=liczba3;
liczba3=liczba3+20;
liczba2=liczba1;
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Które warunki logiczne w podanych instrukcjach warunkowych są zapisane poprawnie?
if (-10>p>-1) cout << p;if (w!=0 && s!=0) cout << w/s;if k=100 || k=1000 cout << k;if (x>-1) && (x<-10) cout << x;4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Dany jest ciąg instrukcji:
cin >> a >> b;
if (a<0 && b!=0) S=a/b;
else S=a*a;
Instrukcja S=a*a zostanie wykonana dla:
if (a<0 && b!=0) S=a/b;
else S=a*a;
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Które zapisy poprawnie określają warunek istnienia trójkąta, gdzie a, b, c to długości boków trójkąta?
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Dany jest ciąg instrukcji:
cin >> x;
if (x>0) cout << x;
else
if (x==0) cout << "zero";
else cout << -x;
Dla jakiej wartości x zostanie wykonana instrukcja: cout << -x?
if (x>0) cout << x;
else
if (x==0) cout << "zero";
else cout << -x;
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Jaka będzie wartość zmiennej licz po wykonaniu następującego ciągu instrukcji:
licz=0;
for(i=0; i<=5; i++)
licz+=2*i;
cout << licz;
for(i=0; i<=5; i++)
licz+=2*i;
cout << licz;
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
HTML
Quiz
•
12th Grade
10 questions
KTTX Tin 9-HKII
Quiz
•
9th - 12th Grade
10 questions
Jaringan Komputer / AIJ
Quiz
•
11th Grade
10 questions
Testas: Saugesnis internetas
Quiz
•
11th Grade
14 questions
Taylor Chess Quiz
Quiz
•
4th - 12th Grade
10 questions
CHƯƠNG TRÌNH CON BT1
Quiz
•
10th - 12th Grade
14 questions
AWS Cloud
Quiz
•
11th - 12th Grade
10 questions
Hệ Điều Hành Của Máy Tính
Quiz
•
10th 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
15 questions
ACT Reading Practice
Quiz
•
11th 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