Communication devices regular modem: 56,000 bps(bits per second) DSL (digital subscriber line)also uses a phone line and can transfer data in a speed 20 times faster than a regular modem cable modem uses the tv cable line Network interface card(ic)is a device to connect a computer to a local area network (LAn). 10Basel, can transfer data at 10 mbps(million bits per second) Memory Disk, CD, and Storage Input Keyboard Devices Devices Mouse CPU Modem and Communication Output Monitor NIC Devices Devices Printer Liang, Introduction to Java Programming, revised by dai-kaiyu
Liang, Introduction to Java Programming,revised by Dai-kaiyu 11 Communication Devices Øregular modem : 56,000 bps (bits per second). Ø DSL (digital subscriber line) also uses a phone line and can transfer data in a speed 20 times faster than a regular modem. Ø cable modem uses the TV cable line Ø Network interface card (NIC) is a device to connect a computer to a local area network (LAN). 10BaseT, can transfer data at 10 mbps (million bits per second). Memory CPU Storage Devices Disk, CD, and Tape Input Devices Output Devices Keyboard, Mouse Monitor, Printer Communication Devices Modem, and NIC
Programming Languages Machine Language Assembly Language High-Level Language Machine language is a set of primitive instructions built into every computer The instructions are in the form of binary code ☆“ Natural language” of computer component ☆ Machine dependent For example, to add two numbers 1101101010011010 Liang, Introduction to Java Programming, revised by dai-kaiyu
Liang, Introduction to Java Programming,revised by Dai-kaiyu 12 Programming Languages Machine Language Assembly Language High-Level Language Machine language is a set of primitive instructions built into every computer. The instructions are in the form of binary code v “Natural language” of computer component v Machine dependent For example, to add two numbers: 1101101010011010
Programming Languages Machine Language Assembly Language High-Level Language assembly languages are english-like abbreviations represent computer operations a program called assembler is used to convert assembly language programs into machine code to add two numbers: ADdF3R1. R2. R3 <下 sembly Source File Machine Code File Assembler ADDF3 R1, R2, R3 1101101010011010 Liang, Introduction to Java Programming, revised by dai-kaiyu 13
Liang, Introduction to Java Programming,revised by Dai-kaiyu 13 Programming Languages Machine Language Assembly Language High-Level Language Assembly languages are English-like abbreviations represent computer operations a program called assembler is used to convert assembly language programs into machine code. to add two numbers : ADDF3 R1, R2, R3 … ADDF3 R1, R2, R3 … Assembly Source File Assembler … 1101101010011010 … Machine Code File
Programming Languages Machine Language Assembly Language High-Level Language The high-level languages are English-like and easy to learn and program area=5*5*3.1415; Liang, Introduction to Java Programming, revised by dai-kaiyu
Liang, Introduction to Java Programming,revised by Dai-kaiyu 14 Programming Languages Machine Language Assembly Language High-Level Language The high-level languages are English-like and easy to learn and program. area = 5 * 5 * 3.1415;
Popular High-Level Languages jAva (we use it in the book) o COBOL(COmmon Business Oriented Language) ● FORTRAN O FORmula translation o By Ibm1954-1957 ● BASIC O Beginner All-purpose Symbolic Instructional Code 01965, Dartmouth university pAscal (named for blaise pascal designed for teaching structured programming o Ada (named for Ada lovelace) Liang Introduction to Java Programming, revised by Dai-kaiyu
Liang, Introduction to Java Programming,revised by Dai-kaiyu 15 Popular High-Level Languages lJava (We use it in the book) lCOBOL (COmmon Business Oriented Language) lFORTRAN ¡FORmula TRANslation ¡By IBM 1954-1957 lBASIC ¡Beginner All-purpose Symbolic Instructional Code ¡1965, Dartmouth university lPascal (named for Blaise Pascal) ¡designed for teaching structured programming lAda (named for Ada Lovelace)