Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For the following project, I want to get the Program design- Flowchart, a C++ source code, and screenshot of the output. Sample screen output are

For the following project, I want to get the Program design- Flowchart, a C++ source code, and screenshot of the output. Sample screen output are attached. Thanks

Project Description

You are hired to work at the DMV as an intern in the division responsible for the Driver License. You are tasked to work to recreate programs for the Driver License Written Exam. You need to complete TWO programs.

First program will allow a DMV officer to create or add exam questions with answers and save to a data file.

Second program will allow a citizen to take an exam drawing questions from the data file created or saved from the first program. The citizen would obtain exam result including pass or fail right away.

Project Specifications

Input for this project:

First program -

Data file name

Exam questions and answers

Second program

Data file name

A citizens full name

A citizens birthdate

Answers to exam questions

Output from this project:

A data file containing exam questions and answers from first program

How many new questions are entered from first program

Test Report from second program containing:

Exam Report Title

Exam takers full name

Exam takers birthdate

How many questions are in the exam

How many are answered correctly

How many are answered incorrectly

Pass or Fail

Programmers full name

Project number

Project due date

Processing Requirements

Repetition control structure should be used in both programs so that more than one question can be processed.

For the first program, if the data file entered by the User exists, new questions should be appended. DO NOT wipe out existing questions in the file. ONLY True/False questions should be entered and need to contain less than 70 characters (including space) in a question. Correct answer (Y or N) should be provided and saved as well.

For the second program, if the data file entered by the User DOES NOT exist or the file does not contain at least 10 questions, DO NOT continue the program but display appropriate error message. If the citizen is younger than 16 years old, DO NOT allow the citizen to take an exam. Use just the birth year to determine age. Do not accept answers other than Y, y, N, n from the exam taker. Answering 70% or more questions correctly passes the exam.

image text in transcribed

image text in transcribed

image text in transcribed

mr qustions correctly passes the exam. Sample Output #1: Exam Question Creation Enter the name of the file to be used: question.txt Enter a Yes/No question(in one line, no more than 70 characters): Enter answer (Y or N): Y Are there rules on turn on red light'? Do yuo have more question to enter (Y or N): y Enter a Yes/No question Enter answer (Y or N): Y (in one line, no more than 78 characters): Do you need a license to drive? Do yuo have more question to enter (Y or N):n 2 questions are added this run. Thank you for using my program!! PROGRAMMER: Tina Lee CMSC140 Common Project 2 Due Date: 9/24/2018 Program ended with exit code : earch mr qustions correctly passes the exam. Sample Output #1: Exam Question Creation Enter the name of the file to be used: question.txt Enter a Yes/No question(in one line, no more than 70 characters): Enter answer (Y or N): Y Are there rules on turn on red light'? Do yuo have more question to enter (Y or N): y Enter a Yes/No question Enter answer (Y or N): Y (in one line, no more than 78 characters): Do you need a license to drive? Do yuo have more question to enter (Y or N):n 2 questions are added this run. Thank you for using my program!! PROGRAMMER: Tina Lee CMSC140 Common Project 2 Due Date: 9/24/2018 Program ended with exit code : earch

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David J. Auer David M. Kroenke

13th Edition

B01366W6DS, 978-0133058352

More Books

Students also viewed these Databases questions

Question

Calculate the lifetime value (LTV) of a loyal customer.

Answered: 1 week ago

Question

Use service tiering to manage the customer base and build loyalty.

Answered: 1 week ago