Lab 01

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

CSc 1301: PRINCIPLES OF COMPUTER SCIENCE

Lab 01
Submission Requirements
You must turn work at the SPECIFIED TIME so you can receive credit for LAB!
ALL LABS must be submitted on icollege by the due date and time. Late work will be subject to a
penalty of ZERO, as stated in the course grading policy. No email or hard copies of homework will be
accepted.

You may discuss the assignments with other students in the class, but (as stated in the academic honesty
policy) your written answers must be your own, and you must list the names of other students you
discussed the assignment with.

Failure to submit will result in a ZERO FOR THIS LAB. NO EXCEPTIONS.

Objective

• To gain experience reading and understanding provided algorithms


• To gain experience solving problems and designing algorithms

Algorithm writing

1. Write an algorithm to wash and dry a load of laundry using washing machine and dryer.

_______________________________________________________________________

_______________________________________________________________________

_______________________________________________________________________

_______________________________________________________________________

_______________________________________________________________________

_______________________________________________________________________

_______________________________________________________________________

2. Write an algorithm to make an instant coffee/tea using a microwave oven.

______________________________________________________________________

_______________________________________________________________________

_______________________________________________________________________

_______________________________________________________________________
_______________________________________________________________________

_______________________________________________________________________

_______________________________________________________________________

3. Write an algorithm to log in to your Icollege account and upload this lab to Lab 1 folder.

_______________________________________________________________________

_______________________________________________________________________

_______________________________________________________________________

_______________________________________________________________________

_______________________________________________________________________

_______________________________________________________________________

_______________________________________________________________________

4. Write an algorithm to calculate and output the mean of 3 given numbers x, y and z.

_______________________________________________________________________

_______________________________________________________________________

_______________________________________________________________________

_______________________________________________________________________

_______________________________________________________________________

_______________________________________________________________________

_______________________________________________________________________

You might also like