Year 11 T1 PG1 Python

Year 11 T1 PG1 Python

11th Grade

40 Qs

quiz-placeholder

Similar activities

2.6 Data Representation Compression

2.6 Data Representation Compression

8th - 12th Grade

40 Qs

Computer Essentials

Computer Essentials

9th - 12th Grade

35 Qs

Input, Processing, Output

Input, Processing, Output

9th - 12th Grade

44 Qs

Quiz sulla Data Science e Machine Learning

Quiz sulla Data Science e Machine Learning

11th Grade

35 Qs

PTS SMK X & XI 24-25

PTS SMK X & XI 24-25

11th Grade

40 Qs

IT Essential Baseline 20-21

IT Essential Baseline 20-21

9th - 12th Grade

39 Qs

PYTHON Quiz 2 LPU SUMMER SCHOOL

PYTHON Quiz 2 LPU SUMMER SCHOOL

9th - 12th Grade

41 Qs

Python L3 Concepts

Python L3 Concepts

4th - 12th Grade

40 Qs

Year 11 T1 PG1 Python

Year 11 T1 PG1 Python

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Dotun Onasanya

Used 1+ times

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Which of the following is a valid Python variable name?

2var

var_2

var@2

var-2

2.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

How do you define a function in Python?

function name():

def function_name():

define function_name():

func function_name():

3.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

What is the purpose of a function?

To store data

To perform a specific task

To create variables

To manage files

4.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Which data structure is used to store multiple items in Python?

Variable

Function

List

Loop

5.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Which symbol is used to access an element in a list?

.

()

[]

{}

6.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

How do you create a dictionary in Python?

my_dict = {}

my_dict = []

my_dict = ()

my_dict = ''

7.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Which function is used to open a file in Python?

open_file()

file_open()

open()

read_file()

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?