Intro JS Self assesment Quiz

Description

Junior Certificate Web Developing Quiz on Intro JS Self assesment Quiz, created by Kostas Diakogiannis on 02/09/2018.
Kostas Diakogiannis
Quiz by Kostas Diakogiannis, updated more than 1 year ago More Less
Kostas Diakogiannis
Created by Kostas Diakogiannis about 6 years ago
Kostas Diakogiannis
Copied by Kostas Diakogiannis about 6 years ago
28
1

Resource summary

Question 1

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

Question 2

Question
What is console used for?
Answer
  • 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.

Question 3

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

Question 4

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

Question 5

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

Question 6

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

Question 7

Question
Select the correct phrase that is true regarding JS variables.
Answer
  • 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.
Show full summary Hide full summary

Similar

Multiplication tables (1-12)
Sarah Egan
Numbers 1-20 20,30,40,50,60,70,80,90,100
riana_rabadia
front end developer test
joni jiniani
Counting Numbers
Mark Anthony Sy
Multiples, Factors & Primes
Sarah Owen
Multiplication Tables (1 to 20) (Each Table until 20)
Suresh V
Spanish Numbers 1-100
Oliver Hall
Angular
Kingsley Bawuah
French 1B Vocab (numbers)
Jade Allatt
Cardinal numbers test
Lección Saber
Basic Python - Strings
Rebecca Noel