null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
14141306
Data Types: Part I
Description
Quiz on Data Types: Part I, created by Code Ramp on 12/06/2018.
No tags specified
toefl
Quiz by
Code Ramp
, updated more than 1 year ago
More
Less
Created by
Code Ramp
almost 6 years ago
434
0
0
Resource summary
Question 1
Question
Which of the following is not a JavaScript primitive data type?
Answer
Boolean
String
Decimal
Number
Question 2
Question
Given the string 'Hello world!', how would you find out how many characters are in the string?
Answer
'Hello world!'.length
'Hello world!'.len
'Hello world!'.long
length('Hello world!')
Question 3
Question
Given the string 'Hello world!', which index is the letter 'e' found at?
Answer
0
1
2
3
Question 4
Question
What does the special character` \n` do?
Answer
Creates a new line in the string.
Makes it so our output skips the letter n.
Allows us to include quotes inside a string.
Question 5
Question
Which of the following are valid operators in JavaScript?
Answer
%
+
/
**
Show full summary
Hide full summary
Want to create your own
Quizzes
for
free
with GoConqr?
Learn more
.
Similar
C1
alex_davidson98
OCR Biology AS level (f211) flashcards/revision notes
Dariush Zarrabi
Biology Unit 1
hannahsanderson1
Key Events, People and Terms of the French Revolution
poppwalton
Animal vs. Plant Cells
JimJam5
GCSE AQA Biology Unit 3
Gabi Germain
Weimar & Nazi Germany?
Maddy Balkham
Lung Structure
Elena Cade
Physics 1
Peter Hoskins
CELLS REVISION
ILHAM HASSAN
2PR101 1. test - 2. část
Nikola Truong
Browse Library