Search Header Logo

JS IF ELSE FOR LOOPS

Authored by Gustavo Sverdrup

Computers

University

Used 6+ times

JS IF ELSE FOR LOOPS
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

OPEN ENDED QUESTION

10 mins • Ungraded

Hur skrivs jämförelser / conditions i javascript? Ge ett exempel

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

5 mins • Ungraded

Media Image

Är den här koden korrekt? Varför / varför inte?

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

10 mins • Ungraded

Vad är motsvarigheten till Python´s  elif i Javascript? Tar en sådan statement emot jämförelser / conditions? Ge ett exempel

Evaluate responses using AI:

OFF

4.

OPEN ENDED QUESTION

10 mins • Ungraded

Kan man använda nested ifs i JS? Ge ett exempel

Evaluate responses using AI:

OFF

5.

OPEN ENDED QUESTION

5 mins • Ungraded

Media Image

Fyll i console.log metoden (inne i for-loopen) så att  varje element i arrayn (arr) printas ut i konsolen

Evaluate responses using AI:

OFF

6.

OPEN ENDED QUESTION

10 mins • Ungraded

Kan jag använda break i en for-loop i javascript? När vill jag göra det?

Evaluate responses using AI:

OFF

7.

OPEN ENDED QUESTION

10 mins • Ungraded

Media Image

Använd continue så att "Gus26" inte printas i for-loopen

Evaluate responses using AI:

OFF

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?