• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 10 fuera de 306 páginas
Resumen

Summary Grade 11 IT Practical (Delphi)

Document preview thumbnail
Vista previa 10 fuera de 306 páginas

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

Vista previa del contenido

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

Información del documento

Schooljaar
200
Subido en
10 de enero de 2025
Número de páginas
306
Escrito en
2024/2025
Tipo
Resumen
$9.35

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
mathwithmegan
3.8
(8)
Vendido
57
Seguidores
21
Artículos
24
Última venta
6 días hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes