Python Programming Flashcard

Python Programming Flashcard

Assessment

Flashcard

Computers

11th Grade

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Discover more resources for Computers