Saturday, February 25, 2012
Finding the Maximum number in the List of Array
Saturday, February 18, 2012
Wednesday, February 15, 2012
Activity 2
Draw a Entity Relationship Diagram and show their Degree of Relationship. Use the template in submitting your output, you can use Visio or MSWord as a tool in designing your ERD.
Prob 1
- a professor teaches zero, one or many classes and a class is taught by one professor
- a course may generate zero, one or many classes and a class comes from one course
- a class is held in one room but a room has many classes
- an invoice is written by one salesrep but a salesrep writes many invoices
- a vendor sells many products but a product is bought from one vendor
- an invoice has one or many products and a product is found on zero, one or many invoices
Thursday, February 9, 2012
Project 1: Visual Basic 6. Using Conditional Statement – Simple POS
No of Members: 3
- Create a simple POS program that will perform the following:
- Ask the user to input what Value she/he wants to order
- Will compute for the bill base from the given quantity and the price of a certain value meal plus the upgrade amount
- Will give discount to Senior Citizen 20% and 10% to others Discount promo
- Will compute for the Total Bill
Sample Format:
Value Meal
1] Burger with Drinks Php 52.00
2] Burger with Fries and Drinks Php 68.00
3] Spaghetti with Drinks Php 55.00
4] 1 Pc Chicken with Drinks Php 75.00
5] 2 Pcs Chicken with Drinks Php 150.00
Enter Value Meal : 5
Enter Quantity : 2
Upgrade [Y/N]: Y
Current Bill is: 315
Discount: Enter ‘S’ SC - 20 %
Enter ‘O’ Other Discount – 10 %
Enter Type of Discount: S
Total Bill is: 314.8
Enter Cash: 500
Your Change is : 185.2
Thank You Come Again
Note: Additional 15 pesos if the customer will upgrade his/her order
DBMS - Assignment
Exercise ER-1
What is the cardinality and existence of each of the following relationships in just the direction given? State any assumptions you have to make.
- Husband to wife
- Student to degree
- Child to parent
- Player to team
- Student to course