PETLE 2 KLASA TECHNIKUM

PETLE 2 KLASA TECHNIKUM

Assessment

Assessment

Created by

Quizizz MTI

Computers

10th Grade

3 plays

Medium

Student preview

quiz-placeholder

10 questions

Show all answers

1.

FILL IN THE BLANK

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

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

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

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

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

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

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);

8.

FILL IN THE BLANK

3 mins • 1 pt

// 8. Co wypisze pętla?

let out = "";

for (let i = 5; i > 0; i--) {

out += i % 2 === 0 ? "E" : "O";

}

console.log(out);

9.

FILL IN THE BLANK

3 mins • 1 pt

// 9. Ile razy wypisze się "YES"?

for (let i = 0; i < 10; i++) {

if (i % 2 === 0 && i % 3 === 0) {

console.log("YES");

}

}

10.

FILL IN THE BLANK

3 mins • 1 pt

// 10. Co zostanie wypisane w konsoli?

let txt = "";

for (let i = 1; i <= 5; i++) {

if (i === 3) continue;

txt += i;

}

console.log(txt);

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Similar Resources on Quizizz

Conditional Statements JavaScript

10 questions

Conditional Statements JavaScript

assessment

8th - 12th Grade

JavaScript#1

15 questions

JavaScript#1

assessment

9th - 12th Grade

Javascript Quiz 1

9 questions

Javascript Quiz 1

assessment

10th - 12th Grade

Básicas de JS

10 questions

Básicas de JS

assessment

10th Grade

Introducción Arreglos JS II

10 questions

Introducción Arreglos JS II

assessment

10th Grade

Unit 6-Lesson 18: Assessment Day

15 questions

Unit 6-Lesson 18: Assessment Day

assessment

9th - 12th Grade

Unit3 JavaScript Basics Quiz

15 questions

Unit3 JavaScript Basics Quiz

assessment

10th Grade

Basics of Javascript

10 questions

Basics of Javascript

assessment

9th - 12th Grade

Popular Resources on Quizizz

STAAR reading review

13 questions

STAAR reading review

assessment

4th - 5th Grade

7th STAAR Reading Review

16 questions

7th STAAR Reading Review

assessment

7th Grade

STAAR Reading Review

12 questions

STAAR Reading Review

assessment

4th - 7th Grade

STAAR reading vocabulary

14 questions

STAAR reading vocabulary

assessment

4th - 5th Grade

STAAR Reading Review

10 questions

STAAR Reading Review

assessment

3rd - 5th Grade

Reading STAAR Review

17 questions

Reading STAAR Review

assessment

4th Grade

7th grade STAAR Reading Review

24 questions

7th grade STAAR Reading Review

assessment

7th Grade

Revising and Editing

14 questions

Revising and Editing

assessment

4th Grade