Quiz
Intro JS Self assesment Quiz
This quiz has a time limit, so it opens in the usual player.
Questions in this 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.
Information
- Description
- User has deleted their subject information Quiz on Intro JS Self assesment Quiz, created by Deleted user on 03/09/2018.
- Author
- Deleted user
- Language
- English
- Views
- 43
- History
- Created on 3 Sep 2018 · updated on 3 Sep 2018
- Tags