Lesson One A bit (short for binary digit) is the smallest unit of data in

advertisement
August 21, 2015
Lesson One
Bit:
A bit (short for binary digit) is the
smallest unit of data in a computer. A
bit has a single binary value, either 0 or
1.
August 21, 2015
Byte:
The byte is a unit of digital
information that most commonly
consists of eight bits. Historically, the
byte was the number of bits used to
encode a single character of text in a
computer and for this reason it is the
smallest addressable unit of memory
in many computer architectures.
August 21, 2015
Binary Numbers:
In mathematics and digital electronics, a
binary number is a number expressed
in the binary numeral system, or
base-2 numeral system, which
represents numeric values using two
different symbols: typically 0 (zero) and 1
(one). The base-2 system is a positional
notation with a radix of 2.
August 21, 2015
RGB Color Values
http://www.rapidtables.com/web/color/
RGB_Color.htm
August 21, 2015
Sequence:
In mathematics, a sequence is an
ordered collection of objects in which
repetitions are allowed. Like a set, it
contains members (also called elements,
or terms). The number of elements
(possibly infinite) is called the length of
the sequence. Unlike a set, order
matters, and exactly the same elements
can appear multiple times at different
positions in the sequence.
August 21, 2015
Sequence (code):
One of the three basic logic structures in
computer programming. The other two
logic structures are selection and loop.
In a sequence structure, an action, or
event, leads to the next ordered action in a
predetermined order. The sequence can
contain any number of actions, but no
actions can be skipped in the sequence.
The program, when run, must perform
each action in order with no possibility of
skipping an action or branching off to
another action.
August 21, 2015
Selection:
Also called a decision, one of the three
basic logic structures in computer
programming. The other two logic
structures are sequence and loop.
In a selection structure, a question is
asked, and depending on the answer, the
program takes one of two courses of
action, after which the program moves on
to the next event.
This structure is sometimes referred to as
an if-then-else because it directs the
program to perform in this way: If Condition
A is True then perform Action X else
perform Action Y.
August 21, 2015
Loop:
One of the three basic logic structures in
computer programming. The other two logic
structures are selection and sequence.
In a loop structure, the program asks a
question, and if the answer requires an
action, it is performed and the original
question is asked again until the answer is
such that the action is no longer required.
Each pass through the loop is called an
iteration. Loops constitute one of the most
basic and powerful programming concepts.
August 21, 2015
Download