• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

please help me with my programming homewerk

Gretzky

Senior member
This is my first year of college and im taking a programming class. Just to see how it is and i need some help with my homework.

1st question: Suggest a good set of test data to use for a program that gives an employee a $50 bonus check if the employee hs produced more than 1,000 items in a week.

Second question: Suggest a good set of test data for a program that is intended to output a student's grade point average based on letter grades (A,B,C,D, or F) in five courses.

And Third question: Assume grocery store keeps a file for inventory where each grocery item has its own record. Two fields withineach record are the name of the manufacturer and the weight of the item. Name at least six or more fields that might be stored for each record. Provide an example of the data for one record. For example, for one product the manufacturer is DelMonte, and the weight is twelve ounces.


I have read the chapter about this but still i dont know where to start. I would appreciate any kind of help.

Thank You
 
First, this forum is not supposed to be for us to do your homework. But giving some hints is acceptable I guess.
1st question: they want data to test, think about the question, how about a list of employees with their names and how many items they produce in a week.
2nd question. If you cant get it after the hint for the first post again and I might give you something more.
3rd question: If you were a supermarket owner and you stored your inventory in a database what information about the product would you want, they said come up with 6 things, this isn?t hard, some examples, could be name, type (is it a diary product, meat product, battery ...) and so on, what would you need to know about each item?

You are probably over thinking the questions, they seem very simple.
 
Back
Top