Computer Science lessons
226 lessons
- 3D Modelling: From a Cube to a Printed Object β A 3D model is a shape stored in a computer as points (vertices) joined by edges into flat faces: a mesh. We build models by starting from simple shapes (primitives), moving, rotating and scaling them, and pulling faces out (extrude). Then we add materials and lights and the computer renders a picture. The same model can be sliced into thin layers and built by a 3D printer, or used in games, films, VR and product design.
- Advanced Programming and Applications β Advanced programming means choosing the right data structure (array, linked list, stack, queue), writing and testing code in an IDE, drawing charts and animations, using spreadsheet functions, and storing data safely in a relational database that you query with SQL.
- AI Ethics: Using Artificial Intelligence Fairly and Safely β AI systems learn patterns from data and then make decisions. AI ethics asks whether those decisions are fair, safe and respectful. The main issues are bias (unfair data gives unfair results), privacy (personal data needs consent and protection), transparency (people should know why an AI decided something), accountability (a human stays responsible), safety and misuse (deepfakes, false information), and social impact (jobs, the digital divide, the environment). Responsible AI means checking all of these before and after an AI is used.
- AI Skills: Computer Vision, Language, Reasoning and Game Playing β AI has four classic skills. Vision turns pixels into edges, shapes and labels. Language processing cuts text into tokens, tags words and finds meaning. Reasoning draws new facts from facts and rules, but only valid steps are safe. Game playing builds a tree of moves and scores it from the bottom up (minimax) to pick the best move.
- AI-Predicted Travel: Using Data to Predict Traffic β To predict traffic, an AI first collects past data, such as cars per hour on many days. It looks for a pattern, like two rush-hour hills in the morning and evening. Then it predicts the next day by using that pattern, for example the average of the same hour on past days. People use the prediction to choose a better time or route. A prediction is a good guess, not a promise.
- Algorithm Analysis for Executors β An executor is a robot or program that does exactly the commands in its list. To analyse an algorithm we trace it: run every command by hand and note the state each time. A syntax error breaks the rules of the language (for example a misspelled command), so the executor stops. A logic error runs without complaint but gives the wrong result, and only tracing finds it. In computer graphics the origin (0, 0) is the top-left corner, x grows right and y grows down.
- Algorithm Analysis: Which Inputs and Which Results Are Possible? β To analyse an algorithm means to study what it does. You trace it for one input, step by step. Then you ask: what results can it give for all allowed inputs, and which input gave a certain result? Working backwards undoes the steps in reverse order. Some results are impossible, and sometimes two inputs give the same result.
- Algorithm Complexity: How Fast Does an Algorithm Grow? β Many algorithms can solve the same problem, but some need far more steps. We measure an algorithm by counting its basic steps as the input size n grows, not by stopwatch seconds. Big O notation names the growth: O(1) constant, O(log n) logarithmic, O(n) linear, O(n log n), and O(nΒ²) quadratic. Linear search is O(n), binary search is O(log n); bubble sort is O(nΒ²), merge sort is O(n log n). Memory used is space complexity.
- Algorithm Design Techniques β To design an algorithm, first specify the problem: the input data, the expected output and any conditions. Then write clear, finite steps in natural language, as a list, pseudocode or flowchart. Big problems are split top-down into smaller parts (stepwise refinement) or built bottom-up from small tested pieces. Classic techniques: brute force (try everything), divide and conquer (split, solve, combine; halving as in binary search and merge sort), greedy (take the best-looking choice each time; fast but not always optimal), dynamic programming (solve each small subproblem once and store it in a table) and backtracking (try a choice, undo it at a dead end). Choose the technique and data structures (arrays, stacks, binary trees) by checking correctness and efficiency (time complexity).
- Animation: How Still Pictures Start to Move β Animation is a row of still pictures (frames) shown quickly one after another. The eye and brain join them, so we see motion. Frame rate (fps) says how many frames are shown each second: more fps = smoother motion. Key frames hold the main poses; in-betweens fill the gaps (tweening). Main types: hand-drawn (frame by frame), stop motion (paper cut-outs, clay), 2D computer, 3D computer. Raster animation stores pixels; vector animation stores shapes as maths, so it scales without blur.
- Arrays and Lists: Storing Many Values in One Name β An array is a row of numbered boxes that share one name. Each box holds one value and has an index that starts at 0. We read or change a box with its index, visit every box with a loop (traversal), and use that loop for standard algorithms: sum, average, largest, count and linear search. A 2D array is a grid of rows and columns, read with two indexes and two nested loops. A fixed array has a set length; a list (Python list, Java ArrayList) can grow and shrink.
- Artificial Intelligence: How Machines Learn to Think β Artificial intelligence (AI) is the skill of a computer system to do tasks that normally need human thinking: seeing, understanding speech, deciding and learning. An AI system is an agent that senses, thinks and acts. Old AI followed rules written by people. Modern AI mostly uses machine learning: it finds its own rule from many labelled examples (data). Neural networks are layers of simple units whose link strengths (weights) change during training. AI is used in maps, translation, health, farming and games. It can be wrong or unfair when its data is one-sided (bias), so people must check it, protect privacy and stay responsible.
- Backtracking β Backtracking builds an answer one choice at a time. If a choice breaks a rule, it is cut (pruned); when a branch is finished or stuck, the program goes back one step and tries the next choice. It is used to generate all Cartesian products, permutations, arrangements, combinations and subsets.
- Basic Computer Organisation β A computer system has hardware (parts you can touch) and software (instructions). Input devices bring data in, the CPU (ALU + Control Unit + registers) processes it, and output devices give results. Memory forms a ladder: registers and cache are tiny and fastest, primary memory (RAM, ROM) holds running programs, and secondary storage (HDD, SSD, pen drive) keeps data permanently. Memory is measured in bits and bytes: 8 bits = 1 byte, and each bigger unit (KB, MB, GB, TB, PB) is 1024 times the one before.
- Big Data β Big data is data that is too big, too fast or too mixed to store and process on one ordinary computer with normal tools. We describe it with Volume (how much), Velocity (how fast it arrives) and Variety (how many kinds). To handle it, the work is split across many machines that run at the same time (distributed processing, for example MapReduce). Big data is often stored as simple facts or as a graph of nodes and links, and it is used for weather forecasts, maps, health, shopping and training AI. It also raises questions about privacy and fairness.
- Block Programming: Algorithms, Loops, Variables, Events and Sensors β In block programming you snap coloured blocks together to build a program. An algorithm is the plan; the program is the plan written in blocks. Loops repeat blocks, variables store changing values, conditions choose between actions, events start the program, and sensors feed the robot facts about the world. Custom blocks (subprograms) give a name to a group of blocks so you can reuse it.
- Boolean Logic β Boolean logic works with only two values: 1 (true) and 0 (false). Logic gates act on them: NOT flips a value; AND gives 1 only if all inputs are 1; OR gives 1 if any input is 1; NAND and NOR are the opposites of AND and OR; XOR gives 1 when inputs differ. A truth table lists the output for every input combination (2βΏ rows for n inputs). De Morgan's laws: (AΒ·B)' = A' + B' and (A + B)' = A'Β·B'. Gates joined together form logic circuits that match Boolean expressions.
- Branching and Loops: Making Programs Decide and Repeat β Branching (if/else) lets a program choose a path using a condition; a loop repeats steps while a condition is true. With these two ideas we can find the biggest number, solve a quadratic, add the digits of a number, test for primes and compute the GCD with Euclid's algorithm.
- Building and Assembling 3D Models β A 3D model is built in three ways. Primitive modelling joins simple solids such as boxes, spheres, cylinders and cones. Profile modelling draws a flat shape and then extrudes (pulls) or revolves (spins) it. Assembly places finished parts in position, and an exploded view pulls them apart along straight lines to show how they fit.
- Building Computer Systems β A computer system is hardware (input, processor, memory, storage, output) plus software working as a team. To build one you analyse what the job needs, design parts to meet it within a budget, then evaluate it by testing. The weakest part, the bottleneck, limits the whole system, so you improve that part first.
- CAD Modelling: From a Sketch to a 3D Part β CAD (computer-aided design) means using a computer to draw and build exact models of objects before they are made. A design starts as a freehand sketch. In CAD it becomes a 2D sketch with constraints and dimensions. 3D tools such as extrude, revolve and cut turn the sketch into a solid. Each step is saved in a feature tree, so changing one size rebuilds the whole model. Parts are joined in assemblies, tested by simulation, shared as drawings and sent to 3D printers, laser cutters or CNC machines.
- CAD/CAM: Digital Design and Manufacture β CAD (computer-aided design) is drawing and testing a product on a computer as an exact 3D model. CAM (computer-aided manufacture) turns that model into instructions (a toolpath, saved as G-code) that a computer-controlled machine follows to make it. CNC milling and lathes cut material away (subtractive). 3D printers build up layers (additive). Laser cutters cut flat sheets. Using CAD and CAM together makes parts accurate, repeatable and quick to change, and lets designers make fast prototypes (rapid prototyping). The costs are expensive machines, training and less hand skill.
- Careers in Artificial Intelligence: Jobs and Skills β Every AI system is built in three stages: data, model and product. Each stage has its own jobs: data analysts and data labellers, ML engineers and researchers, AI product managers, designers and ethics experts. All need a mix of six skills: maths, coding, data handling, knowledge of a field, communication and ethics, in different amounts. The path is a staircase: school subjects, a course or degree, your own projects, an internship and a first job, with learning that never stops.
- Colour, Image and Sound Coding β A screen makes colour from light with Red, Green and Blue (RGB). Each channel is a number from 0 to 255 (one byte), so a pixel takes 3 bytes and 16 777 216 colours are possible. Printers use ink (CMYK). HSL describes a colour by hue, saturation and lightness. A raster image is a grid of pixels; a vector image stores shapes and stays sharp at any size. Sound is coded by sampling: measuring the wave many times a second. Size = sample rate Γ bit depth Γ seconds Γ channels.
- Communicating Over Networks β A network lets people send messages to each other: email for formal and detailed notes, chat for short quick talk, video calls for live meetings. A message is cut into packets that hop through routers to the other person. Good network communication is clear, polite and safe.
- Communications Technology: How Messages Become Signals, Files and Media β Communications technology is the tools and skills we use to create and send messages: print, photos, audio, video, web and broadcast. A message goes from a source through a transmitter, a channel and a receiver to a destination. Signals are waves with a frequency and wavelength. Digital media turn sound and pictures into numbers, so we can calculate file size and bit rate. Every product follows a production process: plan, make, edit and share.
- Computability: Turing Machines and the Limits of Computing β A Turing machine is a simple model of any computer: an endless tape of cells, a head that reads and writes one cell at a time, a finite set of states and a table of transition rules. Anything an algorithm can compute, a Turing machine can compute (ChurchβTuring thesis). A universal Turing machine reads another machine's rules from its tape and runs it. Some problems, like the halting problem, can never be solved by any algorithm: they are non-computable (undecidable).
- Computational Complexity: Easy, Hard and Impossible Problems β Complexity measures how the number of steps grows as the input size n grows. Polynomial algorithms (n, nΒ², nΒ³) are tractable; exponential (2βΏ) and factorial (n!) ones become hopeless very fast, so such problems are intractable. Some problems are easy to check but hard to solve (NP). Some, like the halting problem, cannot be solved by any algorithm at all.
- Computational Geometry: Cross Product, Polygon Area and Convex Hull β A computer can solve shape problems using only coordinates and one small trick: the cross product. For two arrows u and v, cross = uxΒ·vy β uyΒ·vx. Its size is the area of the parallelogram they make and its sign tells left or right turn. Adding triangle areas gives the area of any polygon, and keeping only left turns gives the convex hull.
- Computer Architecture β Computer architecture is the design of how a computer's parts work together. Most computers follow the von Neumann model: a CPU and one main memory that stores both the program and its data, joined by the address, data and control buses. The CPU repeats the fetch-decode-execute cycle using special registers (PC, MAR, MDR, CIR, ACC), a control unit and an ALU. Speed depends on clock speed, number of cores and cache size. Instructions are machine code (binary); assembly gives them short names. Designs vary: Harvard (separate memories), RISC vs CISC, and small embedded systems.
- Computer Networks and How the Internet Works β A network is a group of devices linked to share data. Each device has an IP address. Data is cut into numbered packets. Routers pass each packet hop by hop towards its address, and TCP puts the packets back in order. DNS turns a website name into an IP address. Clients ask, servers answer. Firewalls, passwords, updates and encryption keep a network safe.
- Computer Science: How Computers Solve Problems β Computer science (also called informatics) is the study of solving problems with computers. Every program takes input, processes it and gives output. Computers store all data as bits (0 and 1); 8 bits make a byte, and binary place values double: 1, 2, 4, 8 β¦ 128. An algorithm is a finite list of clear steps; a program is an algorithm written in a programming language using sequence, selection and repetition. Data structures (list, stack, queue, tree, graph) organise data so programs work fast. Networks and telecommunication join computers: messages travel as packets through routers over wires, fibre and radio, following protocols. Emerging technologies like AI, IoT, cloud and robotics bring big benefits and new questions about privacy, fairness, jobs and safety.
- Computer Simulation β A model is a simplified description of a real system that keeps only what matters. A computer simulation runs that model step by step in time to see what would happen. It has variables (the state), rules (how the state changes), parameters (numbers we can set) and often randomness, so we repeat runs and average. We check a simulation against real data (validation). Simulations are used for weather, traffic, disease spread, flight training and design, because they are cheaper, safer and faster than real tests, but they are only as good as their model and data.
- Computer Software: Types, Drivers, Compatibility, Installation and Updates β Software is the set of instructions that tells hardware what to do. System software (the operating system and drivers) runs the computer; application software does the user's tasks; utility software keeps the system healthy; programming tools make new software. A driver lets the OS talk to a device, and plug and play finds and loads drivers by itself. Software runs only if the computer meets its minimum requirements (OS version, processor, RAM, storage, graphics) and is compatible. Good practice: find out what the user needs, check requirements and licence cost, install and configure carefully, and keep software, firmware and antivirus up to date.
- Computer Systems and Networks β A computer system has hardware (input, CPU, memory, storage, output) and software (system and application programs). A network links devices with cables or Wi-Fi so they can share data. Data travels as small packets through switches and routers, between clients and servers. Networks let us share files, mail and online services. Security (passwords, firewall, updates, backups) and laws protect people and businesses from misuse.
- Computer Systems: Setup, Firmware, Ports and Maintenance β A working computer system needs the right hardware, connections, firmware, operating system and care. Devices connect through standard ports (USB, HDMI, Ethernet) whose standards fix shape, power and speed. At power-on, firmware (BIOS or UEFI) runs a self-test (POST) and starts a boot loader, which loads the OS. A disk can hold several partitions so two operating systems can be installed (multi-boot). Permissions control who can read, write or run files. Utilities clean, update and back up the system; the 3-2-1 rule keeps data safe.
- Computer Vision: How Machines See β Computer vision (CV) is the part of AI that lets computers understand images and videos. A digital image is a grid of pixels; each pixel is a number (0β255 for grey) or three numbers (R, G, B) for colour. Resolution is width Γ height in pixels. CV finds features such as edges, corners and colours, then does tasks like classification (what), object detection (where) and segmentation (which pixels). It is used in face unlock, self-driving cars, medical scans, farming, shops and traffic cameras.
- Computers and Programming: How Computers Work and How We Instruct Them β A computer takes input, processes it with the CPU using memory, and gives output; storage keeps files and the operating system manages everything. All information (numbers, letters, pictures, sound) is stored as bits, 1s and 0s, in groups of 8 called bytes. To solve a problem we first write an algorithm (clear steps using sequence, decision and repetition) and then a program, which is the algorithm written in a programming language. Computers also share information through networks, in small packets, and can run models and simulations to test ideas safely.
- Computing Systems: From Apps Down to Logic Gates β A computing system takes input, processes it, gives output and stores data. Hardware is the physical parts; software is the instructions. Systems are built in layers of abstraction: apps on top, the operating system in the middle, hardware at the bottom, and logic gates inside the hardware. Each layer hides its details from the one above. The operating system manages memory, shares CPU time, organises files, controls devices through drivers and keeps the system secure. Logic gates (AND, OR, NOT and others) turn 1s and 0s into decisions. Good devices are designed for usability, and good users troubleshoot systematically: describe, check simple things, change one thing at a time, test, and record.
- Connecting Python to MySQL: Send SQL, Get Rows Back β Python can talk to a MySQL database using the mysql.connector module. connect() opens a connection with host, user, password and database. cursor() makes a cursor, the object that carries SQL to the database and brings results back. execute() runs one SQL statement. For INSERT, UPDATE and DELETE you must call commit() on the connection to save changes. For SELECT, fetchone() gives the next row as a tuple, fetchall() gives all remaining rows as a list of tuples, and rowcount tells how many rows were fetched or changed. Values are put into queries with %s placeholders (passing a tuple to execute) or with format().
- Control Flow: Sequence, Selection and Iteration β A program is a list of instructions. Control flow is the order in which they run. There are only three building blocks: sequence (one after another), selection (IF: pick one path) and iteration (loops: repeat). Loops are definite (FOR: count known) or indefinite (WHILE / REPEAT UNTIL: stop when a condition changes). Blocks can sit inside each other (nesting). Values are kept in variables (can change) and constants (fixed), each with a clear, meaningful name.
- Control Systems and Feedback β A control system makes a machine or process behave the way we want. Every system has input β process (controller) β output. In an open-loop system the controller does not check the result (a toaster on a timer). In a closed-loop system a sensor measures the output and feeds it back; the controller compares it with the set point and corrects the error (a thermostat, cruise control). Real systems are built from sensors, a controller (electronic circuit, microcontroller or PLC) and actuators (motors, heaters, valves, pneumatic cylinders). Many are now networked (IoT, SCADA) so they can be watched and controlled from far away.
- Creative Coding: Making Art with Programs β Creative coding means writing programs to make pictures, animation, sound or interactive art. You draw on a canvas with x and y coordinates, where (0, 0) is the top-left corner and y grows downwards. Colours are three numbers (red, green, blue). Loops repeat shapes into patterns, random numbers make every run different (generative art), recursion draws fractals, and events such as a mouse click or a sensor reading let the viewer change the work. Tools like p5.js, Processing, Scratch and Python turtle are made for this.
- Creative Hardware Design: Needs Analysis, Function and Look, Choosing a Board β A good hardware project starts with a real need of a real user, not with a gadget. We write the need in one sentence, turn it into functions (what the device must do), design how it looks and feels, and then choose a board. A board is chosen by how many pins the modules need, whether Wi-Fi or Bluetooth is needed, the size, the power use and the price. Choose the smallest and cheapest board that fits, with a little room to grow.
- Cryptography: How Secret Messages Keep Data Safe β Cryptography is the science of keeping messages secret and trustworthy. A normal message (plaintext) is mixed with a key to make a secret message (ciphertext); this is encryption. Turning it back with the right key is decryption. Old ciphers like the Caesar cipher shift letters. Modern systems use symmetric encryption (one shared key) and asymmetric or public-key encryption (a public key to lock, a private key to unlock). Hashing makes a fixed-length fingerprint of data to check it was not changed, and digital signatures prove who sent a message. Your phone uses all of these every time you open a website with https or send a chat message.
- Cyber Crime and Cyber Safety β Cyber crime is any crime that uses a computer, phone or the internet as a tool or target. Common forms: hacking (breaking into a system without permission; ethical hackers test security with permission), eavesdropping (secretly intercepting communication), phishing (fake emails, SMS or websites that trick you into giving passwords, OTPs or card details), ransomware (malware that locks or encrypts files and demands money), cyber trolls (people who post provoking, offensive messages) and cyberbullying (harassing, threatening or humiliating someone online). Malware includes viruses (attach to files and spread), worms (spread by themselves), trojans (look useful but open a back door), spyware and adware (unwanted pop-up ads, often tracking). Safe browsing: https sites, updated software, antivirus and firewall, no unknown links or downloads. Identity protection: strong unique passwords, two-factor authentication, never sharing OTPs, careful sharing of personal details, and logging out on shared devices.
- Cybersecurity: Threats and How We Stop Them β Cybersecurity protects computers, networks and data. It aims for confidentiality, integrity and availability (the CIA triad). Common threats are malware, phishing and social engineering, brute-force password attacks and denial of service. Defences include strong authentication, encryption, firewalls, anti-malware software, updates, access control and backups.
- Data Analysis β Data analysis means turning raw data into answers. It follows a cycle: ask a question, collect data, clean it (remove errors, repeats and blanks), organise and transform it, analyse it with summaries such as mean, median, range and patterns, show it with a good chart, and draw a careful conclusion. Watch for outliers, small samples and bias, and remember that a correlation between two things does not prove that one causes the other. Data must also be stored safely and used with permission.
- Data Compression β Compression makes a file smaller so it uses less storage and travels faster. Lossless compression (RLE, Huffman, dictionary methods, ZIP, PNG) gives back exactly the original data. Lossy compression (JPEG, MP3, MP4) removes detail people hardly notice, so files get much smaller but the lost detail cannot return. Compression ratio = original size Γ· compressed size.
- Data Literacy: Reading, Using and Questioning Data β Data literacy means being able to read data, work with it and ask good questions about it. A dataset is a table: each row is a case (a person, a day, a shop) and each column is a variable (age, travel mode, price). Every dataset shows only a limited picture: it covers some cases, some variables, some time and was collected in a certain way, so it can be biased or out of date. Researching with a dataset follows steps: ask a question, find or collect data, clean it, sort, filter and count, make a chart, draw a careful conclusion. Open data is data anyone may use for free, usually anonymised first. Organisations collect data about us (purchases, location, clicks) to build profiles, target adverts and plan services, which brings benefits but also privacy risks and rules such as consent.
- Data Privacy: Who Gets Your Data and How to Protect It β Personal data is any information that can point to you. Apps and websites collect it all the time. Privacy means you control who sees it and how it is used. Fair rules say data must be used for a clear purpose, kept small, kept safe and deleted when done. You have rights over your data, and simple habits keep you safe.
- Data Protection and Intellectual Property Rights β Intellectual property (IP) is a creation of the mind, such as a story, song, program, invention or logo. Intellectual Property Rights (IPR) give the creator control over its use. Copyright protects creative works (text, music, art, software code) automatically once created; a patent protects a new, useful invention for about 20 years and must be applied for; a trademark protects brand names, logos and slogans. Plagiarism is presenting someone else's work as your own without credit. Infringement is using protected IP without permission (copyright, patent or trademark infringement). Public licences let creators share on their own terms: Creative Commons (BY, SA, NC, ND) for creative works, and software licences such as GPL (copyleft: modified versions must stay open) and Apache (permissive: can be used in closed products with notices).
- Data Representation: How Computers Store Numbers, Text, Images and Sound β Data is raw facts; information is data given meaning; knowledge is information we can use. A computer stores all data as bits (0 or 1). 8 bits make a byte, and 1 kB = 1000 bytes, 1 MB = 1000 kB, 1 GB = 1000 MB, 1 TB = 1000 GB. Numbers are stored in binary, where place values double: 1, 2, 4, 8 and so on. Text uses a character set: in ASCII 'A' is 65; Unicode covers every script. A bitmap image is a grid of pixels; size = width Γ height Γ colour depth. Sound is sampled: size = sample rate Γ bit depth Γ seconds. Vector images store shapes instead of pixels. Compression makes files smaller: lossless keeps every bit, lossy throws some detail away.
- Data Science Methodology: From a Problem to a Working Model β Data science methodology is a step-by-step cycle for solving a problem with data. Its 10 stages are: business understanding (the problem), analytic approach, data requirements, data collection, data understanding, data preparation, modelling, evaluation, deployment and feedback. Data is split into training and test sets (or checked with k-fold cross-validation) so the model is tested on data it has not seen. Classification models are judged by accuracy; regression models by errors such as MSE and RMSE. Feedback from real use starts the cycle again.
- Data Science: From a Question to a Tested Model β Data science is using data, maths and computers to answer questions and make predictions. A project follows a cycle: ask a clear question, collect data, clean it (fix or remove errors), explore it with charts and averages, build a model, test the model, and report the result. A model is a simple rule learned from data, such as marks β 35 + 7 Γ hours. Prediction (regression) models give a number; classification models give a group. We test models on new data and measure accuracy or error, then choose the best one. Data science is used in health, sport, weather, shops and farming. Real projects often fail at first, so patience and checking matter.
- Data Storytelling β Data storytelling means presenting data with a narrative and good visuals so that an audience understands it and acts on it. It has three parts: the data (what happened), the visual (a clear chart with one thing highlighted) and the narrative (why it happened and what to do next). A good data story starts with the audience, picks one message, writes it as a headline, removes clutter and ends with an action.
- Data Structures: Arrays, Lists, Stacks, Queues and Trees β A data structure is a way of organising data in memory so a program can use it well. Arrays keep items in numbered boxes for instant access by index. Linked lists chain nodes with pointers, so inserting is easy. Stacks work last-in-first-out, queues first-in-first-out. Dictionaries find values by key, and trees store data in levels so searching is fast. Choosing the right structure makes programs faster and simpler.
- Data Types, Operators and Errors in Python β Every value in Python has a data type: numbers (int, float, complex), bool (True/False), None, sequences (str, list, tuple) and mapping (dict). Mutable types (list, dict) can be changed in place; immutable types (int, float, bool, str, tuple) cannot. Operators are arithmetic (+ β * / // % **), relational (< > <= >= == !=), logical (and, or, not), assignment (= += β= β¦), identity (is, is not) and membership (in, not in). Precedence decides the order of evaluation, with ** highest and or lowest. Type conversion can be implicit (automatic, int β float) or explicit (int(), float(), str()). input() reads text as a string; print() shows output with sep and end. Errors are syntax errors (grammar), runtime errors or exceptions (crash while running) and logical errors (wrong answer).
- Data Units and Data Transfer Rate β A bit is one 0 or 1. Eight bits make one byte, enough for one letter. Bigger units climb by 1000: 1 kB = 1000 B, 1 MB = 1000 kB, 1 GB = 1000 MB, 1 TB = 1000 GB. File sizes use bytes (B). Data transfer rate, or speed, uses bits per second (b/s, kbps, Mbps). Because 1 byte = 8 bits, 8 Mbps = 1 MB/s. Download time = file size Γ· speed, with both in the same unit.
- Data Visualisation: Turning Numbers into Pictures β Data visualisation means showing data as a picture so patterns are easy to see. Use a bar chart to compare categories, a pie chart for parts of a whole, a line chart for change over time, a scatter plot for the relationship between two numbers, and a histogram for how values are spread. A good chart has a title, labelled axes with units, and an honest scale that starts at 0 for bars.
- Database Operation and Maintenance β A database must run all day and never lose data. The database administrator (DBA) decides who can do what, keeps backups, restores the data after a failure, watches speed and storage, and does regular maintenance like clean-up and updates. This lesson shows each job step by step.
- Databases and Our Society β A database is an organised collection of data that many people can share, search and update. Shops, schools, banks and hospitals depend on them. A database stores data, lets people find it fast, keeps it correct and safe, and arranges it using a data model: table (relational), tree (hierarchical) or web (network).
- Designing Creative 3D Works: Plan, Design Rules, Animation and AR β A creative 3D work starts with a plan: who is it for and what should they feel? We build the model from simple shapes, then use design principles such as balance, proportion, contrast and a clear focus. For animation we set a few key poses (keyframes) and the computer fills the frames between them. For augmented reality (AR) the phone camera finds a marker or a flat surface and keeps the 3D model fixed on it.
- Designing Effective Communication β Effective communication means the right people understand your message easily. First learn who the users are and what they need. Then give one clear main message, use big readable text and strong contrast, and pick a medium that suits them. Test the design with a few real users, see who has trouble, and improve it. Repeat until everyone can use it.
- Desktop Publishing β Desktop publishing (DTP) means using a computer to arrange text, pictures and graphics on a page so that a document looks clear and professional. You set margins and columns, place text and picture frames, choose fonts and colours, and then export a file for print (CMYK, bleed, crop marks) or for a screen (e-book).
- Developing Information Systems with Spreadsheets and Databases β A small information system can be built with a spreadsheet or with database software. A spreadsheet is quick: input cells hold facts and formula cells calculate results automatically. But when facts such as a customer's name repeat in every row, mistakes and wasted space grow. A database stores each fact once in a table and links tables with keys. Whichever tool is used, development follows steps: find the need, design, build, test and use.
- Developing Network Systems: Services, Servers and Network Apps β A network service is a job done by a server for clients, such as showing web pages, carrying email or sharing files. To build a server we set up hardware, an operating system, service software, an address and a port, and a firewall decides which ports are open. A network application is two programs, a client that asks and a server that answers, which follow an agreed message format.
- Development and Trends of Information Technology β Information technology (IT) is the use of machines to sense, send, process, store and show information. Over about 80 years computers moved from room-size machines with vacuum tubes to transistors, chips, personal computers, the internet, smartphones and now AI chips: smaller, cheaper and stronger each time. Four key technologies (sensing, communication, computing and control) work together. Current trends are AI, cloud, IoT, big data, 5G and early quantum computing, and each brings duties such as privacy, saving energy and learning new skills.
- Dictionaries in Python β A dictionary is a mutable collection of key: value pairs written in curly brackets: D = {'Riya': 91, 'Aman': 85}. Values are reached by key (D['Riya']), not by position; a missing key raises KeyError. Keys must be unique and immutable (numbers, strings, tuples); values can be anything. D[key] = value adds a new pair or changes an existing value. Traversal uses for key in D. Useful functions and methods: len(), dict(), keys(), values(), items(), get(), update(), del, clear(), fromkeys(), copy(), pop(), popitem(), setdefault(), max(), min(), count via loops, and sorted(). A classic program counts how many times each character appears in a string.
- Digital Collaboration: Working Together Online β Digital collaboration means working with other people through the internet on one shared piece of work. Typical tools are shared documents, chat and video calls, shared folders and project boards. Good teams agree on roles, time zones and file names, use version history to undo mistakes, and share with invited people only to stay safe.
- Digital Electronics: Combinational and Sequential Circuits β Digital electronics uses only two voltage levels, called 0 and 1. A combinational circuit gives an output that depends only on the inputs right now. You design it in four steps: write the truth table, write an expression, simplify it (a Karnaugh map helps), and draw the gates. A sequential circuit also has memory, so its output depends on the inputs and on what happened before. A flip-flop is the basic memory cell: it copies its input D only when the clock pulses. Flip-flops joined together make counters and registers. A simulator lets you test every input before you build the real circuit.
- Digital Footprints and Netiquette β A digital footprint is the trail of data we leave online. Active footprints are shared on purpose (posts, comments, forms); passive footprints are collected without us noticing (cookies, browsing history, location, IP address). Footprints are hard to erase and can be seen by others later. We live in a digital society where learning, banking, shopping and government services are online; a responsible user of it is a digital citizen (netizen). Net etiquette means being ethical (respect copyright, share reliable information), respectful (privacy, diversity, no bullying) and responsible (avoid oversharing, don't feed trolls). Communication etiquette asks us to be precise, polite and credible; social media etiquette asks us to choose passwords and privacy settings wisely, think before uploading, and verify before sharing.
- Digital Imagery and Web Design: How Pictures, Models and Web Pages Are Made β A camera lens focuses light onto a sensor made of millions of pixels. Each pixel stores red, green and blue (RGB) values. More pixels mean higher resolution; more bits per pixel mean more colours; file size = width Γ height Γ bit depth Γ· 8 bytes before compression. 3D models start as wireframes, then get surfaces, textures and lights; animation shows many frames per second. Good designs use the elements and principles of design, and web pages use a clear layout. Real projects need safe equipment use, teamwork and editing everything into one unified product.
- Digital Literacy: Using Digital Tools Wisely β Digital literacy means using computers and the internet well. You pick the right software for each job. You save work in a file format others can open. You share files with a team and keep versions so nothing is lost. You know how a search engine finds pages, and you check if a source can be trusted. You read the licence before you reuse someone's work, and you give credit.
- Digital Media: How Pictures, Sound and Video Become Numbers β Digital media is any picture, sound, video or animation stored as numbers on a computer. A raster image is a grid of pixels, each stored as red, green and blue values from 0 to 255. Vector graphics store shapes as maths, so they stay sharp at any size. Video and animation are many frames shown quickly. File size grows with resolution and colour depth, so we use compression. When we make or share media we must respect copyright, licences and people's image rights, and work safely and critically.
- Digital Presentations β A digital presentation is a set of slides shown on a screen to support a talk. Good presentations are planned first (purpose, audience, storyboard). Each slide has one idea: a short title, a few key words, and a picture, chart or diagram that helps. Use a consistent design (slide master or theme), strong colour contrast and large fonts. Add graphics, charts, audio, video and hyperlinks only when they help the message, and give credit for images you did not make. Use transitions and animations sparingly. Finally rehearse with speaker notes, run the slide show, and share or print it in the right format (PDF, video, handouts).
- Digital Society: How Information Technology Changes Our Lives β A digital society (also called an information society) is a society where making, sharing and using information with computers and networks is a main part of life, work and government. Information moves fast, reaches everywhere and can be copied at almost no cost. Software has changed shopping, banking, health, school and friendship. New jobs appear (app developer, data analyst) while some old jobs shrink. Every online action leaves data, so privacy matters. Not everyone is connected (the digital divide), and too much screen time or gaming can harm health. A good digital citizen uses the benefits and manages the risks.
- Distributed Systems: Sharing Work and Data in a Network β A distributed system is many computers in a network working together as one service. They share the work (many servers, a load balancer) and the data (copies or pieces on different machines). This makes a service faster and able to survive a failure, but needs care to keep the copies in step.
- Diverse Communication Forms: Live or Delayed, One or Many β People communicate in different forms. When timing matters, a message is either synchronous (both people take part at the same moment, like a phone call) or asynchronous (the receiver reads it later, like email). When the number of people matters, it can be one-to-one (a private chat), one-to-many (one sender and a large audience, like TV or radio) or many-to-many (everyone can send and receive, like a group chat or a forum). Every real tool mixes one timing with one pattern. Choosing the right form saves time and avoids confusion.
- Divide and Conquer β Divide and conquer solves a big problem in three moves: divide it into smaller problems of the same kind, conquer each small problem (often by recursion, down to a trivial case), and combine the answers. Merge sort, binary search, quicksort and fast power all use it.
- Dynamic Programming β Dynamic programming (DP) solves a big problem by solving each smaller subproblem only once and saving the answer. It works when subproblems overlap and the best answer is built from best answers of smaller parts (optimal substructure). Top-down DP is memoization; bottom-up DP fills a table. DP often turns exponential time into polynomial time.
- E-waste, the IT Act, and Technology and Society β E-waste (electronic waste) is discarded electrical and electronic equipment such as phones, computers, batteries, chargers and monitors. It contains valuable metals (gold, silver, copper) and toxic substances (lead, mercury, cadmium, brominated flame retardants). Dumped or burnt e-waste pollutes soil, water and air and harms human health. Safe disposal follows reduce, reuse and recycle: repair and use devices longer, donate or resell working ones after wiping data, and hand the rest to authorised e-waste recyclers or manufacturer take-back schemes; India has E-Waste (Management) Rules. India's Information Technology Act, 2000 gives legal recognition to electronic records and digital signatures and defines cyber offences and penalties; the 2008 amendment added sections such as 66 (computer offences like hacking), 66C (identity theft), 66D (cheating by impersonation) and 67 (obscene content), and strengthened CERT-In. Technology and society issues include the gender gap in computing and the needs of people with disabilities, which are addressed with encouragement, role models, accessible software and assistive technology.
- Electronic Documents and E-Document Flow β A document is a record of facts with a title, number, date, text, signature and stamp. A template keeps documents uniform. Scanners, computers, printers and cloud storage move a document between paper and files. An electronic signature uses a private key to sign and a public key to check, so any change is caught. OCR turns a picture of text into editable text. Keep 3 copies on 2 kinds of storage with 1 away from home, and use passwords, access rights and encryption.
- Electronics, Robotics and Computer Interfacing β A control system has an input (sensor), a process (microcontroller or computer running a program) and an output (LED, buzzer, motor). We use Ohm's law to choose part values, for example an LED resistor R = (Vsupply β VLED) Γ· I. A chip pin gives only a small current, so a transistor or relay switches bigger loads. Microcontrollers are cheap, small and have pins built in; a desktop PC is powerful but needs an interface board. We draw circuits with standard symbols, simulate them, build them safely and test them with a multimeter.
- Elements and Structure of Information Design β Designers use a small set of tools: shape, colour, size, position and order. Colour and size say what matters most, closeness makes groups, and order guides the eye like a story. These choices also change how people feel. To draw a subject well, observe it, drop details and keep the key features. Then stage the message: first this, then that.
- Embedded Systems β An embedded system is a small computer built inside a bigger product to do one job, like a washing machine or a traffic light. It reads sensors (input), runs a program on a microcontroller (process) and drives actuators like LEDs and motors (output). The program repeats in a loop and uses variables, conditions and events. Smart objects send their data to other devices using protocols such as Bluetooth or Wi-Fi.
- Error-Correcting Codes: How Computers Catch and Fix Mistakes β Noise can flip bits while data travels. A parity bit makes the number of 1s even, so one flipped bit can be detected. Row and column parity can also find and fix a single wrong bit. Extra check bits make the message longer, so transmission time (bits Γ· speed) goes up.
- Exception Handling in Python: Catch the Error, Keep the Program Alive β A syntax error stops a program before it runs. An exception is an error that happens while it runs, such as dividing by zero or opening a missing file. Without handling, the program crashes. With try and except, Python catches the exception and runs your rescue code instead. else runs when no exception happened; finally runs every time, error or not. raise lets you throw an exception yourself.
- Features of Information and Media, and Problem Solving β Information has three special features. It does not vanish when you share it (residual), it can be copied again and again cheaply (copyable), and it can spread very fast to many people (spreadable). Media are the carriers of information, and each carrier changes how the message is received. A problem-solving loop of understand, collect, think, try and check helps us handle information well.
- Feedback Control β Feedback control measures the output, compares it with the set point and uses the error to correct the machine. ON-OFF control swings around the target, P control gives an error that gets smaller but leaves an offset, and adding I removes the offset. Good control is fast, steady and does not overshoot much.
- File Handling in Python: Save Data That Lasts β Variables vanish when a program ends; files keep data on the disk. A text file stores characters in lines, a binary file stores raw bytes (such as pickled Python objects), and a CSV file stores table rows with commas. You open a file with open(path, mode), using an absolute or relative path and a mode such as r, w, a, r+, rb or wb. The with statement closes the file for you. Text files use write, writelines, read, readline and readlines. seek moves the file pointer and tell reports where it is. pickle.dump and pickle.load save and load objects in binary files, letting you search, append and update records. The csv module's writer (writerow, writerows) and reader handle CSV files.
- File Management: Files, Folders, Paths and Backups β A file is named data; its extension tells its type. The operating system keeps files in folders that form a tree, and a path is the route from a drive to a file. Good file management means clear names, a logical folder plan, the right drive (local, external, network or cloud), regular backups (3-2-1 rule), archiving old work and protecting files from malware.
- Finite State Machines and Formal Languages β A finite state machine (FSM) has a fixed set of states, an alphabet of input symbols, a start state, a transition function that says which state comes next for each symbol, and (for an acceptor) a set of accepting states. It reads an input string one symbol at a time; if it ends in an accepting state the string is accepted. A Mealy machine also gives an output on each transition. The strings an FSM accepts form a regular language, which can also be described by a regular expression. Languages with nesting (like brackets) need more power: they are context-free and are written with BNF rules or syntax diagrams.
- Flow Charts: Process Flow, Timing and Optimisation β A process is a set of steps in a fixed order, and each step takes time. A flow chart draws the process with standard shapes: oval for start and end, box for an action, diamond for a yes/no decision and arrows for the direction. Timing bars show how long the whole job takes. Optimising means doing steps that do not depend on each other at the same time, which shortens the total time. The longest chain of dependent steps is the critical path.
- Flow of Control in Python β Flow of control is the order in which statements run. Python has three kinds: sequential (top to bottom), selection (if, if-else, if-elif-else) and repetition (for and while loops). Blocks are marked by indentation (usually 4 spaces after a colon). range(start, stop, step) gives numbers from start up to but not including stop. while repeats as long as a condition is true. break exits a loop at once; continue skips to the next turn. A loop inside another is a nested loop and is used for patterns; loops with an accumulator are used for series sums.
- Functional Programming: Functions, Map, Filter and Fold β In functional programming a program is built from functions. A function maps each input from its domain to one output in its co-domain, and its type is written f: A β B. Pure functions give the same output for the same input and change nothing else (no side effects); data is immutable. Functions are first-class: they can be named, passed in and returned. Partial application gives a function some of its inputs and returns a new function. Composition g β f runs f, then g. Higher-order functions take or return functions: map applies a function to every list item, filter keeps items that pass a test, fold (reduce) combines a list into one value. A list is a head (first item) plus a tail (the rest).
- Functions in Python: Build Your Own Machines β A function is a named block of code that does one job. Python has built-in functions (print, len), functions inside modules (math.sqrt, random.randint) and user-defined functions you write with def. Values sent in a call are arguments; the names that receive them are parameters. Arguments can be positional, keyword or use default values. return sends a value back. Python runs code top to bottom, jumps into a function when it is called and comes back after it. Names made inside a function are local; names made outside are global.
- Game Engines and Virtual Sport Scenes β A game engine is a program that builds a virtual world from numbers. It places objects, runs physics rules such as gravity, shows the world through a camera, and repeats a loop about 30 or 60 times every second: read input, update the rules, draw the picture. Virtual sport scenes use the same tools to make a court, a ball and players that follow real rules.
- Generative AI: How Machines Create Text, Images and More β Generative AI is artificial intelligence that creates new content (text, images, audio, video, code) after learning patterns from huge amounts of example data. A large language model writes one token at a time by giving each possible next token a probability and choosing one; temperature controls how adventurous that choice is. Image models such as diffusion models start from noise and remove it step by step, guided by a prompt; GANs pit a generator against a discriminator. Generative AI helps with writing, design, coding, translation and learning, but it can invent facts (hallucinate), repeat bias, enable deepfakes and raise privacy and copyright problems. Responsible use means checking facts, being open about AI use, protecting personal data and respecting creators.
- Getting Started with Python β Python is a high-level, free and open-source, interpreted, portable, case-sensitive language that is easy to read. You can run it in interactive mode (type after the >>> prompt and see the result at once) or script mode (save code in a .py file and run it). Python's character set includes letters, digits, special symbols, whitespace and all Unicode characters. The smallest units of a program are tokens: keywords, identifiers, literals, operators and punctuators. A variable is a name that refers to a value; in an assignment the right side (r-value) is evaluated first and stored in the left side (l-value). Comments start with # and are ignored by Python.
- Graph Algorithms β A graph is a set of vertices joined by edges, which can carry weights. Breadth-first search (BFS) explores in layers using a queue and finds the fewest-edge path. Depth-first search (DFS) goes deep using a stack or recursion and backtracks. Trees can be traversed pre-order, in-order and post-order. Dijkstra's algorithm finds shortest paths from one vertex when weights are non-negative. Kruskal's and Prim's algorithms build a minimum spanning tree. Route inspection finds the shortest closed route using every edge; the travelling salesperson problem asks for the shortest tour of every vertex. In a flow network, the maximum flow equals the capacity of the minimum cut.
- GUI Programming with Tkinter: Windows, Widgets and Events β A GUI (graphical user interface) lets people use a program with windows, buttons and boxes instead of typing commands. In Python the built-in Tkinter library makes this easy: create a window with Tk(), add widgets such as Label, Entry and Button, arrange them with pack, grid or place, and connect each button to a function. The program then waits in mainloop() and runs your functions when events like clicks and key presses happen.
- History of Computing: From Gears to the Web β Computing grew from tools for counting to machines that follow programs. Pascal built a gear calculator in 1642. Babbage designed a programmable engine and Ada Lovelace wrote the first program idea in 1843. In 1936 Alan Turing described a universal machine. The first large electronic computers, such as ENIAC (1945), filled rooms; programming languages (Fortran 1957, C 1972) made them easier to use. Chips made computers small: personal computers arrived in the late 1970s and 1980s. ARPANET (1969) grew into the Internet, and the World Wide Web opened in 1991. Codd's relational model (1970) gave databases a firm base. Open-source software, such as Linux (1991), let people share code. Many scientists shaped this story.
- How Networks Grew and How Data Travels β A computer network is a group of connected devices that share data. Networking began with ARPANET (1969), grew into NSFNET (1980s) for universities, and joined with other networks to become the Internet, a network of networks. Every data communication has five parts: sender, receiver, message, communication media and protocol. Bandwidth is the range of frequencies a channel can carry (in Hz); data rate is how many bits travel per second (bps). Every device on a network has an IP address. Data can move by circuit switching (a fixed path is booked first) or packet switching (data is cut into packets that travel on their own).
- How Numbers Are Stored in Computer Memory β A computer stores every number as a row of bits. With n bits an unsigned number runs from 0 to 2^n β 1. Negative numbers use two's complement, where the top bit has a negative weight (β128 in 8 bits). If a result does not fit, it wraps round: overflow. Bitwise operations (AND, OR, XOR, NOT) and shifts work on single bits, and a left shift by 1 doubles a number. Decimals use floating point: a sign, an exponent and a mantissa, so many fractions are only close, not exact.
- How Software Works and How We Use It β Software works in layers: hardware at the bottom, the operating system (OS) on top of it, applications on the OS, and the user on top. An app asks the OS for memory, files and devices; the OS runs the hardware. Security software such as antivirus and firewalls blocks bad files. Many apps sharing data, with people, form an information system.
- ICT Basics: Using Computers, the Cloud and Learning Platforms Safely β ICT means information and communication technology: the devices, software and networks we use to create, store and share information. Every computer takes input, processes it, gives output and stores data. Storage is measured in bytes, and each bigger unit (KB, MB, GB, TB) is about 1000 times the one before. Good digital learners keep files in clearly named folders, use learning platforms to get and submit work, store files in the cloud and on devices, back up with the 3-2-1 rule and protect accounts with long passphrases and two-step login. ICT also lets you make creative projects such as videos, websites and podcasts.
- ICT in Welfare and Care Services β Care workers use ICT in a loop: collect information (sensors, forms), organise it (tables, records), analyse it (charts, alerts) and send it (messages to family and doctors). ICT also helps older and disabled people live on their own, with tools like reminders, screen readers and video calls. Personal information must be shared only with permission and kept safe.
- ICT Skills: Office Tools, Internet, E-mail and Staying Safe β ICT means Information and Communication Technology. It is the set of tools we use to make, store and share information: computers, phones, software and the internet. The core ICT skills are: using a word processor to write, a spreadsheet to calculate, a presentation tool to show ideas, the internet to search, e-mail to communicate, and good habits to stay safe online.
- ICT: Information and Communication Technology β ICT (information and communication technology) means the tools that collect, process, store and send information. An information system has input, process, output and storage. Messages travel through media: cables and optical fibre, radio waves and satellites. ICT grew from the telegraph to the internet, mobiles and 5G. Today IoT, AI and automation connect almost everything, which brings benefits and risks.
- ICT: Working Well in the Digital Environment β Information and communication technology (ICT) means the digital tools we use to create, store, find and share information. In any workplace you will use a word processor for documents, a spreadsheet for numbers, design software for flyers and slides, and e-mail, chat and video calls to communicate, with files kept in the cloud. Good research online means smart search techniques and checking each source for currency, relevance, authority, accuracy and purpose, then citing it. Data often moves between apps by import and export in shared formats like CSV and PDF. Professional e-communication follows clear etiquette. Finally, you collect your best work in a digital portfolio that shows employers your skills.
- Image and Sound Encoding: Pictures and Sound as Numbers β A computer keeps only numbers. A picture is a grid of pixels, and each pixel is stored as three numbers (red, green, blue). Colour depth is the number of bits per pixel: more bits, more colours. Sound is a wave measured many times a second. Sampling rate is how many measures per second, and bit depth is how finely each measure is stored. File size = number of values x bits for each.
- Imagining and Designing a Smart Scene β A smart scene is a small place, like a room or a street, that senses what is happening and reacts by itself. To design one, name a problem, add sensors, send their data over a network to a hub, write simple if-then rules, and connect devices that act (lamp, fan, door). Then test it, check for mistakes, and protect people's privacy.
- Information and Communication: Representing, Managing and Sharing Information β Computers store all information as bits: 0 and 1. Numbers, text, pictures and sound are all turned into patterns of bits. Information management means keeping information organised, correct, backed up and safe, with clear file names, folders and copies. Communication using IT sends messages as small packets across a network through tools such as email, chat and video calls. Choose the tool for the purpose, write clearly, and keep messages safe.
- Information Design: Its Role and Its Targets β Information design is the craft of arranging facts so that the right people understand them quickly and correctly. It helps in safety, travel, health, learning and business. A good design thinks about its target: who will read it, where and why. It uses order, big clear text, pictures and colour, and works for as many people as possible.
- Information Ethics and Security β Information ethics is doing the right thing with information: respect privacy, tell the truth, give credit and do no harm. Information security is keeping information safe from people who should not see or change it, using passwords, locks (encryption), updates, backups and clear rules. Both start with one habit: think before you share.
- Information Management β Information management means collecting, naming, organising, storing, finding and protecting information so it stays useful. Good documentation (clear names, dates, types), sorted folders or databases on a computer, and protection by passwords, locks and backups make information easy to find and safe from loss.
- Information Safety: Staying Safe Online β Information safety means keeping yourself, your data and your devices safe when you use media and the internet. Media can change how we feel and sleep, so check sources and limit screen time. Keep devices safe with updates, antivirus and strong passwords. Be careful with online groups that ask for money or secrets or try to scare you. Keep personal data private, and shop only on trusted sites that use https, fair prices and safe payment.
- Information Security Management β Managing security means writing a policy (the rules), finding and scoring risks (chance x harm), treating them (reduce, transfer, avoid or accept), and planning business continuity so work restarts quickly after a failure. It is a repeating cycle: plan, do, check, improve.
- Information Security Measures β Information is protected by three kinds of measures that work together: human (training, rules, awareness), technical (passwords, encryption, firewall, antivirus, updates, backups) and physical (locks, guards, cameras, safe rooms). Using several layers is called defence in depth.
- Information Society and Content β In an information society, content (text, pictures, sound, video) travels fast to many people and shapes what they know and feel. Each medium has its own strengths. Copyright and licences protect the maker so that sharing stays fair.
- Information Society and Information Technology β In an information society, creating, sharing and using information drives daily life and the economy. Information technology (computers, networks, software) and information systems link homes, schools, shops, hospitals and banks. In the future, sensors, data and AI will make services smarter, but we must also handle risks such as privacy loss, false information and the digital divide.
- Information Society and the Information Industry β In an information society, collecting, storing, sharing and using information is the main source of work and value, as farming and factories once were. Computers, networks and phones made this possible. Problems are solved by a clear loop: find the problem, collect data, analyse it, decide and check. The information industry (software, networks, data services, media, online shops) grows quickly, and brings both benefits and risks, such as privacy loss and unfair access. The future brings more connected devices, AI and data, so people need skills and care.
- Information System Design β Designing an information system has three big jobs: find out what users really need (requirements analysis and definition), draw how data moves (modelling), and split the big system into small modules with clear links (partitioning). Good design makes the system easy to build, test and change.
- Information System Development Process: From Need to Maintenance β An information system is built in stages: plan (understand the need), design (draw the blueprint), build and test (make it and check it), then run and maintain (use it, fix faults, add new needs). The stages form a loop, because faults and new needs send the team back. Clear goals and testing save time and money.
- Information Systems β An information system (IS) is a set of people, hardware, software, data, networks and procedures that work together to collect, store, process and share information. It turns raw data into useful information through a chain: capture, encode, send, store, process and present. Systems are built in a cycle (plan, analyse, design, build, test, run and improve). They make work faster and let many people share knowledge, but they cost money, can fail, can be hacked and can make an organisation rigid.
- Information Technology in Fisheries and Marine Work β Boats and ocean workers use information technology to see what the eye cannot. Sonar sends a sound pulse down and times the echo: depth = 1500 Γ time Γ· 2. GPS satellites give position, radio and satellites send data to shore, and sensors record temperature and weather. Because data is valuable, people must keep passwords and fishing spots safe and use information fairly.
- Information Technology That Supports Our Lives β Computers keep every picture, song and message as bits (0 and 1). A network sends these bits as small packets from one device to another, and information security uses passwords, locks and good habits so only the right people can read them.
- Information Theory β Information is something that removes uncertainty. We measure it in bits: one bit is the answer to one fair yes/no question. If N outcomes are equally likely, the information is I = log2 N bits (Hartley). If outcomes have different probabilities, the average information is H = βΞ£ p log2 p bits (Shannon). Information is created, stored, processed and transferred through a channel that may add noise.
- Informatisation and Lifestyle Industries β Informatisation means information and computers become part of daily life and work. In shops, kitchens, clothing and housing it makes records faster, joins places on a network, and turns saved records into data for better decisions.
- Integrated Technology Projects: Joining Sensors, Control and Action β An integrated technology project joins several technologies into one working system that solves a real need. Almost every smart system has four parts: a sensor that measures, a controller that decides using a rule, an actuator (motor, fan, valve) that acts, and a link or app that connects people to it. Because the sensor checks the result again, the parts form a loop called feedback control. Good projects follow a design process: define the need, plan the design, build, test, and improve. They also weigh cost, safety, power, and how the system could fail.
- Internet Basics: How the Internet Works β The Internet is a huge network of networks. Devices join a router, routers join an ISP, and ISPs join the backbone cables. Data travels in small packets, each with an IP address. DNS turns names like example.org into IP numbers. Services such as the web, email, video calls and cloud storage run on top of it. To use it well: search with good keywords, check sources, protect your privacy, respect copyright, and save work in the right file format.
- Internet of Things (IoT) β The Internet of Things (IoT) is a network of everyday objects that have sensors, a small computer and a network connection, so they can collect data, share it over the internet and act on it. A sensor turns a physical change into data, a microcontroller processes it, the network (Wi-Fi, Bluetooth, Zigbee, 4G/5G, LoRa) carries it to a cloud server or app, and an actuator turns commands into action. IoT is described in three layers: perception, network and application. It brings convenience and saves energy, but needs strong privacy and security.
- Introducing My School to the World β To introduce your school online, plan the page (name, photo, short text, menu), build it with a website tool or a media post, publish it and share the link. Share only safe things. Never share passwords, home addresses or private photos, and ask permission before showing anyone's face or name.
- Introduction to Computer Science: Branches, Research and Teamwork β Computer science is the science of information and computation, not only coding. Its main branches are theory, systems (hardware, networks, operating systems), software, data and human-computer interaction. Emerging research areas include artificial intelligence, quantum computing, cybersecurity, robotics and bioinformatics. Much research is interdisciplinary: computer scientists work with doctors, biologists, climate scientists and artists. Research follows a cycle: question, reading and data, model or program, fair testing, sharing. A good student research report gives the area, what it is in simple words, who works on it, benefits and risks for society, and trusted sources in your own words.
- Introduction to Problem Solving β Problem solving on a computer has stages: analyse the problem (inputs, outputs, rules), develop an algorithm (a finite, clear, ordered set of steps), code it in a programming language, test it with different inputs, and debug (find and remove errors). An algorithm can be shown as a flowchart (oval = start/stop, parallelogram = input/output, rectangle = process, diamond = decision, arrows = flow) or as pseudocode (structured plain English). Decomposition breaks a big problem into smaller sub-problems that are solved separately and then joined.
- IT in Modern Society: IT Professions and Open Educational Resources β Information technology is used in schools, hospitals, banks and shops. Many kinds of experts keep it working: programmers write code, designers plan screens, analysts read data, network engineers connect computers and security experts protect data. Open educational resources (OER) are lessons and books that an open licence lets you use, share and often change, if you credit the author.
- Java Programming Basics β Java is a strongly typed, object-oriented language. Code is compiled to bytecode that runs on the Java Virtual Machine (JVM), so the same program runs on any computer. Every value has a type (int, double, char, boolean, String). Operators compute, if/switch choose, and for/while loops repeat. Arrays hold many values of one type, counted from 0. A class is a blueprint and new makes objects. Exceptions handle errors, wrapper classes turn primitives into objects, and threads let a program do several jobs at once.
- JavaScript Basics: Make a Web Page Think and React β JavaScript is the programming language of web pages. HTML builds the page, CSS styles it and JavaScript makes it do things. Variables (let, const) are named boxes that hold values: numbers, strings, booleans, arrays and objects. Operators calculate and compare. ifβ¦else lets the program choose; for and while loops repeat code. A function is a named block of code you can call many times, with parameters and a return value. Built-in methods work on strings (length, toUpperCase, slice), arrays (push, pop, sort, join) and Math (round, max, random). Events such as click and input run functions when the user acts.
- Keyboarding Skills: Touch Typing and the Keyboard Layout β Keyboarding means typing correctly and quickly using all ten fingers. Most keyboards use the QWERTY layout, with four rows of keys (number, top, home, bottom) and a space bar. In touch typing your fingers rest on the home row (A S D F and J K L ;); the bumps on F and J let you find home without looking. Each finger presses keys in its own zone and returns home; thumbs press the space bar. Special keys like Shift, Enter, Backspace, Tab and Caps Lock help you edit. Typing speed is measured in words per minute (WPM, where 5 characters = 1 word), and accuracy in percent. Good posture: back straight, feet flat, wrists level, screen at eye level.
- Knowledge Representation, Heuristic Search, Bayes and Expert Systems β Classic AI works in four ideas. Knowledge representation stores facts and rules so a computer can use them. Heuristic search uses a clue about the goal to check far fewer options than blind search. Bayesian reasoning updates a belief when new evidence arrives. An expert system joins a knowledge base of rules to an inference engine that answers like a human expert.
- Law and Computing: Rules for Using Computers and Data β Laws protect people when they use computers. Copyright protects the maker of a work, privacy (data protection) law protects information about you, computer misuse law protects computers from unauthorised access, and contract law makes online agreements binding. Details differ by country, but the ideas of permission, consent and fair use are shared.
- Linked Lists β A linked list stores items in nodes. Each node holds data and a pointer (the address of the next node). A variable called head points to the first node; the last node points to NULL. Nodes can sit anywhere in memory, so adding or removing at the front takes only a pointer change, but finding the k-th item means walking from the head.
- Lists in Python β A list is an ordered, mutable sequence of values of any type, written in square brackets: [4, 'a', 2.5]. Items are reached by index (0 from the left, β1 from the right) and can be changed in place. Operations: + (join), * (repeat), in / not in (membership) and slicing. Traversal uses for or while loops. Built-in functions and methods: len(), list(), append(), extend(), insert(), count(), index(), remove(), pop(), reverse(), sort(), sorted(), min(), max(), sum(). A nested list holds lists inside it, like a table (M[row][col]). Standard programs find the maximum, minimum and mean, do a linear search and count the frequency of elements.
- Machine Learning β Machine learning (ML) is a way for computers to learn a rule from examples instead of being told the rule. We give data made of features (inputs) and, in supervised learning, labels (answers). The machine fits a model: regression predicts a number, a decision tree asks yes/no questions to pick a class, and k-means clustering groups unlabelled data. We train on most of the data, test on data it never saw, and measure accuracy or error. A model that only memorises (overfits) fails on new data.
- Making, Testing and Sharing a Hardware Project: Implementation, Testing, Sharing and IP β To make a hardware project, build one module at a time and check it before adding the next (implementation). Then test the whole project with test cases, including real conditions such as a dark room or very fast presses. When a test fails you have found a bug: find the cause, fix it and test again. Finally share your work: code, circuit diagram, parts list and a README in an online repository, with a licence that tells others what they may do. Intellectual property (IP) means the rights of the creator; open-source licences let others use and improve the work while giving credit.
- Media-Based Services: How They Work and How to Use Them β A media service is an online service that stores media (video, music, news, pictures, posts) and delivers it to many people on request. Creators upload, the service stores and organises, and users ask and receive. Services recommend content, earn from ads or subscriptions, and need careful use: privacy, time, cost and trust.
- Mobile App Design: Mobile Terminals, App Architecture, Sensors, Storage and Networking, Security β A phone is a small computer with a touch screen, sensors, storage and radios for networks. A mobile app is usually built in three layers: the screen (UI), the logic (rules) and the data. Apps read sensors such as the accelerometer, GPS and camera. They keep data in local storage on the phone and talk to servers over the internet using requests and responses. Good apps work offline and sync later. For security the app asks for permission before using sensors or files, and it locks (encrypts) private data and sends it only over secure connections.
- Model Evaluation: How Good Is a Model? β A model is a simple copy of the real world that makes predictions. To evaluate it, we compare its predictions with the real answers. In machine learning we split data into a training set (to learn) and a test set (to check on new data). A confusion matrix counts true positives (TP), false positives (FP), false negatives (FN) and true negatives (TN). Accuracy = (TP + TN) Γ· total. Precision = TP Γ· (TP + FP). Recall = TP Γ· (TP + FN). F1 = 2PR Γ· (P + R). Science models (like the inverse-square law or the particle model) are judged the same way: do predictions match measurements, and where does the model stop working?
- Modelling and Simulation in Engineering β Engineers test a design on a model before making it. A model can be physical (a scale model or prototype), mathematical (equations) or digital (a CAD model). Every model has effort variables (force, voltage, pressure) and flow variables (speed, current, flow rate); effort Γ flow = power. Simulation software cuts a part into small finite elements, writes equations for each and a solver finds the answer; moving systems are solved in small time steps. Results such as stress, bending and safety factor are read from colour maps and graphs. A finer mesh or smaller time step is more accurate but takes more computing time. Finally, results are checked against real tests with sensors, taking measurement errors into account.
- Modular Design: Building Programs from Parts β Modular design means splitting a big program into small, separate parts called modules. Each module does one job and can be written, tested and fixed on its own. Functional decomposition keeps breaking a task into smaller subprograms (functions) until each is easy to code. Classes group data with the methods that use it. Encapsulation hides a module's data so other parts can use it only through a public interface. Good modules have high cohesion (one clear job) and low coupling (few links to others), which makes them reusable in other programs.
- Network Design, Construction and Management β A good network is planned first, then built, then run and checked. Design starts from what users need (people, speed, safety, budget), then picks a layout, devices and addresses. Building means fitting cables and devices, setting them up and testing. Operation means watching the network and fixing faults fast. A system audit checks that everything works as planned and follows the rules.
- Network Protocols and the TCP/IP Model β A protocol is a set of rules that devices agree on so they can talk to each other. Networking is split into four layers (the TCP/IP model). The Application layer has protocols that apps use: HTTP and HTTPS for web pages, SMTP to send email and IMAP to read email kept on a server. The Transport layer (TCP) splits data into numbered packets, checks them and resends any that are lost. The Internet layer (IP) adds addresses and routes packets. The Link layer sends the bits over a cable (Ethernet) or by radio (Wi-Fi). Going down the stack each layer adds a header; going up on the other side each header is removed. Layers make networks easier to build and change, because each layer only needs to talk to the layer just above and below it.
- Network Types, Topologies and Protocols: Size, Shape and Rules β Networks are grouped by size: PAN (a few metres around one person), LAN (a room, building or campus), MAN (a city) and WAN (a country or the world). A topology is the layout of how nodes are wired: bus (all on one backbone cable), star (all to a central hub or switch) and tree (stars joined in levels). A protocol is a set of rules: TCP/IP breaks and routes data on the Internet, HTTP and HTTPS carry web pages, FTP moves files, SMTP sends email, POP3 downloads email, PPP links two devices directly, TELNET logs into a remote computer, and VoIP carries voice calls over the Internet.
- Networked Drone Show β A drone show is many small drones flying a drawing in the sky. A program gives each drone a list of positions (x, y, height) over time. A network lets a controller send the same start signal to all drones, so they move together. If a drone loses its link, it stops or lands safely.
- Networked Measurement and Control β In a networked system, many sensors and actuators share one cable or wireless link to a controller. Each device has an address, and data travels as packets. The controller runs a program (read, decide, write) and an operator can watch and command everything from far away, as in SCADA and IoT.
- Neural Networks and Deep Learning β A neural network is a computer model made of many small units called artificial neurons. Each neuron multiplies its inputs by weights, adds them with a bias and passes the sum through an activation function. Neurons are arranged in layers: input, hidden and output. The network learns by training: it makes a guess, measures the error with a loss function, and changes the weights backwards (backpropagation with gradient descent) so the error becomes smaller. Networks with many hidden layers are called deep learning. CNNs are good at images, RNNs at sequences like text and speech.
- No-Code AI: Building Models with Orange Widgets β No-code AI tools let you build and test machine-learning models by dragging blocks instead of writing code. In Orange, each block is a widget: File loads data, Data Table and Scatter Plot show it, model widgets (kNN, Tree, Logistic Regression, Naive Bayes) learn from it, Test & Score measures accuracy using cross-validation or a train-test split, Confusion Matrix shows which classes get mixed up, and Predictions applies the model to new data. No-code tools are fast and friendly, but you still need clean data, a clear question and careful evaluation.
- Number Algorithms β A number algorithm is a short list of steps a computer repeats to work with numbers. Use n % 10 and n Γ· 10 to take digits one by one. Find divisors in pairs, split a number into primes, find the HCF with Euclid's method (replace (a, b) by (b, a mod b)), and change base by dividing again and again.
- Number Systems and Encoding β A number system is a way to write numbers using a set of digits and a base. Decimal (base 10) uses 0β9, binary (base 2) uses 0 and 1, octal (base 8) uses 0β7, and hexadecimal (base 16) uses 0β9 and AβF. To go from decimal to any base, divide repeatedly by the base and read remainders bottom to top; for fractions, multiply by the base and read the integer parts top to bottom. To go to decimal, multiply each digit by its place value and add. Binary β octal uses groups of 3 bits, binary β hex groups of 4. Text is stored with encoding schemes: ASCII (7-bit, 128 characters), ISCII (8-bit, Indian scripts) and Unicode (every script), stored as UTF-8 (1β4 bytes) or UTF-32 (4 bytes).
- Object-Oriented Programming (OOP) β Object-oriented programming builds a program out of objects. A class is a blueprint that lists the data (attributes) and actions (methods) its objects will have. Each object is made from a class and keeps its own data. The four big ideas are encapsulation (hide data behind methods), inheritance (a new class reuses an old one), polymorphism (the same method call behaves in the right way for each object) and abstraction (show only what is needed).
- Office Software: Working with Electronic Documents β An office suite is a set of programs for electronic documents: a word processor for text documents, a spreadsheet for numbers and calculations, and a presentation program for slides. A document is built from elements (headings, paragraphs, lists, tables, images, headers and footers) and formatted with fonts, alignment, spacing and styles. A spreadsheet is a grid of cells named by column letter and row number (B3). Cells hold text, numbers, dates or formulas that start with =. Functions such as SUM, AVERAGE, MAX, MIN, COUNT and IF calculate over ranges (B1:B3), and results update automatically. Relative references change when copied; absolute ones ($B$1) stay fixed. Charts turn data into pictures. Presentations use one idea per slide. Save in editable formats (.docx, .odt, .xlsx, .ods, .pptx) or export to PDF.
- Online Digital Weather Station β A digital weather station has sensors (temperature, wind, rain), a small board that reads them as numbers, a wifi link that sends the numbers to a cloud server, and a web page that shows them to anyone. The path is: sense, read, send, store, show.
- Open-Source Hardware Projects: Pins, Input/Output Modules, Communication and Workflow β An open-source hardware board is a small computer with pins. Digital pins read or write ON/OFF (HIGH or LOW). Analog pins read a changing level as a number, usually 0 to 1023. Power pins give 5 V, 3.3 V and ground. Input modules (button, sensor) send information in; output modules (LED, buzzer, motor) act on it. Boards talk to a computer or other boards by serial communication using TX and RX. A project runs setup once, then repeats a loop: read, decide, act and report.
- Operating and Maintaining a Network System β A network is not finished when it is built. Someone must run it every day (administration), fix and update it (maintenance) and keep it safe (security). This lesson shows the daily jobs: watching traffic, managing accounts, finding faults, keeping spares and backups, and blocking bad traffic with a firewall.
- Operating System β An operating system (OS) is the main system software that sits between the user and the hardware and manages all resources. Its functions: process management (sharing the CPU between programs), memory management (giving and taking back RAM), file management, device management (through drivers) and security (passwords, permissions). Users talk to the OS through a user interface: command line (CLI), graphical (GUI), touch, voice or gesture. Examples: Windows, Linux, macOS, Android, iOS.
- Path Planning and Motion Control β Path planning means choosing a safe, short route from start to goal around obstacles. Motion control means making the wheels follow that route: speed and turning come from the two wheel speeds. A line-following robot uses floor sensors and a steering rule to stay on a line.
- Physical Computing: Making Code Sense and Move β Physical computing joins code to the real world. Sensors measure something (light, temperature, distance, button presses) and turn it into a number. A microcontroller runs a program that decides what to do with that number. Actuators (LEDs, buzzers, motors, screens) act on the world. This inputβprocessβoutput cycle runs again and again in a loop. Using thresholds, conditions and feedback, we build night lights, smart plant waterers, wearables and interactive art.
- Processor Internals: Registers, the FetchβExecute Cycle, Addressing Modes and Interrupts β A processor has an ALU, a control unit, a clock and registers (PC, MAR, MDR, CIR, accumulator, status register), joined to main memory by the address, data and control buses. Each instruction is fetched (MAR β [PC]; MDR β [Memory[MAR]], PC β [PC] + 1; CIR β [MDR]), decoded into opcode and operand, and executed. Operands use immediate addressing (the value itself) or direct addressing (a memory address). Assembly language uses mnemonics such as LDR, STR, ADD, SUB, CMP, B and BEQ. Performance depends on cores, cache, clock speed, word length and bus widths. Interrupts make the processor save its volatile environment on a stack, run an interrupt service routine and then resume.
- Production Automation Technology β Automation lets machines do production work with little human effort. CAD draws the part, CAM turns the drawing into a toolpath (G-code), and a CNC machine follows the numbers exactly. Sensors and conveyors link machines into an automated line, and a network joins everything to a main computer that sends orders and collects data.
- Programming and Mathematical Processing of Industrial Data β A program takes data in (input), does maths on it (process) and shows a result (output). An algorithm is the list of steps. In industry, programs also control machines: they read a sensor, compare it with a set value and switch a device ON or OFF, again and again.
- Programming Basics: Sequence, Selection, Loops and Functions β A program is a set of exact instructions a computer follows. Every program is built from three structures: sequence (steps in order), selection (if/else choices) and iteration (loops). Variables store values. Functions group code into reusable, named blocks, which makes programs modular and easier to test, debug and maintain.
- Programming Languages and Emerging Technologies β A computer only understands machine code (0s and 1s). Programming languages let people write instructions in easier words, which a compiler or interpreter turns into machine code. Languages evolved from machine code and assembly (low-level) to high-level languages like Fortran, C, Java and Python, and newer ones like Swift, Kotlin and Rust. They follow styles called paradigms: procedural, object-oriented and functional. Each emerging technology (AI, mobile, web, IoT, cloud, quantum) has its own needs, such as libraries, speed, safety or running on small devices, so it favours certain languages. Programmers also report on IT innovations and weigh their benefits and risks for society.
- Programming Languages and Translators β A CPU can only run machine code: binary instructions. Low-level languages are machine code and assembly language (short mnemonics such as LOAD and ADD, one per machine instruction). High-level languages such as Python, Java and C are easier for people to read and write, and one line may become many machine instructions. Translators convert code: an assembler turns assembly into machine code; a compiler translates a whole high-level program into an executable before it runs; an interpreter translates and runs one line at a time. Some languages compile to bytecode, which a virtual machine then runs.
- Programming Paradigms: Imperative, Functional and Object Style β A programming paradigm is a style of thinking about how to build a program. Imperative programs give ordered commands that change variables. Functional programs pass data through functions and change nothing in place. Object-oriented programs are made of objects that keep their own data and send messages. Declarative programs (like SQL) state what is wanted, not how. To choose, weigh the problem, the team and the tools.
- Programming Techniques β Good programs keep data in the right shape (array, stack, queue), follow shared coding rules, read and write files record by record, design clear input and output screens, and are split into small modules that each do one job.
- Project-Based Inquiry Using IT β A project-based inquiry starts with a real problem, turns it into a clear question, collects data, builds a small IT solution (a spreadsheet, a program, a form) and presents the result with evidence. Then you reflect on what to improve.
- Publishing Content β Publishing content means making something (text, pictures, sound, video), combining and editing it into one finished piece, putting it where readers can reach it (a website, a video channel, social media, print), then checking what readers think and improving it. Always respect copyright: use only your own work or work you have permission to use.
- Python Modules: math, random and statistics β A module is a Python file (.py) containing ready-made functions, constants and classes. You load it with import module_name (then call module.function()), import module as alias, or from module import name1, name2 (then call the name directly); from module import * loads everything (not recommended). The math module gives sqrt(), pow(), ceil(), floor(), fabs(), factorial(), gcd(), log(), log10(), sin(), cos(), tan() and constants pi and e. The random module gives random() (0 β€ x < 1), randint(a, b) (a to b, both included) and randrange(start, stop, step) (stop excluded). The statistics module gives mean(), median() and mode().
- Python Revision for Class 12: Everything from Class 11 in One Place β Class 12 builds on Class 11 Python. You must know tokens (keywords, identifiers, literals, operators, punctuators), data types (int, float, bool, str, list, tuple, dict), which types are mutable (can change in place) and which are immutable, operator precedence, if-elif-else, for and while loops with break and continue, string slicing, and the main methods of lists, tuples and dictionaries.
- Raster Graphics β A raster picture is a grid of tiny coloured squares called pixels. Each pixel stores three numbers (R, G, B) from 0 to 255. Editing means changing those numbers: retouching, layers and masks, filters and colour correction. Vector graphics use shapes and maths instead. AI image tools also make raster pictures, so we must use them honestly.
- Recursion: Functions That Call Themselves β Recursion is when a function solves a problem by calling itself on a smaller version of the same problem. Every recursive function needs a base case, where it stops and returns an answer directly, and a recursive case that moves closer to the base case. Each call gets its own stack frame on the call stack; frames are removed as calls return.
- Relational Databases: Tables, Rows, Columns and Keys β Keeping data in many separate files leads to repeated data, mismatched copies and hard searching, so we use a database managed by a DBMS. In the relational model data sits in tables called relations. A column is an attribute, a row is a tuple, and the set of allowed values for a column is its domain. The number of columns is the degree; the number of rows is the cardinality. A candidate key is any column (or set) that can identify every row uniquely; the one chosen is the primary key and the others are alternate keys. A foreign key is a column in one table that refers to the primary key of another table, linking them.
- Robot Controllers and Programming β A controller is the small computer that is the brain of a robot. It reads inputs (sensors), runs a stored program again and again (read, decide, act), and sets outputs (motors, lights). Pins are weak, so a driver is used to power a motor.
- Robotics: How Robots Sense, Think and Act β A robot is a machine that senses the world, decides what to do with a program, and acts with motors. It has a body (structure), sensors, a controller, actuators, a transmission such as gears, and a power supply. Robots help in factories, hospitals, farms, homes and space.
- Role and Influence of Media Services: Society and Industry β Media services connect people, so information spreads fast. This helps learning, trade and help in emergencies, but it also spreads false news and takes time. Media services also grow the information industry: creators, developers, advertisers and support staff earn from them. Good citizens use them with checking and balance.
- Role of the Information Industry β The information industry is all the businesses that make, carry, store and sell information: device and software makers, network companies, and content and service providers. IT professionals who work in it have duties: protect information, respect privacy, be honest and follow the law.
- Search Algorithms in AI: Finding the Way Step by Step β Many AI problems are about finding a way from a start to a goal: a route on a map, a puzzle solution or a good move in a game. We describe the problem as a state space: states (situations) joined by actions (moves). A search algorithm explores this space in a fixed order. Blind (uninformed) search like breadth-first and depth-first search knows nothing about where the goal is. Informed search uses a heuristic, a smart guess of how far the goal is, so it opens far fewer states. A* adds the cost so far (g) to the guess (h) and, with a heuristic that never over-guesses, still finds the shortest path.
- Searching and Sorting Algorithms β A searching algorithm finds an item in a list; a sorting algorithm puts a list in order. Linear search checks items one by one and works on any list. Binary search halves a sorted list each time and is much faster. Bubble sort swaps neighbours pass by pass; merge sort splits the list and merges sorted halves, which is faster for big lists.
- Sensors: How Machines Sense the World β A sensor turns a physical quantity (light, temperature, distance, moisture, sound, pressure) into an electrical signal. Analogue sensors give a smooth voltage; an ADC turns it into a number the computer can use. A controller compares the number with a threshold and switches an actuator, often through a relay. Readings taken at regular times are data logging. Good sensors have the right range, sensitivity, accuracy and response time.
- Sequence Control β Sequence control makes a machine do its steps in a fixed order, one after another, using switches, relays, timers or a PLC. A START button energises a relay coil, a self-holding contact keeps it on, and STOP breaks the path. A PLC does the same job by running a ladder program again and again.
- Sieve of Eratosthenes and Long Arithmetic β The Sieve of Eratosthenes finds all primes up to n by crossing out the multiples of each prime, starting from its square, and it only needs primes up to the square root of n. Long arithmetic stores a huge number as a list of digits and adds, subtracts or multiplies it digit by digit, like on paper, so it can be as long as memory allows.
- Similarity and Clustering (K-Means) β Clustering means putting similar items into groups without being told the groups first. Similarity is measured by distance: a smaller distance means more alike. K-means picks K centres, gives each dot to its nearest centre, moves each centre to the middle (mean) of its dots, and repeats until nothing changes.
- Social Media and Social Networks β A social network is a graph: people are dots (nodes) and friendships are lines (edges). The number of friends of a person is the degree. Networks are "small worlds": any two people are linked by a short chain of friends. Most apps are free because advertisers pay for your attention and data. Online cruelty (cyberbullying) spreads fast on the same links, so block, report and tell an adult.
- Software and Simple Networked Apps: Chat and Email β Software is the set of instructions that makes hardware useful. A networked app such as chat or email has a client (on your device) and a server (always on, far away). They pass addressed messages; the server forwards them at once (chat) or keeps them in a mailbox until you come online (email).
- Software Design: Planning a Program Before You Code β Software design is planning a program before writing code. A big problem is split into small modules, each doing one job. A template (skeleton) gives every program the same order: header comment, constants, functions, then the main part. Modularity means writing a job once as a function and reusing it, so code is shorter and bugs are fixed in one place. main() calls the functions in order; each takes parameters and returns a value. Clear names, comments and consistent style make code readable. A user-friendly interface uses big clear controls, simple words, helpful error messages and works for everyone.
- Software Development: From Idea to Working App β Good software is built in stages: analyse the problem and write requirements, design the solution, code it in small parts, test it with normal, boundary and erroneous data, deploy it to users and maintain it. Waterfall does each stage once in order; agile repeats short cycles. Robust programs validate input, and teams use version control, clear roles and feedback from users.
- Software in Business: Networks and Protecting Information β Businesses use software to sell, buy, pay staff and keep records faster and with fewer mistakes. Office computers are joined by a network: a switch joins them into a LAN and a router links the LAN to the internet. The data a company holds is an asset, so it must be protected with layers: passwords, a firewall, antivirus software, backups and access rights that decide who may see or change what.
- Sorting Algorithms β A sorting algorithm puts a list in order. Bubble sort swaps neighbours, insertion sort slides each item into a sorted part, selection sort picks the smallest each time, and merge sort splits the list and merges sorted halves. Merge sort needs far fewer comparisons on long lists (about n logβ n instead of about nΒ²/2).
- Sound and Voice Content: Expression, Editing and Production β Sound and voice can say things text cannot: feeling, rhythm, place and mood. On a computer, sound is stored as a long list of numbers (a waveform). Editing changes those numbers: cut, fade, change volume, remove noise, mix tracks. Producing content means planning, recording, editing, mixing, exporting and sharing.
- SQL for Class 12: Build Tables, Ask Questions, Join Tables β SQL is the language used to create and query relational databases. DDL commands (CREATE, ALTER, DROP) build structure; DML commands (INSERT, UPDATE, DELETE) change rows; SELECT reads data. Columns get data types (CHAR, VARCHAR, INT, FLOAT, DATE) and constraints (NOT NULL, UNIQUE, PRIMARY KEY, DEFAULT, FOREIGN KEY). SELECT can use aliases, DISTINCT, WHERE with relational and logical operators, IN, BETWEEN, LIKE and IS NULL, and ORDER BY. Aggregate functions (MAX, MIN, AVG, SUM, COUNT) summarise many rows; GROUP BY makes groups and HAVING filters groups. A Cartesian product pairs every row of one table with every row of another; an equi-join keeps only pairs whose common column matches; a natural join does the same and shows the common column once.
- Stack in Python: Last In, First Out β A stack is a data structure where items are added and removed from one end only, called the top. It follows LIFO: last in, first out. Adding is push; removing is pop; looking at the top without removing is peek. Popping an empty stack is underflow; pushing into a full fixed-size stack is overflow. In Python a list works as a stack: append() pushes onto the end (the top) and pop() removes from the end.
- Strings in Python β A string is an immutable sequence of characters written in single, double or triple quotes. Each character has a positive index (0 from the left) and a negative index (β1 from the right). Operations: + (concatenation), * (repetition), in / not in (membership) and slicing s[start:stop:step], which takes characters from start up to but not including stop. Traversal means visiting each character with a for or while loop. Built-in methods like len(), upper(), lower(), title(), capitalize(), count(), find(), index(), replace(), split(), join(), strip(), startswith(), endswith(), isalpha(), isdigit(), isalnum(), islower(), isupper() and isspace() return new values without changing the original string.
- Subprograms: Functions, Parameters and Logical Functions β A subprogram is a named block of code that does one job. You write it once and call it as many times as you like. It can take parameters (inputs). A procedure only does a job; a function also returns a value with return. A logical function returns True or False and can be used directly in an if or while.
- Techniques for Using Information Media β Information media carry a message as text, pictures, sound or video. Digitisation turns them into numbers: a smooth wave is measured at many points (samples), and each sample is stored as a number, so more samples give better quality but a bigger file. Expressive techniques such as size, colour contrast, icons and motion make the message clear.
- The AI Project Cycle: How an AI Solution Is Built β Artificial intelligence (AI) is the ability of a machine to learn from data and make decisions or predictions, like recognising faces or suggesting songs. An AI solution is built in a loop of six stages called the AI project cycle: 1) Problem Scoping, using the 4Ws (Who, What, Where, Why); 2) Data Acquisition, collecting reliable data; 3) Data Exploration, cleaning and graphing the data to find patterns; 4) Modelling, choosing rules or a learning method; 5) Evaluation, testing on new data with accuracy; 6) Deployment, putting it to real use and improving it. At every stage we must think about ethics: fairness (no bias), privacy, transparency and who is responsible.
- The Capstone Computing Project: Choose, Analyse, Design, Build, Test, Evaluate β A capstone (practical) project is a large piece of work where you solve a real problem with a program, or investigate a computing question, and write a report about it. Choose a problem with a real user and enough technical depth: complex data structures, algorithms or models. The report follows the stages of development: analysis (problem, user, research, measurable objectives), documented design (data structures, algorithms, interfaces, modules), technical solution (the working code, which carries most marks), testing (a test plan with normal, boundary and erroneous data and evidence) and evaluation (judging each objective, using user feedback and suggesting improvements). Good coding style means meaningful names, small cohesive modules, comments where needed, and defensive code that handles bad input.
- The Value of Data β Data are recorded facts: numbers, words, images, sounds, measurements. Alone they are just raw records. Data become valuable in three ways. As a raw material they are processed into information, patterns and decisions, like ore becoming metal. As a means of production they guide machines, farms, shops and services to make more with less. As infrastructure they form a shared network that many services rely on, like roads and electricity. Value grows when data are correct, up to date, relevant, and combined with other data. It falls when data are wrong, old or misused, and privacy and fairness must be protected.
- Transmission Media and Network Devices: The Roads and the Traffic Police β Transmission media are the paths that carry signals. Wired (guided) media are twisted pair cable, coaxial cable and optical fibre. Wireless (unguided) media are radio waves, microwaves and infrared. Network devices connect and direct data: a modem changes digital data to analog and back; an Ethernet card (NIC) and RJ45 connector join a computer to a cable; a Wi-Fi card joins it without wires; a repeater boosts a weak signal; a hub sends data to every port; a switch sends it only to the right port; a router sends packets between different networks; a gateway joins networks that use different protocols.
- Trees in Data Structures: Binary Trees and Binary Search Trees β A tree stores data in nodes joined by edges, like a family tree turned upside down. The top node is the root, nodes with no children are leaves. A tree with n nodes has n β 1 edges. Depth of a node is its distance (in edges) from the root; height of the tree is the longest root-to-leaf path. In a binary tree every node has at most two children. A binary search tree (BST) keeps smaller keys on the left and bigger keys on the right, so searching skips half the tree at each step. Traversals visit every node: pre-order (root, left, right), in-order (left, root, right) and post-order (left, right, root). In-order on a BST gives sorted output.
- Tuples in Python β A tuple is an ordered, immutable sequence written in round brackets: T = (4, 7, 2). Items are read by index but cannot be changed, added or removed. A single-item tuple needs a trailing comma: (5,). Operations: + (join), * (repeat), in / not in, slicing and comparison. Functions and methods: len(), tuple(), count(), index(), sorted(), min(), max(), sum(). Tuple assignment unpacks values into variables in order (a, b = 3, 8), which also swaps values in one line (a, b = b, a). A nested tuple holds tuples, useful for fixed records such as (roll, name, marks).
- Turing Machine and Theory of Algorithms β A Turing machine is a very simple imaginary computer: a long tape, a head that reads and writes one cell, and a small rule table. The ChurchβTuring thesis says that anything we can compute by a clear step-by-step method, such a machine can compute too. Complexity analysis counts how the number of steps grows as the input grows.
- Types of Software β Software is of two big kinds. System software runs the computer: the operating system, utility programs (antivirus, disk cleanup, backup, compression) and device drivers. Language translators are also system software: an assembler turns assembly language into machine code, a compiler translates a whole high-level program at once, and an interpreter translates and runs it line by line. Application software does a user's job: general-purpose (word processor, spreadsheet, browser) or customised (made for one organisation).
- UI and UX Design: Making Screens Easy and Pleasant to Use β Interface design is planning the screens people use on phones, computers, ATMs and machines. UI (user interface) is what you see and touch: buttons, icons, text, colours and layout. UX (user experience) is how the whole task feels: quick or slow, clear or confusing. Good interfaces put important things first (hierarchy), keep buttons big enough to tap (about 9 mm or 48 px), use strong colour contrast, stay consistent, give feedback after every action and need few steps. Designers study users, draw wireframes, build clickable prototypes and test them with real people, then improve.
- Using AI Tools and Calling an AI API from Python Code β An AI tool is a ready-made app (chat, image, voice, translation) that you use by typing or clicking. An AI API lets your own program ask the same kind of AI service for help. The program sends a request (address, secret key and a question in JSON) and receives a response (status code and an answer in JSON). With Python this takes about six lines using the requests library. Good use means clear prompts, checking answers, protecting your key and respecting cost and limits.
- Using Business Software: Purchasing, Sales, Payroll and Groupware β Purchasing software sends orders to suppliers and adds the arriving goods to stock. Sales software records each sale, lowers stock and adds to the sales total. Payroll software multiplies hours by rate to get gross pay, takes off tax and other deductions, and shows net pay. Groupware (shared calendar, chat and files) lets a team work on the same information at the same time.
- Using IT in Fisheries and Marine Work β Modern ships and fishers use information technology (IT): sonar finds fish by sound echoes, GPS gives position, radar and AIS avoid collisions, buoys and satellites measure the sea, and shore data centres join all this data to give advice. Depth from an echo is depth = speed of sound x time / 2.
- Virtual Reality and Augmented Reality: How They Work β Virtual reality (VR) puts you inside a world made by a computer: a headset shows each eye a slightly different picture, lenses make the screens look far away, and sensors track your head so the picture moves as you look around. Augmented reality (AR) keeps the real world and adds computer objects on top, using a camera to find surfaces or markers. Mixed reality (MR) lets virtual and real objects interact. They are used in games, training, medicine, design and education.
- Web Applications: Online Reservation, E-governance, E-learning and E-commerce β A web application is a program you use through a web browser. It runs mostly on a web server; your phone or computer (the client) sends a request over the internet, the server reads or changes data in a database, and sends back a response page. Because the data is shared, everyone sees the same up-to-date information. Common uses: online reservation (train, bus, flight, hotel, cinema tickets), e-governance (government services online such as certificates, tax filing, passports, land records), e-learning (online courses, video lessons, quizzes, virtual classes) and e-commerce (buying and selling online with cart, payment and delivery tracking). Benefits: available anytime, anywhere, saves time and paper, transparent. Risks: needs internet, privacy, fraud and phishing; use HTTPS, strong passwords, OTP and official sites only.
- Web Development: How HTML, CSS and JavaScript Build a Web Page β A web page is a set of text files. The browser (client) asks a server for them using a URL and HTTP. HTML gives the page its structure: headings, paragraphs, links, images, lists, tables and forms. CSS gives style: colours, fonts, spacing and layout. JavaScript gives behaviour: it reacts to clicks and changes the page. Responsive design makes one page fit both phones and computers. Good pages are also accessible, fast and safe.
- Web Services: What Happens When You Open a Website β The World Wide Web (WWW) is a system of linked web pages that live on the Internet and are reached with a browser. Web pages are written in HTML, which uses fixed tags to show content; XML uses tags you make yourself to store and carry data. Every website has a domain name, like example.org, which DNS turns into an IP address. A URL is the full address of one resource: protocol, domain and path. A website is a set of related web pages. A web browser asks for pages and shows them; a web server stores them and sends them; web hosting is renting space on such a server so your site is online all the time.
- Website Design for a Business: Plan, Build and Evaluate β A good business website starts with a clear purpose and a target audience. It is built from standard parts (header, menu, main message, call-to-action button, content, footer), laid out with simple navigation and design principles (hierarchy, contrast, white space, consistency), works on phones, and is tested and improved with a checklist and real users.
- Wired Communication Equipment β Wired data communication sends bits (1 and 0) as electric or light pulses along a cable. Data is cut into packets, and each packet carries an address. Terminal equipment (phones, computers, modems) sits at the ends; network equipment (switches, routers) moves packets to the right place. Security tools such as firewalls and passwords protect the data. Good connection work means the right cable, the right wire order and tested joints.
- Word Processing: Making Clear, Well-Formatted Documents β A word processor (like LibreOffice Writer, Microsoft Word or Google Docs) is a program for typing, editing, formatting, saving and printing text documents. You change letters with character formatting (font, size, bold, colour), whole paragraphs with paragraph formatting (alignment, spacing, indents, lists), and the whole document with page setup and styles. Styles let the program build a table of contents automatically. You can add tables, pictures, headers, footers, page numbers, footnotes, citations and a bibliography, and use mail merge to make many personal letters from one template.
- Work Integrated Learning: Workplace Practice as a Data Entry Operator β Work integrated learning (WIL) joins classroom study with real work: internships, apprenticeships, on-the-job training, field visits and projects for real clients. Students practise skills, learn workplace habits and record what they did in a logbook and report. In IT, a common placement is as a domestic data entry operator: someone who types data from paper or digital sources into computer systems (spreadsheets, databases, forms) quickly and correctly, checks it, keeps it safe and private, and creates simple reports. Key ideas: speed in words per minute (WPM) and keystrokes per hour, accuracy, verification (re-checking against the source, double entry), ergonomics (screen at eye level, elbows about 90Β°, breaks), data security and confidentiality, and workplace etiquette (punctuality, dress, communication, following instructions).
- Working in the Information Space: Internet Services, Cloud and Online Office β Today we do much of our work on the Internet. A device sends a request and a service sends back an answer. Public e-services let us finish official tasks from home. Cloud storage keeps our files on far-away computers so every device can open them. Online office tools let many people edit one document together. We must also keep passwords safe and share files with care.