Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please Help (Write C++ Program ONLY) -The attached file is a historical record of BCS courses offered over the last four semesters. An X in

Please Help (Write C++ Program ONLY)-The attached file is a historical record of BCS courses offered over the last four semesters. An X in one of the first four columns indicates that the course was offered in the semester that heads the column. A period (.) indicates that the course was not offered in that semester. Read the file and store the following information in two vectors:

An integer that encodes the semester offerings for the course as follows; Fall 15 counts 8, Spring 16 counts 4, Fall 16 counts 2, and Spring 17 counts 1. The offering code is the sum of these four numbers. A string which saves the course number and title that follows after the four offering columns. The two vectors are parallel in the sense that a given subscript selects offering information and the description for the same course. E.g the subscript 0 selects offering information and the description for the first course in the file.

After reading, encoding and saving all the course information, display the number of courses read. Then list on cout in the following order:

Courses offered Fall 2015 only ... Courses offered Spring 2016 only ... Courses offered Fall 2016 only ... Courses offered Spring 2017 only ...

I pasted the text file below:-

F15 S16 F16 S17 . . . . BCS 101 Programming Concepts and Problem Solving X X X X BCS 102 Computer Concepts & App X . . . BCS 110-114 Introductory Special Topics in Computer Programming and Information Systems X X X X BCS 120 Foundations Comp. Pgm I X X X X BCS 130 Web Page Authoring . . . . BCS 136 Programming in COBOL I . . . . BCS 148 8086 and 8088 Assembler Programming I X X X X BCS 160 Computer, Society and Technology . . . . BCS 185 Programming in Visual Basic . . . . BCS 202 Computer Applications for Business/Sport Management X X X X BCS 208 Introduction to Networks X X X X BCS 209 Routing and Switching Essen X X X X BCS 215 UNIX Operating Systems X X X X BCS 230 Foundations Comp. Pgm II . . . . BCS 232 Electronic Commerce . X X X BCS 235 Javascript and jQuery . . . . BCS 237 Intermediate COBOL Programming X X X X BCS 240 Principles of Website Design X . . . BCS 250 Javascript and jQuery (deprecated) . . . . BCS 255 Operating Systems X X X X BCS 260 Database X X X X BCS 262 Data Communications . . . . BCS 285 Advanced Programming Visual Basic X X X X BCS 300 Management Info. Systems X X X X BCS 301 Systems Analysis & Design . . . . BCS 302 Systems Analysis and Design II X X X X BCS 303 Advanced Website Devt (XML) . . . . BCS 305 Data Visualization X . X . BCS 311 Local Area Networks and Server Administration . . . X BCS 315 UNIX II X X X X BCS 316 PERL Programming X X X X BCS 317 ERP . . X . BCS 318 Virtualization and Cloud Computing X X X X BCS 320 Scaling Networks X X X X BCS 321 Connecting Networks . . . . BCS 340 Introduction to Algorithms X X X X BCS 345 JAVA Programming X X X X BCS 350 Web Database Development . X X X BCS 360 Programming in SQL X X X X BCS 370 Data Structures (Evenings) X X X X BCS 378 Information Security (Evenings) . . . X BCS 380 Adv. Database Programming . X . X BCS 390 Database Administration & Security . . . . BCS 405 IS Development Project Management . . . . BCS 410 Computer Architecture X . . . BCS 413 Advanced Enterprise Resource Planning . . . . BCS 415 Operating System Internals and Design . . . . BCS 420 Client/Server Computing . X X X BCS 421 Android Mobile Applications X X X X BCS 422 iOS Mobile Applications . . . X BCS 425 Decision Support Systems and Data Warehousing . . . X BCS 427 Game Programming X X X X BCS 430W Senior Project X X X X BCS 440 Senior Internship . . X . BCS 450 C# Programming X X . X BCS 450-BCS451 Special Projects (Virtualization) . X . . BCS 460W Ind Study- Writing Intensive . . . . BCS 460 Ind Study- Writing Intensive 

Thank you so much for helping...

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

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions