0% found this document useful (0 votes)
61 views4 pages

Program Activity For Group Demo

The document contains 5 programming problems. Problem 1 prompts the user to enter the total number of tableyas and outputs the number of boxes and containers needed to ship the tableyas. Problem 2 updates customer bank accounts, applying service charges or interest. Problem 3 calculates telecommunication bills based on call type and minutes. Problem 4 calculates cable bills for residential or business customers. Problem 5 asks an author to choose between 3 royalty options for her novel based on sales estimates.

Uploaded by

Jaw Nat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views4 pages

Program Activity For Group Demo

The document contains 5 programming problems. Problem 1 prompts the user to enter the total number of tableyas and outputs the number of boxes and containers needed to ship the tableyas. Problem 2 updates customer bank accounts, applying service charges or interest. Problem 3 calculates telecommunication bills based on call type and minutes. Problem 4 calculates cable bills for residential or business customers. Problem 5 asks an author to choose between 3 royalty options for her novel based on sales estimates.

Uploaded by

Jaw Nat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Problems:

1. A box of tableya can hold 24 tableyas and a container can hold 50 boxes of tableyas.
Write a program that prompts the user to enter the total number of tableyas. The
program then outputs the number of boxes and the number of containers to ship the
tableyas. Note that each box must contain the specified number of tableyas and each
container must contain the specified number of tableyas. If the last box of tableya
contains less than the number of specified tableyas, discard it, and output the number of
leftover tableyas. Similarly, if the last container contains less than the number of
specified boxes, discard it and output the number of leftover boxes.

2. A rural bank in Lemery, Batangas updates its customers’ accounts at the end of each
month. The bank offers two types of accounts: savings and checking and every
customer must have a minimum maintaining balance. If the customer’s balance falls
below the minimum balance, there will be a service charge of Php100 for savings
accounts and Php200 for checking accounts. If the balance at the end of the month is at
least at the minimum balance, the customer’s account will receive an interest of 3% for
savings account and 4% for checking account. Write a program that accepts a
customer’s account number, account type (s/S for savings, c/C for checking), minimum
maintaining balance and current balance. Then print/display the updated customer’s
account details: account number, account type and current balance.

3. Write a program that calculates and prints the bill for a telecommunication company. The
company offers two types of call service: regular and premium. Given below are the
computation of rates per service.

a. Regular: Php10 + first 45 minutes are free. Customer will be charged 0.15 per
minute for over 45 minutes.
b. Premium: Php20 +

- For daytime calls– the first 60 minutes are free and a charge of 0.10 per
minute for over 60 minutes.
- For nighttime calls– the first 100 minutes are free and a charge of 0.05
per minute for over 100 minutes.
Write a program that will prompt the user to enter the account number, type of service
(r/R for regular, p/P for premium), and the number of minutes the call service was used.
For the premium service, ask the user to input the number of minutesthe service was
used during the day and the number of minutes the service was used during the night.

4. A local cable company provides two types of customers: residential and business. Given
below are the rates for calculating a cable bill per customer type.

Rates for Residential Customers:


- Bill processing fee: Php100
- Basic service fee: Php1000
- Premium channels: Php100 per channel

Rates for Business Customers:


- Bill processing fee: Php250
- Basic service fee: Php3750 for the first 10 connections; Php200 for
each additional connection
- Premium channels: Php500 per channel for any number of connections

Write a program that will ask the user to enter the customer’s account number, customer
code (r/R for Residential, b/B for Business), number of premium channels and in case of
business customers, the number of service connections. Calculate and print the billing
statement.

5. Ms. Lily Bermudez, a well-known author, is in the process of negotiating a contract for a
new romance novel. XYZ publishing is offering her the following options:
a. Option 1 – She will be paid 100,000 upon delivery of the final manuscript and
200,000 when the novel is published.
b. Option 2 – She will be paid 12.5% of the net price of the novel for each copy of
the novel sold.
c. Option 3 – She will be paid 10% of the net price for the first 4,000 copies sold,
and 14% of the net price for the copies sold over 4,000.
Write a program that will ask the author to enter the net price of each copy of the novel
and the estimated number of copies that will be sold. The program will then display the
royalties the author can get under each option and the best option the author could
choose.
Review of Programming 1

Group Program Demonstration

1. Pseudocode
2. Flowchart
3. Test Data-5 (in excel)
4. Source Codes
5. Program Demonstration (using 5 test data in number 4)

Rubric

GROUP PROGRAM DEMONSTRATION RUBRIC


CRITERIA 4 3 2 1
Programming The program The program The program The program is
works and works and produces correct producing
meets all of the produces the results but does incorrect
specifications. correct results not display them results.
and displays correctly.
them correctly. It
also meets most
of the other
specifications.
DEMONSTRATED Shows Shows Response shows Response
KNOWLEDGE complete substantial some shows a
understanding understanding of understanding of complete lack
of the problem the problem and the problem and of
and the the program the program understanding
program  of the problem
and the
program
REQUIREMENTS Goes beyond Meets the Hardly meets the Does not meet
the requirements of requirements of the
requirements of the problem the problem requirements of
the problem the problem
COLLABORATION The team The team worked The team worked Team did not
worked well well together well together collaborate or
together to most of the time, sometimes, with communicate
achieve with only a few many well. 
objectives. occurrences of occurrences of
Each member communication communication
contributed in a breakdown or breakdown or
valuable way to failure to failure to
the project. collaborate when collaborate when
appropriate. appropriate.
PRESENTATION Presenters Presenters were Presenters were Presenters
were all very occasionally not consistent were not
confident in confident with with the level of confident and
delivery. their confidence and demonstrated
Preparation is presentation.  preparedness little evidence
very evident of planning
prior to
presentation

You might also like