Quiz
Intro JS Self assesment Quiz
Dieses Quiz hat ein Zeitlimit und öffnet sich deshalb im gewohnten Player.
Fragen in diesem Quiz (7)
1In which type of applications can JavaScript be used specifically?
- AWeb, only frontend
- BWeb in general. Frontend and Backend.
- CWeb, mobile, desktop and IoT applications.
- DOnly web and mobile.
2What is console used for?
- ATo print the result of a JS Math operation there.
- BTo hide/show HTML elements from the page.
- CTo store variables and their values there.
- DTo display a selected piece of JS code there.
3What will this print to the console?
console.log( '10'/2);- A'5'
- B5
- C'10/2'
- DError! Cannot divide string with a number!
4What does the following statement prints to the console?
console.log(23 + '3');- A'233'
- B'323'
- C26
- D'26'
- EError. Cannot add a number and a string!
5What does the following statement prints to the console?
console.log(30 + 20 + 10 + '5' + 10);- Aerror!
- B615
- C75
- D60510
6What does the following code prints to the console?
var result = (25 + '10') / 10;
console.log(typeof result);- A"string"
- B"number"
- CError!
- Dundefined
7Select the correct phrase that is true regarding JS variables.
- AJavaScript variables are case insensitive. That means we don't have to worry if a variable's name is written in uppercase or lowercase.
- BWe can use variables in our scripts even if we have defined them later in our script (in a line more below).
- CA variable can't hold as it's own value, another variable.
- DWe are not allowed to re-assign a new value into a variable that already holds one. We are not allowed to update a variable's value.
Informationen
- Beschreibung
- Der Nutzer hat seine Fachbereichs-Information gelöscht. Quiz am Intro JS Self assesment Quiz, erstellt von Gelöschter Nutzer am 03/09/2018.
- Autor
- Gelöschter Nutzer
- Sprache
- English
- Aufrufe
- 43
- Verlauf
- Erstellt am 3 Sep 2018 · aktualisiert am 3 Sep 2018
- Schlagwörter