Python Basics

Python Basics

Professional Development

10 Qs

quiz-placeholder

Similar activities

disney

disney

Professional Development

12 Qs

NSD Quiz 2!

NSD Quiz 2!

Professional Development

10 Qs

Nursing Informatics (Nurses/PSA/OA/OT)

Nursing Informatics (Nurses/PSA/OA/OT)

Professional Development

15 Qs

Health and safety

Health and safety

Professional Development

14 Qs

Football Quiz

Football Quiz

KG - Professional Development

15 Qs

DEMAND, SUPPLY AND ELASTICITY

DEMAND, SUPPLY AND ELASTICITY

University - Professional Development

9 Qs

Work Experience Preparation - Christmas Term

Work Experience Preparation - Christmas Term

Professional Development

10 Qs

Exoictic cars.

Exoictic cars.

5th Grade - Professional Development

10 Qs

Python Basics

Python Basics

Assessment

Quiz

Other

Professional Development

Practice Problem

Hard

Created by

Ajay Tech

Used 480+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?