Javascript is a programming language used for...?
Web Development
What is String concatenation?
Combine 2 Strings to make one String
Write the code to print the sum of 2 + 2 to the console
console.log(2+2)
Teacher Walker is from which country?
America
Do cows sleep...?
A. Laying down
B. Laying upside down
C. Sitting
D. Standing up
D. Standing up
If you code has an error, it will be displayed in the...?
Console
Write the code to concatenate the 2 Strings below and print it to the console
"Java"
"Script"
console.log("Java" + "Script")
Write the code to print a random number between 0 and 10 to the console
console.log(Math.random() * 10)
The tallest building in the world is?
A. Shanghai Tower - Shanghai, China
B. Burj Khalifa - Dubai, United Arab Emirates
C. Merdeka 118 - Kuala Lumpur, Malaysia
D. Ocean Mall - Chumphon, Thailand
B. Burj Khalifa - Dubai, United Arab Emirates
Do penguins live in warm weather or cold weather?
Both
Write the code to print the number 5 to the console
console.log(5)
Write the code to concatenate the 3 Strings below and print it to the console. Make sure to add spaces in between the words and do not change the Strings.
"I"
"Love"
"Pizza"
console.log("I + " " + "Love" + " " + "Pizza")
Write the code to print a random whole number (or integer) between 0 and 10 to the console
console.log(Math.floor(Math.random() * 10))
What is the largest animal in the world?
Antarctic blue whale
What is the only mammal on earth that cannot jump?
Elephants
Write the code to print "Pizza is the best" to the console
console.log("Pizza is the best")
Write the code to calculate the length of the following String and print it to the console
"We Love Javascript :)"
Write the code to round the following decimal number up, to the nearest integer, then print it to the console
12.36578
console.log(Math.ceil(12.36578))
How many pet rabbits does Teacher Walker have at his home?
0
How many legs does a spider have?
8
Name the 5 data types in Javascript
Numbers, Strings, Booleans, Undefined, and Null
Write the code to test whether the following String starts with the letter "C". Then print the result to the console.
"Chicken Wings"
Write the code that tests if the following number is an integer. If it is an integer, print "true" to console, if it's a decimal, print "false" to the console
2022
console.log(Number.isInteger(2022))
What is the official currency of India?
(what is the money called?)
Indian Rupee
What are the 7 colors in the rainbow?
Violet, indigo, blue, green, yellow, orange and red