Loops

Beschreibung

Quiz am Loops, erstellt von Code Ramp am 18/04/2018.
Code Ramp
Quiz von Code Ramp, aktualisiert more than 1 year ago
Code Ramp
Erstellt von Code Ramp vor mehr als 6 Jahre
379
0

Zusammenfassung der Ressource

Frage 1

Frage
Which type of loop do you typically use when you know exactly how many iterations you will need to do?
Antworten
  • While loop
  • For loop

Frage 2

Frage
Which type of loop would you use when you are not certain how many iterations you will need to do?
Antworten
  • While loop
  • For loop

Frage 3

Frage
Which of the following do you need to define when you build a loop?
Antworten
  • Exactly how many times you're going to run your loop
  • Where to start
  • How to make progress toward the end condition
  • Where to end

Frage 4

Frage
Which statement lets you skip one iteration of a loop?
Antworten
  • Break
  • Continue
  • Pass

Frage 5

Frage
In the following for loop, which of the following semicolons (if any) are *not* correct syntax? for (var i = 0; i < 10; i++); { console.log(i); };
Antworten
  • Those inside the first set of parentheses (between each of the components of the loop)
  • The one after the first set of parentheses
  • The one after the console log statement
  • The one at the end of the for loop
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Chapter 3 & 4 Review
Shannon Anderson-Rush
JavaScript Fundamentals
Andrew Watters
Programming Techniques
Joseph Beaumont
Brushing up
techmaniac001
Das erste Jahr an der Uni
JohannesK
Epochen und Literaturströmungen für das Abitur 2015
barbara91
Grundzüge der Evolution und Struktur der Biosphäre
Weltraumkatze Fanroth
Euro-FH // Zusammenfassung SOPS3
Robert Paul
Vetie Mikrobiologie 2010
Juliane Arendt
Vetie - Radiologie 2018 Teil 2
Luca Russell
Vetie Para 2019
Lea AvS