Search Header Logo

Python Basics

Authored by Om Tshering Lepcha

Computers

3rd Grade

Python Basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Python?

Python is a type of pasta.

Python is a type of snake.

Python is a high-level programming language.

Python is a type of car.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Name one popular Python framework.

PyTorch

TensorFlow

Flask

Django

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of 'if' statement in Python?

Conditional execution

To loop through a list

To define a function

To print output to the console

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you define a function in Python?

def function_name(parameters):

function_name(parameters)

function_name(parameters):

define function_name(parameters):

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of 'print(3+2*5)' in Python?

10

13

7

15

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 'print(2**3)' in Python?

6

8

5

16

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a Python data type?

JSON

HTML

Integer

CSS

Access all questions and much more by creating a free account

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?