Byte by Byte › Book 7: Networks, Programming and Machine Learning › Before We Begin
Before We Begin
How to Use This Book
This book has four parts. Chapters 1 to 3 explain how the connected world works: how devices form networks, what the cloud and the Internet of Things really are, and how cryptography keeps messages secret. Chapters 4 to 8 turn you from a beginner into a capable Python programmer who can handle text, lists, functions and dictionaries, and who understands the classic searching and sorting algorithms. Chapters 9 to 13 are about building things people use: styled, responsive websites, a real phone app, animation and video, and serious spreadsheets. Chapters 14 to 16 explain how machine learning works, how AI projects are built, and how to deal with deepfakes and misinformation.
Each chapter follows the same pattern:
- The Case: the story, and the problem that needs the chapter's ideas.
- The Concepts: the core lesson, with real terms, tables, diagrams and worked examples.
- Build It: hands-on activities on a real computer, plus an unplugged activity.
- Case Closed: the story resumes and the problem is solved with exactly what you learned.
- Test Yourself: questions and a challenge. Answers are at the back.
- Key Terms: the new vocabulary, collected into the glossary at the end.
You will also find short boxes along the way. Real World boxes show where an idea is used in India today. Career Spotlight boxes describe a job that uses the skill. Think About It boxes raise questions with no single right answer: discuss them with friends, family or your class.
Type every program yourself rather than copying and pasting. It is slower, and that is the point: you will make mistakes, and fixing them is how programmers learn.
What you need: a Windows 11 computer; Python 3 with IDLE (from Book 6); Notepad and Microsoft Edge; Microsoft Excel (Microsoft 365, or the free Excel for the web); Clipchamp and Microsoft PowerPoint (Clipchamp is built into Windows 11); a free MIT App Inventor account at ai2.appinventor.mit.edu, plus an Android phone or tablet with the MIT AI2 Companion app (optional, for testing); Teachable Machine at teachablemachine.withgoogle.com; and a grown-up's permission for anything involving accounts, downloads, publishing or sharing.
Grade 8 skills covered: computer networks (types, topologies, devices, transmission media, client-server and peer-to-peer), cloud computing, the Internet of Things and emerging technologies, cryptography and cybersecurity, safe social media use, Python strings, lists, functions, modules and dictionaries, program design and debugging, searching and sorting algorithms and their efficiency, number bases beyond binary, CSS (selectors, the box model, the cascade), page layout with Flexbox, responsive design, HTML forms, mobile app development with MIT App Inventor, animation and video editing, advanced spreadsheet functions and charts (absolute references, nested IF, SUMIF and COUNTIFS, XLOOKUP, data validation, PivotTables, Goal Seek), the six-stage AI project lifecycle, AI vs automation, AI applications in India, data preparation, accuracy and the confusion matrix, decision trees, nearest neighbours, neural networks, bias and fairness, privacy, misinformation, deepfakes and accountability. This matches and goes beyond the CBSE Computational Thinking and AI curriculum for Class 8 and the usual Class 8 computer syllabus (CBSE-affiliated schools and ICSE Computer Studies).
Meet Memoon at Thirteen
Memoon is thirteen. Officially a teenager. She is taller than her mother's shoulder now, her ponytail sits high, and her friendship bands have become a thick stack that she refuses to take off. Her backpack of stickers has been retired to the back of a cupboard; these days she wears a faded denim jacket that used to belong to her cousin, and she carries her own laptop, a thirteenth-birthday present that she has already filled with Python files.
Last year Memoon learned what really happens inside a computer. She wrote her first real programs, built a web page, and became Keeper of the Deep Engine. She thought that was the hardest thing she would ever do. She was wrong. This year's problem has no broken machine at the bottom of it. Every computer in Memunic World is working perfectly. That is exactly what makes it dangerous: a lie is travelling across the Light Bridges at the speed of light, and the network is helping it spread.
She still dances Bharatanatyam, still skates and swims, and still trusts her friends completely. This year she will find out that trust is the thing a good network has to protect most.

Remember from Last Time
In Book 6 you learned to:
- Explain the parts of a computer: the CPU and its fetch-decode-execute cycle, RAM, ROM, cache and storage.
- Describe what an operating system does, and how compilers and interpreters translate programs.
- Convert between decimal, binary, octal and hexadecimal, and explain how text, images and sound become bits.
- Plan programs with flowcharts and pseudocode, and test them with normal, boundary and invalid data.
- Write Python programs with variables, data types, input, operators,
if/elif/else,forandwhileloops, and draw with Turtle. - Build web pages in HTML with headings, lists, links, images and tables.
- Explain databases, malware and backups, copyright, the main kinds of machine learning, and how chatbots work and fail.
In Book 6 you learned how one computer works. In Book 7 you will learn how millions of them work together, and what happens when people use that power to deceive. By the end of this book you will be writing programs that handle real data, building sites and apps that other people can use, and judging AI with a clear head.
Quick warm-up: What is the difference between // and % in Python? What does the alt attribute of an <img> tag do? What is a hallucination in a chatbot? (Answers: // gives the whole-number result of a division and % gives the remainder; it describes the image in words for screen readers and when the image cannot load; a confident-sounding answer that is false or made up.)
Keep learning with Byte by Byte
Explore Book 7: Networks, Programming and Machine Learning. Find the ebook, purchase details and teaching slides on MemuniCity.
Comments
Post a Comment