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 [...]
Archive for December 4th, 2007
Data Types
Posted in Uncategorized on December 4, 2007 | Leave a Comment »
Control Structures
Posted in Uncategorized on December 4, 2007 | Leave a Comment »
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 [...]
Algorithm
Posted in Uncategorized on December 4, 2007 | Leave a Comment »
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 [...]
Binary
Posted in Uncategorized on December 4, 2007 | Leave a Comment »
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 [...]