Header Ads Widget

Responsive Advertisement

ₚₐₛCₐₗ gₐₘₑ

PascalMaster - O/L A/L ICT Exam Preparation

Master Pascal for O/L & A/L Exams

සම්පූර්ණ විෂය නිර්දේශය, පැරණි ප්‍රශ්න පත්‍ර, සජීවී කේත සම්පාදකය

50+
Lessons
500+
Questions
100+
Past Papers
10,000+
Students

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
{Variable Declaration}
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 var section
  • Using = instead of :=
  • Mixing data types
  • Uninitialized variables
1. Which is the correct variable declaration in Pascal?
A) integer x;
B) var x: integer;
C) x as integer;
D) declare x integer;
2. What is the output of: writeln(5 div 2);
A) 2
B) 2.5
C) 3
D) Error

Coding Question 1: Write a program to calculate area of a rectangle

program RectangleArea;
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

Pascal Code Editor

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

02:00:00
Question 5 of 20

Question 5:

What will be the output of the following Pascal code?

for i := 1 to 3 do
  for j := 1 to 2 do
    write(i, j, ' ');
A) 11 12 21 22 31 32
B) 11 21 31 12 22 32
C) 12 13 21 23 31 32
D) 11 12 13 21 22 23

Past Paper Bank

2008-2024 past papers organized by topic and year

2023 O/L

First Term Paper

2022 A/L

ICT Paper II

2021 O/L

Second Term Paper

2020 A/L

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

75%
Overall Progress
42
Lessons Completed
86%
Accuracy Rate
15:24
Avg Time/Question

Weak Areas Identified:

File Handling Concepts 45% Accuracy
Pointer Operations 62% Accuracy
Nested Loops 68% Accuracy

Trust & Verification

All content reviewed and verified by experienced ICT teachers

Teacher Verified Content

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

Is this website free to use?

Yes! PascalMaster is completely free for all students. We believe education should be accessible to everyone.

Is the content updated for 2024 syllabus?

Yes, all content is updated to match the latest 2024 O/L and A/L ICT syllabus from the Department of Education.

Can I use this on my mobile phone?

Absolutely! PascalMaster is designed mobile-first and works perfectly on smartphones, tablets, and computers.

Post a Comment

0 Comments