Python Programming Concepts

Python Programming Concepts

Assessment

Flashcard

Computers

10th Grade

Easy

Created by

Sonam Tenlo

Used 3+ times

FREE Resource

Student preview

quiz-placeholder

8 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is an algorithm?

Back

An algorithm is a step-by-step procedure to solve a specific task.

2.

FLASHCARD QUESTION

Front

What is a flowchart?

Back

A flowchart is a visual representation of an algorithm, using shapes and arrows to show the flow of steps.

3.

FLASHCARD QUESTION

Front

What are the common flowchart symbols?

Back

1. Oval (Terminal): Start/End of a process. 2. Rectangle (Process): Step in the process. 3. Arrow: Direction of flow. 4. Diamond (Decision): Decision point with multiple outcomes. 5. Parallelogram (Input/Output): Data input or output.

4.

FLASHCARD QUESTION

Front

What are arithmetic operators in Python?

Back

Operators used to perform basic mathematics operations: + (addition), - (subtraction), * (multiplication), / (division), % (modulus), // (floor division), ** (exponentiation).

5.

FLASHCARD QUESTION

Front

What are comparison operators in Python?

Back

Operators used to compare two values: == (equal), != (not equal), > (greater than), < (less than), >= (greater than or equal), <= (less than or equal).

6.

FLASHCARD QUESTION

Front

What are logical operators in Python?

Back

Operators used to combine conditional statements: and, or, not.

7.

FLASHCARD QUESTION

Front

What is the purpose of conditional statements in Python?

Back

To execute different sets of instructions based on conditions that evaluate to True or False.

8.

FLASHCARD QUESTION

Front

What is the syntax for an if statement in Python?

Back

if condition: statement...