Ahmed Elmalla
Ahmed Elmalla
Expert Python, Java, and VB.NET Programming Guidance IB Computer Science Tutor AP Computer Science A Tutor Python Programming Tutor Java Programming Tutor Experienced VB.NET Coding Tutor
Ahmed Elmalla

Blog

Grace | Master IGCSE Computer Science: Python Classes & Resources | Hong Kong

Grace | Master IGCSE Computer Science: Python Classes & Resources | Hong Kong

Unlock the full potential of Python programming with our extensive resources tailored for both beginners and advanced learners. Whether you're looking to understand pseudocode, master 2D arrays, or find the best online Python tutors, this guide provides everything you need to succeed.

Dive into our private tuition class materials, including slides and exercises, designed to enhance your learning experience and boost your programming skills.


**Interactive Python Tutor Resources**

 

1) Class 1 (18 Mar 24) :

      a) Class Summary: 

  1. How to utilize the brain for better learning

  2. How to reach class recording & slides 

  3. Low level languages Vs High level languages

      b) Video ( Monday ): 
                      
Part 1

                  

      d) Files: Demo Class (Utilizing brain functions + Low level programing Intro)

      e) Class Code: n/a

      f) Excercises : Low Level Starter Questions

      g) HomeWork Solutions Posting (FB) : post answers or link to answer files

 

2) Class 2 (2 April 24) :

      a) Class Summary: 

  1. Assignment revision

  2. Data Transmission exam questions

      b) Video ( Tuesday ): 
                     
Videos recorded by Grace, 

                  

      d) Files: Data Transmission Exam Questions , USB Questions , Theory USB & Encryption

      e) Class Code: n/a

      f) Excercises : 3 previous Exam Questions

      g) HomeWork Solutions Posting (FB) : post answers or link to answer files

 

3) Class 3 (5 April 24) :

      a) Class Summary: 

  1. Internet vs WWW

  2. Web Browsers Vs Web Servers

  3. IP Address v4

  4. HTTP vs HTTPS

  5. ISP and public IP addresses

      b) Video ( Friday ): 
                     
Class 3 , (Disconnection caused the recording to be incomplete) 

                  

      d) Files: Internet and WWW Part 1

      e) Class Code: n/a

      f) Excercises : Exam Questions

      g) HomeWork Solutions Posting (FB) : post answers or link to answer files

 

4) Class 4 (15 April 24) :

      a) Class Summary: 

  1. Exam Questions on 

  2. Data Transmission topic

  3. Data Transmission topic

  4. Internet & Web topic

      b) Video ( Monday ): 
                   
 (Recorded by Grace ) 

                  

      d) Files: Selected Exam Questions on the topics above

      e) Class Code: n/a

      f) Excercises : Convert URL Characters to Hex and vice versa , Pseudo code Questions

      g) HomeWork Solutions Posting (FB) : post answers or link to answer files

 

5) Class 5 (22 April 24) :

      a) Class Summary: 

  1. Exam Questions on 

  2. Secondary Storage topic

  3. Pseudo Code & Flow Charts topic

      b) Video ( Monday ): 
                    
 (Recorded by Grace ) 

                  

      d) Files: Selected Exam Questions on the topics above , Home Work Ideal Answers

      e) Class Code: n/a

      f) Excercises : Pseudo Code Questions , Data Storage Questions

      g) HomeWork Solutions Posting (FB) : post answers or link to answer files

 

6) Class 6 (1 May 24) :

      a) Class Summary: 

  1. Exam Questions on 

  2. Logic Gates topic

  3. Pseudo Code

  4. Virtual memory

  5. Secondry Storage

      b) Video ( Wednesday ): 
                    
 (Recorded by Grace ) 

                  

      d) Files: Theory & Exam Questions on Storage, Virtual memory, pseudo code and logic gates

      e) Class Code: n/a

      f) Excercises : Logic gates , Web , Data Storage, problem design

      g) HomeWork Solutions Posting (FB) : post answers or link to answer files

--P

7) Class 7 (6 May 24) :

      a) Class Summary: 

  1. Exam Questions on 

  2. Logic Gates topic

  3. Pseudo Code (IF ELSE, CASE OF, FOR Loop , While DO)

  4. BluRay + DVD

  5. SRAM vs DRAM

      b) Video ( Monday ): 
                    
 (Recorded by Grace ) 

                  

      d) Files: Focus on Pseudo Code Exam Questions , Home Work Solutions , pseudo code example code (emphasis on CASE OF)

      e) White Board : Psuedo Code While Loop to sum numbers 

      f) Class Code: n/a

      g) Excercises : pseudo code p62 to 64 , Design thinking P56

      h) HomeWork Solutions Posting (FB) : post answers or link to answer files

 

8) Class 8 (14 May 24) :

      a) Class Summary: 

  1. Assesment Dicussion

  2. Home work revision

  3. June Exam sylbus 

  4. Exam Questions on

  5. Encryption

  6. Data Transmission

  7. Compression

  8. Sound

      b) Video ( Tuesday ): 
                    
 (Recorded by Grace ) 

                  

      d) Files: School : Exam questions and Answers ,Answer references on school assessmentPrevious Home work Answers

      e) White Board : N/A

      f) Class Code: n/a

      g) Excercises : Data Storage

      h) HomeWork Solutions Posting (FB) : post answers or link to answer files

 

9) Class 9 (26 May 24) :

      a) Class Summary: 

  1. Python Code Revision

  2. Database Exam question

      b) Video ( Sunday ): 
                    
 (Recorded by Grace ) 

                  

      d) Files: SQl Database Question 

      e) White Board : N/A

      f) Class Code: n/a

      g) Excercises : Python Workbook Exercise , Questions on multiple Topics

      h) HomeWork Solutions Posting (FB) : post answers or link to answer files

 

10) Class 10 ( 4 June 24) :

      a) Class Summary: 

  1. SQL slides revision

  2. Block Chain slides revision 

  3. SQL exam style questions

      b) Video ( Tuesday ): 
                    
 (Recorded by Grace ) 

                  

      d) Files: SQL Exam like Questions

      e) White Board : N/A

      f) Class Code: n/a

      g) Excercises : n/a (exercies weren't given because of daily exams)

      h) HomeWork Solutions Posting (FB) : post answers or link to answer files

 

11) Class 11 ( 6 June 24) : (Canceled on short Notice)

      a) Class Summary: 

  1. Python Exercises provided

  2. Previous Exam questions with answers 

  3.  

      b) Video ( Thrusday ): n/a
                   

                  

      d) Files: Count Factors , Exam questions & Answers Compilation

      e) White Board : N/A

      f) Class Code:  Q10 Exam Nov 2023 / paper 2 , Easier Solution Q10 Exam Nov 2023 / paper 2

      g) Excercises : n/a 

      h) HomeWork Solutions Posting (FB) : post answers or link to answer files

 

**Step-by-Step Python Classes**

 

12) Class 12 ( 4 July 24) : 

      a) Class Summary: 

  1. Python : revision on an exam question

      b) Video ( Thrusday ):  n/a

                  

      d) Files: n/a

      e) White Board : N/A

      f) Class Code:  n/a

      g) Excercises : Guess Capital City 

      h) HomeWork Solutions Posting (FB) : post answers or link to answer files

 

13) Class 13 ( 8 July 24) : 

      a) Class Summary: 

  1. Python : remarks on the Home work & sum user input exercise

  2. Chaper 3 - hardware : – the Central Processing Unit (CPU)/microprocessor
                                        – von Neumann architecture
                                        – arithmetic and logic unit (ALU), control unit (CU) and registers
                                        – control bus, address bus, data bus

      b) Video ( Monday ):  n/a

                  

      d) Files: Chapter 3 hardware , Homework Answer & Example Code

      e) White Board : N/A

      f) Class Code:  n/a

      g) Excercises : Fibonacci Series

      h) HomeWork Solutions Posting (FB) : post answers or link to answer files

 

Class 14 (11 July 2024) :

a) Class Summary:

- Fetch-decode-execute cycle (Instructions : Load 10, Add 11)  - (Ch3. Hardware )

- Python practice : Looping through lists & strings

- Python practice : Difference between Functions & procedures

 

b) Video (Thrusday):

-not recorded

 

d) Files:

- Example codes for Functions & Procedure, arithmetic precedence, Home work Ideal answers  

- Slides for Fetch-Decode-Execute cycle for 2 instructions (Ch3. - Hardware)

 

e) Class Code:

- 2 ways to loop through arrays and strings

 

f) Exercises:

- Count Factors & Tickets discount Exercise (3 Excercises)

 

 

g) HomeWork Solutions Posting (FB) : 

post answers or link to answer files

 

Class 15 (15 July 2024) 

a) Class Summary:

 - Revising the Home work expercies & recomneding solutions

 - Fetch-decode-execute cycle (Instructions : Store 12) - (Ch3. Hardware )

- Python practice : using Sum(), min() and max() methods with 1D arrays

- Python practice : 2D arrays Intro

 

b) Video (Monday):

-recorded by Grace

 

d) Files:

Slides for Fetch-Decode-Execute cycle for 3rd instruction + CPU Cores + CPU Cache (Ch3. - Hardware)

 

e) Class Code:

- Home Work (isPrime + CountFactors) + Using Sum(), min() and max () Methods for 1D arrays + 2D arrays nested for loop

 

f) Exercises:

- Create functions that takes arrays as an input

 

g) HomeWork Solutions Posting (FB) : 

post answers or link to answer files

 

**1D & 2D arrays Python**

 

Class 16 (23 July 2024) 

 

a) Class Summary:

 - Revising Python Homework Exercises for Enhanced Learning

 - Essential Questions on Cache Memory and Python CPU Core Usage

 - Exploring Instruction Sets and Embedded Systems in Python (Chapter 3 Hardware)

- Python Practice: Mastering Append and Remove Methods with 1D Arrays

- Python Practice: Checking for Element Existence in Arrays

 

b) Video (Tuesday):

-recorded by Grace

 

d) Files:

- Comprehensive Slides on Instruction Sets and Embedded Systems (Chapter 3 Hardware)

Detailed Slides on Slicing 1D Arrays in Python with Examples: Using Append and Remove Methods

 

e) Class Code:

- n/a

 

f) Exercises:

- School Marks - Exam Like Question 

 

g) HomeWork Solutions Posting (FB) : 

post answers or link to answer files

 

**Exploring 2D Arrays in Python**

 

Class 17 (26 July 2024) 

 

a) Class Summary:

 - Revising Python Exercises: Calculating School Marks

 - Key Questions on Embedded Systems and Python Instruction Sets

 - Understanding Input Devices: Hardware Theory (Chapter 3)

- Python Techniques: Traversing 2D Arrays and Using the Append Method

 

b) Video (Friday):

-recorded by Grace

 

d) Files:

In-Depth Slides on Input Devices: Hardware Theory (Chapter 3)

Step-by-Step Slides on Traversing 2D Arrays in Python and Appending Rows

 

e) Class Code:

- n/a

 

f) Exercises:

- Review Past Year Exam Questions on Input Devices

- Enhancing Python Validation Loops and Coding 2D Arrays

 

g) HomeWork Solutions Posting (FB) : 

post answers or link to answer files

 

 

**Python Sum Min Max methods **

Class 18 (1 Aug 2024) 

 

a) Class Summary:

 - Revising Python Exercises: Input Marks validation section

 - Key Questions on Input Devices & Control Unit

 - Understanding Output Devices - Part 1: Hardware Theory (Chapter 3)

- Python Techniques: Use flags & Counters with 1D & 2D arrays

- Python Techniques: Use append for 2D array Columns

- Python Techniques: Use Sum, Min and Max methods with 2D arrays

 

b) Video (Thrusday):

-recorded by Grace

 

d) Files:

In-Depth Slides on Output Devices: Hardware Theory (Chapter 3)

Step-by-Step Slides on Python 1D & 2D Arrays Examples - Flags, Counters & Column Operations

 

e) Class Code:

- n/a

 

f) Exercises:

- Grades Tally Excerise 

-Write & Understand code Append to Column, Use Sum, Min, Max Methods with 2D arrays  

 

g) HomeWork Solutions Posting (FB) : 

post answers or link to answer files

 

Class 19 (6 Aug 2024) 

 

a) Class Summary:

 - Analyzing Student Grades with Python: Tally and Statistics

 - Essential Questions About Output Devices

 - Output Devices Explored - Part 2: LCD Projectors, Printers, and Actuators (Hardware Theory, Chapter 3)

 - Python Techniques: Reading and Writing Text Files

 - Python Techniques: Handling 1D Arrays in Text Files

 - Practical Applications of 1D and 2D Arrays and Text File Operations

 

b) Video (Monday):

-recorded by Grace

 

d) Files:

In-Depth Slides on Output Devices: Hardware Theory (Chapter 3)

Step-by-Step Slides on Python Reading & Writing data to text files

 

e) Class Code:

- grades Excercise Answer

 

f) Exercises:

- Output devices Past year Exam Questions

- Write Average, Min and Max Student grades into a file  , Student grades text file

 

g) HomeWork Solutions Posting (FB) : 

post answers or link to answer files

 

 

Class 20 (8 Aug 2024) 

 

a) Class Summary:

- Exercise: Analyzing and Writing Student Grades to a File (Average, Min, Max)

- Revising Homework: Answers to Questions on Output Devices

- Exploration of Sensor Devices & Control System Components (Hardware Theory, Chapter 3)

- Python Techniques: Loading Data from a Text File into an Array

 

b) Video (Thrusday):

-recorded by Grace

 

d) Files:
In-Depth Slides on Sensors & Control Systems, Part 1: Hardware Theory (Chapter 3)

 

e) Class Code:

- File Handling Code (Reading from File into a List)

 

f) Exercises:

Sensors devices Past year Exam Questions

Write & Understand Exercises , Student grades text file

 

g) HomeWork Solutions Posting (FB) : 

post answers or link to answer files

 

Class 21 (12 Aug 2024) 

 

a) Class Summary:

- Discussion on previous python homework and expected outcomes.

- Homework Review: Answers to questions on sensor devices and closed-loop systems.

- Exploration: Differences between monitoring and controlling applications (Hardware Theory, Chapter 3).

 

b) Video (Monday):

-recorded by Grace

 

d) Files:
In-Depth Slides on Sensors & Control Systems (Completed): Hardware Theory (Chapter 3)

 

e) Class Code:

- n/a

 

f) Exercises:

Sensor devices Past year Exam Questions

Convert into method & Fill in missing code Exercises

 

g) HomeWork Solutions Posting (FB) : 

post answers or link to answer files

 

 

Class 22 (19 Aug 2024) 

 

a) Class Summary:

- n/a

 

b) Video (Monday):

-recorded by Grace

 

d) Files:
In-Depth Slides on Primary & Secondary Storage (Completed): Hardware Theory (Chapter 3)

 

e) Class Code:

- n/a

 

f) Exercises:

- Data Storage Exam Questions 

- 2D Arrays & File handling Python Questions

 

g) HomeWork Solutions Posting (FB) : 

post answers or link to answer files

 

Class 23 (26 Aug 2024) - only 65 min due to technical issues 

 

a) Class Summary:

  • Reviewing the Reverse Function: Understanding its usage and applications.
  • Explaining the Importance of Methods: Discussing why and how to effectively use methods in programming.
  • Converting Code for Reading Student Marks: Step-by-step guide on transforming a code that reads student marks from a text file into a grades array.
  • Building a Generic Function with Return Statement: Student learns how to create a flexible function that returns results efficiently.

 

b) Video (Monday):

-recorded by Grace

 

d) Files:
- Ideal Answer for Exercise 2: Convert Code that Reads Data from a Text File into a Function

 

e) Class Code:

- n/a

 

f) Exercises:

Converting Code to Functions and Introduction to Sorting

 

g) HomeWork Solutions Posting (FB) : 

post answers or link to answer files

 

 

Class 24 (29 Aug 2024) - 102 min. class duration to compensate for class 23 

 

a) Class Summary:

1. Explained how to convert regular code into a method for better modularity and reusability.
2. Demonstrated Bubble Sort using scaffolding code, emphasizing the role of the `while` loop.
3. Covered essential network hardware components and their functions.

 

b) Video (Thrusday):

-recorded by Grace

 

d) Files:
- Network Hardware - Chapter 3: Hardware Theory

 

e) Class Code:

- n/a

 

f) Exercises:

 

g) HomeWork Solutions Posting (FB) : 

post answers or link to answer files

 

 

Class 25 (8 Sept 2024) - 60 min. class duration 

 

a) Class Summary:

  • Discussion on Replit Alternatives

  • Discussion on Chapter 4: Hardware - Examples of System Software and Application Software

 

b) Video (Sunday):

-recorded by Grace

 

d) Files:
Chapter 4: Hardware (Part 1) - Examples of System Software and Application Software

 

e) Class Code:

- n/a

 

f) Exercises:

 

g) HomeWork Solutions Posting (FB) : 

post answers or link to answer files

 

Class 26 (15 Sept 2024) - 67 min. class duration 

 

a) Class Summary:

  • We discussed misconceptions about converting code into methods, with a focus on writing grades, and Grace practiced part of the method.
  • Exercise 2 involved populating a 2D array using student names and marks from two 1D arrays, with a simplified approach for future improvement.
  • We completed Chapter 4, covering OS functionalities in detail.
  • We started learning pseudocode by linking it to concepts previously learned in Python.

b) Video (Sunday):

-recorded by Grace

 

d) Files:
- Chapter 4 - System Software and OS Functionalities (Completed)

 

e) Class Code:

- n/a

 

f) Exercises:

- Ch4 OS past year exam question
-  Writing Methods & 2D Array Iterations Training

 

g) HomeWork Solutions Posting (FB) : 

post answers or link to answer files

 

Class 27 (22 Sept 2024) - 90 min. class duration 

 

a) Class Summary:

  • Pseudocode vs Python Code: This session focused on comparing pseudocode with Python, highlighting key differences in syntax, structure, and logic representation to improve students' understanding of algorithm design and programming.

  • Chapter 4 - Interrupts & BIOS: The class covered the basics of computer architecture, specifically the roles of interrupts and the BIOS, explaining how they manage hardware-software interactions during system startup and operations.

b) Video (Sunday):

-recorded by Grace

 

d) Files:
- Pseudocode vs Python Code - Part 1

- Chapter 4 - Interrupts & BIOS

 

e) Class Code:

- n/a

 

f) Exercises:

- Interrupts - Past Exam Questions  
Writing Methods & 2D Array Iterations Training

 

g) HomeWork Solutions Posting (FB) : 

post answers or link to answer files

 

Class 28 (29 Sept 2024) - 118 min. class duration 

 

a) Class Summary:

  • Reviewed last class's homework answers and began analyzing an interactive story exercise focused on functions, loops, linear search, bubble sort, and conditional statements.
  • Guided Grace on creating functions and building choices, then brainstormed the solution together.
  • Time ran short, so provided a semi-final solution, with bubble sort still needing to be added.

b) Video (Sunday):

-recorded by Grace

 

d) Files:
- Interactive Story 

 

e) Class Code:

- Interactive Story Scene: School Exercise Proposed Solution

 

f) Exercises:

Enhance the interactive story code by adding new features and optimizing functionality.

 

g) HomeWork Solutions Posting (FB) : 

post answers or link to answer files

 

 

Class 29 (6 Oct 2024) - 97 min. class duration 

 

a) Class Summary:

  • Reviewed last class's homework answers and began analyzing an interactive story exercise focused on functions, loops, linear search, bubble sort, and conditional statements.
  • Guided Grace on creating functions and building choices, then brainstormed the solution together.
  • Time ran short, so provided a semi-final solution, with bubble sort still needing to be added.

b) Video (Sunday):

-recorded by Grace

 

d) Files:
Interactive Story 

 

e) Class Code:

- Explore Bubble Sort and Linear Search in an Interactive Story with 4 Choices

 

f) Exercises:

- IGCSE 0478 Past Year Exam Questions on CPU and Von Neumann Architecture

 

g) HomeWork Solutions Posting (FB) : 

post answers or link to answer files

 

Class 30 (13 Oct 2024) - 98 min. class duration 

 

a) Class Summary:

  • Explained the two loops within the bubble sort algorithm and how they function together.
  • Reviewed the school's pseudocode slide, ensuring clarity in understanding key steps.
  • Discussed the importance of understanding variable declaration and assignment in pseudocode, as this is part of the official Cambridge IGCSE requirements.

b) Video (Sunday):

-recorded by Grace

 

d) Files:

 

e) Class Code:

- n/a

 

f) Exercises:

 

g) HomeWork Solutions Posting (FB) : 

post answers or link to answer files

 

Class 31 (20 Oct 2024) - 90 min. class duration 

 

a) Class Summary:

  • Explained the bubble sort exam question and the importance of each pass in the loop.
  • Reviewed the flowchart for the linear search exam question.
  • Covered Chapter 4: machine code, translators, and high-level languages.
  • Demonstrated validation code using pseudo code.
  • Emphasized understanding of the sorting process in bubble sort loops.

b) Video (Sunday):

-recorded by Grace

 

d) Files:

e) Class Code:

- Bubble Sort Outer Loop - Iteration Effects

 

f) Exercises:

 

g) HomeWork Solutions Posting (FB) : 

post answers or link to answer files

 

October 26th: School Homework Check for Chapter 4

 

Class 32 (3 Nov 2024) - 120 min. class duration 

 

a) Class Summary:

  • We reviewed up to page 47 of Chapter 4—Software, using the school-prepared slides, except for the BIOS section

b) Video (Sunday):

-recorded by Grace

 

d) Files:

e) Class Code:

- n/a

 

f) Exercises:

 

g) HomeWork Solutions Posting (FB) : 

post answers or link to answer files

 

Nov. 9th: School Homework Check for Chapter 5 - Cyber Secuirty 

 

Class 33 (10 Nov 2024) - 90 min. class duration 

 

a) Class Summary:

  • We reviewed pages 47 to 70 of Chapter 4—Software, using school-prepared slides.
  • Studied the array average algorithm in both Python and pseudocode.
  • Studied the algorithm to find the maximum element in an array in both Python and pseudocode.

b) Video (Sunday):

-recorded by Grace

 

d) Files:

e) Class Code:

- n/a

 

f) Exercises:

 

g) HomeWork Solutions Posting (FB) : 

post answers or link to answer files

 

 

Class 34 (17 Nov 2024) - 90 min. class duration 

 

a) Class Summary:

  • Revision of Chapter 4: Hardware, tailored to the student's request in preparation for her school exam.

b) Video (Sunday):

-recorded by Grace

 

d) Files:

e) Class Code:

- n/a

 

f) Exercises:

 

g) HomeWork Solutions Posting (FB) : 

post answers or link to answer files

 

Class 35 (24 Nov 2024) - 85 min. class duration 

  • Chapter 5 Revision: Covered topics up to pharming and phishing, tailored to the student's exam preparation.
  • Interactive Story School Exercise: Explained improvements, including the use of helper functions like print_choices, the impact of validating user input, and applying bubble sort throughout the code to organize choices.

b) Video (Sunday):

-recorded by Grace

 

d) Files:

e) Class Code:

Interactive Story Code (Version 3) School Homework

 

f) Exercises:

 

g) HomeWork Solutions Posting (FB) : 

post answers or link to answer files

 

Class 36 (9 Dec 2024) - 88 min. class duration 

  • Chapter 6: Automation

    • We explored automated systems and introduced the use of robotics in industry.
  • Pseudocode Analysis

    • Analyzed a past exam question involving pseudocode to compare a newly generated password with a list of stored old passwords. The task involved identifying and fixing three errors in the code.

b) Video (Sunday):

-recorded by Grace

 

d) Files:

e) Class Code:

  • n/a

 

f) Exercises:

 

g) HomeWork Solutions Posting (FB) : 

post answers or link to answer files

Database Error

A Database Error Occurred

Error Number: 1406

Data too long for column 'page' at row 1

INSERT INTO `visits` (`page`, `session`, `ip`, `lead_link`, `lead_visits`, `traffic_source`, `referr`, `ad_mark`, `adset_name`, `adset_id`, `headers`, `user_agent`, `country`, `created_at`) VALUES ('elmalla/post/88-grace-master-igcse-computer-science-python-classes-resources-hong-kong', 'aef1496710c315fe065c114fac5165bd72288e83', '18.97.14.85', NULL, 0, '', '', NULL, NULL, NULL, 'elmalla.info;90e6908be95f0674-IAD;18.97.14.85, 172.70.42.219;en-US,en;q=0.5;gzip, br;text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8;https;CCBot/2.0 (https://commoncrawl.org/faq/);US;{\"scheme\":\"https\"};cloudflare; loops=1;18.97.14.85', 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'United States', '2025-02-07 21:45:02')

Filename: core/CIF_Model.php

Line Number: 537