Form 4

form 2 networks.pptx form 2 networks.pptx
Size : 950.588 Kb
Type : pptx
7 components of a network.pptx 7 components of a network.pptx
Size : 1046.9 Kb
Type : pptx
Saturday 20th April 2013
INFORMATION TECHNOLOGY

hi students please install the following file ezy pascal and follow the instructions within so you can do your homework.
else you can try to download TP.rar and install.
else if you cannot install it you can use the computers in the EDPM lab once you get permission during your lunchtime.
EzyPascal 5.20.zip EzyPascal 5.20.zip
Size : 3956.042 Kb
Type : zip
TP.rar TP.rar
Size : 1624.148 Kb
Type : rar

 please read everything below and update yourself.

press f5 button to refresh browser page.

The file below (TP.rar) is for anyone who wanna use a different pascal compiler.

To use it follow these instructions

  1. create a folder in program files (or you might be able to run this off your memory stick) named 'turbo pascal'.
  2. unzip this file you are downloading to that turbo pascal folder you just created.
  3. go into bin folder
  4. double click on turbo.exe
  5. if an error message pops up click on ignore
  6. n you can type your programs here.
  7. to compile click on compile then select compile.
  8. click on debug and you can view the output screen or watch for the variables 

goodluck!

U SHOULD CLICK ON THE F5 BUTTON OFTEN WHEN USING THIS SITE AS SOMETIMES I HAVE FRESH STUFF ON HERE BUT YOUR BROWSER MAY NOT AUTOMATICALLY UPDATE THE PAGE FOR YOU TO SEE THE FRESH STUFF.



friday 3rd may night

hi students ... i need you to follow the steps below ass soon as you see this:

  1. http://www.edmodo.com

  2. click on 'i am a student'
  3. group code: z9roxs

  4. let your username be: FirstnameLastname e.g ArionBaboolal

  5. then fill in the other fields.

  6. please can you add a simple picture if u can of your face only.

  7. when you get into it you can fiddle around. there you will see your assignment. you can submit the assignment to me there.

  8. in three weeks you will have to complete an online exam which will be immediately marked on completion. this mark will go into you report books as your 20% midterm.

ms vialva


after you go there


FRIDAY 4TH MAY 2012

INFORMATION TECHNOLOGY


CHECK THE PASCAL TEXTBOOK

READ PAGES 1-18 AND DO ANY EXERCISES IN THE PASCAL PROGRAM

SEE YOU MONDAY!




___________________________________________________________________________________________

remember your homework is to try what we did in class one by one then do the last assignment #1 to 5 in pascal. and email it to me.


so your email files should be .pas files


please bring your laptops tomorrow if u have one


Wednesday 2nd May 2012

Info Tech


work done today:


please type the program... do not copy and paste

PROGRAM HELLO;

 

BEGIN

writeln ('hello world!);

END.

 

Q: Write a pascal program that prints out 'hello world!'.

 

Q: write a pascal program to accept an integer and calculate and print its square.

 

PROGRAM SquareNum;

 

VAR

        num, square : INTEGER;

 

BEGIN

READ(num);

square := num*num;

WRITE(square);

END.

Q: Write a pascal program to read in three numbers and print their average.

 

PROGRAM Average;

 

VAR

              num1, num2, num3 : REAL;

 

BEGIN

READ( num1, num2, num3);

AvNum := (num1 + num2 + num3)/3;

WRITE(‘The average of the three numbers you have entered is ‘,AvNum)

END.

 

Q: Write a pascal program to determine if the mark entered is a pass or a fail. It should print ‘Pass’ if they obtain 50% or more else print ‘Fail’.

 

PROGRAM Mark;

 

VAR

       Score: REAL;

 

BEGIN

WRITELN(‘Please enter the score’);

READ(score);

IF score >= 50 THEN

     WRITE(‘Pass’)

ELSE

       WRITE(‘Fail’)

END.

 

Q: Write a Pascal program to calculate and print someone’s salary. The pay rate is $20 per hour but if the person works more than 40 hours then they gain overtime makes the pay rate for the overtime hours time and a half.

 

 

 

 

Wednesday 25th April 2012

Information Technology

i enjoyed class today, how about you? tell me what didn't you understand? email me or go to the menu option here... 'contact us'

things covered today were:

from your assignment 1 homework, correct the following:

  1. variable names
  2. put in 'endif'
  3. begin..end
  4. elseif...then
  5. no condition after else
  6. wrong 50<=score<75 use logical operators
  7. logical operators started

notes for today

LOGICAL OPERATORS


There are three primary logical operators:

1. NOT

2. AND

3. OR


if we let A and B be statements then,



A

NOT A

T

F

F

T



A

B

F

F

F

T

T

F

T

T



A

B

F

F

F

T

T

F

T

T





 Current Topic: Problem Solving and Program Design

EzyPascal 5.20.zip EzyPascal 5.20.zip
Size : 3956.042 Kb
Type : zip
Problem Solving.pptx Problem Solving.pptx
Size : 301 Kb
Type : pptx
form 4 assignment 1.docx form 4 assignment 1.docx
Size : 18.572 Kb
Type : docx
here is your assignment. this is due on wednesday morning when you have IT.
YOU CAN DOWNLOAD IT AND OPEN IT IN MICROSOFT WORD. OR SEE IT ABOVE TO DOWNLOAD.

INFORMATION TECHNOLOGY

FORM 4

TOPIC: PROBLEM SOLVING AND PROGRAM DESIGN

ASSIGNMENT#1

Teacher: Ms Vialva

Due Date: 25th April 2012

 

 

1.       In a university the pass mark is 40%. Write a pseudocode that accepts a student’s mark. It prints ‘Fail’ if the student gets less than 40 marks or ‘Pass’ if the student gets 40 marks or more.

 

2.       Write pseudocode to determine a worker’s net pay based on the following. Get the worker’s hours worked. If the hours worked is less than or equal to 40 then regular pay is calculated by multiplying the hours worked by the rate of pay and overtime pay is zero. If the hours worked is greater than 40 then the regular pay is calculated by multiplying 40 by the rate of pay and overtime pay is calculated by multiplying the hours worked in excess of 40 by the rate of pay by 1.5. Net pay is calculated by adding regular pay and overtime pay. For example if hours worked is 36 and the rate is 20 dollars per hour, regular pay is $720 (36*20) and overtime pay is $0. Net pay is $720. And if hours worked is 50  and the rate of pay is 12 dollars per hour then regular pay is $480 (40 * 12) and overtime pay is $180 (excess hours 10 times 12 times 1.5). Net pay is $660 (480 +180).

 

3.       Write a pseudocode to accept a person’s score in a test and print a letter grade based on the following:

Score <50                 F

50 <=  Score  < 75   B

Score >=75               A

 

4.       A variety store gives a 15% discount on sales totalling $300 or more. Write a pseudocode to get the cost of 3 items and print the amount the customer must pay.

 

5.       A bank pays interest based on the amount of money deposited. If the amount is less than $5000 the interest id 4% per annum. If the amount is $5000 or more but less than $10000 then the interest is %5 per annum. If the amount is $10000 or more then the interest is 6%. Write pseudocode to accept the amount deposited and print the interest earned for the year.

 

Note that the following can be used in solving more than one of these problems:

If  <condition1> then

     Statement(s)

Else if  <condition2> then

     Statement(s)

Else

     Statement(s)

Endif


Make a free website with Yola