Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

https://learn-us-east-1-prod-fleet02-xythos.content.blackboardcdn.com/5fd94affdac6c/20734961?X-Blackboard-Expiration=1636448400000&X-Blackboard-Signature=RDsZl7Zgxqzn%2F6SxRmxQbI%2B1HJnx9FnLkWS2F%2FDfOtE%3D&X-Blackboard-Client-Id=100775&response-cache-control=private%2C%20max-age%3D21600&response-content-disposition=inline%3B%20filename%2A%3DUTF-8%27%27quiz.pdf&response-content-type=application%2Fpdf&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20211109T030000Z&X-Amz-SignedHeaders=host&X-Amz-Expires=21600&X-Amz-Credential=AKIAZH6WM4PL5SJBSTP6%2F20211109%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=196a1feda015371c2f6f4b769ef831e14985d32b7791d5b5d704841c46482094Link of the project Qu izz | e ITP 165: Introduction to C++ Programming Goal This homework will give you some exercise with files and

https://learn-us-east-1-prod-fleet02-xythos.content.blackboardcdn.com/5fd94affdac6c/20734961?X-Blackboard-Expiration=1636448400000&X-Blackboard-Signature=RDsZl7Zgxqzn%2F6SxRmxQbI%2B1HJnx9FnLkWS2F%2FDfOtE%3D&X-Blackboard-Client-Id=100775&response-cache-control=private%2C%20max-age%3D21600&response-content-disposition=inline%3B%20filename%2A%3DUTF-8%27%27quiz.pdf&response-content-type=application%2Fpdf&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20211109T030000Z&X-Amz-SignedHeaders=host&X-Amz-Expires=21600&X-Amz-Credential=AKIAZH6WM4PL5SJBSTP6%2F20211109%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=196a1feda015371c2f6f4b769ef831e14985d32b7791d5b5d704841c46482094Link of the project

image text in transcribed
Qu izz | e ITP 165: Introduction to C++ Programming Goal This homework will give you some exercise with files and structs and vectors. The program is a simple flashcard type quiz program. It loads a file of question and answer pairs, and then the program quizzes the user on the contents. Setup 0 Create a new C++ file named QuizFamilyname.cpp. 0 Your file must begin with the in the following (replace the name and email with your actual information}: // Your Name // ITP 165, 2621 fall // Quizzle Requirements 0 The program should be able to load different data sets, via the user entering the filename. 0 Each line of a data file is a question and answer pair, separated by a comma. Except the first line of the file is the type of thing being asked. So for example, the quiz on state capitals has "state,capita|" as the first line, and then \"0hio,Co|umbus" etc. for all the rest. (To load a new data set, it is ok to make the user re-start the program.) 0 Two data sets are given here (StateCapitals.txt and Elements.txt}, but your program should work on any such file in the right format. Note that some questions and answers have spaces in them. 0 After the data is loaded, the program should pick 5 questions randomly from the data, to form a quiz

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

Mobile Usability

Authors: Jakob Nielsen, Raluca Budiu

1st Edition

ISBN: 0133122131, 9780133122138

More Books

Students also viewed these Programming questions

Question

Refer to Problem 10-1. What is the projects PI?

Answered: 1 week ago