Quiz
Intro JS Self assesment Quiz
Este quiz tem tempo limite, por isso abre no player de sempre.
Perguntas do 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.
Informações
- Descrição
- O usuário eliminou as informações de disciplina Quiz sobre Intro JS Self assesment Quiz, criado por Usuário eliminado em 03-09-2018.
- Autor
- Usuário eliminado
- Idioma
- English
- Visualizações
- 43
- Histórico
- Criado em 3 set 2018 · atualizado em 3 set 2018
- Etiquetas