
PETLE 2 KLASA TECHNIKUM
Authored by Quizizz MTI
Computers
10th Grade
Used 10+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
3 mins • 1 pt
// 1. Ile razy wypisze się "Wow"?
for (let i = 0; i < 10; i++) {
if (i % 3 === 0) continue;
console.log("Wow");
}
2.
FILL IN THE BLANK QUESTION
3 mins • 1 pt
// 2. Jaki będzie wynik?
let sum = 0;
for (let i = 10; i > 0; i--) {
if (i % 2 === 0) {
sum -= i;
} else {
sum += i;
}
}
console.log(sum);
3.
FILL IN THE BLANK QUESTION
3 mins • 2 pts
// 3. Co zostanie wypisane?
let a = 0;
for (let i = 1; i <= 5; i++) {
for (let j = 1; j <= i; j++) {
a++;
}
}
console.log(a);
4.
FILL IN THE BLANK QUESTION
3 mins • 2 pts
// 4. Jaka liczba zostanie wypisana?
let count = 0;
for (let i = 2; i <= 32; i *= 2) {
count++;
}
console.log(count);
5.
FILL IN THE BLANK QUESTION
3 mins • 2 pts
// 5. Co wypisze ten kod?
let n = 0;
for (let i = 0; i < 5; i++) {
if (i === 3) break;
n += i;
}
console.log(n);
6.
FILL IN THE BLANK QUESTION
3 mins • 3 pts
// 6. CO ZOSTANIE WYPISANE W KONSOLI?
let i = 0;
while (i < 20) {
i += 7;
}
console.log("A" + i);
7.
FILL IN THE BLANK QUESTION
3 mins • 2 pts
// 7. Jaki będzie wynik końcowy?
let res = 1;
for (let i = 1; i <= 3; i++) {
res += res * i;
}
console.log(res);
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?