
Concept explainers
Fill in the blanks in each of the following statements:
a) The logical unit of the computer that receives information from outside the computer
for use by the computer is the_________.
b) The process of instructing the computer to solve a problem is called_____.
c) ________is a type of computer language that uses English-like abbreviations for machine-language instructions.
d) _________________is a logical unit of the Computer that sends information which has already
been processed by the computer to various devices so that it may be used outside the
computer.
e) ________and________are logical units of the computer that retain information.
f) _________is a logical unit of the computer that performs calculations.
g) __________is a logical unit of the computer that makes logical decisions.
h) __________languages are most convenient to the programmer for writing
quickly and easily.
i) The only language a computer can directly understand is that computer's _______.
j) ________is a logical unit of the computer that coordinates the activities of all the other
logical units.

a. To provide a name for the logical unit in the computer that receives information from outside the computer.
Answer to Problem 1.4E
Input unit
Explanation of Solution
All data, information or instructions are received in computer from input units. Input units are responsible for receiving data from users and sending this data to the central processing unit where it can be processed.
Therefore, the logical unit of the computer that receives information from outside for further processing by computrer is the “input unit”.

b. To name the process of instructing the computer to solve a problem.
Answer to Problem 1.4E
Programming
Explanation of Solution
Certain sets of instructions to accomplish a task are provided to computer in form of programs. The process of writing these instructions is known as programming. Therefore, the process of instructing the computer to solve a problem is called “programming”.

c. To name the type of computer language that uses English-like abbreviations for machine-language instructions.
Answer to Problem 1.4E
Assembly language
Explanation of Solution
Machine language can be directly understood by the computer. A machine language consists of only 0s and 1s since the computer can understand only these two symbols. Due to this, Machine language is difficult to understand and it is hard to provide the simplest instructions to the computer using this language. Therefore, assembly language was introduced to act as an interface between machines and humans. Assembly language uses English-like abbreviations, which makes it easier to be understood by humans. The instructions written in assembly language are converted to machine language for further processing.
Therefore, “Assembly language” is a type of computer language that uses English-like abbreviations for machine-language instructions.

d. To name the logical unit of the computer that sends already processed information to the outside world.
Answer to Problem 1.4E
Output unit
Explanation of Solution
One part of the logical unit is responsible for shipping the processed data of the computer to the users. This unit is known as the output unit
Therefore, the “Output unit” is a logical unit of the computer that sends information that has already been processed by the computer to various devices so that it may be used outside the computer.

d. To name the logical units of computer that retains information.
Answer to Problem 1.4E
Memory Unit and Secondary storage unit
Explanation of Solution
The memory unit holds the data that is to be used by the central processing unit (CPU). The memory unit has fast data transfer speed and therefore is in direct contact with CPU. Memory unit is temporary storage and loses its data as soon as the computer is turned off.
The secondary storage unit is responsible for holding data for a longer period of time as compared to the memory unit. The data transfer rate of the secondary storage unit is much smaller as compared to the memory unit. In this unit, data is not lost even after computer power is turned off. So, Secondary storage unit is for long term usage.
Therefore, “Memory unit” and “Secondary storage unit” are logical units of the computer that retain information.

f. To name the logical unit of the computer that performs calculations.
Answer to Problem 1.4E
Arithmetic logic unit
Explanation of Solution
All calculations such as addition, subtraction, multiplication, etc. are performed by Arithmetic logic unit (ALU).
Therefore, “Arithmetic logic unit” is a logical unit of the computer that performs calculations.

g. To name the logical unit of the computer that performs logical decisions.
Answer to Problem 1.4E
Arithmetic logic unit
Explanation of Solution
Along with performing arithmetic calculations, the Arithmetic logic unit is also responsible for performing logical decisions inside a computer system such as comparing whether any two items from computer memory are equal or not.
Therefore, “Arithmetic logic unit” is a logical unit of the computer that makes logical decisions.

h. To name the languages which are most convenient to the programmer for writing programs quickly and easily.
Answer to Problem 1.4E
High-level
Explanation of Solution
Programming languages can be categorized into three, they are machine language, assembly language and high-level language. Among these, high-level language is the most user-friendly as it follows English like syntax. Programming with high-level languages makes it easier for programmers to provide an efficient program.
Therefore, “High-level” languages are most convenient to the programmer for writing programs quickly and easily.

i. To name the computer language that a computer can directly understand.
Answer to Problem 1.4E
Machine language
Explanation of Solution
Machine language is represented by two symbols, i.e., 0 and 1. A computer can understand only machine language. Programs written in any language are first converted to machine language before being executed.
Therefore, the only language a computer can directly understand is the computer’s “Machine language”.

j. To name the logical unit of the computer that coordinates all the activities of all logical units.
Answer to Problem 1.4E
Central Processing Unit (CPU)
Explanation of Solution
CPU is considered as an administrative unit for a computer. It tells the input unit when information should be read into the memory and sent for processing by ALU. It also instructs the output unit about when to transfer data to the user.
Therefore, the “Central Processing Unit (CPU)” is a logical unit of the computer that coordinates the activities of all the other logical units.
Want to see more full solutions like this?
Chapter 1 Solutions
C++ How to Program (Early Objects Version)
Additional Engineering Textbook Solutions
Starting Out With Visual Basic (8th Edition)
Java: An Introduction to Problem Solving and Programming (8th Edition)
Mechanics of Materials (10th Edition)
Starting Out with Java: From Control Structures through Objects (7th Edition) (What's New in Computer Science)
Web Development and Design Foundations with HTML5 (8th Edition)
Degarmo's Materials And Processes In Manufacturing
- Draw a system/level-0 diagram for this scenario: You are developing a new customer relationship management system for the BEC store, which rents out movies to customers. Customers will provide comments on new products, and request rental extensions and new products, each of which will be stored into the system and used by the manager for purchasing movies, extra copies, etc. Each month, one employee of BEC will select their favorite movie pick of that week, which will be stored in the system. The actual inventory information will be stored in the Entertainment Tracker system, and would be retrieved by this new system as and when necessary. Example of what a level-0 diagram looks like is attached.arrow_forwardWhat is the value of performing exploratory data analysis in designing data visualizations? What are some examples?arrow_forwardDraw a level-0 diagram for this scenario: You are developing a new customer relationship management system for the BEC store, which rents out movies to customers. Customers will provide comments on new products, and request rental extensions and new products, each of which will be stored into the system and used by the manager for purchasing movies, extra copies, etc. Each month, one employee of BEC will select their favorite movie pick of that week, which will be stored in the system. The actual inventory information will be stored in the Entertainment Tracker system, and would be retrieved by this new system as and when necessary.arrow_forward
- Draw a context diagram for this scenario: You are developing a new customer relationship Management system for the BEC store, which rents out movies to customers. Customers will provide comments on new products, and request rental extensions and new products, each of which will be stored into the system and used by the manager for purchasing movies, extra copies, etc. Each month, one employee of BEC will select their favorite movie pick of that week, which will be stored in. the system. The actual inventory information will be stored in the Entertainment Tracker system, and would be retrieved by this new system as and when necessary.arrow_forwardWrite a complete Java program named FindSumAndAverage that performs the following tasks in 2-D array: Main Method: a. The main() method asks the user to provide the dimension n for a square matrix. A square matrix has an equal number of rows and columns. b. The main() method receives the value of n and calls the matrixSetUp() method that creates a square matrix of size n and populates it randomly with integers between 1 and 9. c. The main method then calls another method named printMatrix() to display the matrix in a matrix format. d. The main method also calls a method named findSumAndAverage() which: • Receives the generated matrix as input. • Calculates the sum of all elements in the matrix. • Calculates the average value of the elements in the matrix. • Stores these values (sum and average) in a single-dimensional array and returns this array • e. The main method prints the sum and average based on the result returned from findSumAndAverage()). Enter the dimension n for the square…arrow_forwardThe partial sums remain the same no matter what indexing we done to s artial sum of each series onverges, * + s of each series to the series or show 12. (1)+(0)+(0)+(+1)+ 17, " (F) + (F) + (F)(F)(- 18. 19. 1 #20. (三)+(三)-(三)+(3) 20 (9)-(0)-(0)-- 10 +1 2.1+(男)+(男)+(罰)+(鄂 9 T29 x222-끝+1-23 + -.... Repeating Decimals 64 Express each of the numbers in Exercises 23-30 as the m integers. 23. 0.23 = 0.23 23 23... 24. 0.234 = 0.234 234 234. 25. 0.7 = 0.7777... 26. 0.d = 0.dddd... where d is a digit natio of own s converges or * 27. 0.06 = 0.06666.. 28. 1.4141.414 414 414... 29. 1.24123 = 1.24 123 123 123... 30. 3.142857 = 3.142857 142857. Using the ath-Term Test In Exercises 31-38, use the ath-Term Test for divergence to show that the series is divergent, or state that the test is inconclusive 8arrow_forward
- CPS 2231 Computer Programming Homework #3 Due Date: Posted on Canvas 1. Provide answers to the following Check Point Questions from our textbook (5 points): a. How do you define a class? How do you define a class in Eclipse? b. How do you declare an object's reference variable (Hint: object's reference variable is the name of that object)? c. How do you create an object? d. What are the differences between constructors and regular methods? e. Explain why we need classes and objects in Java programming. 2. Write the Account class. The UML diagram of the class is represented below (10 points): Account id: int = 0 - balance: double = 0 - annualInterestRate: double = 0.02 - dateCreated: java.util.Date + Account() + Account(id: int, balance: double) + getId(): int + setId(newId: int): void + getBalance(): double + setBalance(newBalance: double): void + getAnnualInterestRate(): double + setAnnualInterest Rate (newRate: double): void + toString(): String + getDataCreated(): java.util.Date +…arrow_forwardTHIS IS NOT A GRADING ASSIGNMENT: Please only do lab 2.2 (bottom part of the first picture) For that Lab 2.2 do: *Part 1 (do the CODE, that's super important I need it) *Part 2 *Part 3 I also attached Section 2.5.2 which is part of the step 1 so you can read what is it about. Thank you!arrow_forwardTHIS IS NOT A GRADING ASSIGNMENT: Please only do lab 2.2 (bottom part of the first picture) For that Lab 2.2 do: *Part 1 *Part 2 *Part 3 I also attached Section 2.5.2 which is part of the step 1 so you can read what is it about. Thank you!arrow_forward
- can you please give me: * the code (step 3) *the list file (step 5) *and answer step 6 Thank youarrow_forward# Find the error# Why will the following code not print out a list of contact namesphoneBook = {'Doe, Jane' : '843-000-0000' ,'Doe, John' : '843-111-1111' ,'Smith, Adam' : '843-222-2222' ,'Jobs, Steve' : '999-333-3333' ,}for contact in phoneBook.values():print(contact)arrow_forward# Find the error:# The following code creates an empty dictionary and attempts to add a record# Why will the following code not create a new dictionary entry as intended?phoneBook = {}phoneBook{'Jobs, Steve'} = '999-111-1111'arrow_forward
- C++ Programming: From Problem Analysis to Program...Computer ScienceISBN:9781337102087Author:D. S. MalikPublisher:Cengage LearningProgramming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:CengageC++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology Ptr
- Systems ArchitectureComputer ScienceISBN:9781305080195Author:Stephen D. BurdPublisher:Cengage LearningEBK JAVA PROGRAMMINGComputer ScienceISBN:9781337671385Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENT



