Python Programming Flashcard

Python Programming Flashcard

Assessment

Flashcard

Computers

11th Grade

Practice Problem

Hard

Created by

Ummul Hasseena

FREE Resource

Student preview

quiz-placeholder

50 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the first step in problem-solving?

Back

Defining the problem

2.

FLASHCARD QUESTION

Front

Correct way to start a Python program: #include, BEGIN, print("Hello World"), echo "Hello"

Back

print("Hello World")

3.

FLASHCARD QUESTION

Front

Which of the following is a mutable data type? Tuple, List, String, Int

Back

List

4.

FLASHCARD QUESTION

Front

What will type(3.14) return?

Back

<class 'float'>

5.

FLASHCARD QUESTION

Front

Which operator is used for floor division?

Back

//

6.

FLASHCARD QUESTION

Front

Function to convert string "100" to integer: int("100"), str("100"), float("100"), bool("100")

Back

int("100")

7.

FLASHCARD QUESTION

Front

Which of the following is a syntax error? Options: print("Hello), x = 5 + 3, y = x * 2, name = "Alice"

Back

print("Hello)

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?