Answer:
console.log(Animal);
Explanation:
The statement written above prints the array Animal which contains objects.There are two to three ways to print the array Animal in javascript. One of the method is written in the answer it prints the arrays in the console of the browser.
You can go to the console by pressing F12 and then clicking on the console.
Other methods to print are
- Simple write Animal after defining the array.
- Use alert.
- document.write()
Answer:
This program is written using Python programming language
The program doesn't make use of comments
See attachment for proper format of the program
def count_to_three():
print("One")
print("Two")
print("Three")
count_to_three()
Explanation:
The first line of the program defines the function count_to_three() with no parameters, passed to it
Line 2 to 4 of the program is indent and each line make use of print() function
Line 2 prints "One", Line 3 prints "Two" and Line 4 prints "Three" without quotes
The last line of the program calls the defined function
Answer:
Option (B) Linear movement will be the answer.