Showing posts with label labs. Show all posts
Showing posts with label labs. Show all posts

Thursday, December 20, 2012

Lab assignment #5 - taxes

Problem Description
Compute the federal income tax due on a taxable income input by the user accorsing to the following table. Enter -1 to end the program.

Tuesday, December 11, 2012

Missing homework

As you were informed last class, in order for the last lab assignment to be given before the last day of class, all students must complete homework assignment #6. As of right now, only three students have submitted source code. No programs have arrived in my inbox from the remaining eleven students were in class last week.

As it stands right now, the remaining lab assignment will be given out in the last class meeting of the term on December 20th and you will have to do that program in class.

Sunday, November 11, 2012

Remaining material

While we did lose two weeks of class time, the good news is that four of the five graded lab assignments were assigned and their due dates were well before the hurricane and the nor'easter swept through the area, knocking out power and closing the school.

Thursday, October 18, 2012

Lab assignment #4 - temp2.bas

Problem Description
Allow the user to enter a sequence of temperature in degrees Celsius (C) terminated by -999. For each one, find the corresponding temperature in degrees Fahrenheit (F). Use the same formula as in lab assignment #2.

Lab assignment #3 - gpay.bas

Problem Description
The owners of the Super Supermarket want to compute the gross weekly pay of their employees. Each employee name, ID number, hours worked, overtime hours worked, and pay rate per hour (overtime will be figured as time-and-a-half) are to be input. The problem should output these values and the corresponding gross pay.

Thursday, September 27, 2012

Lab assignment #2 - temp1.bas

Problem Description

Input a temperature reading in degrees Fahrenheit and find the corresponding temperature in degrees Celsius. Use the formula

Sunday, September 16, 2012

Code review #1

I have noticed several trends while reviewing the submitted assignments.

Thursday, September 6, 2012

Comment block

The minimal comment block at the top of a program submission should look like this:

' Your name
' Filename: name_of_file.bas
' Description of program (what it does, what assignment it is)
' Versioning information and date


As an example:

Lab assignment #1 - unit prices

Problem Description
Sheldon Shopwise needs to buy detergent. The 48-ounce box costs $2.25 and the economy 5-pound box is $4.10. What is the unit price (price per ounce) for each box?

Wednesday, August 29, 2012

Deadlines

Missing deadlines and potential snow days...