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 etwa 6 Jahre
372
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
ein kleines Informatik Quiz
AntonS
Zeiten Englisch
barbara91
Einführung in die Forschungsmethoden Kompakt
Angelina Idt
Fachinformatiker AE
Marie Mirschel
Vetie Radiologie 2017
Péroline de Gail
Juristische Wirtschaftskompetenz
Lisa Stüttler
Vetie - Recht 2020
Birte Schulz