Download presentation
Presentation is loading. Please wait.
Published byRussell May Modified over 9 years ago
1
Computer Organization By: Kimberly Chiffens Maria Jannelli
2
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.
3
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.
4
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.
5
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.
6
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
7
THE EXAMPLES INPUT/OUPUT EXAMPLE Info is processed into the computer And the result is printed
8
THE EXAMPLES THE MACHINE LANGUAGE EXAMPLE The computer only reads 1s and 0s In Binary, the decimal number 2 is 10.
9
OUR EXAMPLE Our programming example will ask the user to enter a character. The program will then convert the character into binary form.
10
OUR EXAMPLE #include #include int main(){ int bin[8]; 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; }
11
OUR PROGRESS We’ve explored the languages in the Binary System We will be using the Binary System for our programming example.
12
REFERENCES 1.Computer Science Illuminated Nell Dale & John Lewis http://cboard.cprogramming.com http://cboard.cprogramming.com
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.