
JS IF ELSE FOR LOOPS
Authored by Gustavo Sverdrup
Computers
University
Used 6+ times

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
Ä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
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
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?