Python Basics

Python Basics

3rd Grade

8 Qs

quiz-placeholder

Similar activities

Знакомство с приложение PyCharm

Знакомство с приложение PyCharm

3rd - 12th Grade

8 Qs

Java Coding Club

Java Coding Club

3rd - 7th Grade

10 Qs

python

python

3rd - 12th Grade

7 Qs

Java

Java

2nd Grade - University

10 Qs

Previous set Capgemini

Previous set Capgemini

1st - 3rd Grade

12 Qs

Python Classes

Python Classes

3rd Grade

9 Qs

for---Loop

for---Loop

3rd Grade - University

13 Qs

quiz 1

quiz 1

1st - 4th Grade

10 Qs

Python Basics

Python Basics

Assessment

Quiz

Computers

3rd Grade

Hard

Created by

Om Tshering Lepcha

FREE Resource

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

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'len()' function do in Python?

Returns the total number of elements in a list

Calculates the square root of a number

Converts a string to uppercase

Prints the current date and time