Search Header Logo

PETLE 2 KLASA TECHNIKUM

Authored by Quizizz MTI

Computers

10th Grade

Used 10+ times

PETLE 2 KLASA TECHNIKUM
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

10 questions

Show all answers

1.

FILL IN THE BLANKS 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");

}

(a)  

2.

FILL IN THE BLANKS 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);

(a)  

3.

FILL IN THE BLANKS 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);

(a)  

4.

FILL IN THE BLANKS 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);

(a)  

5.

FILL IN THE BLANKS 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);

(a)  

6.

FILL IN THE BLANKS QUESTION

3 mins • 3 pts

// 6. CO ZOSTANIE WYPISANE W KONSOLI?

let i = 0;

while (i < 20) {

i += 7;

}

console.log("A" + i);

(a)  

7.

FILL IN THE BLANKS 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);

(a)  

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?