Chapter 2

In: Computers and Technology

Submitted By elnico404
Words 729
Pages 3
Algorithm Workbench 1. Design an algorithm that prompts the user to enter his or her height and stores the users input in a variable named height.

display “enter height” input variable= height

2. Design an algorithm that prompts the user to enter his or her favorite color and stores the users input in a variable named color.

Display “enter favorite color”
Input variable=color

3. Write an assignment statements that perform the following operations with the variables a, b, and c.

a. ADDS 2 to a and stores the result in b a+2=b b. Multiplies b times 4 and stores the result in a b*4=a c. Divides a by 3.14 and stores the result in b a/3.14=b d. Subtracts 8 from b and stores the result in a
8-b=a

4. Assume the variables result w, x, y, and z are all integers, and that w=5, x=4, y=8, and z=2. What value will be stored in result in each of the following statements?

a. Set result = x+y
12
b. Set result = z*2
4
c. Set result = y/x
4
d. Set result = y-2
6

5. Write a pseudocode statement that declares the variable COST so it can hold real numbers.

Declare real variable cost

6. Write a pseudocode statement that declares the variable TOTAL so it can hold integers. Initialize the variable with the value 0.

Declare Real Price=0

7. Write a pseudocode statement that assigns the value 27 to the variable content.

Count=27

8. Write a pseudocode statement that assigns the sum of 10 and 14 to the variable COUNT.

Count=10+14

9. Write a pseudocode statement that subtracts the variable downPayment from the variable TOTAL and assigns the result to the variable DUE.

DUE = downPayment – TOTAL

10. Write a pseudocode statement that multiplies the variable SUBTOTAL by 0.15 and assigns the result to the variable to TOTALEFEE.

TOTALFEE = SUBTOTAL * 0.15

11. If the…...

Similar Documents

Chapter 2

...Chapter 2 REVIEW OF RELATED SYSTEMS This chapter presents the gathered existing systems that are relevant to the development of Barangay Information System. It includes the related system and the technical background of the system. Related System Barangay West Alangilan Information System a study focused on the improvement of the system employed in the barangay. The system was designed to provide an organized information system that store, keep record and to implement the development of technology by making the system used in touch screen devices. (Esguerra, et.al., 2008) The study has a similarity and differences to the developed system. This is similar to the system in a way that they both can keep and store the data or records. They both have a database that will be kept the information. And it’s difference in the implementation. The system that they developed was implemented through touch screen devices. The Integrated Human Resources Information System with Biometric Technology of the City Government of Tanauan is concern on how they can store, update, and retrieve files in the shortest possible time and to well-organized the reports of the Human Resource Department Office of the City Government of Tanauan. They developed the system in Microsoft Visual Basic 2008 and MS SQL Server 2008. (Barba et.al, March, 2010) The study conducted by Barba et.al is similar with developed system because they can store, update, and retrieve information.......

Words: 870 - Pages: 4

Chapter 2

...Question Chapter 2 1. Both IT management and general management are responsible for implementation of information security that protects the organizations ability to function. Enforce policy. 2. No data, no record of transactions and no ability to deliver to its customers. Network and a secure infrastructure services. 3. Both IT and general management 4. More because business technology networks are now connected to the internet and other networks outside the organization. Makes it easier for people to gain access to the organizations networks. 5. Information extortion, an attacker steals information from a computer system and demands compensation for its return or agrees to not disclose it. If the hacker gains unauthorized use to a Military captain’s personal computer and discover obscene photos, he can blackmail the person in exchange for keeping photos undisclosed and equal loss of privacy and security for the captain. 6. Because employee mistakes can lead to the disclosure of classified data, entry of erroneous data, accidental deletion or modification of data and the storage of data in unprotected form and fail to follow procedures to protect data. 7. Avoid accessing confidential information while others are present, limit the # of times you access it, be aware of who is around you, shield paperwork or monitor from view. 8. Expert hackers have turned their attention to writing software. They are extremely talented individuals who usually devote a lot of time......

Words: 555 - Pages: 3

Chapter 2

...CHAPTER ONE: GLOBALIZATION AND INTERNATIONAL BUSINESS I. INTRODUCTION As people, firms, and other organizations have expanded their access to resources, goods, services, and markets across wider geographical areas, they have also become more deeply affected (positively and negatively) by conditions outside their home countries. Globalization refers to the broadening set of interdependent relationships among people from different parts of a world that happens to be divided into nations. A. What is International Business? International business involves all commercial transactions—private and governmental—between parties of two or more countries. Global events and competition affect almost all firms—large or small. However, the international environment is more complex and diverse than a firm’s domestic environment. II. THE FORCES DRIVING GLOBALIZATION Globalization is a difficult concept to measure. Currently, about 25 percent of world production is sold outside of its country of origin, restrictions on imports continue to decline, the foreign ownership of assets as a percent of world production continues to increase, and world trade continues to grow more rapidly than world production. Recessionary contraction in recent years has at least temporarily reversed this trend. That said, on a value basis, only a few countries (mainly very small nations) either sell more than half of their production abroad or source more than half of their consumption from foreign countries.......

Words: 2050 - Pages: 9

Chapter 2

...AP stands for “Additional Problem.” “AP21” is additional problem 1 from chapter 2. The additional problems for the Markets material is after the AP for chapter 12. Chapter 2 AP21 When is revenue recognized by a corporation? When the corporation designs a project. When the corporation mass produces a product. When the customer orders a product. When the product is delivered to the customer and the customer promises to pay When the customer fulfills his promise in item #d above by paying the cash to the corporation. When the corporation receives a cash deposit from a customer for a product to be delivered next month. When the right of return expires. The corporation sells thousands of small lawn mowers. Answer d. When the product is delivered to the customer and the customer promises to pay Explanation: The FASB’s definition of a revenue is “Inflows or other enhancements of assets of an entity or settlements of its liabilities during a period from delivering or producing goods, rendering services, or other activities that constitute the entity's ongoing major or central operations.” A common-sense explanation is that revenue is recognized when it is “earned and receivable.” Delivery is normally the time period in which revenue is recognized. There are three exceptions. If the collection of cash is highly uncertain, revenue is recorded at the time cash is received. If the level of returns is highly uncertain, revenue is recognized when the right to......

Words: 566 - Pages: 3

Chapter#2

...Chapter 2/Fundamental Economic Concepts Chapter 2 Fundamental Economic Concepts Solutions to Exercises 1. The number of checked bags should fall, as individuals internalize the external cost of added weight. However, the average weight should rise, as those checking bags would in all likelihood pack as much as possible to make up for the cost. 2. The wage in the market for oil spill cleanup efforts should rise, thanks to an increase in demand for labor. The wage in the market for similarly-skilled labor should also fall, as the relevant labor supply falls in response to the previous increase in wage. We would expect an increase in migration, as long as the wage of the home market was less than the wage that could be received in the Gulf region. 3. Projects A, C, G and B require a total of $875 million in investment. Project B, the lowest return project of this group is expected to generate an 18 percent rate of return. Ajax can raise up to $1,050 million, with the highest cost being 18 percent for the last $200 million. If Ajax were to choose any project beyond A, C, G, and Bsuch as project D (the next best project after B)that project would generate a marginal rate of return (16 percent), which is less than the marginal cost of funds needed to finance it, in this case 18 percent for the last $200 million up to a total of $1,050. Thus, the optimal capital budget is to invest in projects A, C, G, B, for a total of $875 million. 4. This question examines expected......

Words: 1045 - Pages: 5

Chapter 2

...CHAPTER 2 REVIEW OF THE RELATED LITERATURE AND STUDIES This chapter presents the related literature and studies after the thorough and in-depth search done by the researchers. This will also present the synthesis of the art, theoretical and conceptual framework to fully understand the research to be done and lastly the definition of terms for better comprehension of the study. Related Literature All computer scientists who have done work in or are interested in electronic voting seem to agree that online voting does not meet the requirements for public elections and that the current widely-deployed voting systems need improvement. Voting on the Internet has disadvantages based on the areas of secrecy and protection against coercion and/or vote selling. It's such a truly bad idea that there seems to be no credible academic effort to deploy it at all. The Kenyan General elections of 2007 brought national attention to problems with current methods of casting and counting votes in public elections. Most people believe that the current system should be changed; there is much disagreement on how such changes should be made.c really can't trust any code which we did not create ourselves. Therefore, they tend to be extremely suspicious of proprietary voting machines and their makers who insist that we should “just trust [them].” Neumann gives a list of suggestions for "generic voting criteria" which suggests that a voting system should be so hard to tamper with and so......

Words: 1779 - Pages: 8

Chapter 2

...CHAPTER 2: STRUCTURE OF OPTIONS MARKETS MULTIPLE CHOICE TEST QUESTIONS 1. Options are traded on which of the following exchanges? a. NYSE Amex b. NYSE Euronext (Arca) c. Chicago Board Options Exchange d. International Securities Exchange e. all of the above 2. A call option priced at $2 with a stock price of $30 and an exercise price of $35 allows the holder to buy the stock at a. $2 b. $32 c. $33 d. $35 e. none of the above 3. A put option in which the stock price is $60 and the exercise price is $65 is said to be a. in-the-money b. out-of-the-money c. at-the-money d. exercisable e. none of the above 4. Organized options markets are different from over-the-counter options markets for all of the following reasons except a. exercise terms b. physical trading floor c. regulation d. standardized contracts e. credit risk 5. The number of options acquired when one contract is purchased on an exchange is a. 1 b. 5 c. 100 d. 500 e. 8,000 6. The advantages of the over-the-counter options market include all of the following except a. customized contracts b. privately executed c. freedom from government regulation d. lower prices e. none of the above 7. Which one of the following is not a type of transaction cost in options trading? ...

Words: 1733 - Pages: 7

Chapter 2

...Solutions to Accompany Information Technology Project Management, Seventh Edition ISBN-10: 1133526853 ISBN-13: 978-1133526858 Course Technology MIS Series Kathy Schwalbe, Ph.D., PMP Created November 27, 2012 Table of Contents CHAPTER 1 2 CHAPTER 2 4 CHAPTER 3 6 CHAPTER 4 7 CHAPTER 5 14 CHAPTER 6 20 CHAPTER 7 25 CHAPTER 8 30 CHAPTER 9 33 CHAPTER 10 36 CHAPTER 11 38 CHAPTER 12 41 CHAPTER 13 43 APPENDIX A 44 APPENDIX B 49 APPENDIX C 50 List of solution files available and referenced in this document, in alphabetical order: CHAPTER 1 Introduction to Project Management DISCUSSION QUESTIONS 1. Why is there a new or renewed interest in the field of project management? More and more projects are being done by a variety of organizations. The projects are more complex and often involve the use of new technologies. Organizations are struggling to find better ways to manage their projects. 2. What is a project, and what are its main attributes? How is a project different from what most people do in their day-to-day jobs? What is the triple constraint? What other factors affect a project? A project is “a temporary endeavor undertaken to create a unique product, service, or result” (PMBOK Guide, 2012). In addition to being temporary and unique, other attributes of projects are that they are developed using progressive elaboration, require resources from various areas, should have a primary customer or sponsor,......

Words: 17532 - Pages: 71

Chapter 2

...following questions and problems from Chapter 2. Please submit your complete assignment in the course room by the due date. Chapter 2 Problems 2-1) An investor recently purchased a corporate bond that yields 9%. The investor is in the 36% combined federal and state tax bracket. What is the bond’s after-tax yield? 9% (1-T) = 9%(1-.36) =5.76% 2-2) Corporate bonds issued by Johnson Corporation currently yield 8%. Municipal bonds of equal risk currently yield 6%. At what tax rate would an investor be indifferent between these two bonds? 8% (1-T) + after tax corporate yield 6% - municipal tax exempt yield 8%(1-T) = 6% 8-8T+66 2=8t T=2/8 or 25% 2-7) The Talley Corporation had a taxable income of $365,000 from operations after all operating costs but before (1) interest charges of $50,000, (2) dividends received of $15,000, (3) dividends paid of $25,000, and (4) income taxes. What are the firm’s income tax liability and its after-tax income? What are the company’s marginal and average tax rates on taxable income? Income after operating costs: $365,000.00 Less: Interest Expense -$50,000.00 Plus: Taxable Dividends Received $4,500.00 Only 30% of the $15,000 in dividends are taxable. Taxable Income: $319,500.00 $319,500 falls into the $100,000 to $335,000 bracket so the corporate tax would be: $22,250 + .39 ($319,500 - $100,000) Tax Liability = $107,855.00 Average Tax Rate = $107,855/$319,500 = 33.76% 2-9) The Shrieves Corporation has......

Words: 847 - Pages: 4

Chapter 2

...CHAPTER 2 REVIEW OF RELATED LITERATURE AND STUDIES This chapter discusses foreign and local that can be attributed in the success of this undertaking. Difference and similarities with the previous studies are presented in this chapter. The following researches and studies greatly influence on the conduct of this study; the researchers have made consideration in drawing the final conclusion in the study. Foreign Literature Facebook is an evolutionary technology of the 21st century that changed social relationships, provides opportunity for individuals to share their ideas and opinions, and establishes and maintains relationships with others. Facebook allows a user to create a profile, display personal information, upload pictures, access other users profile, display personal information, accumulate friends, and interact with friends via messages and gifts. An average time of 30 minutes to 2 hours is spent on Facebook daily. Only recently are studies beginning to examine the effects of Facebook on physical, mental, and family health. Current studies conducted in college campuses reveal that Facebook can cause similar symptoms to drug addiction, effect familial systems and patterns contribute to upper respiratory infection, cause feelings of loneliness, depression, and narcissism, and can lead to less body satisfaction and worse time management according to Kalpidou, Costin and Morris (2011). Facebook was founded by Mark Zuckerberg and his roommates at Harvard University......

Words: 3462 - Pages: 14

Chapter 2

...Chapter 2 Review 1. Planning is the process of developing, creating, and implementing strategies. 2. The three levels of planning are, Strategic planning, Tactical planning, and Operational planning. 3. A stakeholder is a person(s) who have a vested interest in the aspects of planning. It is important to consider stakeholders view/opinions, because a lot of decision making affects their stake in a company. 4. A values statement is a formal set of organizational principles. A vision statement is an expression of what an organization wishes to become. A mission statement is an organization’s identity card. 5. Strategy is a plan of action or policy designed to achieve an overall goal. 6. InfoSec Governance s the set of multi-disciplinary structures, policies, procedures, processes and controls implemented to manage information at an enterprise level, supporting an organization's immediate and future regulatory, legal, risk, environmental and operational requirements. 7. Inculcating a culture that recognizes the criticality of information and infoSec to the organization. Verifying that management’s investment in InfoSec is properly aligned with organizational strategies and organization’s risk environment. Demanding reports from the various layers of management on the InfoSec program’s effectiveness and adequacy. 8. Strategic Alignment, Risk management, Resource management, Performance measurement, and Value delivery. 9. Top-down strategic......

Words: 543 - Pages: 3

Chapter 2

...Chapter 2 Quiz 1.Which of the following is a component of Porter's competitive environment? Suppliers 2.Why is understanding an organization's environment important? Without this understanding, organizations tend to miss opportunities or make poor decisions. 3.Differences in the way people dress and act, their interactions with each other and with customers, and what qualities are expected and appreciated by their managers and company are examples of the _____. organization culture 4. Which of the following is a controllable environmental factor that can affect an organization? Cost leadership strategy 5. Pluto Inc. is computer technology corporation that has been manufacturing laptops for the last five years. Recently, in the face of sinking market share, Pluto reduced its dependency on laptops by venturing into tablets and smartphones. This is an example of _____. diversification 6. In competition, a substitute is best described as a(n): alternative to a product. . 7. Which of the following is a demographic factor of an organization's macroenvironment? Employees' age 8.Complexity and dynamism in the environment result in: environmental uncertainty. 9. Raw materials, services, equipment, capital, and information are _____ for an organization. inputs 10. Which of the following is a dominant attribute of a hierarchical culture? Rules and regulations 11. Which of the following refers to the immediate environment...

Words: 6552 - Pages: 27

Chapter 2

...Business 1301 Chapter 2 -How does economics relate to business? Can an understanding of economics help businesspeople succeed? If so how? Economics relates to business through microeconomics and macroeconomics. By studying these two principles, a business can take a look at the economy and set prices, choose to expand, or even release a new product. Understanding economics can help a business by allowing them to make future decisions from other’s past choices. - What are the fundamental elements of the free market economic system? How can businesses thrive within this system? The fundamental elements of the free market economic system include the majority of business that are privately owned and are free to choose what they will produce, how much to charge, and who to employ. The fundamental rights of a free market include; the right to own and profit from a business, the right to private property, the right to choice, and the right to fair competition. Businesses thrive because they are allowed to choose the best product for their business, the best people to work for them, the best place to open their business, and have the want to do good because of their potential monetary gains. - How do supply and demand impact the free market system? Supply and demand are what cause change in prices of goods across the board. If a new item was put on the market and everyone wanted one, the price of that item would skyrocket. Once the market gets flooded with copy cat......

Words: 458 - Pages: 2

Chapter 2

...Chapter 2, Section 3 Homework Problems Part A 1. (a) § 721 does not apply to Charlie’s contribution of services because § 721 only applies to property exchanged for an interest in the partnership. Charlie must recognize compensation for services under § 61(a)(1). Since Charlie has no risk of forfeiture, Charlie includes the compensation upon receipt of the interest under § 83. The amount included in gross income is FMV of $400K. Since Charlie contributed no other money or property to obtain his partnership interest, his basis in partnership interest is the amount included in income, $400K. Treas. Reg. § 1.722-1. The partnership will have a § 162 deduction for the amount of compensation paid and as such will reduce Avery and Blair’s basis by $200k each. (b) U.S. v. Frazell held that the incoming partner will recognize ordinary income to the extent that the partnership interest was received for exchange of the services, but § 721 applies to the portion that was contributed for property. Since we are not given the value of the services and property (building plans), we can know ascertain the amount of his contribution that would be allocated to the services and what amount would qualify for non-recognition. Charlie’s partnership interest after the exchange would be a capital asset. (c) In this case, Charlie has a substantial risk of forfeiture under § 83(a) and will be taxable on any increase of the value of the partnership interest at the time the partnership interest......

Words: 644 - Pages: 3

Chapter 2

...CHAPTER 2 Review of Related Literature and Studies Introduction The extent of student’s learning in academics may be determined by the grades that a student earns for a period of learning has been done. It is believed that a grade is a primary factor that indicates of such learning. If a student earns high grades it is concluded that they may also have learned a lot while low grades indicate lesser learning. However, many experiences and studies found out that there are also several factors that would affect the grades. Not a single factor can be definitely pointed out as predicting grades. It has been interplay of so many factors – gender, IQ, study habits, age, year level, parent’s educational attainment, social status, number of siblings, birth order, etc. In fact, almost all of existing environmental and personal factors are a variable of academic performance. However, at this point in time, the researcher would like to investigate the possible relationship of study habits and the factors affecting it to the academic achievement of under secondary student of Jaime G. Espena High School. The investigation of on this area thus becomes a real and compelling motivation for the researcher to conduct this study. Local Literature According to Muega (2003), students need to acquire reasoning skills that would enable them to think critically and to make the right decisions claims on issues. Reasoning entails presentation of arguments. It is when one makes......

Words: 2307 - Pages: 10