Docsity

Java Chapter 1 - Introduction to Programming | COSC 111, Study notes of Computer Science

Toggle sidebar
bg1
Java CH 1 01/06/2011
THREE MAIN COMPONENTS IN ANY COMPUTER (Hardware)
CPU-Does the instruction Processing- Fastest part (Central
Processing Unit)
MEmpry- primary(RAM) and secondary(Hard Drive)
I/O devices- input/output- Input is keyboard, output is monitor ON
DESKTOP
Software( programs)
OS (Operating System)- Most important
Applications- Microsoft word, whatnot\
Program-A set of instructions for a computer, in binary
HLL(High Level Language)- English Like
Converted to machine code using a compiler (translator)
HLL program…. Compiler….. Object code
Binary Code
Decimal number system
o0,1,2,3,4….,9
Binary number system
o0,1 (Bits)
oBinary Digit
o(1 0 1 1) base2
o1x2^3 \
ogroup of 8 bits is called a byte

Partial preview of the text

Download Java Chapter 1 - Introduction to Programming | COSC 111 and more Study notes Computer Science in PDF only on Docsity!

Java CH 1 01/06/

 THREE MAIN COMPONENTS IN ANY COMPUTER (Hardware)  CPU-Does the instruction Processing- Fastest part (Central Processing Unit)  MEmpry- primary(RAM) and secondary(Hard Drive)  I/O devices- input/output- Input is keyboard, output is monitor ON DESKTOP  Software( programs)  OS (Operating System)- Most important  Applications- Microsoft word, whatnot
 Program-A set of instructions for a computer, in binary  HLL(High Level Language)- English Like  Converted to machine code using a compiler (translator)  HLL program…. Compiler….. Object code  Binary Code  Decimal number system o 0,1,2,3,4….,  Binary number system o 0,1 (Bits) o Binary Digit o (1 0 1 1) base o 1x2^3
o group of 8 bits is called a byte