Python True False Questions with Answers

1.  Python is developed by Guido van Rossum.

a. True

b. False

2. Python is a popular programming language.

a. True

b. False

3.  Python is easy to learn language.

a.  True

b.  False

4. Python is designed to be highly readable.

a. True

b. False

5. Python has a simple syntax similar to the English language.

a. True

b. False

6. Python is considered a structured programming language.

a. True

b. False

7. Python is a case sensitive language.

a. True

b. False

8. Python is written in c language.

  1. True
  2. False

9.  Python is a hard to learn language.

a.  True

b.  False

10.  Python is a cross platform language.

a. True

b. False

11. Python is not a case sensitive language.

a. True

b. False

12. Python works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc.).

a. True

b. False

13.  Python is a high-level language.

a. True

b. False

14. Python is a machine language.

a. True

b. False

15. Python is a low-level language.

a.    True

b.   False

16. Python is an interpreted language.

a. True

b. False

17.  Python is known for being an interactive language.

a.    True

b.    False

18. Python is object-oriented language.

a. True

b. False

19. Python has deep support of Object-Oriented Programming (OOP).

a.  True

b.  False

20. Python is a scripting language. 

  1. True
  2. False

21. Python is a high-level, interpreted, interactive and object-oriented scripting language.

a.  True

b.  False

22. Python can be used on a server to create web applications.

a. True

b. False

23. Python can be used for rapid prototyping, or for production-ready software development.

a. True

b. False

24. Python can be used to handle big data and perform complex mathematics.

a. True

b. False

25. Python is used by Intel, IBM, NASA, Pixar, Netflix, Facebook, JP Morgan Chase, Spotify and a number of other massive companies.

a. True

b. False

26. Becoming a Python developer is the most direct job out there for someone who knows the Python programming language.

a. True

b. False

27. .python is the correct extension of the Python file.

a. True

b. False

28. print() function is used to display data as output.

a. True

b. False

29. Print() statement in python takes input from the user. 

a. True

b. False

30. In Python, program output is displayed using the print() function, while user input is obtained with the input(). function.

a. True

b. False

31. For numerical types like integers and floating points, zero values are false and non-zero values are true.

    a. True

    b. False

    32. Python uses indentation to denote code blocks.

    a. True

    b. False

    33. # character is used to give single-line comments in Python.

    a. True

    b. False

    34. In python ‘+’ can be used to concatenate strings.

    a. True

    b. False

    35. ‘==’ operator compares values and data types.

    a. True

    b. False

    36. Variable name in Python can start with a number.

    a.  True

    b.  False

    37. A variable name can consist of alphabets, digits, and underscore.

    a. True

    b. False

    38. Assignment operator is used to assign value of an expression to a variable.

    a. True

    b. False

    39.  ‘==’ operator is used to assign values.

    a.  True

    b.  False

    40. List is a mutable data type in Python.

    a.   True

    b.   False

    41. Tuple is a mutable data type in Python.

    a.  True

    b.  False

    42. Tuple is mutable whereas list is immutable.

    a.   True

    b.   False

    43. Int data type you would use to store a whole number in Python.

    a.  True

    b.  False

    44. ‘if’ statement is used for conditional branching.

    a. True

    b. False

    45. Looping allows sections of code to be executed repeatedly under some condition.

    a.  True

    b.   False

    46. The for statement is used for decision making.

    a. True

    b. False

    47. for statement can be used to iterate over a range of values or a sequence.

    a.  True

    b.   False

    48. Def keyword is used for function in Python language.

    a.  True

    b.  False

    49. User defined function uses def keyword.

    a.  True

    b.   False

    50.  Python has many predefined functions called user defined functions.

    a.  True

    b.   False

    8 thoughts on “Python True False Questions with Answers”

    1. Excellent blog here Also your website loads up very fast What web host are you using Can I get your affiliate link to your host I wish my web site loaded up as quickly as yours lol

      Reply
    2. Insanont I’m often to blogging and i really appreciate your content. The article has actually peaks my interest. I’m going to bookmark your web site and maintain checking for brand spanking new information.

      Reply

    Leave a Comment