Introduction to Programming Test

In python, how do you print something to the console?
print("message to print")
print = "message to print"
print.console("message to print")
console.log("message to print")
What are variables used for?
So that my code can have pretty names
To store data so I can use it later in the program
Variables are not used in programming at all
Variables are used in programming, however they are not used in python
In python, is it possible to print the value of a variable?
yes
no
variables do not exist in python
What are 'for' loops used for in programming?
They are used to store data 'for' a certain period of time
They are used because programmers want to confuse people
They are used to repeat a certain section of code 'for' a given range
They are used to repeat the creation of a variable 'for' another variable
What are functions?
Functions are variables
Functions are a section or group of code which can be used 'called' again in your program
Functions are a section or group of code which can be set by a variable
Functions are 'for' loops
Why do we code (hint: trick question)?
It is fun
It automates tasks
It simplifies a complex problem
To become one with the computer
0
{"name":"Introduction to Programming Test", "url":"https://www.quiz-maker.com/QXZ1CNM","txt":"In python, how do you print something to the console?, What are variables used for?, In python, is it possible to print the value of a variable?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker