Posts

Showing posts from February 14, 2016

Grade 10 - Evolution of Computer

Image

Grade 11 - Pascal Programming

Image
Pascal Programming Language (පැස්කල්   ක්‍රමලේඛන භාෂාව) Install Pascal into Computer. ( පැස්කල්  පරිගණකයට ස්ථාපනය කිරීම) ·           Download Free Pascal Compiler 2.4.0 (free  පැස්කල්   සම්පාදක  2.4.0 මෘදුකාංගය භාගත කරන්න) ·           Install Free Pascal Compiler 2.4.0  ( free  පැස්කල්   සම්පාදක  2.4.0 මෘදුකාංගය පරිගණකයට ස්ථාපනය කරන්න) ·           File Path should be default path  ( මෘදුකාංගය විසින් ලබා  ගන්නා  Path  එකම ගන්න) eg:   C:\FPC\2.4.) ·           Full Installation  à  Next ·           Next ·           Select all without “Associate .dpr files with Free Pascal IDE”  à  Next  ( Associate .dpr ...

Grade 11 - Pseudocode to Flowchart Exercise

Pseudocode to Flowchart Exercise Write the pseudocode and make a flowchart for the following program descriptions. Program 1 The program will (1) ask for the user’s name, then (2) print HI and the name. The program will then (3) ask what year the user was born, (4) calculate the age, and (5) print the age. (6) If the student is over 21, the program will (7) print YOU ARE AN ADULT! Program 2 The program will (1) choose two random numbers, then (2) print them out as an addition problem. The program will then (3) ask the user to (4) enter the correct answer. (5) If the answer is correct, the program will (6) print RIGHT. (6) If the answer is wrong, the program will (7) print NO, THE ANSWER IS and the correct answer. Program 3 The goal of the program is to take in several numbers and print the average. Each number will come in one at a time. Each time a number comes in, the computer will have to add it to the running total and add one to the “number of numbers”...