This website uses cookies to ensure you have the best experience. Learn more

It280 Week 1 Essay

1391 words - 6 pages



Application-Level Requirements List

1. First the program should provide some information including the title, user instructions, and the overall purpose to better acquaint the user.

2. The program display should be easy to use while inputting information.

3. The purpose and instructions for the program must be apparent.

4. Simplicity in the wording and outputs is important to avoid any possible confusion and make the program user friendly.

5. Written in a fashion that allows further expansion by others at a later date.

6. The program must be able to handle multiple conversion of currency at the same time or after one another without restarting the ...view middle of the document...

S. dollar = 1.256 Canadian dollars)
Mexican pesos (rate: 1 U.S. dollar = 19.775 pesos)
English pounds (rate: 1 U.S. dollars = .7227 pounds)
Japanese yen (rate: 1 U.S. dollar = 81.995 yen)
EU Euros (rate: 1 U.S. dollar = .814 Euros)

Pseudo Codes
Main module
Declare Nationality as string
Declare Currency Type as integer
Declare Currency Amount as real
Declare US Dollar as real
Declare Quit Program as string
Call Input Module
Call Check Module
Call Currency Type Module
Call Canadian Module
Call Mexican Module
Call English Module
Call Japanese Module
Call French Module
Call Exit Module
Call Output Module

Input module
Declare Currency Type as integer

Display “Welcome to Foreign Currency Converter”
Display “Please select a type of currency (Enter 1 – 6)”
Display “1 Canadian Dollars”
Display “2 Mexican Pesos”
Display “3 English Pounds”
Display “4 Japanese Yen”
Display “5 French Francs”
Display “6 Quit”
Input Currency Type
Call Check Module
End input module

check Module
Declare Currency Type as integer

If Currency Type < 1 or Currency Type > 6
Then Display “Invalid currency selection. Please try again”
Call Input Module
Else
Call Currency Type Module
end check module

currency type module
Declare Currency Type as integer
If Currency Type = 1
Then Call Canadian Module
Else
If Currency Type = 2
Then Call Mexican Module
Else
If Currency Type = 3
Then Call English Module
Else
If Currency Type = 4
Then Call Japanese Module
Else
If Currency Type = 5
Then Call French Module
Else
If CurrencyType = 6
Then Call Exit Module
End currency type module

Canadian module
Declare CurrencyAmount as real
Declare USDollar as real
Nationality = “Canadian Dollars”

Display, “Please Enter Amount of Currency (0-100,000)”
Input CurrencyAmount
If CurrencyAmount < 0 or CurrencyAmount > 100,000
Then Display “Invalid Amount”
Call Canadian Module
Else
USDollar = CurrencyAmount * 1.4680
Call Output Module
End Canadian module

Mexican module
Declare CurrencyAmount as real
Declare USDollar as real
Nationality = “Mexican Pesos”

Display, “Please Enter Amount of Currency (0-100,000)”
Input CurrencyAmount
If CurrencyAmount < 0 or CurrencyAmount > 100,000
Then Display “Invalid Amount”
Call Canadian Module
Else
USDollar = CurrencyAmount * 9.5085
Call Output Module
End Mexican Module

English Module
Declare CurrencyAmount as real
Declare USDollar as real
Nationality = “English Pounds”

Display, “Please Enter Amount of Currency (0-100,000)”
Input CurrencyAmount
If CurrencyAmount < 0 or CurrencyAmount > 100,000
Then Display “Invalid Amount”
Call Canadian Module
Else
USDollar = CurrencyAmount * .8085
Call Output Module
End English Module

Japanese...

Other Essays Like it280 week 1

The French And Indian War: The "Real" First World War

1955 words - 8 pages events and their possible impact upon the two great European powers of focus. The author begins by explaining both potential and actual events that initially caused the outbreak of the French and Indian War. He sums up the state of the world in an effective if not all too blunt statement saying “England and France had been at war since—well, it seemed like forever” (pg.1). This quote by itself sets the tone for what is to follow. The author

Is The Use Of Animals In Medical Research A Necessary Measure?

1513 words - 7 pages United States alone, there are over one hundred million animals that are tested on each year in research laboratories. Ninety-five percent of the animals are birds, rodents and fish while around 1 million of those animals are dogs, cats, non-human primates, rabbits, and farm animals (“Animals Used”). Though there is an assortment of diverse species that are used in research, rodents are used most often. In 1966, President Lyndon B. Johnson

Education And The Evolving Job Market

2363 words - 10 pages academic abilities (Anderson, 2007). According to Gregory and Chapman (2007), through differentiation educators are able to “give all students an opportunity to learn to their full potential.” The authors furthermore state instructors who support this philosophy have several key beliefs about the learners they teach. These include: (1) every student has his own areas strength and weakness, (2) each student has the abilities and capacities to

Young And Relentless

1737 words - 7 pages There are numerous influences that can be responsible of teenager’s behaviors and attitude as they develop. One factor that is important to these behaviors is parental figures being over involved or uninvolved in their children’s lives. Many of these effects include illegal substance abuse, rising sexual activity, underage alcohol consumption, and tobacco use. Studies show parental participation plays a key role in the characteristics developed

The Natural Law Theory

1231 words - 5 pages law and the divine law God created them from a law much superior than the rest, one which only God himself has the knowledge of, the eternal law. Humans actively participate in the eternal law of God by using reason in conformity with the Natural Law to discern what is good and evil(Magee 1). Of these laws the natural law is the most vital, the natural law uses nature as a guide to morality and humanity, to decipher the right from the wrong

Resolved: Presidential Signing Statements Threaten To Undermine The Rule Of Law And The Separation Of Powers

1811 words - 8 pages . A., & Strauss, P. L. (2007). The presidential signing statements controversy. William & Mary Bill of Rights Journal, 16(1), 11-25. Retrieved from http://scholarship.law.wm.edu/wmborj/vol16/iss1/3 Cooper, P. J. (2005). George w. bush, edgar allan poe, and the use and abuse of presidential signing statements.Presidential Studies Quarterly, 35(3), 515-532. Devins, N. (2007). Signing statements and divided government. William & Mary Bill of

Oppressive Systems Of Government In Egypt And Animal Farm

1529 words - 7 pages many had tired of his oppressive rule of four terms, where no voices or people could deter him. Many citizens were complacent with his rule simply because “the majority of Egyptians are not learned in political ideologies and information dissection, etc., and so will continue to educate themselves through secondary sources, state media and coffee shop rhetoric” (Viney 1). Because many people in Egypt are less likely to be informed of political

The Pathway To Psychosis

1415 words - 6 pages “How all occasions do inform against me” is a line from act IIII, scene IIII of William Shakespeare’s Hamlet. This line, spoken by Hamlet, expresses his emotional state as he is currently overwhelmed by the death of his father, the king of Denmark, and the situation surrounding it. After Hamlet learns of his father’s death he finds out that his mother has married Claudius, Hamlet’s uncle. On top of all of that, Hamlet soon after

Rated “M” For “More Censorship Not Needed”

1241 words - 5 pages Since the moment video games became a commercial success there have been people who have pushed for unfair amounts of censorship to be placed upon the content of the games and its availability to children. These groups push for increased regulations on content but there is already an appointed group to handle this issue, the ESRB. Even though there has been an increase in mature content in the video game industry, increased censorship is not

Four Components Of A Legally Astute Social Media Marketing Manager

1914 words - 8 pages With the advances in technology constantly changing companies have to find better ways to market their products to consumers. The explosion of Facebook has given companies a way to market products to consumers. Examine how a legally astute manager can use social media to his advantage. Review different forms of dispute resolution and determine which one works the best. What is the best course of action, the government can use to

Obama's Values

1217 words - 5 pages As individuals, we don’t tend to take action unless it’s for self-interest; however, in Dreams from My Father, Obama spends three years, after college, as a community organizer in Chicago. Obama goes through tribulations, disappointments, and even complete failures organizing meaningful events, decisive meetings, and humble gatherings but he keeps working toward achieving any possible change in the community. Even though results give him every

Related Papers

The Separation Of Capital Ownership And Control

1577 words - 7 pages The argument of whether the separation of capital ownership and control is an efficient form of organization has constantly been a controversial issue. The criticism whether the controllers’ act is in the best interest of the owners’ wills never end as long as hired managers operate management. As the number of public companies has been increasing over the course of this century, meanwhile the American style of contact based corporation has

The Versatility And Flexibility Of Oled's

1014 words - 5 pages In April 1, 2002, organic light emitting diodes gain rise in the scientific community with their published, more practical form at Ames Laboratory. “Scientists at the U.S. Department of Energy's Ames Laboratory, in collaboration with scientists at the University of Michigan, Ann Arbor, have developed and demonstrated a novel, fluorescence-based chemical sensor that is more compact, versatile and less expensive than existing technology of its

Comparing The Moral Virtues Of Antony And Julian The Apostate

1103 words - 5 pages Roman emperor Julian the Apostate and Christian leader Antony both exhibited many qualities of character during their existence. Both of them led very distinctive lives although shared several ethical values. Book 25 of “The Later Roman Empire” and the book “Early Christian Lives” show concrete evidence of this. In the following essay, I will argue how both leaders’ lives were devoted to their religious beliefs and their mutual cardinal virtues

Living In A Cashless Society Essay

1637 words - 7 pages Cash. “The Cashless Society.” October 18, 2009. . Avusanjin1. (2009, June 27). OPPAPERS.COM. “Cashless Society.”, pp. 1-4. October 19, 2009. . Business Defintion for: Cashless Society. (2009, October 6). Retrieved October 17, 2009, from BNET Business Dictionary: . CreditorWeb. (2009, October 11). Going Cashless. Retrieved October 21, 2009, from CreditorWeb: Credit Cards made easy: .