Python Class 1

Python Class 1

Professional Development

15 Qs

quiz-placeholder

Similar activities

/Python_Quiz\

/Python_Quiz\

KG - Professional Development

20 Qs

Python

Python

7th Grade - Professional Development

13 Qs

Python Training Day-3 Quiz-3

Python Training Day-3 Quiz-3

Professional Development

10 Qs

Basic Python

Basic Python

Professional Development

10 Qs

Python Quiz

Python Quiz

Professional Development

10 Qs

Python

Python

KG - Professional Development

13 Qs

Python

Python

Professional Development

20 Qs

Assessment #2

Assessment #2

5th Grade - Professional Development

20 Qs

Python Class 1

Python Class 1

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Teena George

Used 6+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to print "Hello, World!" in Python?

System.out.println("Hello, World!")

echo "Hello, World!"

print("Hello, World!")

cout << "Hello, World!"

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code?

x = 5

y = 2

print(x % y)

1

2

0

5

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following data types is mutable in Python?

Tuple

String

List

Integer

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of this operation?

print(2 ** 3)

6

8

9

ERROR

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you start a comment in Python?

//

#

/*

<--

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the following code print?

Hello, World! Hello, World!

Hello, World! Hello, Alice!

Hello, Alice! Hello, World!

None of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of this code snippet?

apple

banana

cherry

Error

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?