Python Programming Quiz

Python Programming Quiz

11th Grade

50 Qs

quiz-placeholder

Similar activities

Week 5 - Variables/Booleans

Week 5 - Variables/Booleans

9th - 12th Grade

54 Qs

Python quiz

Python quiz

University

50 Qs

Team Quiz 1

Team Quiz 1

University

50 Qs

Python

Python

11th - 12th Grade

46 Qs

C++ ECE Q1

C++ ECE Q1

University

55 Qs

Python Review

Python Review

University

54 Qs

Quiz1810

Quiz1810

University

45 Qs

Plaza Programación

Plaza Programación

11th Grade

50 Qs

Python Programming Quiz

Python Programming Quiz

Assessment

Quiz

Computers

11th Grade

Hard

Created by

Ummul Hasseena

Used 1+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step in problem-solving?

Coding the solution

Defining the problem

Testing the solution

Debugging the code

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correct way to start a Python program?

#include

BEGIN

print("Hello World")

echo "Hello"

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a mutable data type?

Tuple

List

String

Int

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will type(3.14) return?

<class 'int'>

<class 'float'>

<class 'str'>

<class 'bool'>

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for floor division?

/

//

%

**

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function converts a string "100" to integer?

int("100")

str("100")

float("100")

bool("100")

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a syntax error?

print("Hello)

x = 5 + 3

y = x * 2

name = "Alice"

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?