C How To Program Plus Mylab Programming With Pearson Etext -- Access Card Package (8th Edition)
C How To Program Plus Mylab Programming With Pearson Etext -- Access Card Package (8th Edition)
8th Edition
ISBN: 9780134227023
Author: Paul J. Deitel; Harvey Deitel
Publisher: PEARSON
bartleby

Videos

Textbook Question
100%
Book Icon
Chapter 1, Problem 1.4E

Categorize each of the following items as either hardware or software:

  1. CPU
  2. C++ compiler
  3. ALU
  4. C++ preprocessor
  5. input unit
  6. an editor program

a)

Expert Solution
Check Mark
Program Plan Intro

To identify if the CPU is a hardware or a software component.

Program Description Answer

CPU is a hardware component.

Explanation of Solution

Hardware: Hardware is a physical part or component of any computer system or it can be defined as a set of components that one can touch and feel. Examples of some hardware components are mouse, keyboards, etc.

Software: It is a set of instructions written to perform some specific tasks. Examples of software components are Operating System, Application Software, etc.

CPU stands for Central Processing Unit. It is also known as a processor. It is an electronic circuit that is placed inside the computer cabinet.

Thus, CPU can be classified as a hardware component as it is made of physical components and can be touched and felt physically.

b)

Expert Solution
Check Mark
Program Plan Intro

To identify if C++ compiler is a hardware or a software component.

Program Description Answer

C++ compiler is a software program.

Explanation of Solution

Compiler is a computer program, which translates the high-level language source code to low level language. It firstly checks all the syntactical error in the program and if there is no error in the program, then it converts source code into object code.

C++ compiler will convert the C++ source code file into the object code file.C++ compiler is a software program as it is a program or set of instructions used for translating the program code from one programming language to another programming language.

c)

Expert Solution
Check Mark
Program Plan Intro

To identify if ALU is a hardware or a software component.

Program Description Answer

ALU is the hardware component.

Explanation of Solution

ALU stands for the arithmetic logical unit. It is a part of the CPU. It is used for processing the arithmetical and logical operations. Arithmetic operators are addition, subtraction, multiplication, division and modulus operator.

ALU is made up using various numbers of gates such as AND, OR, NOT, etc. ALU is the part of CPU and it is also a hardware component.

d)

Expert Solution
Check Mark
Program Plan Intro

To identify if C++ preprocessor is a hardware or a software component.

Program Description Answer

C++ preprocessor directives are the software components.

Explanation of Solution

C++ preprocessor directives are the instructions given to compiler for preprocessing the given information before the actual compilation starts. Thus, C++ preprocessor directives are the software components.

e)

Expert Solution
Check Mark
Program Plan Intro

To identify if the input unit is a hardware or a software component.

Program Description Answer

All input devices are hardware components.

Explanation of Solution

Input units are used to take input or to accepts data or information from the user into the system. These data can be further processed by the CPU. Examples of the input device are mouse, keyboards, scanners, etc.

So, all input devices are hardware components.

f)

Expert Solution
Check Mark
Program Plan Intro

To identify if an editor program is a hardware or a software component.

Program Description Answer

The editor program is the software.

Explanation of Solution

Editor programs are software written using various programming languages. These programs have an interface through which the user can interact and perform various editing tasks. So, the editor program is the software component.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
Hands-On Assignments Part II Assignment 1-5: Querying the DoGood Donor Database Review the DoGood Donor data by writing and running SQL statements to perform the following tasks: 1. List each donor who has made a pledge and indicated a single lump sum payment. Include first name, last name, pledge date, and pledge amount. 2. List each donor who has made a pledge and indicated monthly payments over one year. Include first name, last name, pledge date, and pledge amount. Also, display the monthly payment amount. (Equal monthly payments are made for all pledges paid in monthly payments.) 3. Display an unduplicated list of projects (ID and name) that have pledges committed. Don't display all projects defined; list only those that have pledges assigned. 4. Display the number of pledges made by each donor. Include the donor ID, first name, last name, and number of pledges. 5. Display all pledges made before March 8, 2012. Include all column data from the DD PLEDGE table.
Write a FancyCar class to support basic operations such as drive, add gas, honk horn, and start engine. FancyCar.java is provided with method stubs. Follow each step to gradually complete all methods. Note: This program is designed for incremental development. Complete each step and submit for grading before starting the next step. Only a portion of tests pass after each step but confirm progress. The main() method includes basic method calls. Add statements in main() as methods are completed to support development mode testing. Step 0. Declare private fields for miles driven as shown on the odometer (int), gallons of gas in tank (double), miles per gallon or MPG (double), driving capacity (double), and car model (String). Note the provided final variable indicates the gas tank capacity of 14.0 gallons. Step 1 (2 pts). 1) Complete the default constructor by initializing the odometer to five miles, tank is full of gas, miles per gallon is 24.0, and the model is "Old Clunker". 2)…
Find the error: daily_sales = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] days_of_week = ['Sunday', 'Monday', 'Tuesday',                     'Wednesday', 'Thursday', 'Friday',                     'Saturday'] for i in range(7):         daily_sales[i] = float(input('Enter the sales for ' \                                      + day_of_week[i] + ': ')

Additional Engineering Textbook Solutions

Find more solutions based on key concepts
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning
Text book image
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
Text book image
Enhanced Discovering Computers 2017 (Shelly Cashm...
Computer Science
ISBN:9781305657458
Author:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:Cengage Learning
Text book image
MIS
Computer Science
ISBN:9781337681919
Author:BIDGOLI
Publisher:Cengage
Introduction to Computers; Author: Tutorials Point (India) Ltd.;https://www.youtube.com/watch?v=-AP1nNK3bRs;License: Standard YouTube License, CC-BY
Computers for Beginners: Introduction; Author: Carson City Library;https://www.youtube.com/watch?v=jH8pgGfG9HY;License: Standard Youtube License