1 / 40

Introduction to Computers and Terminology

Introduction to Computers and Terminology. CS280 – 09/01/05. Why do we care?. Communication requires specific language. Different fields and activities have different languages. Understanding the language can help you understand the activity and vice versa.

Download Presentation

Introduction to Computers and Terminology

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to Computers and Terminology CS280 – 09/01/05

  2. Why do we care? • Communication requires specific language. • Different fields and activities have different languages. • Understanding the language can help you understand the activity and vice versa. • Sports, hobbies, majors, businesses, etc. all have their own languages and these languages help us to communicate effectively with others in that same field.

  3. Objectives At the conclusion of this section you will be able to: • identify the basic components of a computer system. • define the difference between volatile and non-volatile memory • order different size words used in the computing field • identify the difference between hardware and software • identify the difference between OS software and application software • identify common elements of standard user interfaces • begin to “look under the covers” of your computer and its applications

  4. Computer processor CU ALU main memory – RAM auxilliary storage volatile vs persistent hard disk floppy disk input device output device device driver boot shortcut menu command button control file type GUI WYSIWYG software, hardware treeware, wetware algorithm program execute abstraction generalization Objectives – you will be able to define the following terms

  5. We will start with what a computer is

  6. Figure 1.1. Examples of the monolithic (a) and component (b) systems. a. b.

  7. Figure 1.9. A component-approach computer.

  8. Figure 9.2. The principal components of a computer. von Neumann architecture – developed by John von Neuman

  9. Figure 1.10. A motherboard.

  10. Central Processing Unit or CPU • The CPU consists of the ALU and CU. • The ALU – Arithmetic Logic Unit – processes operations (adding, subtracting, logical operations, etc.) • The CU – Control Unit – controls the flow of activity, processing one tiny instruction at a time. • One action at the user end results in many instructions in the CU

  11. Storage • Two storage types • Volatile – Main memory – temporary storage. If machine is turned off, main memory is lost. • RAM/ROM • Non-volatile – Auxiliary storage. If machine turned off, the non-volatile memory remains. Hard drive, floppy disks, tapes, etc. • RAM • Sequential • All memory is composed of binary devices.

  12. Computers are binary machines • A binary device consists of two states. • Refer to these states as on or off or high voltage/low voltage. • Represented as 0 (off) and 1 (on). • All numbers, characters, instructions, etc are represented as a series of 1’s and 0’s. • Bits are grouped into 8-bit segments called bytes. • Most computers have byte addressability. • All storage is binary • We also refer to computers as digital as opposed to analog.

  13. Main memory • Main memory is volatile storage. • It retains its values only while there is power to the machine. • When power is lost or the machine is shut down, the memory is wiped clean. • Think of it as the computer’s desktop. We can work on the items only while they are on the desk. When we leave, we move them into permanent storage, since they are vulnerable to loss if they remain.

  14. Main memory consists of • a series of “bits”. • each can have one of two values – on or off. • On is interpreted as a 1 and off is interpreted as the value 0. • All data is represented as some sequence of 0’s and 1’s on a modern digital computer.

  15. Figure 1.11. Sequential versus random storage access.

  16. Main memory is accessed randomly • That means that each location can be accessed independently of all others. • Think of the library. You don’t have to go through all of the books to find one. You go to an index and then can go rapidly to the section then the book you are interested in. • Random access is this kind of access method.

  17. CPU and main memory • The processor of the computer works with main memory. • Anything that the processor is going to operate on has to be in memory. • Anything that comes in or out must go through main memory. • It is like your desktop. What is on top can be worked on. What is sitting in a file cannot be.

  18. Addressability • Memory is a collection of cells, each with a unique physical address. Most machines are 8-bit…a cell consists of one byte. From Dale

  19. Auxiliary Storage (“Permanent” Storage) • Hard drives • Floppy drives • Memory sticks (USB devices) • tape These are all also input/output devices – we can read from and write to. Some CD/DVD are only input, others are input/output. We describe the size of the storage in terms of bytes. Or in other words how many 8 bit locations are on that medium.

  20. Sizes in Perspective Page 119

  21. Figure 1.12. A hard disk.

  22. Magnetic Disks • A read/write head travels across a spinning magnetic disk, retrieving or recording data Figure 5.5The organization of a magnetic disk

  23. Internal drives and external storage • Floppy disks share the same basic mechanism as the hard drive. • Only one platter.

  24. Magnetic Tape • The first truly mass auxiliary storage device was the magnetic tape drive Figure 5.4 A magnetic tape

  25. Compact Disks • A CD drive uses a laser to read information stored optically on a plastic disk • CD-ROM is Read-Only Memory • DVD stands for Digital Versatile Disk

  26. Other parts of the computer system • Input devices – mouse, keyboard , camera, scanner – converts analog (real world) to binary representation (or digital). • Output devices – printer, display – converts binary back to something we can deal with.

  27. Connections • The parts are connected to one another by a collection of wires called a bus Figure 5.2 Data flow through a von Neumann architecture

  28. Beyond the hardware

  29. Computing Systems (Cont’d) Hardware: The physical elements of a computing system (printer, circuit boards, wires, keyboard…) Software: The programs that provide the instructions for a computer to execute 3

  30. One other component • Wetware – The human user. A computer system needs the human being to get things started, provide input, interpret output, etc.

  31. Hardware vs Software • Hardware is the “hard stuff”. All of the electronics and peripherals are hardware. • Software is the stuff that we cannot touch. • Software is the instructions that the computer executes and the data on which it operates.

  32. Software vs data • We might have an application such as Word. • The application does the activity for us. • The data are the words, formatting instructions, special characters that make up the document. • Data can also be provided to the application via the keyboard or the mouse.

  33. Kinds of software • Operating system • Examples are Windows, Linux, Mac OS • Each provides similar services • Each provides the tools that allow a user to interact with the hardware without having to deal with the detail. (see Abstraction). • Applications • System tools (used by programmers) • User tools (used by humans) • Examples are Word, PeopleSoft, Myst, editors, compilers

  34. Operating systems • Provide a layer between the user applications and the hardware. • Manage the processes. Keeps track of which processes are active and in what order requests for services are processed. • Keeps track of the various storage locations…main memory, auxilliary storage, etc.

  35. Application software • Early applications were very specific. If I had to write a report, I had a program to do so. • Examples are e-campus and Blackboard. • More recently, generic user tools came into being. The use that the user will put to the tool is determined by what they want to do, not what the programmer designed into it. • Examples are the general purpose tools of word and excel.

  36. Computing as a Tool Programmer / User Systems Programmer (builds tools) Applications Programmer (uses tools) Domain-Specific Programs User with No Computer Background 20

  37. User interfaces • User interface – What the user sees and “interacts” with. • It is the virtual image of what the user is trying to do. • When I type on the keyboard, I usually see an echo of what I am typing. But it looks like I am directly typing onto the screen.

  38. Good interfaces • Intuitive • Consistent across applications • Aesthetic • Useful • Let’s look at some examples

  39. WYSIWYG • Acronym for What You See Is What You Get • Word uses a WYSIWYG interface. • See HTML document for a non-WYSIWYG interface (and an example where a generic editor is used to write code intended to be run under another application)

  40. Interface features • Control buttons • Sliders • Minimize, maximize, and variable size • Menus – expected functionality

More Related