Intro JS Self assesment Quiz

Beschreibung

Junior Certificate Web Developing (JavaScript) Quiz am Intro JS Self assesment Quiz, erstellt von Kostas Diakogiannis am 02/09/2018.
Kostas Diakogiannis
Quiz von Kostas Diakogiannis, aktualisiert more than 1 year ago
Kostas Diakogiannis
Erstellt von Kostas Diakogiannis vor etwa 6 Jahre
25
0

Zusammenfassung der Ressource

Frage 1

Frage
In which type of applications can JavaScript be used specifically?
Antworten
  • Web, only frontend
  • Web in general. Frontend and Backend.
  • Web, mobile, desktop and IoT applications.
  • Only web and mobile.

Frage 2

Frage
What is console used for?
Antworten
  • To print the result of a JS Math operation there.
  • To hide/show HTML elements from the page.
  • To store variables and their values there.
  • To display a selected piece of JS code there.

Frage 3

Frage
What will this print to the console? console.log( '10'/2);
Antworten
  • '5'
  • 5
  • '10/2'
  • Error! Cannot divide string with a number!

Frage 4

Frage
What does the following statement prints to the console? console.log(23 + '3');
Antworten
  • '233'
  • '323'
  • 26
  • '26'
  • Error. Cannot add a number and a string!

Frage 5

Frage
What does the following statement prints to the console? console.log(30 + 20 + 10 + '5' + 10);
Antworten
  • error!
  • 615
  • 75
  • 60510

Frage 6

Frage
What does the following code prints to the console? var result = (25 + '10') / 10; console.log(typeof result);
Antworten
  • "string"
  • "number"
  • Error!
  • undefined

Frage 7

Frage
Select the correct phrase that is true regarding JS variables.
Antworten
  • JavaScript variables are case insensitive. That means we don't have to worry if a variable's name is written in uppercase or lowercase.
  • We can use variables in our scripts even if we have defined them later in our script (in a line more below).
  • A variable can't hold as it's own value, another variable.
  • We 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.
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

jQuery
Ola Sokołek
Node.Js
Kyle Peters
Multiplication tables (1-12)
Sarah Egan
Numbers 1-20 20,30,40,50,60,70,80,90,100
riana_rabadia
Quiz - Object Oriented Javascript
arunram.krish
front end developer test
joni jiniani
Counting Numbers
Mark Anthony Sy
Examen Fundamentos Basicos de Programación
Jose Valderrama0721
Test I. Introduction to web technologies
Angel Martínez Rodriguez
Multiples, Factors & Primes
Sarah Owen
Multiplication Tables (1 to 20) (Each Table until 20)
Suresh V