Integrated revision and exam preparation (Grade 11 IT) – Week 1 focus
Download the Lessonotes Mobile South Africa app for faster lesson access on Android and iPhone.
Subject: Information Technology
Class: Grade 11
Term: Term 4
Week: 1
Theme: General lesson support
This page supports the lesson note with a companion video and a short classroom-ready summary.
For class groups and homework, share this lesson page so learners also get the summary, objectives, and full lesson context.
This week marks the beginning of our integrated revision and exam preparation for Grade 11 Information Technology. IT skills are increasingly crucial in South Africa's evolving digital landscape. From participating in the online economy to accessing government services and engaging in civic discourse, a solid understanding of IT empowers individuals to thrive. We'll focus on revisiting core concepts from earlier in the year and applying them to exam-style questions. This structured approach will boost confidence, identify knowledge gaps, and refine problem-solving skills.
2.1 Data Types Data types are classifications that specify the kind of value a variable can hold. Choosing the right data type is crucial for efficient memory usage and accurate calculations.
Integer: Whole numbers (positive, negative, or zero) without decimal points.
Examples: -5, 0,
1
0
0. In South African context, consider storing the number of learners in a class or the number of votes in a local election.
Real/Float: Numbers with decimal points.
Examples: 3.14, -2.5, 0.
0. Think of storing a learner's average mark or the price of data bundles.
String: Sequences of characters (letters, numbers, symbols).
Examples: "Hello World", "IT is fun!", "123 Main Street". Useful for storing names, addresses, and descriptions.
Boolean: Represents truth values: True or False. Commonly used for logical operations and decision-making. Consider storing whether a learner has submitted an assignment (True/False) or whether a user is logged in (True/False).
Example: Imagine we are writing a program to calculate the average marks of learners in a class. ```python Correct data types num_learners = 30 # Integer total_marks = 2450.5 # Float class_name = "Grade 11 IT" #String pass_threshold = 50.0 # Float incorrect example would be to store the number of learners as a string num_learners = "30" #incorrect average_mark = total_marks / num_learners # float calculation print(f"The average mark for {class_name} is: {average_mark}") ``` Why? Using the correct data type allows for accurate calculation of average_mark. If `num_learners` were a string (e.g., "30"), Python would try to perform string division, leading to an error. 2.2 Control Structures: Sequential, Selection, Iteration Control structures dictate the order in which instructions are executed.
Sequential: Instructions are executed one after another, in the order they appear in the code. ```python print("Starting the program") name = input("Enter your name: ") print(f"Hello, {name}!") print("Ending the program") ``` Selection (IF statements): Allows the program to make decisions based on conditions. ```python age = int(input("Enter your age: ")) if age >= 18: print("You are eligible to vote.") else: print("You are not eligible to vote yet.") Nested IF mark = int(input("Enter your mark: ")) if mark >= 80: print("Excellent") elif mark >= 70: print("Very Good") elif mark >= 60: print("Good") else: print("Needs improvement") ``` Iteration (Loops): Allows a block of code to be repeated multiple times.
For loop: Repeats a block of code a specific number of times. ```python for i in range(5): # repeats 5 times print(i) Looping through a list of names learners = ["Thando", "Ayanda", "Sipho"] for learner in learners: print(f"Hello, {learner}!") ``` While loop: Repeats a block of code as long as a condition is true. ```python count = 0 while count = 18: print("You are an adult.") else: print("You are a minor.") ```
Commentary: This question tests your understanding of data types (integer) and selection structures (IF statement). The `int()` function converts the user's input (which is initially a string) into an integer. The IF statement then checks if the age is greater than or equal to 18 and prints the appropriate message.
Question 2: Write a Python program that uses a `for` loop to print the numbers from 1 to
1
0. Solution: ```python for i in range(1, 11): # range starts at 1 and ends before 11 print(i) ```
Commentary: This question tests your understanding of iterative structures (for loop). The `range(1, 11)` function generates a sequence of numbers from 1 up to (but not including)
1
1. The loop then iterates through this sequence and prints each number.
Question 3: Design a simple database table to store information about books in a library.
Include the following fields: `BookID`, `Title`, `Author`, `PublicationYear`, `Genre`. Specify the data type for each field and identify the primary key.
Solution: Table Name: Books | Field | Data Type | | --------------- | --------- | | BookID | Integer | | Title | String | | Author | String | | PublicationYear | Integer | | Genre | String | Primary Key: `BookID`
Commentary: This question tests your understanding of database basics. `BookID` uniquely identifies each book. Other relevant data is added.
Question 4: A learner has downloaded a movie from an illegal website. Explain the ethical implications of their actions.
Solution: Downloading a movie from an illegal website infringes on copyright law. The learner is obtaining and using copyrighted material (the movie) without permission from the copyright holder (the film production company). This deprives the copyright holder of potential revenue and is considered a form of theft. Additionally, illegal websites often contain malware and viruses that can compromise the learner's computer and personal data.
Commentary: This question tests your understanding of the ethical implications of IT, specifically copyright infringement and security risks.