☰ خطة العام · تكنولوجيا المعلومات والاتصالات (بالإنجليزية)

Thinking like a computer

الأسبوع 1 · الدرس ١ «التفكير الحاسوبي وحل المشكلات» (١): المهارات الأربع وخطوات حل المشكلة ومثال جمع رقمين · 3 دروس
Answers are for parents and teachers.
1
Write the four skills of computational thinking and one everyday example for each.
2
Put the five steps in order: test, write the code, understand the problem, write the steps, find the inputs and outputs.
3
Look at the program in the picture. The user types 8 and 15. What does the screen show?
Python
1num1 = int(input("First number: "))
2num2 = int(input("Second number: "))
3total = num1 + num2
4print(total)
4
A friend writes total = num1 + num2 but forgets int(). The user types 3 and 4. What shows, and how do you fix it?