Introduction to Python Programming - Chapter 1

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/25

flashcard set

Earn XP

Description and Tags

Fill-in-the-blank practice flashcards for Chapter 1 covering Python syntax, input/output, variables, strings, numeric types, error handling, comments, and historical background.

Last updated 3:17 AM on 9/4/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

26 Terms

1
New cards

Python-related tools often have the letters __________ in their name.

py

2
New cards

A __________ is a collection of code that can be used in other programs.

library

3
New cards

__________ is a widely used Python library for data analysis.

Pandas

4
New cards

The Hello World program is only one line in Python, but it is __________ lines in Java.

five

5
New cards

By default, each value printed in a print() statement is separated by a __________ character in the output.

space

6
New cards

By default, the print() function adds a __________ character at the end of the output.

newline

7
New cards

The __________ option in print() can be used to customize the character placed between multiple printed values.

sep

8
New cards

The __________ option in print() can be used to continue printing on the same line instead of adding a newline character.

end

9
New cards

A __________ refers to a value stored in memory.

variable

10
New cards

A short message in an input statement that indicates the program is waiting for input is called a __________.

prompt

11
New cards

In Python error messages, the abbreviation EOF stands for __________.

End of File

12
New cards

A statement sets a variable to a value using the assignment operator __________.

=

13
New cards

Python's style guide recommends writing variable names in __________ case, which uses all lowercase letters with underscores between words.

snake

14
New cards

Reserved words in Python that have special functions and cannot be used as variable names are called __________.

keywords

15
New cards

The built-in function __________ returns the length or number of characters in a string.

len()

16
New cards

__________ is an operation that combines two or more strings sequentially using the + operator.

Concatenation

17
New cards

An __________ data type represents a whole number, while a floating-point data type represents a decimal number.

integer

18
New cards

In Python operator precedence, the exponentiation operator is represented by __________.

**

19
New cards

In a Python traceback report, the __________ character shows the specific position where Python detected the error.

caret (^)

20
New cards

An error caused by missing closing quote marks that results in the string not terminating before the end of line is a SyntaxError with the message __________.

EOL while scanning string literal

21
New cards

Each single-line comment in Python begins with a __________ character.

hash (#)

22
New cards

A multi-line documentation string written at the beginning of a Python program using triple quotes is known as a __________.

docstring

23
New cards

The creator of the Python programming language is __________.

Guido van Rossum

24
New cards

Guido van Rossum named the Python programming language after the British comedy group __________.

Monty Python

25
New cards

Python's first release, Version 0.9.0, appeared in the year __________.

1991

26
New cards
<p>In October 2021, Python became the #1 language on the __________ index.</p>

In October 2021, Python became the #1 language on the __________ index.

TIOBE