• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/21

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

21 Cards in this Set

  • Front
  • Back

Constants

These store values, but, as the name implies, those values remain constant throughout the execution of the program.

Variables

These store data, or values, that will change at the user interacts with the program.

Data

This could consist of facts or statistics used for analysis. It could be numbers, characters, symbols or images that are processed by a computer. On its own, data carries no meaning. It needs to be interpreted or processed in some way to take on meaning.

Knowledge

Information about things, facts and concepts which have been shared between people.

Information

When data takes on meaning. It could be a sentence of words, a sequence of numbers or a series of images with context, which is what gives data its meaning. Information can also be used to communicate, control and instruct.

What do computers allow us to do?

They allow us to acquire data, store it, retrieve it and combine it with other data.

Input devices

They allow us to remotely detect the data eg. keyboards, microphones or touchscreens.

Output devices

They allow us to present the results of the computer processing (information) eg. a screen or speakers.

Primitive Data Type

Predefined types of data which are supported by the programming language.

Integer

Deals with whole numbers that can be positive, zero or negative. They can't be decimals or fractions.

Real numbers

Numeric data in a decimal form. Used for when more accurate information is needed than an integer can provide. Useful for speed, distance, weight, etc. but it can't store the unit.

Why have integers?

Integers take less time to calculate with than real numbers.


They also take up less memory than real numbers.

Boolean

Represents the values of true/false. Boolean logic is a mathematical comparison to evaluate true and false.

String

Is capable of holding any alphanumeric character like text, numbers and symbols. You can't perform mathematical calculations on numbers in strings.

Date/Time

This is useful because you can choose the format you want the date to be displayed in. It also allows the date to automatically be validated to make sure that it is in the right format.

Data Entity

A data model that has three parts: a structure, a collection of rules and the operators to be applied to the data.

Compiler

A special program that processes the lines of code by turning them into machine language or "code" that the system's processor uses.

Identifier

A name that allows you to refer to a reserved area of memory (a variable).

Rules for naming variables

1. The name can be as short as a single letter but not a single number


2. The name can start with a letter or an underscore


3. After the first character, the name can include letters, numbers or underscores in any combination


4. It cannot be one of the words that the language has reserved for its own use eg. print.

Array

A type of variable, but it's more like creating a box containing a group of variables within it. Unlike simple variables, arrays can contain more than one piece of data.

Class

A description of an object. You simply define the parts of the object (eg. wheels, seats, steering wheel, engine) and what you can do with it (drive, race, crash, park, clean).