Summary

هذا المستند عن حل المشاكل في البرمجة. يغطي المستند حل المشكلات عن طريق تحديد المشكلة، وفهمها، وتصميم الحلول وتنفيذها. يركز على المفاهيم الأساسية مثل الخوارزميات والتفكير المنطقي.

Full Transcript

‫ الوحدة الثانية‬: ‫مبادئ البرمجة‬ Problem solving A problem: Is the difference between your current state and your goal state. A program: Is a sequence of instructions that can be executed by computer to solve some problem or pe...

‫ الوحدة الثانية‬: ‫مبادئ البرمجة‬ Problem solving A problem: Is the difference between your current state and your goal state. A program: Is a sequence of instructions that can be executed by computer to solve some problem or perform a specified task. Problem Solving: Is the sequential process of analyzing information related to a given situation and generating appropriate response options. ‫حفظ الخطوات الست و بالترتيب‬ 1- Identify the problem Input: items I either already know or am getting from the user. Output: items that I find out by manipulating the input. Synonyms )‫(يقصد بها االختصار ولها شروط بالوحدة الثانية‬ Types)‫(أنواع البيانات إما رقمية أو نصية أو منطقية‬ 2- Understand the problem (knowledge base) You must understand what is involved in the problem before you can continue toward the solution You also must know your own knowledge base. 3- Identify ways to solve the problem (‫)يقصد بها القانون‬ The solution: The management of a problem in a way that successfully meets the goals established for treating it. 4- Design the solution (Flowchart) Flowchart diagram: Is a graphical way of depicting a problem in terms of its inputs, outputs, and processes. 5- List of instructions (Pseudocode) Pseudocode: A set of step-by step instructions similar to that found in the programming language to be used. 6- Evaluate the solution (Test,Check) Check its result to see if it is correct, and to see if it satisfies -)17‫ و‬16 ‫(تمارين الكتاب بصفحة‬- Telegram: ali140150