Introduction to OOP in C++ Programming Course

testing in cs1 n.w
1 / 9
Embed
Share

This course provides an introductory exploration of C++ programming, covering syntax, coding rules, compilation, execution, program design, modular programming, arrays, file processing, and software testing concepts. Topics include basic testing techniques, formalizing testing concepts, assignment examples with testing, test suite documents, testing techniques, decision and repetition structures, and integrating testing concepts. Practical exercises and examples are included to reinforce learning.

  • C++
  • Programming
  • Software Testing
  • Object-Oriented Programming

Uploaded on | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. Testing in CS1 http://www.famu.edu/images/FAMU-TopBanner.jpg

  2. Course Description Introduction to OO Programming in C++ An introductory course in C++ programming. It covers the syntax and the rules of the C++ language, including how to code, compile, and execute programs. Students will learn program design, structured modular programming, arrays, report generation, and file processing, including basic software testing concepts and techniques. 2 3/16/2025 Testing in CS1

  3. Formalize Testing @ the end of chapter on Basic Concepts Introduce basic testing concepts: Define Testing Introduce Terminology Define Test Case/Suite Introduce basic test case classifications: Black-Box White-Box 3 Testing in CS1 3/16/2025

  4. Assignment w/ Testing: Example Assignment: Example Program allows cashier to enter customers age as input. It determines if customer is allowed to purchase alcoholic beverage. The output is either Allow (age >=21) or Prohibit (age<21). Submission requirements example: Pseudo Code/Implementation Flow Chart Document Test Suite Document (w/out tool support) 4 Testing in CS1 3/16/2025

  5. Test Suite Document: Example Test Case ID Testing Technique Expected Output Actual Output Purpose Set Up Input Underage Test Execute Program TC1 12 Prohibit Prohibit Equivalence Of Age Test Execute Program TC2 27 Allow Allow Equivalence Underage Test Execute Program TC3 20 Prohibit Prohibit Boundary Of Age Test Execute Program TC4 22 Allow Allow Boundary Of Age Test Execute Program TC5 21 Allow Prohibit Boundary 5 Testing in CS1 3/16/2025

  6. Introduce 4 Testing Techniques @ the end of chapter on Decision Structure: Equivalence Testing Boundary Testing @ the end of chapter on Repetition Structure: Control Flow-Based Testing: Statement Coverage Branch Coverage 6 Testing in CS1 3/16/2025

  7. Integrate Testing Chapter Testing Concept Overview N/A Basic Concepts Formalize Testing I/O N/A Introduce Equivalence and Boundary Testing Test suite document required with lab submissions Decision Introduce Statement and Branch Coverage Testing Test suite document required with lab submissions Repetition Functions Records Arrays Classes Use all 4 testing techniques as assigned Test suite document required with lab submissions 7 Testing in CS1 3/16/2025

  8. Evaluation Plan Assess student s knowledge of testing Pre-Test (administered @ the beginning of the lecture that formalizes software testing) Post-Test (administered during the last two weeks of the semester) Grade distribution for labs excludes testing QualityRubrics Obtain student feedback on usefulness of testing Survey measured in a likert scale (administered during the last two weeks of the semester) Keep track of introduced overhead Instructor s Log 8 Testing in CS1 3/16/2025

  9. Thank You Question, Comments, Concerns, and Queries? 9 Testing in CS1 3/16/2025

More Related Content