A computer is an electronic machine that can receive, process, store, and output information. It follows instructions to perform tasks quickly and accurately.
Computers are used everywhere – at home, at school, in hospitals, and even in space! They help us learn, play, communicate, and solve problems.
What are some computers you use?
Desktop computers – Used at home or school.
Laptops – Portable computers you can carry.
Tablets – Touchscreen computers.
Smartphones – Small computers in your pocket!
Draw a picture of a computer and label its main parts: monitor, keyboard, mouse, and CPU.
Bonus: Can you name one thing you can do with each part?
Allah has given humans the ability to create amazing tools like computers. The Qur'an says: "And He taught man that which he knew not." (96:5). Computers are a blessing that we should use wisely and responsibly.
A computer is an electronic machine that processes information. The main parts are the monitor, keyboard, mouse, and CPU. Computers help us learn, work, and communicate. We should use them responsibly and be grateful for this blessing.
To use a computer, you first need to boot it up – this means turning it on and waiting for it to load the operating system.
What is the Desktop?
The desktop is the main screen you see after the computer starts. It has icons (small pictures) that you can click to open programs, files, or folders.
What is a Folder?
A folder is like a digital container that holds files, just like a real folder holds papers.
Practice these skills on a computer:
1. Click on an icon to select it.
2. Double-click on a folder to open it.
3. Drag an icon to move it to a different place.
4. Right-click on the desktop and explore the menu.
Write down what you learned.
Using a computer is a skill that requires practice and patience. The Prophet ﷺ said: "Seeking knowledge is an obligation upon every Muslim." Learning to use technology is part of seeking knowledge in today's world.
To use a computer, you need to know how to boot it up and use the mouse and keyboard. The desktop is the main screen, and folders hold files. Basic skills include clicking, double-clicking, dragging, dropping, and right-clicking. Practice makes perfect!
A document is a file that contains text, images, or other information. You can create documents using programs like Microsoft Word or Google Docs.
Practice typing a short story about yourself.
Include your name, your age, your favorite subject, and what you like to do.
Then save it with a name like "My_Story"!
Create a "My Favorite Things" document.
Include:
1. A title using a large font.
2. A list of your favorite things.
3. A picture (if you can find one).
4. Save it with a name.
Bonus: Change the font color of your title.
Writing and saving documents is a valuable skill that helps us share information. The Qur'an encourages us to write and preserve knowledge. "Read! And your Lord is the Most Generous, Who taught by the pen." (96:3-4)
A document is a file with text and images. You can create, save, open, and print documents. Formatting helps make documents look better. Document skills are essential for school and work.
A spreadsheet is a program that organizes data in rows and columns. You can use it for calculations, budgets, and data analysis. Microsoft Excel and Google Sheets are popular spreadsheet programs.
Create a budget for your weekly allowance.
Column A: Item (e.g., Snacks, Toys, Savings)
Column B: Cost (e.g., 20, 50, 30)
Formula: =SUM(B2:B4) – This adds all the costs!
Create a 3-slide presentation about yourself.
Slide 1: Title – "All About Me"
Slide 2: My Family – Add a picture or text.
Slide 3: My Hobbies – List what you like to do.
Bonus: Add a transition between slides.
Spreadsheets help us organize and analyze information. Presentations help us communicate and share ideas. These are valuable skills that help us in school, work, and life. Use them to serve others and share knowledge.
Spreadsheets organize data in rows and columns and can do calculations. Presentations share information using slides. Both are powerful tools for learning and communication. Practice using them to become more confident.
The internet is a global network of computers that connects people and information from all over the world. It allows us to communicate, learn, and share with others instantly.
A student named Ahmed saw a friend's post online that was unkind.
Instead of ignoring it, he sent a private message to his friend and said:
"I saw your post. Are you okay? Let's talk about it."
His friend was struggling and appreciated Ahmed's kindness.
They talked and worked through the problem together.
The lesson: Be a positive influence online. Use the internet to
support and uplift others, not to hurt them.
Create a "Digital Citizenship Pledge" for yourself.
Include:
1. One rule about protecting your personal information.
2. One rule about being kind to others online.
3. One rule about respecting others' work.
Share your pledge with your family.
The internet is a blessing from Allah that connects us to the world. But it also has risks. The Qur'an says: "And do not throw yourselves into destruction..." (2:195). Using the internet safely is a way to protect ourselves and others. Be a responsible digital citizen.
The internet connects people globally but comes with responsibilities. Protect your personal information, use strong passwords, and think before you click. Be a kind and respectful digital citizen by treating others well online.
Programming is the process of giving instructions to a computer to perform tasks. These instructions are written in a programming language.
Programming helps us create software, apps, websites, and games. It's like giving directions to a very fast and literal assistant.
Create a simple animation:
1. Choose a sprite (like a cat).
2. Add a "when green flag clicked" block.
3. Add a "move 10 steps" block.
4. Add a "say Hello!" block.
5. Click the green flag to run your program!
Create a Scratch project that tells a short story.
Include:
1. At least two sprites.
2. A conversation between them using "say" blocks.
3. Some motion (like moving across the screen).
4. A "when green flag clicked" block to start.
Share your project with a classmate.
Programming is a way to create and solve problems. The Qur'an says: "And He taught man that which he knew not." (96:5). Just as Allah taught us, we can use programming to teach computers and serve humanity.
Programming is giving instructions to a computer. Scratch is a block-based programming language that makes it easy to start. Blocks represent commands like move, say, and repeat. Programming is a creative and powerful skill that you can develop.
Python is a popular programming language known for being readable and beginner-friendly. It's used in web development, data science, artificial intelligence, and more.
Python is a text-based language, which means you type commands instead of dragging blocks. Let's learn the basics!
In Python, type these lines:
name = "Fatima"
age = 11
print("My name is", name)
print("I am", age, "years old")
What happens when you run it?
Write a Python program that stores and displays information about yourself.
Use variables for:
1. Your name (string)
2. Your age (integer)
3. Your height (float)
4. Whether you like coding (boolean)
Print all the information using print() statements.
Learning to code is like learning a new language – the language of computers. The Qur'an says: "And of His signs is the creation of the heavens and the earth and the diversity of your languages..." (30:22). Just as languages connect people, programming languages connect us to technology.
Python is a text-based programming language. Variables store data like names, numbers, and booleans. Data types include strings, integers, floats, and booleans. Use print() to display information. Practice makes perfect!
Conditions allow your program to make decisions based on whether something is true or false. This is done using if statements.
Write a program that checks if a number is even or odd:
num = int(input("Enter a number: "))
if num % 2 == 0:
print("Even")
else:
print("Odd")
Write a Python program that:
1. Asks the user to guess a number between 1 and 10.
2. Uses an if statement to check if the guess is correct.
3. Uses a while loop to let the user try again until they get it right.
Bonus: Give hints like "Too high" or "Too low."
In programming, we repeat tasks and make decisions. This is similar to life – we make choices and sometimes have to try again. The Qur'an says: "And be patient, for indeed, Allah is with the patient." (8:46). Perseverance is key in both programming and life.
If statements allow programs to make decisions. For loops repeat code a set number of times. While loops repeat code while a condition is true. Practice using these to build interactive and dynamic programs.
Data structures are ways to organize and store data in a computer so it can be used efficiently. They are essential for writing efficient programs.
Create a list of your favorite movies and display them:
movies = ["The Lion King", "Aladdin", "Toy Story"]
for movie in movies:
print(movie)
Write a Python program that:
1. Creates a list of 10 numbers.
2. Asks the user for a number to search for.
3. Uses a linear search to find the number.
4. Prints "Found" or "Not Found."
Bonus: Implement a binary search (if you can).
Allah has created the universe with order and structure. The Qur'an says: "And everything with Him is by measure." (13:8). Data structures help us organize information just as Allah has organized creation. Efficiency in algorithms is a way of honoring this divine order.
Data structures organize data efficiently. Lists are ordered collections of items. Algorithms are step-by-step solutions to problems. Learning data structures and algorithms is essential for becoming a skilled programmer.
Web development is the process of building websites and web applications. It involves three main technologies: HTML (structure), CSS (style), and JavaScript (interactivity).
<h1>, <p>, and <div>
define different parts of a page.
Create a simple HTML page about your favorite hobby.
Include:
1. A title using <h1>.
2. A paragraph using <p>.
3. A list using <ul> and <li>.
4. An image using <img> (optional).
Create a simple webpage about yourself.
Include:
1. An HTML structure with headings, paragraphs, and lists.
2. CSS to style your page (colors, fonts, margins).
3. A title in the browser tab.
Save the file as "my_page.html" and open it in a browser.
The web is a powerful tool for sharing information and connecting with others. The Qur'an says: "And We have made some of you as a trial for others..." (25:20). When we create websites, we have the opportunity to share beneficial knowledge and serve humanity.
HTML provides the structure of web pages using tags. CSS styles web pages with colors, fonts, and layouts. Together, they form the foundation of web development. Practice creating and styling pages to build your skills.
A database is an organized collection of data that can be easily accessed, managed, and updated. Databases are used in almost every application, from social media to banking.
How are databases used in your daily life?
Social Media: Stores your profile, posts, and friends.
Online Shopping: Stores products, orders, and customer information.
Education: Stores student records and grades.
Databases are everywhere!
A student named Yusuf received an email that looked like it was from his school,
asking him to click a link and enter his password. He noticed the email address
was slightly different from the school's official address.
Instead of clicking, he forwarded it to his teacher. The teacher confirmed it was
a phishing attempt. Yusuf had protected his information
by being careful.
The lesson: Always verify the source before sharing personal information.
Create a cybersecurity awareness poster.
Include:
1. Tips for creating strong passwords.
2. How to recognize phishing emails.
3. The importance of keeping software updated.
4. A reminder to think before clicking.
Share your poster with your class.
In Islam, we are taught to protect ourselves and our communities. The Qur'an says: "And do not throw yourselves into destruction..." (2:195). Cybersecurity is a form of self-protection in the digital age. We have a responsibility to safeguard our data and respect others' privacy.
Databases organize data and are managed using SQL. Cybersecurity protects computers, networks, and data from threats. Common threats include viruses, phishing, and hacking. Protect yourself with strong passwords, updates, and vigilance.
Artificial Intelligence (AI) is the field of computer science that focuses on creating machines that can think and act like humans. AI can solve problems, recognize patterns, and make decisions.
A group of Muslim students created an AI-powered app that helps people with disabilities
navigate public spaces. The app uses computer vision to detect obstacles and provide
guidance.
The students were inspired by the Islamic value of serving others.
They said: "We wanted to use technology to help people, just as the Prophet ﷺ helped others."
The lesson: Technology is a tool. When used with good intentions,
it can benefit all of humanity.
Research an AI application that benefits society.
Answer these questions:
1. What is the AI application?
2. How does it help people?
3. What ethical considerations does it involve?
4. How does it align with Islamic values?
Write down your findings and share them with your class.
AI and technology are gifts from Allah that can be used for good or harm. The Qur'an says: "And We have certainly honored the children of Adam..." (17:70). As Muslims, we have a responsibility to use technology ethically and to benefit all of humanity. Let us be leaders in using AI for good.
Artificial Intelligence (AI) is creating intelligent machines. Machine Learning is teaching computers to learn from data. AI is used in healthcare, transportation, education, and more. As Muslims, we must ensure that AI is fair, private, responsible, and purposeful. The future of technology is in our hands.
You've journeyed through 12 years of Computer Science – from learning basic computer parts to understanding AI and machine learning. You've explored hardware, software, programming, web development, data, cybersecurity, and artificial intelligence. You are now equipped with the knowledge and skills to thrive in the digital age. May Allah bless your journey and make you a leader in using technology for good!