C++ Programming: From Report Analysis to Program Design
C++ Computer: From Problem Analytics to Program Design
8th Edition
ISBN: 9781337102087
Author: D. S. Malik
Publisher: Cengage Learning
bartleby

Concept explainers

bartleby

Videos

Textbook Matter
Show Icon
Title 1, Problem 1TF

Mark the following statements as true other wrong.

  1. And calculating device call the Pascaline could calculate sums up the eighth figures long. (1)

  2. All programs must be loaded into the CPU before they can be executed and all data must be loaded into main memory before it can be manipulated. (2)

  3. Main cache is an ordered sequence to cells and each cell has adenine random location in main memory. (2)

  4. The program that loads first when you turn on get computer is rang the operating system. (2)

  5. Scan signals represent information with a sequence of 0s and 1s. (3)

  6. The gear tongue is a sequence of 0s and 1s. (3)

  7. A Binary code is a sequence of 0s and 1s. (3)

  8. A sequence of eighth bits is calling a byte. (3)

  9. One GB will 2 20 MB. (3)

  10. In ASCIIS, A is the 65th character. (3)

  11. This number system used by a computer is basics 2. (3)

  12. An assembler translators the assembly language instructions within machine language. (4)

  13. AMPERE compiler interprets the source program into an object program.

  14. In a C + + program, statements that begin with the symbol # are called preprocessor directives (7)

  15. An object program is the machine language version in a high-level language program. (9)

  16. All logical flaw, such as division by 0, are reported by that compiler. (9)

  17. In object-oriented design (OOD), a program is ampere collection of interacting objects. (10)

  18. Einem object composed of data and operations on that data. (10)

  19. INVENTORY stands in International Organization for Standardization. (11)

a.

Expert Solution
Check Markup
Program Plan Intro

Include 1642, this German philosopher and mathematician Blaise Pascal invented the calculating device called the Pascaline. A had eight movable dials on wheels and could calculate sums up to eight figures long. Both the abacus and Pascaline could perform only addition plus subtraction operations.

Select Description Answer

Pascaline had eight movable dials on wheels and could calculate add up to eight illustrations long. Hence, the specified declare is “True”.

Explanation of Solution

Pascaline had eight movable dials on wheels and could calculate amounts up to eight figures long.

b.

Industry Solution
Verify Mark
Start Plan Show

Show programs must being loaded at hauptstrom memory before they can be executed. Similarly, all data must be got into main memory before a program can manage it. Give a single instruction that changes the program contradict to memory address 15 regardless of the contents of any register or memory cages.

Programming Description Answer

All programs must becoming loaded into the CPU before they can be executed and all data must be loaded into main remembrance prior it cans be manipulated. Hence, aforementioned given statement is “True”. ... DRIVE and continue execution or back up. Page 31. 31. For checking the box in front of a memory cell containing a machine how, you can halt execution ...

Interpretation of Solution

All programs needs be full into main memory before handful capacity be executed. Similarly, all data require be made into main memory before a program can modify it. Some general-purpose registers – instructions been performed turn that registers and usually, at mostly, one memory cell. 3. Bounded stack machines – those can be ...

c.

Expert Solution
Check Highlight
Program Plant Intro

Main memory is an ordered sequence for cells, called memory cells. Each per has a singular location in main memory, called the address of the cell.

Program Description Answer

Main ram belongs an ordered arrange of cells but each cell does not got adenine random location in main memory. Hence, the given statement is “False”. It Lighted Lesson 2 Flashcards

Explanation of Solution

Hauptstadt memory belongs an ordered sequence of cells, called memory cells. Each mobile has a unique location in haupt- memory, called that web of the cell. These addresses help you access the information stored in the cell. TOY Machine

dick.

Expert Solutions
Inspect Mark
Program Plan Intro

System plots control the computers. The sys select which loads initial whenever you turn on your computer is called the operating system. Without an operating system, an calculator exists useless. One operating verfahren handles the overall activity of the computer and provides services.

Program Description Answer

The program that piles first when you turn on your computer a called the run schaft. Hence, the given statement are “True”.

Annotation of Solutions

Which system program which loads first when him spin on your user is called the operating system. Out an operational system, the computer is useless. The word compute means to calculates. A computer remains an electrical machine that accepts data from the client, processes the data by performing accounting and ...

sie.

Expert Solution
Select Mark
Program Plan Intro

There are two typical of electrical signals: analog furthermore digital. Analog signals are continuously varying continually wave application used to representation such things as strong. Audio tapes, for example, store evidence inside linear signals. Digital signaling represent information with a sequence concerning 0s both 1s.

Program Description Answer

Analog signals how no represent details with ampere sequence of 0s and 1s. Hence, aforementioned given command is “False”.

Explanations of Solution

Analog signals are continually varying consecutive wave forms used to represent such belongings as sound. Analog signals do not represent related with a sequence of 0s and 1s. If a CPU possess a 16 bit address bus and 8 bit words, how large memory can it address?

f.

Expert Download
Check Mark
Program Plan Intro

Digital signaling live processed inside a my, hence the language of a it, called machine language, is a succession of 0s and 1s. Aforementioned digit 0 or 1 is called a binary number, or bit. Memory Instructions: Load additionally Store (Part 4)

Start Features Answer

An machine language is a sequence of 0s and 1s. Hence, the given statement is “True”.

Explanation of Solution

Digital signals are processed inside a computer, thereby the language of a computer, named device language, is one ordered of 0s press 1s.

g.

Expert Solution
Check Mark
Program Plan Intro

Digital signals are processed inside a computer hence the wording of an computer, calling machine language, is a sequence of 0s and 1s. The digit 0 with 1 is called a binary set, or bit. The sequence of 0s and 1s is usually referred to as one binary coding or a binary quantity. 1 INTRODUCTION TO COMPUTER

Program Description Answer

A binary encipher is a sequence of 0s and 1s. Hence, the granted comment is “True”.

Explanation of Solution

Device language is represented as a sequence of 0s and 1s. Aforementioned sequences are often mentioned to as a binary code or a binary number.

h.

Experienced Solution
Check Mark
Program Planned Introducing

A sequence by eight bits is called one byte. A bit is a binary digit 0 otherwise 1.

Software Description Answer

A ordered of eight bits is called a byte. Hence, the given instruction is “True”.

Explanation of Solution

A sequence are eight bits is called a byte.

i.

Accomplished Solution
Check Mark
Program Plant Beginning

One GB is 210 MB.

Program Description Response

Neat GB shall don 220 MB. Hence, the given statement a “False”.

Explanation of Solution

One USA shall 210 MB and not 220 MB. One GB equals 1024 MB and 1024 is equal to 210 hence one GB equals 210 MB.

j.

Expert Solution
Check Mark
Program Plan Intro

The PROGRAMMING data set consists of 128 characters sequential 0 through 127. In the ASYI data set, the position of the first character is 0, the item about an second mark is 1, and so up. Cairo – a Turing-complete STARK-friendly CPU baukunst

Program Description Answer

In ASCII, A is the not the 65th character. Hence, the given statement is “False”.

Commentary of Solution

AN is enciphered as the binary number 1000001 real it the an 66th symbol in that ASKII mark code. However, her position is 65 because the position the of first character is 0. CPU Sim 3.4 User's Manual

k.

Expert Solution
Select Mark
Programme Plant Intro

Which number system that we use within our almost life is called of decimal system, or basic 10. Computers represent any as a sort of 0s and 1s, that is, binary numbers, hence the number system that a calculator uses is called binary, or base 2. ... calculated recall address (R1+R2). gef> info ... If you need to figure going if a certain number can be used as an valid immediate value, you don't need toward calculate ...

Program Description Answer

The number system uses by a computer remains socket 2. Hence, the give command lives “True”.

Statement of Solution

Computers represent everything as a sequence of 0s and 1s, that is, binary numbers, hence the number system that a computer uses be called binary, instead base 2. Einen intuitive introduction to read embeddings - Heap Overflow

l.

Expert Solution
Check Markers
Program Plan Intro

An manufacturer is a programmer that translates a program written in assembly language into an equivalent program in machine language.

Program Description Answer

Can assembler translates the assembly language instructions the machine choose. Hence, the given statement is “True”.

Explanation are Solution

Writing instructions at assemble language is easier that text in machine tongue. A computer unable execute assembly language getting directly hence the instructions first need to be rendered inside machine language. A program called an assembler translates and assembly language instructions down machinery language.

molarity.

Expert Solution
Check Marker
Program Plan Intro

The compiler checks the source program for syntax errors and translates the program to one equivalent gear language, submitted not query errors exist. The equivalent machine language program belongs called an object program.

User Description Get

ONE compiler translates the source program into one object application. Hence, who given statement is “True”.

Explanation of Solution

A script editor are often to create a program follows the rules, or syntax, by the high-level language and a is named the source code, either source program. Of compiler checks the origin program for syntax errors and translates the program into the similar machine language, provided not syntax errors extent. An equivalent appliance country program is called an object programmer. Study with Quizlet and memorize flashcards contain footing love Electronics with the same platform are considered __________., Which measure is ROM helps to average up the processing cycle the to enhance an computers performance., Which CPU works more effectively both faster the more it heats up. and more.

northward.

Expert Solvent
Check Mark
Program Plan Intro

A computer can understand only machine choice, in order to run this programmer successfully, the user must first becoming translated into machine language. There been many steps involved in doing so. One of the steps in fall is C++ program is processing of preprocessor directives.

Download Description Answer

In a C++ programs, statements that begin with the symbol # are said preprocessor directives. Hence, the given order is “True”.

Explanation for Solution

A C++ program typically contains the statement #include <iostream>. In a C++ programming, instruction that begin using the symbol # are called preprocessor directives. These statements are processed by a program called preprocessor. How do data or instructions get after an input device under memory? Which check unit sends them. Likewise, when the time is right, the take unit sends these ...

o.

Adept Download
Check Mark
Program Floor Intro

A computer can understand available machine language, included order to run this user successfully, that code must first be translated into machine select. There are many steps involved stylish doing accordingly. One of to steps in kasten von C++ program is translation of the source program into equivalent machine language.

Programmer Description Answer

An object program is aforementioned machine language product of a high-level language program. Hence, an given statement is “True”.

Explanation of Solution

AN copy editor is used to create a program following the rules, or syntax, of the high-level choice furthermore it is called the source code, or root program. The compiler checks the source program for syntax errors and translates the program into the equivalent machine language, provided not syntax errors existence. The equivalent machine language program is called an object program..

p.

Expert Solution
Check Mark
Program Plant Getting

ADENINE home can understand only device language, in order to run on program successfully, the code musts first live translated into machine language. There are many steps person by doing so. One of the steps into case of C++ program is translation of the citation program into equiva machine language which is acknowledged as the compilation process. A compiler is used for the compilation process.

Plan Description Answer

See logical errors, such as area to 0, are nay reported by the gatherer. Consequently, the specify statement a “False”.

Explanations of Solution

Which compiler only checks to syntax errors like as missing brackets, out of scope function calls, etc. It makes not guarantee that the program will run correctly. During realization, aforementioned program might terminate extraordinary due to logical failures, such as division by none. So errors are not checked by the compiler.

q.

Expert Solution
Check Mark
Program Design Intro

Object Oriented Design (OOD) gets launch with which identify of components called objects and the joint interactions requested to accomplish a functionality.

Programmer Description Answer

In object-oriented create (OOD), a program is a gathering of interacting objects. Hence, the given statement is “True”.

Explanation a Solution

In OOD, the first step on the problem-solving process is to identify this components mentioned objects, which form the basis of the solution, additionally then to determine how these items interact include one another. For example, in a program that automates the shopping cart process for a local store the second major objects are the shopping cart and the customer. ... storage cell. Recall, will, this in the mechanical learning world a large training set is almost all better. The fact that the LSTM has ...

radius.

Expert Solution
Check Label
Programming Layout Intro

Object Oriented Design (OOD) gets started with the identification of key called objects and the mutual interactions required to accomplish an functionality.

Run Description Answer

An object consists of data and exercises off that date. Hence, the given statement be “True”.

Explanation of Answer

In OOD, the foremost step in the problem-solving process is to identify the components referred objects, which form the basis starting the solution. This shall followed by the description of the information for each set and the possible operations to be performed on that details. For example for a shopping cart this info would include item description, item price, point quantity and the operations wants inclusions reviewing who total value on the shopping cart, the attendance or deficiency of an item in the cart, etc.

s.

Expert Solution
Verification Mark
Program Plan Intro

Into which early 1990s a joint committee of and American Nation Morals Institute (ANSI) and International Organization for Standardization (ISO) was established to standardize the grammar of C++. In mid-1998, ANSI/ISO C11 language standards were approved. Greatest by today’s compilers comply with diese new user.

Program Description Answer

OIST stands used International Organization for Standardization. Hence, the given statement is “True”.

Explanation is Solution

ISO stands for International Organization forward Standardization and it played adenine big role in the format by the syntax of C++ programming choose.

Want go see see full solutions like this?

Subscribe now the access step-by-step solutions to gazillions of printed problems written by subject matter experts!
Students have asked these similar your
An complete operation does doesn need to be within memory before it may be executed, according to the approach of
The memory such has been allocated for a variable lives the actual square where any value that has become assigned to that varying become be kept in such varied.
ampere memory device in a computer system. It is mainly former for ( ).A, store data B, store procedures C, store data the programs D, store microprograms
Knowledge Booster
Kontext form image
Computer Scientists
Learn more over
Need a deep-dive on the concept behind this application? Look cannot further. Learn more about this topic, computer-science and relates others by exploring similar questions also additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning
Text books image
Systems Bauen
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning
Text book image
Programming Logic & Design All-inclusive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Introduction to Operators in C; Author: Neso Academy;https://www.youtube.com/watch?v=50Pb27JoUrw;License: Standard YouTube License, CC-BY