Skip to main content

Solution Manual for Computer Organization, Design, and Architecture, 6E By Sajjan G. Shiva_compresse

Page 1

Chapter 1 INTRODUCTION

1.1.

Hardware: the physical components of a system. Firmware: low level programs that typically reside in ROM and control the system's hardware. Software is the collection of programs that enables the system to perform specific tasks.

1.7.

This year the transistor is 1 micron in diameter. Next year the transistor is ½ micron in diameter. Two years from today, the transistor is ¼ micron in diameter.

1.8.

There are 2

10

kilobytes in a megabyte of memory.

There are 210 megabytes in a gigabyte of memory.

1 1-1


1.11 Yes, in general. Usually when the program needs a certain amount of memory to run and the available memory is less than that amount; a lot of extra operations are done to use the available memory step by step to the immediate needs and temporarily storing the other runtime-content of the program elsewhere. Once the available memory is more than what is needed for the execution any further increase in the memory size won’t affect the performance. On the other hand if the available memory is less than a certain critical size then the program may not even execute.

1.12 As the computers began to be mass produced at cheaper cost,they were used for more complex applications than just to interact with a few I/O devices. This led to the development of complex software. As the length of the programs increased it became too tedious to write them in the low level languages without errors. For this purpose high level languages emerged which had data-structures and programming paradigms which are closer, in principle, to the structure of the solution than the framework of implementation on machines. For example it is nearly impractical to write a complex web-server running a database in a low level language with the regular applications of today's transactions. Along with the development of complex programming structured software another important evolution of computers are in small, embedded, mobile, remotely operated computers doing some very specialized jobs. These are running on very low power with extreme restrictions on memory and processing power. It is a very significant demand to have extremely optimized programs using each resource minimally to do the job. In these cases, the generic software compiled machine code of a very high-level-language would be wasting a lot of resources. Therefore the low-level-languages have a lot of relevance today in running these devices.

1.13 The high level languages are strongly suitable to 1. Write long and complex programs 2. Write programs which are closely reflect the solution to the problem being solved than the machine implementation of the solution 3. To write programs and debug it using debuggers 4. Write programs which run on different platform with a very little or no changes (portability) 5. Write programs which are safer, so that they won’t crash the whole system if they have a bug

1-2


6. write programs which are suited for security, so that the program access only that memory which it should and wont tress pass into other parts of memory and does not allow other programs to access its memory so on ... The high level languages have the following disadvantages. 1. The programs when converted into machine code are usually way longer than the optimal length for the task they are doing. 2. The programs will be not using the machine instructions optimally. 3. The programs waste lot of memory and time by taking steps not necessary. So on... The low level languages have the following advantages. 1. The programs would be compact in terms of instruction usage. 2. The programs use very less memory 3. The programs are very fast. 4. The programs in general tend to use all the hardware resource available very efficiently. So on... The low level languages have the following disadvantages. 1. The programs must be short. As the length increases it becomes hard to keep track of all the things going on. 2. Usually debugging will be difficult. 3. The programs are usually not portable to other platforms. 4. Many advanced programming paradigms are difficult to be used and may not be convenient to implement. So on … In the foreseeable future there is a place for both high-level-languages and lowlevel-languages. There is continuous development of new programmable hardware using low level languages and there are very sophisticated and complex software being built over the general computer network environments, which are suitable for programming in high level languages.

1-3


1.14 The listings below are observations about the features as of this writing. These features change rapidly. No.

Feature

Tablet PC

Laptop

1.

Hardware support

It is basically made to work on its own. The touchscreen is the primary I/O device. Others are optional. Supports fewer devices connecting through non-USB ports. Has electronic memory. Not much upgrade options.

Basically made to work on its own and as a control center. Screen/Keyboard combo is the primary I/O. Supports more devices with multiple types of ports. Has memory drives. Upgrade options are prevalent.

2.

Performance

Primarily used as an interface for web application and lightweight audio visual entertainment. Very light weight local computation is the norm.

Primarily used as a computational, software-development and controlling device. Locally supports medium range computation and heavy duty gaming. Has larger memory.

3.

Software

Usually has slimmed down OS and applications.

Have full blown version applications with more features.

4.

Platform

Platform for use of software. Not convenient for development of fullfledged software development.

Platform for softwaredevelopment. Runs development environments and wider range of installability of software.

5.

Primary Utility

As a mobile interface for person to the cloud and personal computational space.

As a workhorse for personal computational space and controller of primary presence in the cloud.

1-4


Turn static files into dynamic content formats.

Create a flipbook