stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
JavaScript Camp Day 2/3 Flashcards | StudBud
Explore
/
JavaScript Camp Day 2/3
JavaScript Camp Day 2/3
20 terms
·
StudBud Administration
·
21 plays
CN JavaScript Camp Day 2 Review, Day 3 Warm-Up
Flashcards
20 cards
F
Practice quiz
P
Host live
L
Questions
20
Answers
1
True or False: You have to declare a variable before you can use it
False
True
2
Loops are meant to
Do something multiple times
Do something once
Do something an infinite number of times
3
Functions are
All programs
Mini programs within a program
A type of variable
A type of loop
4
True or False: Comments are important so that the computer knows what to do
False
True
5
False is a
Double
Boolean
Integer
String
6
3.45 is a
Boolean
Integer
Double
String
7
Javascript is
The most popular programming language
The same thing as Java
A web-based programming language
8
789284743938 is a
String
Integer
Double
Boolean
9
4.7 is a
String
Integer
Boolean
Double
10
"Spaghetti" is a
Double
Boolean
String
Integer
11
Which of these is a string?
"1234"
698.39
"Hello"
1234
12
What is at the end of lines of Javascript code?
:
.
;
)
13
True or False: Every line of code is an algorithm
True
False
14
True or False: Comments are important for the person using the program
False
True
15
When should we use camel case?
All of the above
When typing comments
When declaring variables
When declaring functions
16
How many functions can we have in a program
20
As many as we want!
10
25
17
True or False: You make a comment by putting / at the front of your statement
True
False
18
Should we ever create an infinite loop?
No
Yes
19
True or False: Nearly all programming languages use the same concepts.
False
True
20
Who do we make comments for?
Ourselves
Teachers
Other programmers
Friends