Grok- Python Quiz

Grok- Python Quiz

10th Grade

27 Qs

quiz-placeholder

Similar activities

Copa CodeOp Grassrots

Copa CodeOp Grassrots

8th - 12th Grade

22 Qs

Email Practice

Email Practice

9th - 12th Grade

30 Qs

Coopling Leveling Quiz for Students 2022

Coopling Leveling Quiz for Students 2022

KG - 12th Grade

31 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

premerograman dasar 1

premerograman dasar 1

10th Grade

24 Qs

Unit 2 Vocabulary (1-14)

Unit 2 Vocabulary (1-14)

9th - 12th Grade

26 Qs

X-PBO

X-PBO

10th Grade

25 Qs

методы строковой обработки

методы строковой обработки

7th - 11th Grade

25 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?