Python Flashcards

1
Q

Algorithm

A

a set of instructions or rules to be followed to carry out a task

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Interactive Mode

A

lets you see your results as you type them.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Script Mode

A

lets you save your program and run it again later.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Syntax

A

rules and structure of a language.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Variable

A

a location in memory in which you can temporarily store text or numbers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Python Syntax

A

Spelling
No Capitals !!!
Speech marks
Colons
Brackets
= or ==?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Turtle

A

a set of drawing tools that someone has made for python. We can use it to draw any sort of graphics that we want.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

For Loop

A

usually used when the program knows how many times it needs to repeat a line of code. Every time the code is repeated it is known as an iteration.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What symbol is used to make a comment? (A comment is a way to annotate your code to explain what it is doing)

A

#

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is python named after?

A

Television show called Monty Python

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What extension must you add to the end of a file when saving?

A

.xlsx

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How do you tell that Python that you are going to use the turtle library?

A

import turtle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly