Input put starts with ed output tarts with Number of Novels Authored Author name Number of novels. -1 Enter a title for the data: You entered: Number of Novels Authored Enter the column 1 header: You entered: Author name Enter the column 2 header: You entered: Number of novels En Enter a title for the data: You entered: Number of Novels Authored Enter the column 1 header: You entered: Author name Enter the column 2 header: You entered: Number of novels.
Input put starts with ed output tarts with Number of Novels Authored Author name Number of novels. -1 Enter a title for the data: You entered: Number of Novels Authored Enter the column 1 header: You entered: Author name Enter the column 2 header: You entered: Number of novels En Enter a title for the data: You entered: Number of Novels Authored Enter the column 1 header: You entered: Author name Enter the column 2 header: You entered: Number of novels.
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question

Transcribed Image Text:### Data Entry and Output for Number of Novels Authored
#### Input Section
The input begins with the following information:
- **Data Title:** Number of Novels Authored
- **Column 1 Header:** Author name
- **Column 2 Header:** Number of novels
- **Data Entry:** Jane Austen, 6
- **Termination Input:** -1 to stop input
#### Interactive Data Entry
The user proceeds as follows:
1. Enter a title for the data:
- **User Input:** Number of Novels Authored
2. **Column Headers:**
- Column 1: Author name
- Column 2: Number of novels
3. **Data Points:**
- Enter author and number of novels (input format: Author name, Number):
- **Jane Austen, 6**
- Input -1 to stop further data entry
#### Displayed Output
The output displays the processed data:
- **Table Format:**
- A table with two columns: Author name and Number of novels
- Entries include:
- Jane Austen | 6
- **Histogram Representation:**
- Representation of the number of novels by asterisks:
- Jane Austen: ******
#### Annotated Output
This section verifies and displays:
- **Data Entry Validation:**
- **Data String:** Jane Austen
- **Data Integer:** 6
This guide helps users input and interpret data regarding the number of novels authored by a specific author, in this case, Jane Austen. Each data entry is represented both in a tabular form and as a histogram for visual understanding.

Transcribed Image Text:**Input**
- Number of Novels Authored
- Author name
- Number of novels
- -1
**Your output starts with**
- Enter a title for the data:
- You entered: Number of Novels Authored
- Enter the column 1 header:
- You entered: Author name
- Enter the column 2 header:
- You entered: Number of novels
- En
**Expected output starts with**
- Enter a title for the data:
- You entered: Number of Novels Authored
- Enter the column 1 header:
- You entered: Author name
- Enter the column 2 header:
- You entered: Number of novels
**Analysis**
The image presents a comparison between an expected output and the actual output given a specific input when collecting data about novel authorship. The task involves entering a title and headers for data columns, indicating discrepancies due to additional or missing input. It highlights the importance of precise data entry within programming or data processing contexts.
Expert Solution

Step 1: Algorithms
Step1: Ask for the title from the end user
Step2: Then ask for the column header 1 and then print the information
Step3: Then ask for the column header 2 and then print the information
Step4: If you want to stop the execution press -1
Step5: the print the information so on
Step by step
Solved in 4 steps with 2 images

Knowledge Booster
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.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education