Starting Out with C++: Early Objects
Starting Out with C++: Early Objects
8th Edition
ISBN: 9780133360929
Author: Tony Gaddis, Judy Walters, Godfrey Muganda
Publisher: Addison-Wesley
bartleby

Videos

Textbook Question
Book Icon
Chapter 2, Problem 28RQE

Soft Skills

Programmers need good communication skills as well as good analytical and problem-solving skills. Good communication can minimize misunderstandings that easily arise when expectations of different individuals involved in a project are not clearly enough articulated before the project begins. A detailed set of project specifications can clarify the scope of a project, what interaction will occur between the user and the program, and exactly what the program will and will not do.

28. Pair up with another student in the class. One of you is the client and the other is the software developer. Briefly discuss a simple program the client wants the programmer to create. Here are some possible ideas.

  • The paint problem described in the Chapter 1 Soft Skills exercise
  • A program that can halve the quantities of ingredients for a recipe
  • A program that determines how long it will take to drive from point A to point B

Once you have decided on a program, you should independently, with no further com­munication, each write down detailed specifications. The client writes down exactly what he wants the program to do, and the developer writes down her understanding of exactly what the program will do. When you are done, compare what you have written. Rarely will the two agree.

Now discuss the discrepancies and see if you can come to a clear understanding of exactly what the program must do. Together create a program specification sufficiently detailed that both of you believe it leaves no room for misunderstanding.

Blurred answer
Students have asked these similar questions
Hospital Management Project "Simple Scenario We want to develop a comprehensive software product for XY Hospital, where several doctors are working together. There are several departments in the hospital, but a central administrationoffice is handling the patient appointment tasks. Most patients make an appointment before their visit. However, patients can walk in and can be treated if an appropriate doctor is available. On events, patients may change their visit schedule by calling. A patient who made an appointment but cannot appear should cancel his/her appointment in order to avoid a "no-show penalty. The appointment clerks i the administration office are handling all the appointments and the scheduling clerks generate "daily treatment schedules for doctors based on the appointment. The "daily treatment schedules' include doctor's name, patient's information, nurses and treatment rooms for each treatment. Hence, doctors are seeing patients according to the daily treatment schedule.…
Custodial staff needing to clean bathrooms in a building that is not closed often use some version of the following process: first, they set up a sign or marker indicating that the bathroom is closed; then, they wait for everybody using the bathroom to finish and leave; once it's empty, they clean the room; and finally they reopen it for general use. Obviously, nobody that's already in the bathroon gets kicked out, but someone arriving after the sign is up will have to go find another batbroom even if the cleaning hasn't started yet.This algorithm is a solution to a resource access-synchronisation problem: specifically, the controlled resource is the bathroom, and the problem and solution are related to the readers-writers problem. Pseudocode:We can describe this algorithm using two semaphores: a binary semaphore called "mutex" and a counting semaphore called "empty"-When the custodial staff enters the bathroom, they acquire the mutex semaphore to ensure that they have exclusive access…
The ability to delegate specific tasks to individual programmers is a key benefit of a program's structure that uses methods. Consider this idea carefully when you respond to the following questions: Do you prefer working in a team where each programmer creates one or more modules, or would you rather design a massive piece of software by yourself? Why? How do you think you'll deal with the difficulties of a huge development team? How may you handle or get beyond these obstacles?

Chapter 2 Solutions

Starting Out with C++: Early Objects

Ch. 2.7 - Prob. 2.11CPCh. 2.7 - Prob. 2.12CPCh. 2.7 - Prob. 2.13CPCh. 2.7 - How would you combine the following variable...Ch. 2.7 - How would you combine the following variable...Ch. 2.8 - Prob. 2.16CPCh. 2.8 - What will the following code display? int number;...Ch. 2.8 - Prob. 2.18CPCh. 2.10 - Prob. 2.19CPCh. 2.10 - Which of the following is a character literal? 'B'...Ch. 2.10 - Prob. 2.21CPCh. 2.10 - What is wrong with the following program...Ch. 2.10 - Prob. 2.23CPCh. 2.10 - Write a program that stores your name, address,...Ch. 2.15 - Is the following assignment statement valid or...Ch. 2.15 - What is wrong with the following program? How...Ch. 2.15 - What will be assigned to x in each of the...Ch. 2.15 - Prob. 2.28CPCh. 2 - Every complete statement ends with a _____.Ch. 2 - To use cout statements you must include the _____...Ch. 2 - Every C++ program must have a function named...Ch. 2 - Prob. 4RQECh. 2 - A group of statements, such as the body of a...Ch. 2 - 'A', and "Hello World" are all examples of _____.Ch. 2 - 978.65 1012 would be written in E notation as...Ch. 2 - Prob. 8RQECh. 2 - Indicate if each of the following assignment...Ch. 2 - If the variables letter and w have been defined as...Ch. 2 - Indicate if each of the following cout statements...Ch. 2 - Indicate if each of the following cout statements...Ch. 2 - Assume integers x = 4, y = 7, and z = 2. What...Ch. 2 - Assume double variables x = 2.5, y = 7.0, and z =...Ch. 2 - Write a C++ statement that defines the double...Ch. 2 - Write a C++ statement that defines the int...Ch. 2 - Write assignment statements that perform the...Ch. 2 - Write assignment statements that perform the...Ch. 2 - Modify the following program segment so it prints...Ch. 2 - Rewrite the follow statement to use the newline...Ch. 2 - Create detailed pseudocode for a program that...Ch. 2 - Prob. 22RQECh. 2 - Prob. 23RQECh. 2 - Create detailed pseudocode for a program that...Ch. 2 - What will the following programs print on the...Ch. 2 - A) #include iostream using namespace std; int main...Ch. 2 - The following program contains many syntax errors....Ch. 2 - Soft Skills Programmers need good communication...Ch. 2 - Sum of Two Numbers Write a program that stores the...Ch. 2 - Prob. 2PCCh. 2 - Prob. 3PCCh. 2 - Restaurant Bill Write a program that computes the...Ch. 2 - Prob. 5PCCh. 2 - Prob. 6PCCh. 2 - Prob. 7PCCh. 2 - Prob. 8PCCh. 2 - Prob. 9PCCh. 2 - Prob. 10PCCh. 2 - Prob. 11PCCh. 2 - Prob. 12PCCh. 2 - Prob. 13PCCh. 2 - Prob. 14PCCh. 2 - Prob. 15PCCh. 2 - Prob. 16PCCh. 2 - Prob. 17PCCh. 2 - Prob. 18PC

Additional Engineering Textbook Solutions

Find more solutions based on key concepts
The _____ loop always iterates at least once.

Starting Out with C++ from Control Structures to Objects (8th Edition)

Write a loop that asks the user to enter a number. The loop should iterate 10 times and keep a running total of...

Starting Out with Java: From Control Structures through Objects (7th Edition) (What's New in Computer Science)

Explain the evolution of Java GUI technologies.

Introduction to Java Programming and Data Structures, Comprehensive Version (11th Edition)

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
Fundamentals of Information Systems
Computer Science
ISBN:9781305082168
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Text book image
A+ Guide To It Technical Support
Computer Science
ISBN:9780357108291
Author:ANDREWS, Jean.
Publisher:Cengage,
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
C++ Data Members; Author: CppNuts;https://www.youtube.com/watch?v=StlsYRNnWaE;License: Standard YouTube License, CC-BY