Python Class 1

Python Class 1

Professional Development

15 Qs

quiz-placeholder

Similar activities

Quiz1_7A

Quiz1_7A

2nd Grade - Professional Development

20 Qs

python quiz

python quiz

6th Grade - Professional Development

10 Qs

Python

Python

Professional Development

20 Qs

Sequences

Sequences

Professional Development

10 Qs

Python Quiz For Starters

Python Quiz For Starters

3rd Grade - Professional Development

17 Qs

For Loop Python_2024

For Loop Python_2024

Professional Development

20 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

Python Training Day-4 Quiz-4

Python Training Day-4 Quiz-4

Professional Development

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