Fundamentals of Programming Part 2

Fundamentals of Programming Part 2

11th Grade

5 Qs

quiz-placeholder

Similar activities

Programação Front End - CSS avançado

Programação Front End - CSS avançado

11th Grade

10 Qs

Module 3: Imaging and Design For The Online Environment

Module 3: Imaging and Design For The Online Environment

11th - 12th Grade

10 Qs

Break the fear

Break the fear

11th - 12th Grade

10 Qs

Quiz 9 (15.09.2021)

Quiz 9 (15.09.2021)

1st - 12th Grade

10 Qs

Python Testing

Python Testing

9th - 12th Grade

10 Qs

YouCode Scratch Quiz

YouCode Scratch Quiz

KG - 12th Grade

10 Qs

Fundamentals of Programming Part 2

Fundamentals of Programming Part 2

Assessment

Quiz

Computers

11th Grade

Practice Problem

Easy

Created by

Barbara Froehlich

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why do we use while loops in JavaScript?

To break out of some block of code

To do something if a condition is true

To repeat some code while a condition is true

To repeat something for a fixed number of times

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why do we use for loops in JavaScript?

To break out of some block of code

To do something if a condition is true

To repeat some code while a condition is true

To repeat something for a fixed number of times

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which general while loop definition is written correctly?

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does an if/else statement look like in JavaScript?

Media Image
Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why do we use if/else statements in JavaScript?

To repeat something for a fixed number of times

To do something if a condition is true and do something else if the condition is false

To break out of some block of code

To repeat something while a condition is true