Programming
More Programming Process
Algorithms
coding
Documentation and Use Cases
100

When you collect data from the user

What is the input() function?

100

A statement that is inside quotes. 

What is output? Either used as a print() function or to ask a question in an input() function. 

100
What is a set of steps that create an ordered approach to a problem solution?
Algorithm.
100
This is a mix of English and code that tells your program what to do.
Pseudocode.
100
Comments are important because...
If you return to them later you will know what your code means, or if someone else works on your code then they will know what it means.
200

A condition that must be true

What is an if statement? 

200

When you write the program, you should always make sure that...

You have a program description and in-line commenting

200

Name one of the methods to writing an algorithm.

Plain English/Pseudocode

200
This is an example of Sub btnCheckGuess_Click() randomNumber = 37 Get playerGuess from text box If playerGuess = randomNumber then Display "Correct" Elself playerGuess < randomNumber Then Display "Guess too low" Else Display "Guess too high" End Sub
Pseudocode.
200
Should every line be commented?
No, only lines that perform operations or lines that may cause confusion should be commented.
300

In Python, the code reads top to bottom. 

What is Top-Down Design?

300

The structure and rules of a programming language

What is Syntax?

300
Your algorithm not only tells your program what to do, but...
how to do it.
300
These use symbols and text to give a visual representation of a solution to a problem.
Flowchart.
300

when something is false and end the program

What are boolean operators or conditions? (used in if/else or while loops. 

400

A type of program/application that reads whole programs as one block? 

What is a compiler? 

400

A good way to debug a program. 

What is the # hash tag to block out sections that are giving errors? 

400

1. Leave classroom. 2. Turn right out of school building. 3. Walk 1.2 miles. 4. Turn right on street. 5. Go to 4th house.

This is an example of a pseudo code algorithm.

400

when beginning to code, the actual code should begin with

What is an assigned variable?

400

This is am important aspect when working on a group coding project

What is documentation or in-line coding? 

500

When you are calculating numbers and you get a Data Type error

What is int() or float() to converts strings to numbers?

500

Name all of the steps of the programming process in order.

1. Identify the problem. 2. Design the solution. 3. Write the program. 4. Test the program. 5. Document and maintain the program.

500
If the user does not provide the correct data into an algorithm, then you can use this to restart from a previous step.
Loop.
500

when some thing is always true and restarts

What is a while loop (with a boolean condition)?

500

this is ==

What is a comparison operator that represents 'equals'?

M
e
n
u