Computing Test Revision on Python

5.0(2)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/14

flashcard set

Earn XP

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

15 Terms

1
New cards

String

anything enclosed in speech marks.

2
New cards

Float

A decimal number.

3
New cards

Integer

A whole number.

4
New cards

Boolean

A data type that represents logical values. A boolean variable can only have 2 possible values, true or false. Examples of this are if and else

5
New cards

Iteration

Looping

6
New cards

Sequences

The first programming construct. They carry out the instructions.

7
New cards

Selection

It is the process of making a decision.

8
New cards

Count controlled Iteration

It tells the program how many times to loop the text or thing it is reffering to.

9
New cards

Condition-Controlled Iteration

A type of looping structure in programming where the iteration continues as long as a specified condition is true.

10
New cards

Nested Selection

A selection structure within another selection structure. It allows for complex decision-making based on multiple conditions.

11
New cards

While Loops in Python

It continues to execute a block of code as long as a specified condition is true.

12
New cards

Array

A data structure that holds a collection of items, typically of the same type, and allows for indexed access to its elements.

13
New cards

Procedure

A set of instructions for a computer that has a name by which it can be called into action.

14
New cards

Parameter

Information that can be passed into a function.

15
New cards

Function in Python

A reusable block of code that performs a specific task. It can take inputs, known as parameters, and can return outputs.