Coding Definition

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

Boolean Variable

-has only two values: true or false. You might have certain things that happen only when the variable called game over is false, for example.

Computer

A machine that inputs, outputs, stores, and processes information

Parameter

A type of variable used as input to a function or routine.

Boolean operators

AND, OR, and NOT To make working with Booleans useful for solving more complex decisions and searches, we can connect two or more Booleans into one decision statement

Output

An output device is any device used to

Try

Building or testing something

Reflect

Examine, compare, and discuss reasons why something happened the way it did.

Prepare

How do we proceed? What approach do we use? What's a potential problem?

Event Handlers

In programming, an event is an action done by the user, such as pressing a key or clicking a mouse button. an event handler is a routine that responds to an event.

Psuedocode

Pseudocode is like a detailed outline or rough draft of your program. Pseudocode is a mix of natural language and code.

PROCESSING

Work done(possibly by a computer) to turn an input into an output

Conditions

a certain Condition or rule that has to be met that tells the computer when to perform a certain task. Conditionals follow the format of IF this this, THEN that. Also includes: if, Then, Else, And, Or

Loop

a form of iteration. A loop repeats code until a certain condition is met.

Boolean

boolean data type has only two values: true or false. In true binary fashion, these two values can be represented by the numbers 1 = true, and 0 = false. Useful in programming for decision-making, often deciding when certain functions and parts of programs should start or stop running and are also used in database searches.

STORAGE

computers "store" information they need to come back later. A Computer does not remember where something is, unless it is stored somewhere.

Number Variable

could hold numerical data such as the year, the temperature, or the degree of acceleration.

Variables

hold the value of information that may change. In a game program, a variable may be created to hold the player's current score, since that value would change during the course of the game. Variables hold a specific type of information.

String Variable

holds a string of alphanumeric characters such as a person's name, a password, or the day of the week.

Sprite

is a special variable that represents a single dot on the screen and holds two separate values for the row and column the dot is currently in.

Constant

meaning it does not change throughout the course of the program. An example of a constant in math is 'pi' because 'pi' has one value that never changes.

Axes

part of coordinate grid. Has an x and y axis which runs horizontally and a vertically.

Iterative

relating to or involving iteration

Algorithm

series of commands a computer uses to process information.

Input

something you plug in, move, touch, or use with a computer, cell phone, game system, or other similar device

Coordinate pair

the first value in a coordinate pair is the x value and the second value in a coordinate pair is the y value. (remember the alphabet: x always comes before y

Problem solving process

the process by which we problem solve. 4 steps : define, prepare, try, reflect

Iteration

the repetition of a process

Computer Science

the study of the use of computers

THE MOMORY

this is how the computer remembers things. There are two types of memory.

THE PROCESSOR

this is usually a small chip inside a computer, and its how the computer processes and transforms information. CPU stands for central processing unit. you can think of the processor as the brains of the computer - the faster the process.

Define

understanding what the problem is to be solved

Origin

where both the x and the y values are zero. Origin is in the lower left corner of the grid and has the coordinates (0,0).


Set pelajaran terkait

WileyPlus Questions Chapter 14 (brain and cranial nerves)

View Set

Physics CH 19- Magnet Forces and Fields

View Set

Chapter 17:Nomadic Empires and Eurasian Integration

View Set

Chapter 47: Lipid-Lowering Agents

View Set

Chapter 4: Ethics and Information Security: MIS Business Concerns

View Set

Nakiyah's Entrepreneurship study guide test 3

View Set

2-Hip Joint and Pelvic Girdle NOTES

View Set