WEEK 1-2 Quiz on Python Basics and Data Structures

WEEK 1-2 Quiz on Python Basics and Data Structures

12th Grade

20 Qs

quiz-placeholder

Similar activities

Microsoft Office Advandces 2016

Microsoft Office Advandces 2016

9th Grade - Professional Development

20 Qs

Python Review KS3

Python Review KS3

9th - 12th Grade

17 Qs

2324tx6

2324tx6

9th - 12th Grade

20 Qs

Python List

Python List

4th Grade - University

15 Qs

Coding Basics SC-1

Coding Basics SC-1

7th - 12th Grade

20 Qs

SMKN 4 Jakarta Quiz MikroTik Dasar

SMKN 4 Jakarta Quiz MikroTik Dasar

12th Grade

16 Qs

Level 2 Digital Technologies

Level 2 Digital Technologies

8th Grade - Professional Development

18 Qs

SEMANGAT

SEMANGAT

12th Grade

20 Qs

WEEK 1-2 Quiz on Python Basics and Data Structures

WEEK 1-2 Quiz on Python Basics and Data Structures

Assessment

Quiz

Computers

12th Grade

Practice Problem

Easy

Created by

Darwin Vargas

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to print a message in Python?

print "Hello"

console.log("Hello")

print("Hello")

System.out.println("Hello")

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol is used to start a comment in Python?

#

//

/* */

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following data types is immutable in Python?

List

Dictionary

Tuple

Set

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of type([1, 2, 3]) in Python?

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to define a function in Python?

func

define

def

function

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to add an item to a Python list?

append()

add()

push()

insert()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you access the first element of a list named my_list?

my_list[1]

my_list[0]

my_list.first()

my_list[-1]

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?