What This Document Is
This document represents a second laboratory assignment for CISC 106, General Computer Science for Engineers at the University of Delaware. It’s a practical exercise designed to reinforce core programming concepts through hands-on code implementation. The lab focuses on building and testing functions within the Python programming language, and applying conditional logic to solve specific computational problems. It’s a key component of the course’s learning objectives, bridging theoretical knowledge with practical application.
Why This Document Matters
This lab is essential for students enrolled in CISC 106 who are looking to solidify their understanding of fundamental programming principles. It’s particularly valuable when you’re ready to move beyond introductory concepts and begin writing more complex, modular code. Successfully completing this assignment will build confidence in your ability to translate problem statements into functional Python programs, a skill crucial for success in subsequent computer science coursework and real-world engineering applications. It’s best utilized *after* reviewing relevant lecture materials on functions and conditional statements.
Topics Covered
* Function Definition and Implementation
* Conditional Statements (if, elif, else)
* Mathematical Function Composition
* Problem Solving with Functions
* Unit Testing and Assertions
* Applying Functions to Real-World Scenarios
* Comparative Analysis of Numerical Values
What This Document Provides
* A series of programming challenges requiring function creation.
* Detailed specifications for each function, outlining expected behavior.
* Guidance on utilizing assertions for robust code testing.
* Problem descriptions involving practical scenarios like calculating travel distances.
* Exercises designed to develop skills in identifying minimum and maximum values.
* Opportunities to apply learned concepts to both numerical and string-based data.
* A structured framework for developing and verifying your Python code.