Assignment 7 tests your knowledge of namespaces, strings, and user-defined simple data types (Chapter 7)

User Generated

qxnexv7

Programming

Richland College

Description

Write a program that reads lines from the attached file into a string (one line at a time) and computes and outputs to the console (into a table format, one column for the concept and one column for the number of times) the number of times each one of the following exact concepts was found in the CS.txt file:

1. Computer Science

2. COSC

3. C++

4. Programming

5. RLC

6. Richland (any caps)

Do not edit the file. You should solve the problem in C++ using only concepts studied in class so far.


CSC.txt file is attached below.

Unformatted Attachment Preview

COMPUTER SCIENCE At RICHLAND Taking computer science classes at Richland College is an affordable way to get started on a path to a brighter future. Whether you're taking classes to transfer to a four-year college or university, or for personal enrichment, our curriculum will give you the foundational skills you need. Computer science is the study of computers and computational systems. A discipline including theory and practice, it includes the study of methods for processing digital information, and the design of computer hardware and software along with the applications of computers. It requires thinking both in abstract and concrete terms. Computer science has a stronger foundation in math than in science. Computer science courses are listed under the four-letter rubrics (course prefixes) BCIS and COSC. Note that all courses may not be offered at every college of DCCCD. Guided Pathways are maps that show you what classes you will take, and when. View Guided Pathways Which classes are available? How much money will it cost? Will these classes transfer? Taking computer science classes at Richland College is an affordable way to get started on a path to a brighter future. Whether you're taking classes to transfer to a four-year college or university, or for personal enrichment, our curriculum will give you the foundational skills you need. Computer Science at Richland Contact Us 2019 - 2020 Catalog Course Descriptions for COSC Course Number:COSC 1301 (3 Credit Hours) Offered at BHC, CVC, EFC, ECC, MVC, NLC, RLC Course Title:Introduction to Computing This is a Texas Common Course Number. Course Description: Overview of computer systems hardware, operating systems, and microcomputer application software, including the Internet, word processing, spreadsheets, presentation graphics, and databases. Current issues such as the effect of computers on society, and the history and use of computers in business, educational, and other modern settings are also studied. This course is not intended to count toward a student’s major field of study in business or computer science. This course will fulfill degree requirements established by the colleges of DCCCD only if this course has been successfully completed and the date of completion does not exceed 10 years. (2 Lec., 2 Lab.) Coordinating Board Academic Approval Number 1101015107 Search for COSC 1301 classes Course Number:COSC 1315 (3 Credit Hours) Offered at BHC, EFC, ECC, MVC, RLC Course Title:Introduction to Computer Programming This is a Texas Common Course Number. Course Description: Introduction to computer programming for solving a variety of problems. This course is intended for non-computer science and non-computer engineering majors. Emphasis on the fundamentals of design, development, testing, implementation, and documentation of computer programs. Includes problem solving with structured techniques and algorithms using pseudo code and/or graphical representations. This course may use instructional examples and assignments from various programming languages, including but not limited to C, Objective-C, C++, C##, and/or Java. COSC 1315 will satisfy the Associate of Science degree general elective requirement. This course will fulfill degree requirements established by the colleges of DCCCD only if this course has been successfully completed and the date of completion does not exceed 10 years. (3 Lec., 1 Lab.) Coordinating Board Academic Approval Number 1102015207 Search for COSC 1315 classes Course Number:COSC 1436 (4 Credit Hours) Offered at BHC, CVC, EFC, ECC, MVC, NLC, RLC Course Title:Programming Fundamentals I This is a Texas Common Course Number. Course Description: This course introduces the fundamental concepts of structured programming, and provides a comprehensive introduction to programming for computer science and technology majors. Topics include software development methodology, data types, control structures, functions, arrays, and the mechanics of running, testing, and debugging. This course may use instructional examples and assignments form various programming languages including but not limited to C, Objective-C, C++, and/or Java. This course assumes computer literacy. (This course is included in the Field of Study Curriculum for Computer Science.) COSC 1436 will satisfy the Associate in Sciences degree general elective requirement. This course will fulfill degree requirements established by the colleges of DCCCD only if this course has been successfully completed and the date of completion does not exceed 10 years. (3 Lec., 3 Lab.) Coordinating Board Academic Approval Number 1102015507 Search for COSC 1436 classes Course Number:COSC 1437 (4 Credit Hours) Offered at BHC, CVC, EFC, ECC, MVC, NLC, RLC Course Title:Programming Fundamentals II This is a Texas Common Course Number. Prerequisite Required: COSC 1436 and MATH 1314 or higher. Course Description: This course focuses on the object-oriented programming paradigm, emphasizing the definition and use of classes along with fundamentals of object-oriented design. The course includes basic analysis of algorithms, searching and sorting techniques, and an introduction to software engineering processes. Students will apply techniques for testing and debugging software. This course may use instructional examples and assignments form various programming languages including but not limited to C, Objective-C, C++, and/or Java. (This course is included in the Field of Study Curriculum for Computer Science.) COSC 1437 will satisfy the Associate in Sciences degree general elective requirement. This course will fullfill degree requirements established by the colleges of DCCCD only if this course has been successfully completed and the date of completion does not exceed 10 years. (3 Lec., 3 Lab.) Coordinating Board Academic Approval Number 1102015607 Search for COSC 1437 classes Course Number:COSC 2425 (4 Credit Hours) Offered at BHC, ECC, NLC Course Title:Computer Organization This is a Texas Common Course Number. Prerequisite Required: COSC 1436. Course Description: The organization of computer systems is introduced using assembly language. Topics include basic concepts of computer architecture and organization, memory hierarchy, data types, computer arithmetic, control structures, interrupt handling, instruction sets, performance metrics, and the mechanics of testing and debugging computer systems. Embedded systems and device interfacing are introduced. (This course is included in the Field of Study Curriculum for Computer Science.) COSC 2425 will satisfy the Associate in Sciences degree general elective requirement. This course will fullfill degree requirements established by the colleges of DCCCD only if this course has been successfully completed and the date of completion does not exceed 10 years. (3 Lec., 3 Lab.) Coordinating Board Academic Approval Number 1102015407 Search for COSC 2425 classes Course Number:COSC 2436 (4 Credit Hours) Offered at BHC, EFC, ECC, MVC, NLC, RLC Course Title:Programming Fundamentals III This is a Texas Common Course Number. Prerequisite Required: COSC 1437. Course Description: Further applications of programming techniques, introducing the fundamental concepts of data structures and algorithms. Topics include recursion, fundamental data structures (including stacks, queues, linked lists, hash tables, trees, and graphs), and algorithmic analysis. This course may use instructional examples and assignments from various programming languages, including but not limited to C, Objective-C, C++, C#, and/or Java. COSC 2436 will satisfy the Associate in Sciences degree general elective requirement. This course will fulfill degree requirements established by the colleges of DCCCD only if this course has been successfully completed and the date of completion does not exceed 10 years. (3 Lec., 3 Lab.) Coordinating Board Academic Approval Number 1102015707 Degrees, Certificates and Classes for Credit > Academic and Transfer Courses and Degrees > Computer Science Computer Science Computer science is the study of computers and computational systems. A discipline including theory and practice, it includes the study of methods for processing digital information, and the design of computer hardware and software along with the applications of computers. It requires thinking both in abstract and concrete terms. Computer science has a stronger foundation in math than in science. Note that all courses may not be offered at every college of DCCCD. For a full listing of all courses, including which college offers a specific course, check the online Combined Colleges catalog. Guided Pathways in Computer Science A guided pathway will help you earn a college credential and build a career. It's a one-page document that clearly shows you what courses to take (and when) to best prepare you for success in college and in your career. Learn more about Guided Pathways to Success. GUIDED PATHWAY Computer Science - Field of Study A guided pathway will help you earn a college credential and build a career. It's a one-page document that clearly shows you what courses to take (and when) to best prepare you for success in college and in your career. Learn more about Guided Pathways to Success. Computer Science - FOS COMPUTER SCIENCE - FOS GUIDED PATHWAY MAP Colleges: * Brookhaven * Cedar Valley * Eastfield * El Centro * North Lake * Richland AS - Computer Science (RLC - UT Dallas) AS - COMPUTER SCIENCE (RLC - UT DALLAS) GUIDED PATHWAY MAP Colleges: * Richland Field of Study Degrees in Computer Science An Associate of Science degree with a Field of Study in Computer Science is also offered at six colleges of DCCCD. Official Field of Study degrees were created by the Texas Higher Education Coordinating Board to transfer as a block of credit to any Texas public college or university. Field of Study degrees comprise courses to complete at freshman and sophomore levels that lead to a specific major in a four-year degree. Associate of Science Degree with a Field of Study in Computer Science * Brookhaven College * Cedar Valley College * Eastfield College * El Centro College * North Lake * Richland College Field of Study Degrees ASSOCIATE OF SCIENCE DEGREE WITH A FIELD OF STUDY IN COMPUTER SCIENCE This plan is an official Field of Study Degree approved the Texas Higher Education Coordinating Board. Offered at Brookhaven, Cedar Valley, Eastfield, El Centro, North Lake and Richland Colleges Degree Code: AS.FS.COMP.SCI.18 This degree plan is designed to meet the needs of students who plan to major in Computer Science and transfer to a four-year college or university. The Texas Higher Education Coordinating Board approves the field of study in Computer Science included in this degree. This degree plan will constitute a semester credit hour transfer block to any public Texas four-year college or university with a Computer Science Major. Transferring students shall not be required to repeat courses transferred as part of the field of study curriculum. Completion of the field of study curriculum shall not prevent a receiving institution from requiring additional lower-division courses that may be necessary for specific degree programs. Because of the complexity of requirements, student must plan very carefully and work with an advisor/counselor. In order to be eligible to receive this AS degree, a student must: 1. Complete a minimum of 60 credit hours including the courses listed below; 2. Earn a grade of "C" or better in English 1301 and the selected college-level mathematics course; 3. Receive a GPA (2) of at least 2.00 ("C"); 4. Meet all Texas Success Initiative (TSI) standards and course prerequisites; and 5. Complete at least 25% of the credit hours required for graduation through instruction by the college awarding the degree. It is recommended that students complete the math sequence, physics sequence, and computer science sequence at the same institution to reduce the likelihood of potential gaps in the curriculum. This degree does not include all Core Curriculum course requirements. Richland and UTD continue partnership to prime engineering and computer science students
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Well, I believe the program is good:)It is th...


Anonymous
Awesome! Made my life easier.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Related Tags