Python Basics
Quiz
•
Other
•
Professional Development
•
Practice Problem
•
Hard
Ajay Tech
Used 470+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to insert comments in Python ?
# this is a comment
// this is a comment
/* this is a comment */
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
How to create a numeric variable age with a value of 10
age = 10
age = int(10)
age = "10"
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct extension for python files ?
.py
.pyth
.python
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In python, "Hello World" is the same as 'Hello World'
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the below operators can be used to compare two numbers
==
><
=
6.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which of the following is True
Python is an interpreted language
Python is a compiled language
Python is a scripting language
Python is an Object oriented language
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How is a block of code defined in Python ?
with indentation
with paranthesis
with curly braces
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
General NBA Trivia
Quiz
•
Professional Development
10 questions
SKT - 13th March
Quiz
•
Professional Development
10 questions
Introduction to Management
Quiz
•
University - Professi...
13 questions
General knowledge
Quiz
•
3rd Grade - Professio...
15 questions
Emotions? Related to mental health?
Quiz
•
1st Grade - Professio...
10 questions
COCA Innovation
Quiz
•
Professional Development
13 questions
Covid-19 Compliance
Quiz
•
Professional Development
15 questions
New Raffles Orientation
Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
