Introduction To Coding & Computational Thinking Lecture Slides
Introduction To Coding & Computational Thinking Lecture Slides
Computational Thinking
Introduction to Coding
Real-life Benefits:
• Automation: Simplify repetitive tasks.
• Problem-solving: Enhances logical thinking.
• Career Opportunities: Opens doors in technology, data
science, and other fields.
Comparison of
Popular Programming Languages
Languages: Python, JavaScript, C++.
Key Differences:
Feature Python JavaScript C++
Fields of Application:
Data Science, Web Development, Automation, AI & ML, Cybersecurity,
FinTech.
total = 0
for i in range(1, 11):
total += i
print("Sum from 1 to 10 is:", total)
Solution Steps:
• Decompose the trip into planning for transport,
accommodation, itinerary.
• Recognize patterns in travel costs and booking times.
• Abstract by focusing on major steps only.
• Design an algorithm for booking with available budget and
options.
Coding for Task Automation
Benefits:
Speeds up repetitive tasks.
Increases efficiency in data handling,
communication, etc.
Coding Applications Across Fields
Data Analysis: Automated calculations and data
summaries.
Python Instructions:
def send_message(name):
message = f"Hello, {name}! This is an automated message."
return message
Expected Output:
Hello, John! This is an automated message.
Hello, Mary! This is an automated message.
Hands-on Exercise
Objective:
Learn how to use Python to create a daily checklist that you can reuse
every day by simply running the script. The checklist will prompt users
to complete each task, mark it as "done," and display a summary at
the end of the day.
Summary: At the end of the checklist, the script will display which
tasks were completed and which were not.
Conclusion
• Empowering Skills: Coding and computational thinking are essential
tools in today’s digital world.
• Problem-Solving & Efficiency: These skills enable efficient, logical
problem-solving that can be applied across industries.
• Starting Small, Growing Big: Remember, even the simplest code can
lead to significant improvements; focus on continuous learning.
Next Steps:
• Practice Regularly: Apply these techniques to daily tasks to strengthen
your skills.
• Explore More: Continue learning advanced topics in coding languages
and data analysis.
• Think Creatively: Use computational thinking in new ways to solve
challenges in personal and professional life.
Questions
Thank You