Feeds:
Posts
Comments

Archive for December 4th, 2007

Data Types

1.Definition of Data Types:
Characters: Characters are a data type which provides a visual representation on the computer of printable characters. They can letters, numbers and other symbols
Integers: This data type is used to represent whole numbers without fractional parts.
Floating point numbers: Floating point numbers are used to represent numbers in scientific notation.3 × 10-5
Strings: Strings are [...]

Read Full Post »

Control Structures

Dec 3 Q5: Control Structures
December 2, 2007

What is the purpose of a control structure?
The Purpose of a control structure is to when a program does not follow the linear sequence of instructions, and it does things like repeat codes and take decisions, a control structure is what is used to specify the instructions that will [...]

Read Full Post »

Algorithm

Write a simple, one-sentence definition of an algorithm (in the general sense, not the computer or mathematical sense). Give an example from your real life where you use an ‘algorithm’ on a regular basis.
An algortithm is a well defined set of steps or rules which are set to solve a problem. An example of algortithm [...]

Read Full Post »

Binary

Answer must be ≥150 words.
1. What does binary mean? (Give an example to explain.)
2. Explain the process of how to convert an 8-digit binary number into a decimal number, and give an example of how this works. Binary is the definition given to anything that is characterized in terms of two.Bi- the Latin prefix for [...]

Read Full Post »