Saturday, August 4, 2012

Removal Exam

1. Create a program that will input a number in kilowatt and display its equivalent measure in watts.

2. Create a program that will read the date (month, day and year) in integer form and display the date in standard format

Sample Run:

Enter Month: 10
Enter Day: 23
Enter Year: 2000

Date is: October 23, 2003

3. XYZ Company gives a year-end bonus to its employee based on their number of years of service and their salary using the following:











Monday, July 23, 2012

Inserting additional Line in your file

BSBA - Sample Wedding Invitation using Publisher






















1. Open MS Publisher 2007
2. Design your own weeding invitation, you can download images from the net



Friday, July 20, 2012

JAVA

1. reseach about switch statement in java and study some program samples
2. using switch statement, create a program that will perform the 4 mathematical operation

sample outpud:

enter first number:
enter second number:
operatio
1) addition
2) multiplication
3) division
4)subtraction
enter choice:

the answer is :

thank you!!!

Wednesday, July 18, 2012

Quiz 1 Midterm

Every savings account has an associated interest rate, and annually (assuming we have an annual rate), the rate is multiplied with the current balance to get the amount earned as interest. The amount is added to the current balance to get the new balance

For Example, suppose we have an initial balance of Php 100,000.00 deposited at an interest rate of 10% . After one year, the savings account earns Php 10, 000.00(that's 10% of P100,000.00), so the new balance would be Php 110,000.00 after another year it earns Php 11,000.00 (10% of Php 110,000.00) and the balance would be Php 121,000.00. Another year would make it Php 133,100.00 (Php 121,000.00 + Php 12,100.00)

For your miderm Quiz1 using FILE, write a program that outputs the interest earned and balanace of savings account each year for several years. The program prompts for the following values:

  1. Initial balance

  2. Interest rate, in decimal

  3. Year deposited

  4. Year to be withdrawn

Below is the sample output

Input balance: 100000

and interest rate: 0.10

Input initial year: 1997

Input final year: 2010











You'll need to use loop here.

The output must display in the file name: Account.txt





Sunday, July 15, 2012

Exam - Hands-On

1. Write a program that will accept two input string and compare w/c of the two string is longer and display.

Monday, July 9, 2012

Quiz 2 & 3 - Pointers













1. Explain the code statement by statement

Sunday, July 8, 2012

Friday, June 29, 2012

IT401 (week-end class)

1.open ms word
2. use the internet to research 10 quotes (any) and insert images to each quote apply wrapping style
3. save ur file underfilename: quiz1

Tuesday, June 26, 2012

IT407 Data Structure

1. Open DevC++ or TC
2. Implement the code below
3. Explain each statement use the comment /* */


Array1









Array 2
















4. Filename for Array1: Array_Act2
5. Filename for Array2: Array_Act3

****NFI score will be deducted...salamat

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

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.

  1. Husband to wife
  2. Student to degree
  3. Child to parent
  4. Player to team
  5. Student to course

Saturday, February 4, 2012

Quiz 1 - DBMS


















Database Name: DBPhonebook

Table name: Phonebook





Tuesday, January 31, 2012

Followers

Visitor

free counters

FEEDJIT Live Traffic Feed