2. Create a program that will read the date (month, day and year) in integer form and display the date in standard format
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjhh5uZ872CKG4MzEki7_o-AMS_FdegTJvNtgVemnAbGoMkSAA1_2wfB3rSk0Y4THwU_b2ZyR2-VYKMmjEblAumlBABNowFQM_q_O3sJoTsj4t6YEKgJ1xEapWExNOdugOJpCff3Y8FsPl/s320/Exam.jpg)
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:
Initial balance
Interest rate, in decimal
Year deposited
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
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
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
What is the cardinality and existence of each of the following relationships in just the direction given? State any assumptions you have to make.
LA TRINIDAD, Benguet (
A child Internet user shall not be allowed to access nudity, sexual activity, and aggressive violence (unless it is an essential part of any educational requirement in school). Whenever possible, the Internet café establishment shall install filtering software that shall inhibit all Internet users’ access to pornographic websites.
These are just some of the very stringent regulatory provisions of an Ordinance recently enacted by the Benguet Provincial Board prescribing guidelines and regulations of the operation and service of Internet cafés and other similar establishments within the province.
An Internet café establishment which violates the provisions of the Ordinance shall face the cancellation of its business permit and license and an imprisonment of the owner for six months to one year and a fine from 500 to 5,000 pesos.
If the violator is a government employee or official, an administrative case shall be file against the person and shall be subjected to penalties ranging from suspension to dismissal.
Known as the “Child-Friendly Internet Café Ordinance”, it embodies the provincial government’s “role in protecting children against abuse, exploitation and violence, in all forms and means, including violence against children in cyberspace, brought about by the use and access of the Internet through Internet cafés and other establishments.”
The Ordinance seeks to affirm the
Under the said provincial ordinance, a child Internet user (anyone below 18 years old) shall not be allowed to use the services of an Internet café during regular school hours for on-line or network gaming, e-mail, chat or any other service, unless permission is given by a duly-authorized representative of the school, parent or guardian.
“Permission” is defined in the Ordinance as something that “must be written and accompanied by the contact details of the duly-authorized school representative, parent or guardian for verification purposes”.
In addition, the Provincial Ordinance requires that all Internet café establishments “shall maintain open cubicles for each computer unit that will allow employees or staff of the Internet café establishment to view the type of content or Internet services being used”.
The Ordinance also requires that all Internet café establishments “shall adopt and inform all Internet users of a procedure for reporting any intentional or accidental access to illegal, offensive or harmful content on the Internet”.
This prescribed procedure, including the hotline numbers of the police and other law enforcement agencies and the e-mail addresses of the administrator of the Internet service providers (ISP), shall be posted in every cubicle.
The Ordinance further requires that Internet café establishments shall not tolerate or promote any Internet user’s indecent, lewd, sexually-explicit and lascivious conduct inside the establishment.
The employees or staffs of the said establishment shall immediately call the Internet owner’s attention to stop the conduct. They shall immediately report the incident to the nearest police or law enforcement agency or the local social welfare office for further action.
Any employee or staff of an Internet café establishment who has any knowledge or learns of facts or circumstances that give rise to a reasonable belief that a child will be, or may be, or has been sexually exploited on-line or involved in the production, distribution, sale of child pornography shall immediately report the same to the nearest police or law enforcement agency.
Internet cafés in the province are also required to maintain an Internet user’s logbook for six months containing the name, age, address, log-in and log-out time and signature of the user.
They are asked to post in every cubicle and highly visible places within their premises safety rules for children such as: “ask your parent or caregiver first if you plan to meet with someone you have met in the Internet; it should always be in a public place”, “tell your parent, caregiver, LAN administrator or ISP if you see bad language or distasteful pictures while you are on-line”, “be yourself; do not pretend to be anyone you are not”, “do not tell anyone you meet on the Internet your home address, telephone number or school’s name”, “do not send anyone your picture, credit card or bank details”, “do not give your password to anyone, even your best friend”, “do not hang around a chat room if someone says or writes something that makes you uncomfortable or worried”, “if someone makes you an offer, which seems too good to be true, it probably is”.
The Ordinance also prohibits smoking and the sale and consumption of alcoholic or intoxicating drinks within Internet cafés in the province.
Benguet is a landlocked province of the
Its capital is La Trinidad and borders, clockwise from the south, Pangasinan, La Union, Ilocos Sur,
Benguet is the homeland of several tribes, collectively referred to as the Igorot. Two of them, the Ibaloi in the southeast and the Kankana-ey in the northwest, are the dominant tribes in the province.
Agriculture, mining, and tourism are the major industries in Benguet. Because of its temperate climate and high altitude, it is an ideal place for producing vegetables.
Benguet is often called the Salad Bowl of the
Major crops include potatoes,
Read more: http://digitaljournal.com/article/274928#ixzz1jw584a6E
Guide Questions:
Case 2: Privacy Cases
A class action lawsuit against Amazon and Alexa alleged that Alexa, whose software program monitors surfing habits and then suggests related Web pages, stored and transmitted this information to third parties (including Amazon) without informing users of the practice or obtaining users’ consent. Plaintiffs claimed these practices violated the ECPA and constituted a common law invasion of privacy. In an
Source: http://ilt.eff.org/index.php/Privacy:_Key_Cases
CASE 1
The company own just one printer, a moderately priced ink-jet printer that’s connected to
The company wants to install a network to support these three computers. Here are the primary goals of the network
CSS’s networking needs be met with the simple peer-to-peer network diagrammed. Here’s what the network requires: