Intro to Concepts

In: Computers and Technology

Submitted By genezkainz
Words 330
Pages 2
Program Description:
This program is designed to calculate the Grade Point Average (GPA) for each student based on the grades received by the number of courses taken.
I will use sequential and selection programming statements.
I will define one character value for StudentName: studentName
I will define six numbers as integers: gradeA, gradeB, gradeC, gradeD, gradeF, and numberCourses gradeA = 4, gradeB = 3, gradeC = 2, gradeD = 1, gradeF = 0
I will define one float number for Grade Point Average: GPA
A float number was chosen to provide users a decimal value instead of a whole number output.
The program will ask for the user name
The program will ask for the user grades
The program will print the student name and GPA
A student total GPA will be calculated by the formula below:
GPA = (grade? + grade?) / number of courses
For example, if a user name were Sam and he entered “A”, “A”, “A”, “B”, and “C”, his GPA would be calculated as:
GPA = (A + A + A + B + C) / 5 = 3.4
Test Plan:
Test Case # Input Expected Output
1 Andre: A, B, C
Sam: B, B, B, C
Jack: D, F, A, A, B
Bill: A, A, C, C, C
Jess: D, D, C,
Anny: A, C, A, A
Jennifer: B, B, B, A
Michelle: A, A, A, A, A
Michael: B, C, B, C,
Leon: D, A, A, A, C GPA for Andre: 3.0
GPA for Sam: 2.7
GPA for Jack: 2.4
GPA for Bill: 3.4
GPA for Jess: 1.67
GPA for Anny: 3.75
GPA for Jennifer: 3.25
GPA for Michelle: 4.0
GPA for Michael: 2.5
GPA for Leon: 3.2

Design using Pseudocode:

//Declare variables
Declare A, B, C, D, F, numberCourses, courseGrade, and TotalgradePoint as integers
Declare studentName as character
Declare GPA as float

//Declare Integers Values gradePoint=0 A=4, B=3, C=2, D=1, F=0

//Loop through ten student

Similar Documents


...accountability movement and innovation in information technology exerted the strongest influences for changes. Accountability to our stakeholders through external organizations such as Joint Commission, performance improvement projects and patient safety initiatives has improved the way we do business. A conclusion was drawn that the change from a process-controlled departmentalized organizational structure to a patient-controlled team-based organizational structure has been beneficial for the patients and the clinic. References Chatain, O., & Zemsky, P. (2007). The Horizontal Scope of the Firm: Organizational Tradeoffs vs. Buyer-Supplier Relationships. Management Science, 53(4), 550-565. Eppler, M., & Mengis, J. (2004). The concept of information overload: A review of literature from organization science, accounting, marketing, MIS, and related disciplines. Information Society, 20(5), 325-344. Knoll, S. (2007). Cross-business synergies: A typology of cross-business synergies & a mid-range theory of continuous growth synergy realization. Wiesbaden, GER: Gabler-Verlag. Lash, R. (2012). The Collaboration Imperative. Ivey Business Journal, 76(1), 37-40. Nguyen, J., & Choi, B. (2011). Accountable care are you ready? HFM (Healthcare Financial Management), 65(8), 92-100. Zismer, D. K. (2011). The psychology of organizational structure in integrated health systems. Physician Executive, 37(3), 36...

Words: 687 - Pages: 3


...failure of these investments. The financial industry corrupted the political system to work in their favor as they spent a lot of money in the campaign contributions. The other characteristic is incentives of profit which is maximizing profits by investing in projects and investment. But the investment banks with their greed to earn lots of money, were gambling in their customer’s money in risky investments. Islamic banking became one of the fastest growing sectors of the financial market place and has been acknowledged by global financial institutions. What the world witnessed recently from severe financial crisis which affected most of the world's economies didn’t affect in the Islamic banking system. And the reason was it applied the concept of the risk-sharing investments and the prohibitions of interest and speculation must stay within the limits of Islamic law or the Sharia in all of its actions. One of the main reasons of economic recession was excessive lending, sub-prime mortgages and investment bank’s greediness to earn more profit at the expense of their investors. However in the Islamic banking their system was based on the loans is to be taken both borrower and the lender can share the potential profit and loss. As the system, which is based on profit and loss sharing, it had less impact of the financial crisis and bankruptcy threat to the Islamic banks. Although the performance of Islamic banks was better comparing to conventional banks during the crisis,......

Words: 1449 - Pages: 6


...Concept Essay There are many fears within this world. Most of these fears we live with for the rest of our lives while others just fade into our memories. There are fears that are so traumatic that people live their lives around that one single thing they are afraid of. Many ways have been found to allow ourselves to overcome and triumph these fears we hold so close to our hearts and psyches. Phobias are the fears that we hold onto throughout our lives from childhood to adulthood because they are irrational and excessive. You may ask “What is it?” A phobia is a “persistent, excessive, unrealistic fear of an object, person, animal, activity, or situation” (Intelihealth). It is a type of anxiety disorder, a person with a phobia may either try to avoid the thing that triggers the fear or endures it with great complications. In most cases, the phobia involves a sense of “endangerment or a fear of harm” (Cherry). People may either live with one phobia or they could be stacked upon each other, which is a very rare case. I am lucky to only live with one fear and that happens to be Acrophobia (fear of heights) but it is not severe in any way. Everyone falls under one of these three categories of phobias due to their reaction and level of anxiety. They are Specific Phobia, Social Phobia, and Agoraphobia; The first one referring to a simple fear, the second one referring to fear of judgment, and the last as a fear of embarrassment (Wikipedia). Since my fear is a fear of......

Words: 631 - Pages: 3


...I would like to begin by a simple question, what is the private sector? defines the privates sector as: “The part of the economy that is not state controlled, and is run by individuals and companies for profit.” defines it as: “The private sector is that part of the economy, sometimes referred to as the citizen sector, which is run by private individuals or groups, usually as a means of enterprise for profit, and is not controlled by the state.” describes the private sector in a different way: “Employers consisting of companies or businesses that are separate from the government.” All three definitions infer the same concepts but the third has a more specific approach to the private sector which can be deemed as a narrow focus. The private sector is separate from the public sector in every way. Numerous sectors come under the private sector such as the Textile Sector, Banking Sector, Social Services Sector, NGOs, Educational Sector, Food Sector, Furniture Sector and many more. Dani Rodrik views the private sector as ‘inherently rent-seeking; so it advocates a strict separation between the state and private business.’1 However, within the private sector, there are various aspects that differentiate the private entities. My research and analysis have been narrowed down to four aspects, namely, Professionalism, Working Conditions, Work Ethics and the Effectiveness of HRM. We presently live in an increasingly diverse society.......

Words: 332 - Pages: 2


...Student: ASHLEY KRUEGER Instructor: McGraw - Hill Course: Connect For Education Connect Lucas GENERIC Sp10 - CFE Title: Ashley Krueger Specific Purpose: My purpose is to inform my audience about growing up and who I am now. Central Idea: Intro Sensitive, caring-sometimes too much, gets frustrated easily, honest, respectful, unfocused, and worrisome. These are just a handful of my traits and what makes me, me. I have learned many things over the last few years that have determined the type of person I want to be and who I don't. I have my good days and definitely my bad days, but all of these have helped me learn and grow. I will be letting you know of 4 different things about me. Where I come from, they type of person I was heading towards, how I have changed over the last few years and the type of person I want to be. Body I was born and raised in Springfield, Mo. It was my sister and I until I was 8, we wished and wished for my parents to have a baby boy. Well my mom got pregnant, but it was another girl. So we got a sister. At the age of 14 my parents got a divorce and since then I have gained a step-bro and sis and a half sis. It is a lot of fun for the most part having a big family because you always have someone to lean on and talk to. I am the oldest so I of course had the most responsibility and have had people that look up to me; I needed to be a good role model. I feel like I have done an okay job, with the exception of......

Words: 1112 - Pages: 5

Intro to Programming Concepts

...Class | Attributes | Responsibilities | Operations | BookTextbookPicturebook | ISBNAuthorTitlePriceRangeAge | Receive Book DataValidate Book DataSelect and Print DataReceive Book DataValidate DataSelect and Print DataReceive Book DataValidate Book DataSelect and Print Data | +setBook-Over$50+validatePrice+setBook-GradeRange3to6+validateGrade+setBook-AgeRange3to6+validateAge | UML Book | -ISBN-Author-Title-Price | +over$50( ) | TextBook | -Grade | +GradeRange3to6( ) | PictureBook | -Age | +AgeRange3to4( ) | Book Class START setBook(inISBN, inAuthor, inTitle, inPrice) ISBN= inISBN Aurthor= inAuthor Title= inTitle Price= inPrice END START Over$50 validatePrice(validInput) IF validInput AND Price > 50.00 THEN Print ISBN, Author, Title, Price ENDIF END START validatePrice validate=true IF Price Not numeric THEN validInput=false Display ‘Invalid Price’, Price ENDIF END Book Driver Algorithm START testBook Create Book 1 as new Book( ) inISBN= 111111 inAuthor= ‘Test Aurthor’ inTitle= ‘Test Title’ inPrice= 55.99 Book 1.setBook(inISBN, inAuthor, intitle, inPrice) Book1.Over$50( ) END START TextBook class setTextBook(inISBN, inAuthor, inTitle, inPrice, inGrade) ISBN= inISBN Aurthor= inAurthor Title= inTitle Price=......

Words: 1298 - Pages: 6


...familiarize yourself with what you will be working with. Always take the tour of any software you choose to install, it is always a big help. Next you should create a music library. Libraries are a great resource to have on your computer, because that's where you save samples and save songs you record. After you get those steps completed start experimenting with drum beats. A lot of songs have a steady snare accompanied with an occasional hi-hat. Next you should start adding wobbles or effects. Wobbles are the catchy things people hear in the songs otherwise known as bass drops. The final step is to make the song. Popular dubstep songs usually start with a soft rhythm and usually some high pitched lyrics. As the intro comes to an end the lyrics tend to fade as you hear the beat grow louder. The big part of a lot of songs is the bass drop. A brief moment if silence maybe 1 or 2 seconds usually precedes the bass drop. After the bass drop a layered loop of a best is added on top of the bass. Loop this for about 2 minutes and you have successfully created a dubstep song. Here is a video me and my friends made 4 years ago.

Words: 489 - Pages: 2


...economic growth. Modernization theorists study the social, political, and cultural consequences of economic growth and the conditions that are important for industrialization and economic growth to occur. Indeed, a degree of circularity often characterizes discussions of social and economic change involved in modernization processes because of the notion, embedded in most modernization theories, of the functional compatibility of component parts. The theoretical assumptions of modernization theories will be elaborated later. It should be noted at the outset that the sociological concept of modernization does not refer simply to becoming current or ‘‘up to date’’ but rather specifies particular contents and processes of societal changes in the course of national development. Also, modernization theories of development do not necessarily bear any relationship to more recent philosophical concepts of ‘‘modernity’’ and ‘‘postmodernity.’’ Modernity in philosophical and epistemological discussions refers to the perspective that there is one true descriptive and explanatory model that reflects the actual world. Postmodernity is the stance that no single true description and explanation of reality exists but rather that knowledge, ideology, and science itself are based on subjective understandings of an entirely relational nature. While their philosophical underpinnings place most modernization theories of development into the ‘‘modern’’ rather than the ‘‘postmodern’’ context,......

Words: 1675 - Pages: 7


...The alternative is to foray into international markets and seek out new opportunities. Benefits of expanding internationally are many fold : taking the business overseas opens up opportunities to pioneer into untapped markets; international expansion contributes to economies of scale, additional growth, new revenue sources, and returns on investment. However, venturing into new markets comes with attendant challenges of gaining competitive advantage to be able to capture market share and operate profitably. First and foremost, the hotel enterprise is exporting its entire operating business to function in diverse cultural and geographical settings, thereby committing finances and technical expertise to establish an entire business concept in dramatically different local environments [Globalization and Hospitality Industry: ] . Organizational structures in the host country needs to be adapted to accommodate local cultures. Risks to be faced and overcome include differing political and legal environments, language barriers, work ethics and business practices, and varying levels of social standards[Vesna Peric : Tourism and Globalization & Bushan Kapoor: Impact of Globalization on Human Resource Management ] These issues contribute to a significant impact in strategically elevating the business enterprise to a competitive heavy-weight. Value added considerations that give additional competitive edge are in the adoption of......

Words: 2479 - Pages: 10


...invasion into the body Wash hands before and after each patient care activity Obtain blood, sputum, urine and wound cultures upon initial suspicion of onset of sepsis Administer antimicrobial agents as ordered to treat the infection and subsequently decrease the release of inflammatory mediators Consult physician if signs and symptoms persist or worsen 1. Infection related to microorganism invasion into the body Wash hands before and after each patient care activity Obtain blood, sputum, urine and wound cultures upon initial suspicion of onset of sepsis Administer antimicrobial agents as ordered to treat the infection and subsequently decrease the release of inflammatory mediators Consult physician if signs and symptoms persist or worsen Concept Mapping Name F.G._____________________ 5. Activity Intolerance r/t continuous bedrest and fatigue Allow for periods of rest before and after planned exertion periods such as meals, baths, treatments, and physical activity Monitor and maintain mechanical ventilator settings for respiratory Refrain from performing non-essential procedures 5. Activity Intolerance r/t continuous bedrest and fatigue Allow for periods of rest before and after planned exertion periods such as meals, baths, treatments, and physical activity Monitor and maintain mechanical ventilator settings for respiratory Refrain from performing non-essential procedures 2. Decreased cardiac output related to abnormal inflammation Assess patient’s HR, BP and......

Words: 478 - Pages: 2


...Accountability as a Concept Wendie Malkinski Theoretical Foundations of Advanced Nursing Dr. Linda Phelps November 29, 2015 Accountability as a Concept Accountability in the field of nursing is very important as everything we do can either save or take lives. When mistakes are made at this level of care it affects public trust and someone must take responsibility for mistakes and also life saving measures. This is one of the cornerstones of the medical profession as a whole. As we have taken an oath to do no harm. Responsibility equals accountability. Accountability shows in many ways, shapes and forms. This concept also shows up in more than just the medical field, and nursing. It appears in everything from architecture, government, and even our personal lives. All throughout history the concept of accountability has appeared on the canvas. For example, President Truman embraced the term “The buck stops here”. Basically saying that instead of passing the blame or the “buck”, the responsibility lies with him as our leader and president. (The Harry S. Truman Library, n.d.). What the Literature Says During a preliminary literature search, I found the accountability concept displayed in many different disciplines and categories. For example, I found accountability mentioned in the medical field, government, sociology, psychology, and even engineering / architecture. Going a little......

Words: 1015 - Pages: 5


...resolve, as a matter of law, a question which the states themselves had been unable to settle.1 Accordingly, the Court chose to address the Nuclear Weapons affair in a way that confirmed basic universally agreed principles of international law while avoiding a pronouncement on whether or not the threat or use of nuclear weapons would be permitted in any circumstance. The request for the Kosovo Opinion falls into this category of cases. Serbia was pursuing a political agenda in bringing the action in the United Nations General Assembly. States’ policies were divided in relation to the Kosovo issue. But in addition the relevant legal principles are to some extent uncertain or in a state of development, in particular the application of the concept of self-determination outside the colonial context. It would have been unrealistic to expect the Court to resolve this issue, especially if the question posed did not require it. The application of judicial economy in deciding the case through the shortest possible route of legal argument is entirely unsurprising. The Advisory Opinion and its Consequences STEFAN TALMON The Court’s starting point is what is referred to as the ‘Lotus principle’, namely the notion that in international law everything is allowed that is not expressly prohibited. The Court therefore examined whether there is any prohibition of declarations of independence in international law, either in general international law or in special rules such as......

Words: 4718 - Pages: 19


...from others because it has distinct features such as competition among a few firms, high concentration ratio and barriers to entry, non price competition, differentiated products and high level of interdependence between firms. The report also outlines and describes why the UK detergent industry which is dominated by a few firms reflects the model of an oligopoly. Several real life examples have been used to confirm the theory of oligopoly. Moreover, the price rigidity observed in an oligopolistic industry has been explained by the kind demand curve theory. The second section of the report examines the case of price fixing by Procter & Gamble, Unilever and Henkel, who are major players in the detergent industry in Europe. It relates the concept of collusion and how it has led the firms to price fixing arrangements in the detergent industry. Finally the economic rationale why Henkel was not fined by the European Competition Commission has been discussed. Market structures may be generally categorised as the following: perfect competition, monopoly, oligopoly or monopolistic competition. These different types of market structures can be differentiated mainly by the number of competitors in a market and their market share. An oligopoly is a form of market structure that has few sellers that dominate the industry and they tend to sell differentiated products. It is also one of the most predominant market structures in the business world. One industry which is likely to be......

Words: 309 - Pages: 2


...The Concepts of Music Dylan Wright Pitch/Melody Pitch represents the fundamental frequency of a sound reflecting generally the lowness or highness of a sound and the melody is the pitch and rhythm combined. In Australian popular music composers tend to pick one or two melodies (verse and chorus) and stick with them. The variety then occurs in the lyrics. The beat and the melodies in pop songs have a tendency to be simple, with limited harmonic accompaniment. This is so the piece is catchy and remains in our head. The pitch is usually within a one octave range, for the simple reason of the vocalist being unable to reach certain notes. It also makes it ‘singable’ for the listeners. What's more, this means that there are no large leaps from notes as popular music is more written with small steps of notes rather than octave leaps. In more recent Australian popular music, it has become less uncommon for us to hear pitch perfect vocals. The reasoning behind this is an ingenious plug-in called Auto-Tune. It’s a studio trick that can take a vocal and instantly nudge it onto the proper note or move it to the correct pitch. You could say it's like Photoshop for the human voice. It can transform an okay performance into something technically flawless. Pitch and melody play a big part in Australian Popular music because, obviously, something that is not pleasing to our ears is not going to entice listeners. Duration Duration is the amount of time in a piece and how long it lasts...

Words: 915 - Pages: 4

Entertainment Concepts

...Implement Entertainment Concepts Project Surgical Stryke, the Army Band’s rock group, will be performing at a recruiting mission at Steele High School in Cibolo, TX. The rock band will be performing in the cafeteria, during the student’s lunchtime. The lunch periods will run 25 minutes with 10 minute breaks in-between. The band will perform at all three lunch periods. I will send out a publicity packet to the High school three weeks before the performance. There will be a cover letter thanking the school for inviting us to perform. It will also confirm the performance date and time, as well as list the anticipated arrival time of the group for set up and sound check. All of my contact information will be included for any questions or changes that may arise. A copy will be sent to the area recruiter and all correspondence with the school will be coordinated with the recruiter. This publicity packet will include posters/flyers to display throughout the school, an information packet on the band itself with biographies of the members, and a technical spec sheet explaining the power and space requirements of the group. I will coordinate with the recruiter to line up appropriate Army items to give away during the performance. These will range from miniature footballs and key chains to water bottles and t-shirts, plus any other items that are deemed appropriate by the recruiter and the school administration. The recruiter will have a table and display set up in......

Words: 1224 - Pages: 5