ALTSCHOOL QUIZ 13/9/25

ALTSCHOOL QUIZ 13/9/25

Professional Development

25 Qs

quiz-placeholder

Similar activities

HTML and CSS Quiz

HTML and CSS Quiz

Professional Development

20 Qs

CB-Quiz On AWS_IAM USER

CB-Quiz On AWS_IAM USER

Professional Development

20 Qs

CBE Pretest

CBE Pretest

Professional Development

25 Qs

IT Townhall

IT Townhall

Professional Development

20 Qs

Chapter 10: Incident Detection and Analysis

Chapter 10: Incident Detection and Analysis

Professional Development

20 Qs

TN-Chương 4: Thủ tục Lưu trữ trong SQL

TN-Chương 4: Thủ tục Lưu trữ trong SQL

Professional Development

30 Qs

Microsoft Fabric Data Warehouse Quiz

Microsoft Fabric Data Warehouse Quiz

Professional Development

23 Qs

PT_DB&FT

PT_DB&FT

Professional Development

30 Qs

ALTSCHOOL QUIZ 13/9/25

ALTSCHOOL QUIZ 13/9/25

Assessment

Quiz

Information Technology (IT)

Professional Development

Hard

Created by

adediji lekan

Used 1+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax for an if-elif-else block?

if - elif - else

when - otherwise

do - if - end

switch - case - end

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to remove the last item in a list?

remove()

pop()

delete()

clear()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of my_list = [1, 2, 3]; print(my_list[1])?

1

2

3

Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to retrieve all keys in a dictionary?

get()

items()

keys()

values()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to create a dictionary in Python?

my_dict = []

my_dict = ()

my_dict = {}

my_dict = <>

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following defines a function with two parameters?

def myFunc[]:

def myFunc(x, y):

myFunc def(x y):

D. def myFunc:

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a function return if there is no return statement?

0

False

None

Null

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?