Grok- Python Quiz

Grok- Python Quiz

10th Grade

27 Qs

quiz-placeholder

Similar activities

basic skill tech 2

basic skill tech 2

1st - 12th Grade

26 Qs

ez test m5+3

ez test m5+3

KG - University

25 Qs

Lightroom Intro Quiz

Lightroom Intro Quiz

9th - 12th Grade

27 Qs

Chapter 3 - Digital Society & Workplace Ethics

Chapter 3 - Digital Society & Workplace Ethics

9th - 12th Grade

30 Qs

Bridge Course - Screening Test

Bridge Course - Screening Test

10th Grade - Professional Development

30 Qs

Python Basics 3

Python Basics 3

6th Grade - University

30 Qs

Microsoft 98-365 Server Admin Part 2

Microsoft 98-365 Server Admin Part 2

KG - Professional Development

22 Qs

Python

Python

9th - 12th Grade

29 Qs

Grok- Python Quiz

Grok- Python Quiz

Assessment

Quiz

Professional Development

10th Grade

Hard

Created by

Lachlan Secondary

Used 11+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?