Search Header Logo

D04-2-JavaScript-Woche-2

Authored by Jan Czok

Computers

10th Grade - University

Used 1+ times

D04-2-JavaScript-Woche-2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ein Programm prüft das Mindestalter eines Besuchers einer Kinoveranstaltung.

Treffe eine passende Auswahl.

if(alter >= 18)

for(alter >= 18)

while(alter >= 18)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ein Ticketautomat ist so lange in Betrieb, wie der Bahnhof geöffnet ist.

Treffe eine passende Auswahl.

if(isOpen === true)

while(isOpen === true)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Alle Mitarbeiter erhalten eine Nachricht.

Treffe eine passende Auswahl.

if(employee)

for(let i = 0; i < employees.length; i++)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for(let customer of customers)

Was macht die Schleife?

geht durch alle Kunden im Array

Findet ein Element namens customer im Array customers.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Grundsätzlich kann man mit allen Schleifen das gleiche erreichen.

Wahr.

Falsch.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Eine Schleife braucht eine längere Ausführungszeit, je mehr Durchläufe sie hat und je komplexer ein Durchlauf ist.

Wahr.

Falsch.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Es gibt nur 1000 Primzahlen.

Wahr.

Falsch.

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?