Sequence and assignment Tasks
You must complete 5 "chips" worth of tasks. feel free to complete more. You should only submit an EAD.
You should have suitable 'dialog' text for the user,
You Should ensure ALL variable identifier are sensibly named with correct data types.
and your code should be suitably commented. You will be marked on the following criteria...
- Production of a working solution
- The use of suitable user prompts for input and output
- The asking or giving of help via the forum
Later programming work totally relies on these skills and we often build on this code so put some effort into making this good quality work that you understand.
Beginners Tasks (no previous experience)
- Create a program that asks for two numbers and returns the average (1 chip)
- Create a program that asks for two numbers and then divides the first number by the second. (1 chip)
- Create a program that calculates the volume of a cuboid after asking for it's height, width and depth (2 chips)
- Create a program that calculate the volume of a cylinder after asking for the Height and Radius (2 chips)
- Create a program that calculates the hypotenuse of a right angle triangle. It should ask for the two sides.(3 chips)
- Create a program that calculates the acceleration of an object using the inputs initialVelocity, finalVelocity and time. (the formula is acceleration = (finalvelocity-initialvelocity)/time (3 chips)
- Create a program that calculate your BMI (Body Mass Index) the user should input bodyMass and bodyHeight. BMI = bodyMass/(bodyHeight^2)
Intermediate Task (You have programmed before)
- Create a program that calculate a the REAL cost of phone calls from your mobile.
Use the following inputs: - initialCostOfPhone
- contractLengthInMonths
- monthlyTariff
- numOfFreeMins
- numOfCallMinsUsedPerMonth
- callCostPerMin
Ignore txt and data... Ask the user to input the above data and then tell them how much it costs per min...
Project Euler Task
You should register for Project Euler and complete at least the first problem. Your code/output and The project Euler response page should be included in the HeAD.
==================================================================================================================
You will only upload the HeAD. it should include a copy of your code (copy+paste from VB) and at least one screenshot that shows your inputs and outputs, showing that you have tested the program.