Python Variables Quiz

98

Python Variables

This is a quiz regarding the Python Variables.

Please go through the below topics
1. Python Variables

1) We have a variable of integer type, can we reassign it with string values?

2) Which of the following is not a valid variable assignment?

3) Which of the following is a valid multiple-variable assignment?

4) What is the output of the following code

print(f"Version 3 + .9")

5) Which of the following is a valid variable name?

6) What is the Output of the following code?
x = 123
y = "4"

z = x + y
print(z)

7) Which of the following is an invalid variable?

8) Words with special meaning fixed for specific functionality are called?

9) What is the name given to the different parts of a Python program?

10) What are the fixed values called?

11) The symbols that trigger some computations are called?

12) The combination of symbols that represent a value are called?

13) Is Python a case in-sensitive Language?

14) Strings in Python can be created using?

15) Can we use keyword as identifier in Python?

16) Can we rename a keyword in Python?

17) What argument is used when we don't want to end a print with the new line?

Your score is

The average score is 63%

0%