Computer Organization
Download
Report
Transcript Computer Organization
Computer
Organization
By: Kimberly Chiffens
Maria Jannelli
THE DEFINITION
Computer Organization is learning about the
computer’s input and output. It is learning about what
the computer understands which is 1s and 0s. An
example is the Binary System.
It is learning the ins and outs of the computer such as
the CPU.
The computer organization shows the essential parts of
the system and how they are interconnected.
Computer organization shows how the parts of the
system work in order to apply to the architectural
specification.
THE MAIN CONCEPTS
1. THE BINARY SYSTEM- uses only 1 and 0,
usually used to convert decimal numbers into
binary numbers.
2. THE CPU- “the brains” of the computer. It
includes the most important parts of the
computer to help it function.
3. THE INPUT- the data that is put into the
computer. It will be stored into the memory.
THE MAIN CONCEPTS
4. THE OUTPUT- after the data is inputted,
the result is printed out.
5. THE MACHINE LANGUAGE- the
language made to understand the
binary system that is made up of 1s and
0s.
THE EXAMPLES
THE BINARY NUMBERS
EXAMPLE:
2 is inputted to be
converted into binary.
The result is 10
The Binary system will
only use 1s and 0s in the
result.
THE EXAMPLES
THE CPU
EXAMPLE:
The CPU chip
Known as the
microprocessor
Serves as the
processing elements
of a computer
system, embedded
system, or handheld
device
THE EXAMPLES
INPUT/OUPUT
EXAMPLE
Info is processed
into the computer
And the result is
printed
THE EXAMPLES
THE MACHINE
LANGUAGE
EXAMPLE
The computer only
reads 1s and 0s
In Binary, the decimal
number 2 is 10.
OUR EXAMPLE
Our programming example will ask the
user to enter a character.
The program will then convert the
character into binary form.
OUR EXAMPLE
#include<stdio.h>
int main(){
int bin[8];
int pe, np,q;
char c;
printf("Please enter a character to be converted to binary\n");
scanf("%c",&c);
printf("decimal form:%d\n",c);
pe=7;
while(c>0){
bin[pe]=c%2;
c=c/2;
pe--;
}
for(np=pe;np>=0;np--){
bin[np]=0;
}
printf("bin:");
for(q=0;q<8;q++){
printf("%d",bin[q]);
}
printf("\n");
return 0;
}
OUR PROGRESS
We’ve explored the languages in the
Binary System
We will be using the Binary System for
our programming example.
REFERENCES
1. Computer Science Illuminated
Nell Dale & John Lewis
http://cboard.cprogramming.com