Master Pascal for O/L & A/L Exams
සම්පූර්ණ විෂය නිර්දේශය, පැරණි ප්රශ්න පත්ර, සජීවී කේත සම්පාදකය
Complete Learning Platform
Everything you need to ace your ICT exams in one place
Syllabus Aligned
100% coverage of O/L and A/L ICT syllabus with regular updates.
Bilingual Content
Learn in both සිංහල and English with explanations and examples.
Online Pascal Editor
Write, run, and debug Pascal code directly in your browser.
Past Paper Bank
2008-2024 past papers organized by topic and difficulty.
Progress Tracking
AI-powered analysis to identify and improve weak areas.
Teacher Verified
All content reviewed by experienced ICT teachers.
Lesson Roadmap
Structured learning path from basics to advanced topics
Module 1: Basics → Variables, Data Types
විචල්යයන් (Variables) යනු දත්ත ගබඩා කිරීමට භාවිතා කරන ස්ථාන වේ. පැස්කල් වල ප්රධාන දත්ත වර්ග:
- Integer - පූර්ණ සංඛ්යා (10, -5, 0)
- Real - දශම සංඛ්යා (3.14, -2.5)
- Char - එක් අකුරක් ('A', 'b', '5')
- String - අකුරු සමූහයක් ("Hello", "පැස්කල්")
- Boolean - සත්ය/මිත්ය (True, False)
Variables are storage locations for data. Main Pascal data types:
- Integer - Whole numbers (10, -5, 0)
- Real - Decimal numbers (3.14, -2.5)
- Char - Single character ('A', 'b', '5')
- String - Sequence of characters ("Hello", "World")
- Boolean - True/False values
var
age: integer;
salary: real;
grade: char;
name: string;
isPassed: boolean;
{Assignment}
age := 20;
salary := 50000.75;
grade := 'A';
name := 'Kamal';
isPassed := true;
Common Exam Mistakes:
- Forgetting
varsection - Using
=instead of:= - Mixing data types
- Uninitialized variables
writeln(5 div 2);Coding Question 1: Write a program to calculate area of a rectangle
var
length, width, area: real;
begin
length := 10.5;
width := 5.5;
area := length * width;
writeln('Area: ', area:0:2);
end.
Output: Area: 57.75
Module 2: Control Structures (if, case, for, while, repeat)
Control structures මගින් program එකේ ගමන් මග පාලනය කරයි.
- if-then-else - කොන්දේසි පරීක්ෂා කිරීම
- case - බහු කොන්දේසි
- for loop - නිශ්චිත ගණනක් අනුකරණය
- while loop - කොන්දේසිය සත්ය අතරතුර අනුකරණය
- repeat-until - කොන්දේසිය සත්ය වන තුරු අනුකරණය
Online Pascal Editor
Write, run, and debug Pascal code directly in your browser
Output will appear here after running the code.
Click "Run" to execute the Pascal code.
Code Templates:
Exam Mode
Timed mock exams with realistic paper patterns
Question 5:
What will be the output of the following Pascal code?
for j := 1 to 2 do
write(i, j, ' ');
Past Paper Bank
2008-2024 past papers organized by topic and year
First Term Paper
ICT Paper II
Second Term Paper
Model Paper
One-Page Revision Sheets
Quick reference cheat sheets for last-minute revision
Pascal Syntax Cheat Sheet
- Variable Declaration: var x: integer;
- Assignment: x := 10;
- Output: writeln('Text');
- Input: readln(x);
- IF Statement: if x > 0 then writeln('Positive');
- FOR Loop: for i := 1 to 10 do
Common Exam Mistakes
- Using = instead of := for assignment
- Forgetting semicolons at line ends
- Not declaring variables in var section
- Mixing integer and real operations
- Incorrect loop boundaries
- Missing begin..end for multiple statements
Progress Tracking & Analytics
AI-powered analysis to identify and improve weak areas
Weak Areas Identified:
Trust & Verification
All content reviewed and verified by experienced ICT teachers
Syllabus Updates
Regularly updated to match current O/L and A/L syllabus changes.
Expert Review
All content reviewed by panel of 5+ experienced ICT teachers.
Exam Alignment
Questions match actual exam patterns and difficulty levels.
Frequently Asked Questions
Yes! PascalMaster is completely free for all students. We believe education should be accessible to everyone.
Yes, all content is updated to match the latest 2024 O/L and A/L ICT syllabus from the Department of Education.
Absolutely! PascalMaster is designed mobile-first and works perfectly on smartphones, tablets, and computers.
0 Comments