The Deck Week 1 Flashcards
What are booleans?
Booleans are a data type that represent true and false values
What data types have infinite possibilities? Which data type does not?
Strings and numbers have infinite possibilities. Booleans can only be true or false.
A ________ will compare ____ values and return a _______ value indicating whether that expression evaluates to ______ or ______.
comparison operator two boolean true false
Comparison Operator: Not equal to
!===
Comparison Operator: Equal to
===
if ( ________ ) {
check ________
___ ___ if _______ is met
}
condition
condition
run code
condition
What does the return statement indicate?
The return statement indicates that a function is done running and to pass over any code in the following lines within the function. A value should be given.
Javascript is…?
a programming language that powers web pages on the internet
What is the most common environment for running Javascript code?
Web Browsers
When code is ephemeral, what does that mean?
Ephemeral code has no way to stick around or be saved. Such as the code within the Google Developer Javascript Console
To make a computer do more work, ________________________.
make more instructions
To make a computer do less work, _______________________.
make less instructions
What are the 5 building blocks of programs?
values functions keywords labels comments
Values are individual pieces of ______.
data
What are the different kinds of values used in a program called?
types