Ads Here

Thursday, October 12, 2017

Variables Quiz.

Variables Quiz.

Quiz1 | 6 Questions
This is a quick quiz to check that you have understood what variables are and why we use them?

Question 1 :
What is a Valuable?

1 : A "Little Box" in the computer's memory that has a name and stores some value.
2 : Someone who change their mind a lot.
3 : The name of some data.

Question : 2
Python is a "dynamically typed" language. What does this mean?

1 : You need to type it while moving around.
2 : The Variable type can change throughout your program.
3 : The variable type cannot be change.

Question : 3
Which of the following are some of the data types in Python?

1 : Integer and strings
2 : Keys, Values and Items.
3 : None of the above.

Question : 4

1 : To keep useful or important data for later
2 : To make our code more organised.
3 : To make our code easier to change.
4 : All of the above.

Quesrion : 5
What does this Python code mean in plain English? x = 2

1 : Check that x is equal to 2
2 : Create a variable with the name x, and assign it the value of 2.
3 : None of the above.

Question : 6
Which of these functions is used to see a variables type?

1 : print()
2 : type()
3 : var()







No comments:

Post a Comment