Tuesday 10 March 2020

MCQs based on Python Basics - Set 1

MCQs based on Python Basics - Set 1




Question 1. The _______ are names given to some data or information that we want to store in a Python programs.
A. variables
B. tokens
C. keywords
D. none of these

Question 2. Which of the following character can be used to specify comments in Python?
A. #
B. $
C. //
D. none of these

Question 3. The _______are used to describe the code and are not interpreted by Python.
A. variables
B. comments
C. tokens
D. loops

Question 4. A variable name cannot start with a __________.
A. number
B. letter
C. underscore
D. none of these

Question 5. Which of the following is invalid identifier name?
A. _num
B. Num
C. 101_
D. Syntax


   


Score out of 5 =  

Percentage =

Check Your Answer Here

Back to Python MCQs >











No comments:

Post a Comment