Python Basics

Quiz
•
Other
•
Professional Development
•
Hard

Ajay Tech
Used 358+ times
FREE Resource
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
Similar Resources on Wayground
6 questions
Pyweek Day 0

Quiz
•
Professional Development
15 questions
Lists and operators

Quiz
•
Professional Development
10 questions
Python Loop Statements

Quiz
•
Professional Development
9 questions
Python Functions

Quiz
•
Professional Development
10 questions
Social Media

Quiz
•
Professional Development
15 questions
Python & SQL

Quiz
•
Professional Development
10 questions
Recruiting TAS

Quiz
•
Professional Development
14 questions
Google Level 1

Quiz
•
Professional Development
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade