Year 11 T1 PG1 Python

Year 11 T1 PG1 Python

11th Grade

40 Qs

quiz-placeholder

Similar activities

Quiz sobre Diseño Gráfico y Tipos de Archivos de Imagen

Quiz sobre Diseño Gráfico y Tipos de Archivos de Imagen

10th Grade - University

45 Qs

programación orientada a objetos

programación orientada a objetos

11th Grade

40 Qs

SIMULASI AM TIK

SIMULASI AM TIK

9th - 12th Grade

40 Qs

Sumatif Tengah Sem2  Informatika 11F

Sumatif Tengah Sem2 Informatika 11F

11th Grade

40 Qs

MYOB Asyiik

MYOB Asyiik

11th Grade

40 Qs

TJBL  (JARINGAN BERBASIS LUAS)

TJBL (JARINGAN BERBASIS LUAS)

11th Grade

40 Qs

Excel tercel parcial licenciatura

Excel tercel parcial licenciatura

9th Grade - University

36 Qs

TIK kelas 7, Penilaian Tengah semester

TIK kelas 7, Penilaian Tengah semester

7th Grade - University

40 Qs

Year 11 T1 PG1 Python

Year 11 T1 PG1 Python

Assessment

Quiz

Computers

11th Grade

Practice Problem

Medium

Created by

Dotun Onasanya

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

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()

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?