Python Basics

Quiz
•
Other
•
Professional Development
•
Hard

Ajay Tech
Used 423+ 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
10 questions
Les composantes du prix

Quiz
•
KG - Professional Dev...
8 questions
Observation en Norvège

Quiz
•
Professional Development
10 questions
Quiz Malakisi Ouvriers

Quiz
•
Professional Development
12 questions
Expressions avec Avoir

Quiz
•
KG - Professional Dev...
6 questions
Pyweek Day 0

Quiz
•
Professional Development
15 questions
French Beginner

Quiz
•
4th Grade - Professio...
15 questions
Prueba python vacacional

Quiz
•
Professional Development
12 questions
Questionnaire définitif A2.2

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade