Python Basics

Python Basics

Professional Development

10 Qs

quiz-placeholder

Similar activities

Feed Bait Originality Refresher Training

Feed Bait Originality Refresher Training

Professional Development

11 Qs

Getting to know A K Shaw :)

Getting to know A K Shaw :)

Professional Development

12 Qs

IQ-BATTLE TEAM #7

IQ-BATTLE TEAM #7

Professional Development

10 Qs

What Every Teacher Should Know

What Every Teacher Should Know

Professional Development

10 Qs

Football

Football

KG - Professional Development

10 Qs

K10_LÀM QUEN VỚI NGÔN NGỮ LẬP TRÌNH BẬC CAO

K10_LÀM QUEN VỚI NGÔN NGỮ LẬP TRÌNH BẬC CAO

Professional Development

10 Qs

FinTech 01-2

FinTech 01-2

Professional Development

9 Qs

Les célébrités francophones

Les célébrités francophones

Professional Development

10 Qs

Python Basics

Python Basics

Assessment

Quiz

Other

Professional Development

Hard

Created by

Ajay Tech

Used 413+ 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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?