What is a variable?
Quiz Summary
Fundamentals of Python Programming
Guest
Want to learn coding and ace these quizzes?
Find a new quizShare this in social media
Quiz result
5
Correct
5
Incorrect
Question Performance
What is a variable?
A number
A message input by the user
A location in memory that we use to store data
A printout that show answer that user entered
What symbol is used in python to assign values to a variable?
*
=
==
!=
What is indentation in python?
The group of keywords
Displaying the output
The group of statements belongs to a particular block of code.
It is a function.
Which statement is used to print text to the output console?
echo
system.out.println
input
Which functions are used to accept input from the user?
raw_input()
rawinput()
input()
string()
Which is a data type that can only be true or false?
int
string
boolean
float
Which statement will check to see if a is equal to b?
if a == b
if a = b:
if a != b:
if a == b:
The condition for a while loop to continue could include which of the following?
While something equals something
While something is greater than something
While something is True
All of these
What is needed at the start of every function declaration?
for
def
def start
Which one of the following is the correct way of calling a function?
function_name()
call function_name()
ret function_name()
function function_name()
We think you are in United States of America. Update your location?