Python Basics

Python Basics

Professional Development

10 Qs

quiz-placeholder

Similar activities

Driving Theory Test: Alertness

Driving Theory Test: Alertness

KG - Professional Development

10 Qs

Prodigy Epics

Prodigy Epics

Professional Development

13 Qs

Meme Quiz

Meme Quiz

1st Grade - Professional Development

8 Qs

HEM Chapter 1

HEM Chapter 1

Professional Development

10 Qs

Neurotransmitter

Neurotransmitter

University - Professional Development

15 Qs

UTAR Industrial Session

UTAR Industrial Session

University - Professional Development

15 Qs

Labor Relations and Negotations 1

Labor Relations and Negotations 1

University - Professional Development

15 Qs

HOW TO GIVE DIRECTIONS

HOW TO GIVE DIRECTIONS

10th Grade - Professional Development

12 Qs

Python Basics

Python Basics

Assessment

Quiz

Other

Professional Development

Practice Problem

Hard

Created by

Ajay Tech

Used 471+ 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?