Python Basics

Python Basics

Professional Development

10 Qs

quiz-placeholder

Similar activities

HM training-assam

HM training-assam

Professional Development

10 Qs

Lists and operators

Lists and operators

Professional Development

15 Qs

CSS basics

CSS basics

Professional Development

15 Qs

quizz naruto + naruto shipuden

quizz naruto + naruto shipuden

1st Grade - Professional Development

11 Qs

Funny Movie Quotes

Funny Movie Quotes

KG - Professional Development

8 Qs

Python & SQL

Python & SQL

Professional Development

15 Qs

python basics

python basics

6th Grade - Professional Development

9 Qs

Connectivism Intro

Connectivism Intro

Professional Development

10 Qs

Python Basics

Python Basics

Assessment

Quiz

Other

Professional Development

Hard

Created by

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

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?