Hey everyone! Hope you're doing great. Today we tackled **0478 Paper 22 (Feb/March 2025)** for Computer Science — covering **algorithms, programming, and logic** in 1 hour 45 minutes for 75 marks. Remember: use a black or dark blue pen (pencil for diagrams only), no erasable ink, no correction fluid, and no brand names.
We started with **multiple-choice**:
- **Q1**: Data search in array — chose **Linear Search (C)**
- **Q2**: Save hotel name — correct answer: **WriteFile hotels.txt, name (B)**
Then moved to **Software Development Life Cycle**:
- **Testing**: Check if it works
- **Analysis**: Understand the problem
- **Coding**: Write the program
- **Design**: Use flowcharts or pseudocode
**Validation checks**:
- **Presence Check**: Field isn’t blank
- **Type Check**: Input must be integer
Wrote a **loop** to re-enter input until it’s a whole number using `mod number, 1`.
**Test data types**:
- **Abnormal**: "ABC" — too short
- **Boundary**: 9 characters
- **Normal**: More than 9 characters
**Pseudocode debugging**:
We fixed 5 key issues in a loop handling 1000 inputs:
1. `highest` was a string — should be an integer
2. Wrong initial value for `highest`
3. Added `count` instead of `numbers[count]`
4. Compared with `total` instead of `highest`
5. Incorrect average calculation
Fixed average output with:
```pseudo
OUTPUT "Average is ", ROUND(total / 1000, 2)
```
### **Part C: Add Smallest Number Tracking**
To also find the **smallest number**, I would:
1. **Declare** a new variable `smallest`
2. **Initialize** it with a large number like 1500
3. **Compare** each input — if it’s smaller, update `smallest`
4. **Output** the `smallest` after the loop
That’s it! Solid revision session — let’s keep it up 💪
---
Let me know if you want a video script version or notes-style version too!
_____________________________________________________
IGCSE | O Level Computer Science 2023 - The Scenario-based Question - 15 Marks Specimen Paper 2B
https://youtu.be/s7cuCXpIg7o
Watch solved papers
Full 2023 Specimen Paper 1A Solution | O Level (2210) IGCSE (0478) Computer Systems for 2023
https://youtu.be/ontjrLD1JZQ
Full 2023 Specimen Paper 1B Solution | O Level (2210) IGCSE (0478) Computer Systems for 2023
https://youtu.be/b6dSIwZAJjY
Full 2023 November 2023/12 Solution | O Level (2210) IGCSE (0478) Computer Systems Solved
https://youtu.be/-69wsEu3FDU
🏆Don't forget to like, share, and subscribe for more tutorials. Happy learning! 🎉
______________________________________________________________________________
Solved papers play list:
IGCSE | O Level Solved Papers - Computer Systems | Algorithms, Programming and Logic
https://www.youtube.com/playlist?list=PLjnERwnSrq_o5GdKzunA0jJygQiiP09KI
Watch more videos of Computer Science Paper 1
Converting denary numbers to hexadecimal and hexadecimal numbers to denary - paper 1
https://youtu.be/NZyRA6G9Np0
Selection Logic - IF-ELSE-ENDIF - paper 2
https://youtu.be/U79s82s2EEo
Data transmission & methods of error detection
https://youtu.be/FYVnLk9ioho
Software and its types, Utility programs, types of computer languages and language translators
https://youtu.be/2a4WSIPQ_0s
Conversion (denary, binary and hexadecimal)
https://youtu.be/FnBUPEFkAUk
Cyber security
https://youtu.be/XCaNl2t3QqM
Embedded systems
https://youtu.be/ghakwOH5L8g
Playlist Paper 1
https://www.youtube.com/playlist?list=PLjnERwnSrq_o31_7Q_FwgBthcpvG-xMTB
Playlist Paper 2
https://www.youtube.com/playlist?list=PLjnERwnSrq_pslQi3Lk3Vc7em-gMZTApu
_________________________________________
Follow me
Facebook:https://web.facebook.com/LearnCSwithSY/
Facebook Community: https://web.facebook.com/groups/learncswithsy
For more information contact
email:
[email protected]
#sadafyousuf #learncswithsy #0478
_______________________________________________________
Happy learning! 💻🎓🌟
🙂Was this video lecture helpful??
share your thoughts and feedback in the comments 👍
#digitalmark3ting #asmaakhlaqa
Managed by: Digitalmark3ting.com
[email protected]
+923215255851