Search Header Logo

Valtorta lesson 3

Authored by Sam Yeung

Information Technology (IT)

10th Grade

Used 1+ times

Valtorta lesson 3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

OPEN ENDED QUESTION

30 sec • 2 pts

Media Image

What does sys.exit() do?

Evaluate responses using AI:

OFF

2.

MULTIPLE SELECT QUESTION

30 sec • 2 pts

What does
number = random.randint(1, 6)

do?


store "7" into number

generate a number range from 1 to 6 and stores it into number

Error

generate a random character

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does myFunc do?

output "Sam"

output "hello"

output "hello, Sam"

output "hello, name"

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output?

Apple

Orange

Peach

Fruit

5.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

Media Image

What will be the output?

Chinese

61

43

85

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Information Technology (IT)