Quiz
Untitled
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (6)
1Which of the following are basic value types in JavaScript? (choose multiple correct answers)
- Afloat
- Bstring
- CBoolean
- Dinteger
- Echaracter
- Fnumber
2Which of the following are strings that when output would appear as follows.
The Fat Lady didn't say "it's over".
(Choose all valid answers.)- A'The Fat Lady didn\'t say "it\'s over".'
- B"The Fat Lady didn\'t say \"it\'s over\"."
- C'The Fat Lady didn\'t say \"it\'s over\".'
- D"The Fat Lady didn\'t say "it\'s over"."
- E"The Fat Lady didn't say \"it's over\"."
- F'The Fat Lady didn't say \"it's over\".'
3Check the following if they are valid identifiers. (Select all correct answers)
- A1exampleVar
- BexampleVar1
- Cdefault-var
- Ddefault
- Edefault_var
- FexampleVar
4A JavaScript variable can take on any type of new value during its life in a program.
- ATrue
- BFalse
5If an array is instantiated like so...
var exampleArray = new Array(5);
...it will create (choose one of the following)...- AAn array with 5 elements
- B A single element array containing the number 5.
- CA single element array containing the sting '5'.
6Keeping in mind the order of operations, what will be the value in result after the following statement?
result = 3 + 5 * 2 > 15;- ATrue
- BFalse
Information
- Description
- Quiz on Untitled, created by Andrew Swan on 19/06/2014.
- Author
- Andrew Swan
- Language
- English
- Views
- 8
- Rating
- No ratings yet Rate this quiz