Section 1

Preview this deck

Case-Sensitive

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (37)

Section 1

(37 cards)

Case-Sensitive

Front

Variable Names

Back

Top of the code

Front

Where comment is usually put by programmers to give their programs a title

Back

Capitalize the first letter of each Word

Front

In a variable name, this makes the program more readable

Back

Return Value

Front

The value that the function call evaluates to

Back

Single or Double Quotes

Front

What is put around strings

Back

Variables

Front

Where strings can be stored

Back

Case-Sensitive

Front

Means the same variable name in a different case is considered to be entirely an entirely separate variable name.

Back

Variable Names

Front

Give these names that reflect what type of data they contain will make it easier to understand what a program does.

Back

#

Front

Denotes a comment in a program.

Back

Comment

Front

Any text preceded by a # sign

Back

+ (Plus Operator)

Front

Used to concatenate when using the print()

Back

Bugs

Front

An unexpected defect, fault, flaw, or imperfections. In programming jargon, this is what errors are known as.

Back

What the function does

Front

What we need to know about a function - we do not need to know how it does it.

Back

Function

Front

mini-program inside your program

Back

print()

Front

Used to display a string on the screen. Takes the string you type in between the parentheses as input and displays the text on the screen.

Back

Parentheses

Front

By adding these, we make it clear that we're referring to a function named print(), not a variable named print.

Back

print()

Front

Call to the print() function

Back

Double Quotes

Front

"

Back

Flow of execution (of a program)

Front

•How it starts •The order in which it executes its instructions •How it terminates

Back

input()

Front

When this function is called, the program waits for input; for the user to enter text

Back

Ignores

Front

How a computer handles comments.

Back

Strings

Front

Chunks of text

Back

Convention

Front

Optional but Standard way of doing things.

Back

Function Call

Front

A piece of code that tells our program to run the code inside a function

Back

NAME name

Front

Two separate variables which contain different values. Bad idea to use variables differently-cased in this way. If you switch the variables, your program will run by it will run incorrectly - this flaw being called a bug.

Back

Single Value

Front

Function calls evaluate to this.

Back

Parentheses at the end of the function

Front

Let us know we are talking about a function

Back

String Concatenation

Front

The operation of joining two strings together.

Back

Flow of execution

Front

The program's following of instructions step-by-step

Back

.py

Front

The file extension that denotes a python file.

Back

+

Front

You can add one string to the end of another by using this operator.

Back

#

Front

Pound Sign

Back

Concatenate

Front

link (things) together in a chain or series.

Back

Comments

Front

Used to remind you of what a program does or tell others who might look at your code what your code is trying to do.

Back

Single Quotes

Front

'

Back

input() function

Front

How the player will enter text into the program through the keyboard

Back

print() function

Front

After execution, this is how the computer will display text on the screen.

Back