{"id":1183,"date":"2015-04-07T15:46:09","date_gmt":"2015-04-07T22:46:09","guid":{"rendered":"http:\/\/sites.evergreen.edu\/compcog15\/?page_id=1183"},"modified":"2015-04-07T15:46:09","modified_gmt":"2015-04-07T22:46:09","slug":"chapter-one","status":"publish","type":"page","link":"https:\/\/sites.evergreen.edu\/compcog15\/classes\/week-2\/april-8\/chapter-one\/","title":{"rendered":"Chapter one"},"content":{"rendered":"<h3>1.1<br \/>\nA Balanced Introduction to Computer Science, 3\/E<br \/>\nDavid Reed \u00a9Pearson Prentice Hall, 2011<br \/>\nChapter 1 Review Question Solutions<br \/>\n1. TRUE or FALSE? In order to be classified as a &#8220;computer,&#8221; a device must have a<br \/>\nkeyboard and display screen.<br \/>\nFALSE<br \/>\n2. TRUE or FALSE? A bus is a collection of wires that carry information as electrical<br \/>\nsignals between the hardware components of a computer.<br \/>\nTRUE<br \/>\n3. TRUE or FALSE? As computer programs can be complex and difficult to write, they<br \/>\nare known as &#8220;hardware.&#8221;<br \/>\nFALSE<br \/>\n4. TRUE or FALSE? A bit is a unit of data that correspond to one of two potential values<br \/>\n(commonly written as 0 and 1).<br \/>\nTRUE<br \/>\n5. TRUE or FALSE? A kilobyte of storage is 210 = 1,024 bytes, where a byte is a<br \/>\ncollection of eight bits.<br \/>\nTRUE<br \/>\n6. TRUE or FALSE? A hard disk is classified as volatile memory, because it requires a<br \/>\nconstant power supply in order to retain its information.<br \/>\nFALSE<br \/>\n7. TRUE or FALSE? Keyboards and mice are examples of computer input devices.<br \/>\nTRUE<br \/>\n8. TRUE or FALSE? A directory is a collection of files that are organized together and<br \/>\nlabeled with a common name.<br \/>\n1.2<br \/>\nTRUE<br \/>\n9. TRUE or FALSE? The World Wide Web was developed in the early 1970&#8217;s, shortly<br \/>\nafter the creation of the Internet.<br \/>\nFALSE<br \/>\n10. TRUE or FALSE? A Web browser is an example of applications software.<br \/>\nTRUE<br \/>\n11. Describe the difference between hardware and software and identify two examples of<br \/>\neach type.<br \/>\nThe term hardware refers to the physical components of the computer, such as the<br \/>\nmonitor, keyboard, hard drive, etc. Software refers to the programs that execute (i.e.,<br \/>\nrun) on the computer, carrying out tasks such as word processing or accessing the Web.<br \/>\n12. Describe the three essential components of a computer that make up the von Neumann<br \/>\narchitecture. How do these components work together to produce a machine that can be<br \/>\nprogrammed to complete different tasks?<br \/>\nInput\/Output devices allow the user to communicate with the computer by entering<br \/>\ncommands and then viewing the results. Memory stores information for the computer to<br \/>\nprocess, as well as programs, or instructions specifying the steps necessary to complete<br \/>\nspecific tasks. Finally, the Central Processing Unit (CPU) is the component that carries<br \/>\nout programmatic steps in order to process data.<br \/>\n13. Modern computers integrate several different types of memory, such as cache, RAM,<br \/>\nhard disk, and floppy disk. Why are different types of memory used, as opposed to the<br \/>\nexclusive use of a particular technology? What would be the drawbacks, for example, of<br \/>\nusing only cache memory, or only hard disk?<br \/>\nDifferent types of memory have different characteristics with respect to cost and<br \/>\nvolatility. Main memory (cache and RAM) is fast, and so is used for data that is<br \/>\ncurrently being accessed. However, cache and RAM are too expensive for mass storage,<br \/>\nand they are volatile (requiring a constant flow of electricity to maintain stored values).<br \/>\nSecondary memory (hard disk, floppy disk, etc.) is much cheaper and permanent, but also<br \/>\nmuch slower than cache and RAM. However, it is sufficient for storing data that is not<br \/>\ncurrently needed.<br \/>\n14. Computer memory is usually grouped in bytes, which consist of 8 bits each. How many<br \/>\ndifferent values can be represented using a byte? How many different values can be<br \/>\nrepresented using two bytes?<br \/>\n1.3<br \/>\nOne byte (8 bits) can represent 28 = 256 different values. Two bytes (16 bits) can<br \/>\nrepresent 216 = 65,536 different values.<br \/>\n15. The Intel Core 2 Duo is an example of a processor, or CPU, as are the Celeron and<br \/>\nPowerPC. List the two main tasks that the CPU performs in controlling the computer\u2019s<br \/>\nworkings and provide a short explanation of each.<br \/>\nThe CPU is responsible for two key tasks: (1) fetching program instructions from<br \/>\nmemory, and (2) executing those instructions.<br \/>\n16. In what units are CPU speeds measured, and what does this measurement unit refer to?<br \/>\nIf one computer has a 2 GHz Celeron D processor and another has a 2 GHz PowerPC<br \/>\nprocessor, does that imply they will be able to execute the same program in the same<br \/>\namount of time? Explain.<br \/>\nCPU speed is generally measured in gigahertz (GHz), which indicates how many billions<br \/>\nof basic instructions a CPU can execute in a second. For example, a 2 GHz CPU can<br \/>\nexecute approximately 2 billion instructions in a second. Since different families of<br \/>\nCPUs will provide different basic operations, performance comparisons based on CPU<br \/>\nspeed are not always accurate.<br \/>\n17. Windows 7 is an example of an operating system, as are the Mac OS and Linux. List the<br \/>\nthree main tasks that the operating system performs in controlling the computer\u2019s<br \/>\nresources and behavior. Provide a short explanation of each.<br \/>\nThe most fundamental task performed by the operating system is to schedule the<br \/>\noperation of the CPU, controlling how data and instructions are loaded from memory and<br \/>\naccessed by the CPU. The operating system also manages the memory of the computer,<br \/>\norganizing storage into files and directories (or folders). Finally, the operating system<br \/>\nconnects the CPU and memory with the other hardware components of the computer,<br \/>\nallowing software applications to access memory and interact with the input\/output<br \/>\ndevices.<br \/>\n18. Describe three elements common to a Graphical User Interface (GUI)? How do these<br \/>\nelements make it easier for a user to interact with the computer.<br \/>\nA GUI utilizes intuitive, visual elements to simplify the process of viewing files and<br \/>\nexecuting programs. Programs, directories and files are represented as icons, or small<br \/>\npictures that convey some aspect of the element they symbolize. Windows represent<br \/>\nseparate workspaces that can be active at the same time, displaying files or executing<br \/>\nprograms. Most GUIs also utilize pull-down menus of commands, which allow the user<br \/>\nto identify and select common commands easily.<br \/>\n1.4<br \/>\n19. Suppose you are shopping for a personal computer that you plan to use exclusively for<br \/>\nemail and Web access. Which would be a better use of your limited funds \u2013 a faster<br \/>\nCPU or a larger hard drive? Why?<br \/>\nSince sending email and accessing the Web do not require extensive computation,<br \/>\nblazing speed is not necessary in a CPU. Most of the time, the CPU will be idle while<br \/>\nyou are typing an email, or reading a message or Web page. On the other hand, if you are<br \/>\ngoing to be storing a large number of messages and downloading files off the Web, lots<br \/>\nof hard drive space might prove useful.<br \/>\n20. It has been said that the Internet could exist without the Web, but the Web couldn&#8217;t exist<br \/>\nwithout the Internet. Why is this true?<br \/>\nThe Internet is a vast, international network of computers, which existed more than 20<br \/>\nyears before the World Wide Web. Many networking applications are supported by the<br \/>\nInternet, such as email, instant messaging, ftp (file transfer), and the Web. The Web is a<br \/>\ncollection of software that spans the Internet and enables the interlinking of documents<br \/>\nand resources.<br \/>\n21. What is a Web server, and what role does it play in the World Wide Web?<br \/>\nA Web server is an Internet-enabled computer that executes software for providing access<br \/>\nto Web documents. When the server receives a request for a particular page from a Web<br \/>\nbrowser, it locates the specified page in its directories and sends the page back to the<br \/>\nbrowser via the Internet.<br \/>\n22. Consider the following fictional URL: http:\/\/www.acme.com\/products\/info.html.<br \/>\nWhat does each part of this URL (separated by slashes) specify?<br \/>\nhttp:\/\/, specifies that the HyperText Transfer Protocol should be used in<br \/>\ncommunications between the browser and server. www.acme.com identifies the Web<br \/>\nserver that stores the page. products is a directory on that server, and info.html is the<br \/>\nname of the file stored in that directory.<\/h3>\n","protected":false},"excerpt":{"rendered":"<p>1.1 A Balanced Introduction to Computer Science, 3\/E David Reed \u00a9Pearson Prentice Hall, 2011 Chapter 1 Review Question Solutions 1. TRUE or FALSE? In order to be classified as a &#8220;computer,&#8221; a device must have a keyboard and display screen. FALSE 2. TRUE or FALSE? A bus is a collection of wires that carry information [&hellip;]<\/p>\n","protected":false},"author":274,"featured_media":0,"parent":1139,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"_mi_skip_tracking":false},"_links":{"self":[{"href":"https:\/\/sites.evergreen.edu\/compcog15\/wp-json\/wp\/v2\/pages\/1183"}],"collection":[{"href":"https:\/\/sites.evergreen.edu\/compcog15\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.evergreen.edu\/compcog15\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.evergreen.edu\/compcog15\/wp-json\/wp\/v2\/users\/274"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.evergreen.edu\/compcog15\/wp-json\/wp\/v2\/comments?post=1183"}],"version-history":[{"count":0,"href":"https:\/\/sites.evergreen.edu\/compcog15\/wp-json\/wp\/v2\/pages\/1183\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/sites.evergreen.edu\/compcog15\/wp-json\/wp\/v2\/pages\/1139"}],"wp:attachment":[{"href":"https:\/\/sites.evergreen.edu\/compcog15\/wp-json\/wp\/v2\/media?parent=1183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}