Search Header Logo

assesment 1

Authored by valarie valarie

Computers

11th Grade

Used 2+ times

assesment 1
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.

OPEN ENDED QUESTION

3 mins • 1 pt

Media Image

What will be the output of the following code?

Evaluate responses using AI:

OFF

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following is immutable in Python?

List

Dictionary

Tuple

String

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to declare a dictionary?

dict = {1,2,3,4}

dict = [1,2,3,4]

dict = {1: "one", 2: "two"}

dict = (1,2,3,4)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which loop is used when the number of iterations is unknown?

for loop

while loop

do-while loop

switch loop

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

insert()

append()

add()

push()

6.

DRAW QUESTION

3 mins • 1 pt

According to Flowchart components, show the shape used for Inputs/Outputs.

Media Image

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is used to terminate a loop prematurely?

continue

break

return

exit

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?