Grok- Python Quiz

Grok- Python Quiz

10th Grade

27 Qs

quiz-placeholder

Similar activities

Sales@Tally Quiz 1

Sales@Tally Quiz 1

10th Grade - Professional Development

25 Qs

Microsoft Excel

Microsoft Excel

3rd Grade - Professional Development

22 Qs

Preparing for Work in Landbased Industry

Preparing for Work in Landbased Industry

10th - 11th Grade

22 Qs

Health and Safety Christmas quiz

Health and Safety Christmas quiz

10th Grade - University

23 Qs

Christmas Problem Solving & Making Decisions

Christmas Problem Solving & Making Decisions

KG - University

22 Qs

Final Exam Review 6

Final Exam Review 6

KG - University

25 Qs

Higher Education

Higher Education

7th - 11th Grade

23 Qs

Entrepreneurship Unit 1 Test

Entrepreneurship Unit 1 Test

9th - 12th Grade

31 Qs

Grok- Python Quiz

Grok- Python Quiz

Assessment

Quiz

Professional Development

10th Grade

Practice Problem

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?