![C++ How To Program Plus Mylab Programming With Pearson Etext -- Access Card Package (10th Edition)](https://www.bartleby.com/isbn_cover_images/9780134583006/9780134583006_largeCoverImage.gif)
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.
![Check Mark](/static/check-mark.png)
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”.
![Check Mark](/static/check-mark.png)
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”.
![Check Mark](/static/check-mark.png)
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.
![Check Mark](/static/check-mark.png)
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.
![Check Mark](/static/check-mark.png)
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.
![Check Mark](/static/check-mark.png)
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.
![Check Mark](/static/check-mark.png)
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.
![Check Mark](/static/check-mark.png)
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.
![Check Mark](/static/check-mark.png)
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”.
![Check Mark](/static/check-mark.png)
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 Plus Mylab Programming With Pearson Etext -- Access Card Package (10th Edition)
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
- Object-Oriented Programming In this separate files. ent, you'll need to build and run a small Zoo in Lennoxville. All classes must be created in Animal (5) First, start by building a class that describes an Animal at a Zoo. It should have one private instance variable for the name of the animal, and one for its hunger status (fed or hungry). Add methods for setting and getting the hunger satus variable, along with a getter for the name. Consider how these should be named for code clarity. For instance, using a method called hungry () to make the animal hungry could be used as a setter for the hunger field. The same logic could be applied to when it's being fed: public void feed () { this.fed = true; Furthermore, the getter for the fed variable could be named is Fed as it is more descriptive about what it answers when compared to get Fed. Keep this technique in mind for future class designs. Zoo (10) Now we have the animals designed and ready for building a little Zoo! Build a class…arrow_forward1.[30 pts] Answer the following questions: a. [10 pts] Write a Boolean equation in sum-of-products canonical form for the truth table shown below: A B C Y 0 0 0 1 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 1 1 0 a. [10 pts] Minimize the Boolean equation you obtained in (a). b. [10 pts] Implement, using Logisim, the simplified logic circuit. Include an image of the circuit in your report. 2. [20 pts] Student A B will enjoy his picnic on sunny days that have no ants. He will also enjoy his picnic any day he sees a hummingbird, as well as on days where there are ants and ladybugs. a. Write a Boolean equation for his enjoyment (E) in terms of sun (S), ants (A), hummingbirds (H), and ladybugs (L). b. Implement in Logisim, the logic circuit of E function. Use the Circuit Analysis tool in Logisim to view the expression, include an image of the expression generated by Logisim in your report. 3.[20 pts] Find the minimum equivalent circuit for the one shown below (show your work): DAB C…arrow_forwardWhen using functions in python, it allows us tto create procedural abstractioons in our programs. What are 5 major benefits of using a procedural abstraction in python?arrow_forward
- Find the error, assume data is a string and all variables have been declared. for ch in data: if ch.isupper: num_upper = num_upper + 1 if ch.islower: num_lower = num_lower + 1 if ch.isdigit: num_digits = num_digits + 1 if ch.isspace: num_space = num_space + 1arrow_forwardFind the Error: date_string = input('Enter a date in the format mm/dd/yyyy: ') date_list = date_string.split('-') month_num = int(date_list[0]) day = date_list[1] year = date_list[2] month_name = month_list[month_num - 1] long_date = month_name + ' ' + day + ', ' + year print(long_date)arrow_forwardFind the Error: full_name = input ('Enter your full name: ') name = split(full_name) for string in name: print(string[0].upper(), sep='', end='') print('.', sep=' ', end='')arrow_forward
- Please show the code for the Tikz figure of the complex plane and the curve C. Also, mark all singularities of the integrand.arrow_forward11. Go to the Webinars worksheet. DeShawn wants to determine the number of webinars the company can hold on Tuesdays and Thursdays to make the highest weekly profit without interfering with consultations, which are also scheduled for Tuesdays and Thursdays and use the same resources. Use Solver to find this information as follows: a. Use Total weekly profit as the objective cell in the Solver model, with the goal of determining the maximum value for that cell. b. Use the number of Tuesday and Thursday sessions for the five programs as the changing variable cells. c. Determine and enter the constraints based on the information provided in Table 3. d. Use Simplex LP as the solving method to find a global optimal solution. e. Save the Solver model below the Maximum weekly profit model label. f. Solve the model, keeping the Solver solution. Table 3: Solver Constraints Constraint Cell or Range Each webinar is scheduled at least once on Tuesday and once on Thursday B4:F5 Each Tuesday and…arrow_forwardGo to the Webinars DeShawn wants to determine the number of webinars the company can hold on Tuesdays and Thursdays to make the highest weekly profit without interfering with consultations, which are also scheduled for Tuesdays and Thursdays and use the same resources. Use Solver to find this information as follows: Use Total weekly profit as the objective cell in the Solver model, with the goal of determining the maximum value for that cell. Use the number of Tuesday and Thursday sessions for the five programs as the changing variable cells. Determine and enter the constraints based on the information provided in Table 3. Use Simplex LP as the solving method to find a global optimal solution. Save the Solver model below the Maximum weekly profit model label. Solve the model, keeping the Solver solution. Table 3: Solver Constraints Constraint Cell or Range Each webinar is scheduled at least once on Tuesday and once on Thursday B4:F5 Each Tuesday and Thursday…arrow_forward
- I want to ask someone who has experiences in writing physics based simulation software. For context I am building a game engine, and want to implement physics simulation. There are a few approaches that I managed to find, but would like to know what are other approaches to doing physics simulation entry points from scenes, would you be able to visually draw me a few approaches (like 3 approaces)? When I say entry point to the actual physics simulation. An example of this is when the user presses the play button in the editor, it starts and initiates the physics system. Applying all of the global physics settings parameters that gets applied to that scene. Here is the use-case, I am looking for. If you have two scenes, and select scene 1. You press the play button. The physics simulation starts. When that physics simulation starts, you are also having to update the physics through some physics dedicated delta time because physics needs to happen faster update frequency. To elaborate,…arrow_forwardI want to ask someone who has experiences in writing physics based simulation software. For context I am building a game engine, and want to implement physics simulation. There are a few approaches that I managed to find, but would like to know what are other approaches to doing physics simulation entry points from scenes, would you be able to visually draw me a few approaches (like 3 approaces)?When I say entry point to the actual physics simulation. An example of this is when the user presses the play button in the editor, it starts and initiates the physics system. Applying all of the global physics settings parameters that gets applied to that scene.Here is the use-case, I am looking for. If you have two scenes, and select scene 1. You press the play button. The physics simulation starts. When that physics simulation starts, you are also having to update the physics through some physics dedicated delta time because physics needs to happen faster update frequency.To elaborate, what…arrow_forwardMale comedians were typically the main/dominant star of television sitcoms made during the FCC licensing freeze. Question 19 options: True False In the episode of The Honeymooners that you watched this week, why did Alice decide to get a job outside of the home? Question 1 options: to earn enough money to buy a mink coat to have something to do while the kids were at school to pay the bills after her husband got laid offarrow_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
![Text book image](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9781305080195/9781305080195_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)