100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Summary

Summary Grade 11 IT Practical (Delphi)

Rating
-
Sold
-
Pages
306
Uploaded on
10-01-2025
Written in
2024/2025

Take your Delphi programming skills to the next level with this Grade 11 IT study guide! Packed with in-depth notes, clear examples, and practical coding tips, this guide is tailored to help you master core concepts and excel in exams. From arrays to debugging and advanced text file operations, it’s your ultimate resource for confident and effective learning. Perfect for students aiming to succeed in the world of Delphi programming and beyond! Click on the link in the documents for the PowerPoint format

Show more Read less

















Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
January 10, 2025
Number of pages
306
Written in
2024/2025
Type
Summary

Subjects

Content preview

Grade 11 - Information Technology

DELPHI
STUDY NOTES
MathWithMegan

, Click here for the complete
PowerPoint documents:
IT Grade 11 - Delphi




Delphi Programming

Chapter One :
Math Revision
MathWithMegan

, 1.2


Math Functions

, Notes
✓ When you use any mathematical function, you need to
add the word Math to the Uses section of the code. Like
so:




Syntax
Each function will include:
✓ The function keyword
✓ The function name (Ex. Random)
✓ The data required by the function (Ex. const aRange: integer)
✓ The return type of the function (Ex. :integer)

, SQRT ROUND TRUNC
✓ Calculates the square root of a ✓ Rounds a real number ✓ Removes or ‘chops
number. to the nearest integer off’ the decimal
✓ Only positive numbers number. part of a real
✓ Returns real number number.
✓ It returns an integer
after
✓ It does not round
the number

SQR
✓ Calculates the square of a number
✓ Number can be positive or negative

, FRAC Floor
✓ Returns the decimal part of a real ✓ The Floor function rounds a real
number. number down to the lowest integer
✓ It returns a real number. value.




Ceil
✓ The Ceil function rounds a real Pi
number up to the highest integer
value. ✓ PI is a predefined constant (variable
that can’t be changed) that returns
a real number giving a rough value
of Pi

, POWER
✓ The POWER function raises a base to a power
and returns a real answer
✓ Both the base and power are real numbers

, Random
✓ Generate random numbers.


✓ Returns a value between 0 and 1


✓ Returns a value between 0 and 10
✓ The number (10) is excluded. Meaning you'll get numbers 1-9
✓ Alternative: RandomRange
✓ Delphi will often generate the same random number every
time you run the program unless you use the RANDOMIZE
command before generating a random number.



✓ Random Range gives a random number between 2 numbers
✓ The second number is not included

, 1.2


Math Procedures

, Notes
✓ A procedure is also a pre-written subroutine designed to
perform a specific purpose
✓ Procedures do not return a value like functions do, but
instead

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
mathwithmegan University of the Freestate
View profile
Follow You need to be logged in order to follow users or courses
Sold
39
Member since
2 year
Number of followers
21
Documents
15
Last sold
1 month ago
MathWithMegan

Discover our treasure trove of visually stunning PowerPoint summaries that breathe life into high school subjects from grade 8 to grade 12. Whether you're diving into Mathematics, exploring the world of Science, unraveling the intricacies of History, or delving into Languages, we've got you covered in both Afrikaans and English!

3,9

7 reviews

5
3
4
2
3
1
2
0
1
1

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions