Python Basics

Quiz
•
Other
•
Professional Development
•
Hard

Ajay Tech
Used 439+ 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
système de freinage

Quiz
•
Professional Development
10 questions
Journées Régionales Etudes Bordeaux

Quiz
•
Professional Development
7 questions
Content Writing

Quiz
•
Professional Development
11 questions
Online Platforms

Quiz
•
7th Grade - Professio...
14 questions
Python Basics Quiz

Quiz
•
Professional Development
8 questions
Python Basics + Comments

Quiz
•
Professional Development
12 questions
GenAI Workshop - Repaso 1

Quiz
•
Professional Development
10 questions
Accueil des familles et du patient

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

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade