Saturday, March 17, 2012

Exam

1.Write a program that will print the odd positioned elements in an array
2. Write a program that will print the even positioned elements in an array
3. Write a program that will arrange the elements of 10-integer array in ascending order
4. Write a program that will arrange the elements of 10-integer array in descending order
5. Write a program that will compute and display the average of a 20-element array whose values are inputted by the user.

Deadline; March 25, 2012

Saturday, March 3, 2012

DBMS - Sample Output

1. Open: www.hubss.weebly.com
2. Under Lesson click Midterm_Exam.doc



DBMS - Sample Output

1. Open: www.hubss.weebly.com
2. Under Lesson click Midterm_Exam.doc



Saturday, February 25, 2012

Finding the Maximum number in the List of Array

This sample program will get the Maximum element in an array.























Explaination: Using loop and a temporary variable, say temp. Initaially, we set temp equal to list[0]. Then, we compare temp to each array component, from list[1] to list[10]. If we find an array component greater than the current value of temp, we set temp is equal to that component.



Activity


Create a program that will get the smallest value of ann array. Refer your solution in the given example above.




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

  1. a professor teaches zero, one or many classes and a class is taught by one professor
  2. a course may generate zero, one or many classes and a class comes from one course
  3. a class is held in one room but a room has many classes

Prob 2

  1. an invoice is written by one salesrep but a salesrep writes many invoices
  2. a vendor sells many products but a product is bought from one vendor
  3. an invoice has one or many products and a product is found on zero, one or many invoices

Deadline: Feb. 20, 2012
Submit your activity to my e-mail


Thursday, February 9, 2012

Project 1: Visual Basic 6. Using Conditional Statement – Simple POS

Deadline of Submission: Feb. 13, 2011
No of Members: 3
Documents: Brief description of your program, Screen Output and Code

  1. Create a simple POS program that will perform the following:
    1. Ask the user to input what Value she/he wants to order
    2. Will compute for the bill base from the given quantity and the price of a certain value meal plus the upgrade amount
    3. Will give discount to Senior Citizen 20% and 10% to others Discount promo
    4. 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

Followers

Visitor

free counters

FEEDJIT Live Traffic Feed