Четверг Introduction to Computational Thinking, Algorithms, and System Logic
Problem Decomposition and Order System Logic
Computational Thinking:
- Writing computer programs begins with learning how to think like a computer.
- Complex, large-scale problems should not be approached as a single unmanageable task; instead, they must be systematically decomposed into smaller, well-defined sub-problems.
System Inputs and Parameters:
- System entities include registered members and the specific orders they place.
Business Rules and Delivery Fee Structure:
- Minimum Order Threshold: An order amount must reach a minimum threshold of .
- Standard Surcharge: If an order does not meet the requirement, a delivery surcharge of is applied for distances up to .
- Alternate Surcharge: A surcharge of is applied if it is new.
Algorithms and Computer Programs
Definition of an Algorithm:
- An algorithm is fundamentally a procedure or a specified step-by-step method designed to solve a given problem.
- Its primary function is to design and formulate the solution.
- Example: An order preparation notification procedure constitutes an algorithm.
Definition and Function of a Program:
- A program serves as a tool or interface that allows for the practical execution of an algorithm.
- Its core purpose is the execution of the solution that the algorithm has designed.
Relationship Between Algorithms and Programs:
- The algorithm designs the solution; the program executes the solution.
Boolean Logic in Conditional Statements
- Condition Formulation:
- Program statements rely on logical conditions to direct flow and operational behavior.
- Logical evaluation rule: When evaluating conditions where both inputs are false, the overall outcome resolves to false ().
Course Logistics and Roadmap
Course Progress:
- Instruction did not take place during the first week; the current session serves as the inaugural meeting.
- Initial focus centers on foundational background material, including core terminology and team arrangements.
Subsequent Milestones:
- Instruction moves toward tangible programming results and concrete code execution beginning the following week.
- The inclusion and scheduling of dedicated laboratory sessions remains under review.
Questions & Discussion
- Question / Prompt: What is an algorithm, and what is a program?
- Audience Response: Participants provided tentative definitions ("Yes, more or less, something like that.").
- Response / Clarification: An algorithm is the underlying procedure that designs the solution to a problem, whereas a program is the interface and executable tool that carries that procedure out in practice.