Python 101

5.0(1)
studied byStudied by 4 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/31

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

32 Terms

1
New cards

What does IDLE/IDE stand for

Integrated Development (learning) environment

2
New cards

Syntax errors

If a syntax error appears, it is because there is something wrong with the grammar i.e. spelling/ punctuation

3
New cards

What is a variable

It is an address to a memory location that contains data that could change

4
New cards

String definition

Characters with speech marks

5
New cards

Integer definition

Numbers without speech marks

6
New cards

What are arithmetic operators

It is symbols we use in calculations

7
New cards

Add symbol in phython

+

8
New cards

Subtract symbol in Phython

-

9
New cards

Multiply symbol in phython

*

10
New cards

Divide symbol in Phython

/

11
New cards

Integer definition

A whole number

12
New cards

Float definition

A decimal number

13
New cards

What is data casting

It’s the technical name for changing a data type of a value in the program

14
New cards

iteration definition

A section of code winch is programmed to repeat itself

15
New cards

What is the name of the display window when you first open IDLE

Shell

16
New cards

Boolean definition

It is either true or false, they are used to represent logical values

17
New cards

What is a sequence

It’s the order in which instructions occur and are processed.

18
New cards

What is selection

It determines which path a program takes when it is running

19
New cards

What is iteration

It is the repeated execution of a section of code when a program is running

20
New cards

What happens if you use IF

You can be specific but only ONCE

21
New cards

What happens if you use ELSE

You can give as many options as you want, but you cant be specific

22
New cards

What happens when you use ELIF

You can give as many options as you want and be specific

23
New cards

Nesting definition

It allows for powerful and simple programming, it reduces the amount of code needed, while making it simple for the programmer

24
New cards

What is iteration also known as

Looping

25
New cards

Definition of nested selection

A programming technique where selection statements are placed inside other selection statements, allowing for complex decision-making.

26
New cards

What is one of the two types of iteration

Count - controlled “for loops”

27
New cards

The second type is iteration is

Condition - controlled “while loops”

28
New cards

For loops definition

Something you repeat for a certain amount of time

29
New cards

While loops definition

The number something is done without knowing how many time to repeat

30
New cards

Definition of lists

It is used to store multiple items in a single variable

31
New cards

Definition of array

It is a special variable, which can hold more than one value at a time

32
New cards

Definition of procedure

It is a set of instructions for a computer that has a name by which it can be called in to action