Python Quiz: Hello World

Python Quiz: Hello World

3rd Grade

8 Qs

quiz-placeholder

Similar activities

Keyboard Shortcuts and other tips

Keyboard Shortcuts and other tips

1st - 12th Grade

10 Qs

EDITING TEXT IN MS WORD 2016

EDITING TEXT IN MS WORD 2016

3rd Grade

10 Qs

Computer and its Parts

Computer and its Parts

2nd - 5th Grade

10 Qs

Java Coding Club

Java Coding Club

3rd - 7th Grade

10 Qs

Java

Java

2nd Grade - University

10 Qs

Python_for

Python_for

1st - 3rd Grade

13 Qs

Previous set Capgemini

Previous set Capgemini

1st - 3rd Grade

12 Qs

for---Loop

for---Loop

3rd Grade - University

13 Qs

Python Quiz: Hello World

Python Quiz: Hello World

Assessment

Quiz

Computers

3rd Grade

Medium

Created by

Stephanie Pocci

Used 3+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the main purpose of programming languages?

To build houses

To play music

To instruct computers

To cook food

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the main goal of the class?

To learn how to speak and write

To learn how to program and think logically

To learn how to draw

To learn how to cook

3.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Which is a correct way to write "Hello World" in Python?

print('Hello World')

print("Hello World")

print(Hello, World)

print("Hello, World")

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does end=" " do in the print() function?

Adds the word inside the " " at the end of the line

Adds a space at the end

Adds a comma at the end

Adds a period at the end

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the purpose of using end="" in the print() function?

To add a period at the end

To add a space at the end

To add a comma at the end

To keep it from skipping a line or add a word at the end

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the output be for the code:

print("Cat", end=" ")

print("Dog")

Cat Dog

CatDog

Cat Dog

Catdog

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the output be for the code:

print("Sun", end="")

print("Shine")

Sun: Shine

Sun Shine

SunShine

Sun, Shine

8.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the following code print if the 'end' parameter is set to a single quote?

print("It's")

print("Fine")

It's
Fine

It's Fine

It'sFine

It's' Fine