Python Class 1

Python Class 1

Professional Development

15 Qs

quiz-placeholder

Similar activities

Python - String and Lists

Python - String and Lists

Professional Development

20 Qs

Progamação

Progamação

10th Grade - Professional Development

10 Qs

Python Module 1

Python Module 1

University - Professional Development

13 Qs

Basic of Programming - Quiz 02

Basic of Programming - Quiz 02

University - Professional Development

15 Qs

aXQtMjktMTEtMjAyMg==

aXQtMjktMTEtMjAyMg==

Professional Development

10 Qs

Day 2

Day 2

Professional Development

10 Qs

codePannu  Level 1 Python Course - Week 6 Quiz on Logical Operators

codePannu Level 1 Python Course - Week 6 Quiz on Logical Operators

Professional Development

15 Qs

Conceitos Python

Conceitos Python

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?