Grok- Python Quiz

Grok- Python Quiz

10th Grade

27 Qs

quiz-placeholder

Similar activities

Resumes & Cover Letters

Resumes & Cover Letters

9th - 12th Grade

25 Qs

Grammar quiz10

Grammar quiz10

5th Grade - Professional Development

25 Qs

X-PBO

X-PBO

10th Grade

25 Qs

Achieve 3000 (4/29)

Achieve 3000 (4/29)

7th - 12th Grade

25 Qs

ĐẠI HỌC SƯ PHẠM KỸ THUẬT HƯNG YÊN

ĐẠI HỌC SƯ PHẠM KỸ THUẬT HƯNG YÊN

8th Grade - University

25 Qs

Kitchen- HACCP Program

Kitchen- HACCP Program

9th - 12th Grade

25 Qs

Georgia Code of Ethics

Georgia Code of Ethics

9th - 12th Grade

22 Qs

Copa CodeOp Grassrots

Copa CodeOp Grassrots

8th - 12th Grade

22 Qs

Grok- Python Quiz

Grok- Python Quiz

Assessment

Quiz

Professional Development

10th Grade

Hard

Created by

Lachlan Secondary

Used 11+ times

FREE Resource

AI

Enhance your content in a minute

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

27 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Correct Python Code View for Hello, World! is?

Print ('hello, World!')

print ('Hello, World!')

Print (“hello, world!”)

print (Hello World)

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Correct Python Code View of What is your name? is?

name = input(“what is your name? ')

name = input('What is your name.)

name = input('What is your name? ')

name=input('What is your name? ')

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Correct Python Code View of Hello, Mia is?

print('Hello,', name)

pRint('Hello,', name)

print('Hello,', NAME)

print ('HelloName’)

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Correct Python Output View of:


print ("So you call yourself '" + name + "' huh?")

So you call yourself 'Rory' huh?

So You call your self 'Rory' huh?

So you call yourself 'Rory' Huh”

So you call yourself 'Rory' HUH?”

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Friend1 = input("Friend: ")

print ("Hello, young " + Friend1)


output view is:

Friend: Trever

Hello, young Trever

friend: Trever

hello, young Trever

Friend Trever

Hello young Trever

FriendTrever

Hello, young Trever

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

text = input('Enter text: ')

print(len(text))


is an example of:

Enter text: hi

2

Enter text: BOO

4

Enter text: Hello

10

Enter TEXT: Hiiii

2

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

word = input('What do you want me to say? ')

num = int(input('How many times do you want me to say it? '))

print (word * num)


an example is:

What do you want me to say? Hi

How many times do you want me to say it? 2

HiHi

What do you want me to say? HI

How many times do you want me to say it? 1

HIHIHI

What do you want me to do?

How many times do you want me to say it? 1

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?