Search Header Logo

SEB-72 Week 10 Python and Django (Little bit of SQL) Quiz

Authored by Lay Jones

Computers

9th - 12th Grade

Used 4+ times

SEB-72 Week 10 Python and Django (Little bit of SQL) Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which Javascript method is Python's .append() similar to?

.pop()

.push()

.splice()

.filter()

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

You can declare a variable without assigning a value to it

true

false

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the f stand for in a f-String?

factorial

feature

formatted

filter

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is one of the key difference between lists and tuples?

You can access individual items by index in a tuple but not in a list

Tuples are immutable whereas lists are mutable

A list is an object whereas a tuple is not

The list is faster than the tuple

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does a function start with?

function

main

const

def

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Indentation is not required in Python?

True

False

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

I have this list:
List = ['He', 'Loves', 'To', 'Code', 'In', 'Python']

...

print(List)

What method can I used in place of the ... to randomize the items of that list

shuffle()

random()

enumerate()

extend()

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?