
MCQs on Tokens in Python

Quiz
•
Computers
•
11th Grade
•
Easy
AMIT KUMAR
Used 1+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a Python token?
Keyword
Identifier
Operator
Header
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are tokens in Python?
Reserved keywords only
Words used in comments
Smallest individual units in a program
Operators only
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid identifier in Python?
2value
my-name
_value123
class
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a keyword in Python?
define
include
finally
constant
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many types of tokens are there in Python?
3
5
7
2
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid operator in Python?
**
++
//
!=
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of print(type("Hello"))?
Create a free account and access millions of resources
Similar Resources on Wayground
23 questions
GCSE Python Programming Basics

Quiz
•
11th Grade
20 questions
Unit 3 Python TEST

Quiz
•
11th - 12th Grade
16 questions
Python programming

Quiz
•
6th - 12th Grade
15 questions
DIT Excel 2016 Review

Quiz
•
8th - 12th Grade
13 questions
Python Operators & Expressions

Quiz
•
8th - 11th Grade
15 questions
Grade 8 End of Unit Revision

Quiz
•
8th Grade - University
20 questions
Python Programming Quiz

Quiz
•
10th Grade - University
15 questions
2.2 Understanding String Manipulation(C&D)

Quiz
•
11th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
20 questions
Scalars, Vectors & Graphs

Quiz
•
11th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
10 questions
Solving Equations Opener

Quiz
•
11th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade