Progamming 2 Proj

In: Science

Submitted By kaheem96
Words 535
Pages 3
University of Technology, Jamaica
Faculty of Computing and Engineering
School of Computing and Information Technology
Programming II (CMP1025)
Lab Exercise Five
1) Write a main module and in it declare and fully initialize a local array of 15 integer numbers, a local array of 20 characters (not a string), and a local array of 10 floating point numbers. Use different values to initialize each array (don't use 0, blank space, or repeat any value). Also, ensure that the values in each of the three arrays are in sorted order (sorted in ascending order).
2) Write a module called Display that takes an array of integer values and the size of the array as arguments, and then outputs the contents of the array on the screen in a neat format. Each value in the array must be separated by a single space. E.g. 10 20 30...
3) In your main module, call the Display function and use it to show the contents of the 15-value integer array you declared and initialized earlier.
4) Write a module called AVERAGE that takes an array of integer values and the size of the array as arguments, then calculates and returns the average of those values. Feel free to use recursion or iteration in your answer. Also remember to declare your function prototypes.
5) In your main module, call the AVERAGE function and use it to calculate the average of the 15-value integer array you declared and initialized earlier, then display the result. The result returned from the function is to be displayed in the main module, not in the function.
6) Implement the linear search (also called the sequential search) algorithm from the pseudocode given in the arrays lecture.
7) Demonstrate how the sequential search algorithm can be used in your main module. You should allow the user to enter an integer value to be found (the search key) in the main module. If the search key is found, display where…...

Similar Documents

Proj 595 Risk Paper #2

...Risk Paper #1 – Vehicle Purchase Risk Assessment PROJ 595 – Project Risk Management Introduction Major life decisions should never be taken lightly. The only major life decision that I have ever made was buying my first car. When it comes to buying a car there are always a slew of risks that come with it. There were many things to consider here before even going out to visit the dealerships. First would I buy the car new, if so which car maker would I go with, each car maker has their own risks that come with buying their car. Or would I go the used route and tackle all the risks that come with buying a used car. I also needed to consider which route would be cheaper for me in the long run. In the end I ended up buying a new car despite the known risks and the sneaky unknown risks that snuck up on me. Risk 1 – Insurance One the biggest risk that people should look at when buying new, which I unfortunately did not do, is to see how much of an increase it will add to your insurance. Before buying my new car, my car insurance was in the mid hundreds. It was fine because I received my previous car as a hand me down and I did not have to make car payments. But, after everything was said and done and I got the new car I went to the insurance agency to update to my car insurance. To my surprise, the monthly car insurance jumped up nearly an extra two hundred. There were many reasons why, but one of the big reasons for the increase was the fact that 2012 models added a......

Words: 978 - Pages: 4

Proj 598 - Part 2

...better understand the full needs and goals of each project. We will be sending a Project Manager (myself) and two of our senior staff. The purpose of which is to establish a working process that works within your ramifications and guidelines. During the meeting we will discuss the timeline of needs and milestones as well as the expectations of deliverable such as but not limited to: * Research and Reports * Design and Printed Materials * Digital Deliverables * ETC This early meeting will allow us maintain focus on the work efforts throughout the life of the project. The team will use this time to ask questions and ensure that we understand your current and future plans to allow us to build for now and then. Task 2 – Project Management Plan Antoine Stephenson, the Project Manager, has worked on a number of diverse and unique projects with companies ranging from small/medium businesses to Fortune 100 companies. With this breadth of knowledge and experience He will be able to guide your project from start to finish. Providing a liaison between your management team and the lead developers and Quality assurance personnel here at Twanworks Inc. Derrick Morton – Lead Designer, has also worked on a wide array of development and design projects. He has 6 years experience with various software and 1-3 with CMS: Adobe Master Suite (Illustrator, Photoshop, Dreamweaver ((X)HTML, Hand-coded (X)HTML, HTML5, CSS-CSS3, Sass basics, JavaScript, JQuery), PHP,......

Words: 2345 - Pages: 10

Proj 410 Final Exam Set 2

...PROJ 410 Final Exam Set 2 Purchase here http://chosecourses.com/PROJ%20410/proj-410-final-exam-set-2 Product Description 1. (TCO 1) A cost-plus-percentage-fee contract is a: _______. (Points : 5) cost-reimbursable contract, the seller pays the buyer's actual costs, and a percentage of the total project costs cost-reimbursable contract, the seller pays the buyer's actual costs, and all of the total project costs cost-reimbursable contract, the buyer pays the seller's actual costs, and a percentage of the total project costs cost-reimbursable contract, the seller pays the buyer's actual costs, and none of the total project costs 2. (TCO 2) The difference between the project manager and contract administrator is: ______. (Points : 5) the project manager is responsible for the project-related coordination, while the contract manager is responsible for administering the contract the contract administrator has the authority to make all contract-related decisions, like approving a change order. The project manager does not have this level of authority. the project manager is responsible for the administering of the contract, while the contract manager is responsible for project-related coordination. the project manager has the authority to make all contract-related decisions, like approving a change order. The contract administrator does not have this level of authority. 3. (TCO 3) Which is a key component in the project procurement management process?......

Words: 3646 - Pages: 15

Proj 586 Week 2 Complete

...A++PAPER;http://www.homeworkproviders.com/shop/proj-586-week-2-complete/ PROJ 586 WEEK 2 COMPLETE PROJ 586 Week 2 Complete ,Level WBS for Huntsvill Project,Project Charter,Project Scope Statement,DQ1,DQ2,Week 2 Quiz Set 1 ,2,3 A++ Graded !!!!! Week 2 Quiz (3 Sets) Set 1 1. (TCO A) A project is defined as a ____ endeavor undertaken to create a ______ product, service, or result. 2. (TCO A) Which step of the project life cycle produces all of the project deliverables? 3. (TCO B) In the planning process, the _____ is/are the end product(s) that the project team must deliver. 4. (TCO A) a) If the project schedule is shortened, what are the likely steps that the project manager would take with regards to the other triple constraints? (15 points) b) What is typically the impact on quality when the project schedule is shortened? Why? (15 points) 5. (TCO B) You are a project manager for a new Hardware Software Project. You just received the project charter and established your scope statement. Within the scope statement you defined some of the key components to meet the overall project objective. Establishing requirements will be critical to define and get approved. The hardware…………(20 points) b) In your WBS, how many work packages have been created? (10 points) Set 2 1. (TCO A) Projects have specific attributes. Which of the following is not an attribute? 2. (TCO A) Which step of the project life cycle produces all of the project deliverables? 3. (TCO B) For a...

Words: 566 - Pages: 3

Proj 595 Week 2 Discussion

...is on the team especially with the external stakeholders. But the good thing was that most of the team members on the project are always resources on projects in the company so they are usually ready to take up projects as long as they do not have too many projects they are working on. So they usually follow the existing model of responsibility on the resources tools which makes it easy to be managed.  | | | | RE: Question 1 ..Stakeholder Identification ?? | Adedoyin Adesina | 1/18/2015 4:43:25 PM | | | Modified:1/18/2015 4:47 PM | | Some tips and techniques for identifying project stakeholders are: 1. Be systematic- consider all aspects of the projects area of influence, e.g. technical, business, geographical etc. 2. Remember the interest groups – also identify those groups or organizations that are not directly impacted by the project e.g. but whose interests determine them as stakeholders e.g. Human Resources or Disability Office etc. 3. Use past stakeholder information – referring to previous similar projects  can save time and flag up stakeholders risks, liabilities, or unresolved issues that can then be included in the analysis. 4. Consider the entire project lifecycle – it is important to remember that both stakeholders and their interests may change as the project progresses. Consider all stages of the project when drawing up the stakeholder list and review it regularly as the project progresses. 5. People matter - although......

Words: 13752 - Pages: 56

Proj 410 Final Exam Set 2

...PROJ 410 Final Exam Set 2 Purchase here http://homeworkonestop.com/PROJ%20410/proj-410-final-exam-set-2 Product Description 1. (TCO 1) A cost-plus-percentage-fee contract is a: _______. (Points : 5) cost-reimbursable contract, the seller pays the buyer's actual costs, and a percentage of the total project costs cost-reimbursable contract, the seller pays the buyer's actual costs, and all of the total project costs cost-reimbursable contract, the buyer pays the seller's actual costs, and a percentage of the total project costs cost-reimbursable contract, the seller pays the buyer's actual costs, and none of the total project costs 2. (TCO 2) The difference between the project manager and contract administrator is: ______. (Points : 5) the project manager is responsible for the project-related coordination, while the contract manager is responsible for administering the contract the contract administrator has the authority to make all contract-related decisions, like approving a change order. The project manager does not have this level of authority. the project manager is responsible for the administering of the contract, while the contract manager is responsible for project-related coordination. the project manager has the authority to make all contract-related decisions, like approving a change order. The contract administrator does not have this level of authority. 3. (TCO 3) Which is a key component in the project procurement management process?......

Words: 730 - Pages: 3

Proj 410 Final Exam Set 2

...PROJ 410 FINAL EXAM SET 2 To purchase this visit following link: http://www.activitymode.com/product/proj-410-final-exam-set-2/ Contact us at: SUPPORT@ACTIVITYMODE.COM PROJ 410 FINAL EXAM SET 2 PROJ 410 Final Exam Set 2 1. (TCO 1) A cost-plus-percentage-fee contract is a: _______. (Points : 5) cost-reimbursable contract, the seller pays the buyer’s actual costs, and a percentage of the total project costs cost-reimbursable contract, the seller pays the buyer’s actual costs, and all of the total project costs cost-reimbursable contract, the buyer pays the seller’s actual costs, and a percentage of the total project costs cost-reimbursable contract, the seller pays the buyer’s actual costs, and none of the total project costs 2. (TCO 2) The difference between the project manager and contract administrator is: ______. (Points : 5) the project manager is responsible for the project-related coordination, while the contract manager is responsible for administering the contract the contract administrator has the authority to make all contract-related decisions, like approving a change order. The project manager does not have this level of authority. the project manager is responsible for the administering of the contract, while the contract manager is responsible for project-related coordination. the project manager has the authority to make all contract-related decisions, like approving a change order. The contract administrator does not have this level of......

Words: 1551 - Pages: 7

Proj 410 Week 1 Dq 2

...PROJ 410 Week 1 DQ 2 To Buy This material Click below link http://www.uoptutors.com/proj-410/proj-410-week-1-dq-2 A project manager and a contract manager are both needed to administer a procured project or process. If you were the project manager, how would you work with a contract manager to ensure a successful procurement? In answering this question, consider such issues as, at what point you would want to get the contract manager involved in the project, what areas of the contract you would want to be his or her responsibility, how much and what types of communication you would want the seller (i.e., the contracted firm) to have with the contract manager, and who would handle conflicts that might arise with costs, schedules, or scope. Please remember to answer all components of the question. What are the differences between the project manager and contract manager? What knowledge should a project manager have and what knowledge should a contract manager have to perform the jobs? What do you think about hiring a project manager (PM)? What steps might you take to find the right contractor and project manager? Price used to be the main object, now we want a “buy best value” concept where price is just one factor. We also look at past performance, management, etc. What examples do you have about the way you contract your work? What are the six steps you would take in the project procurement management? In this era of cost containment and reduced budgets, we have......

Words: 416 - Pages: 2

Proj 410 Week 2 Dq 1

...PROJ 410 Week 2 DQ 1 To Buy This material Click below link http://www.uoptutors.com/proj-410/proj-410-week-2-dq-1 Assume that you have made the final payment on a one-acre residential lot that you purchased years ago to build your retirement home. You are now ready to build your dream home. This will be your ongoing project for the next couple of years. Which contract structure (fixed price, unit price, reimbursable) do you think that you would use to proceed with your project? Explain your choice. What are the four basic contract pricing options? What are five options of cost reimbursable contracts? In what situation a company is best to use a unit price contract?  In what situation, a company is best to use cost-plus-percentage-fee contract? What are the differences among a fixed price contract, a time and materials contract, and a reimbursable contract in terms of how well defined a BPO contract needs to be relative to price, scope and schedule prior to the commencement of any work/services? Class, do you feel the length of the contract also has some influence on the contract type you choose? Why or why not? What are the challenges for an owner in tracking a reimbursable contract? When does a contract manager prefer a fixed fee contract over a reimbursable contract (or vice versa)? How many companies do you think go through outlining their business objectives, and then use these to guide the selection of a contract structure, rather than letting financial......

Words: 320 - Pages: 2

Proj 410 Week 2 Dq 2

...PROJ 410 Week 2 DQ 2 To Buy This material Click below link http://www.uoptutors.com/proj-410/proj-410-week-2-dq-2 What are the differences among a fixed-price contract, a time-and-materials contract, and a reimbursable contract in terms of how well defined a contract needs to be relative to price, scope, and schedule prior to the commencement of any work? How much control over the project scope, price, and schedule should the contractor have under each contract type? How difficult is it to handle out-of-scope work with the 3 contract types (fixed price, time and materials, reimbursable) after an agreement has been executed? What do you see as the more common mistakes made by customers/clients or their procurement representatives as it relates to project planning and contract formulation? Now that you know the differences among a fixed price contract, a time and materials contract, and a reimbursable contract, let’s discuss some of the finer points to consider. Do you think a fixed price contract requires less management attention than a reimbursable contract? Why or why not? We typically hear of clients looking for the lowest price, and rarely does the term value come into the picture? Is it assumed that the value is there and is that a fair assumption most of the time? How do you differentiate a project plan from the project definition? To continue with the relevance of the project definition and project plan (schedule) to contracts: what components of the project......

Words: 363 - Pages: 2

Proj 410 Week 3 Dq 2

...PROJ 410 Week 3 DQ 2 To Buy This material Click below link http://www.uoptutors.com/proj-410/proj-410-week-3-dq-2 It is very common to find buyers who fail to identify the RFP evaluation criteria during the project procurement planning process, and in fact, do not define the evaluation criteria until after proposals have been received and the evaluation process is set to begin. What do you think is the risk of waiting until bids have been received to establish the evaluation criteria to be used to select a preferred contractor? Besides evaluating the risk of waiting until bids are submitted, also consider the question from the potential vendors’ point of view. Should vendors be aware of the evaluation criteria during the procurement phase, or after they have submitted their proposals/bids? Finding buyers that fail to identify the RFP evaluation criteria during the project procurement planning process would hurt schedule and scope. Besides, if you get the proposals and read them before you create evaluation criteria, you run the risk of consciously or subconsciously creating evaluation criteria based on what you’ve read which could create a bias towards one of the proposals. Finally, without having your criteria set ahead of time, there is a high risk of setting yourself up with a bias opinion on proposals and not having an even playing field for others that come in. Qualifications are important, but so are the fees. So many companies are focused on savings, how could......

Words: 446 - Pages: 2

Proj 410 Week 5 Dq 2

...PROJ 410 Week 5 DQ 2 To Buy This material Click below link http://www.uoptutors.com/proj-410/proj-410-week-5-dq-2 For most industries, globalization is arguably one of the more common business trends of the last decade. As your text indicates, there are several considerations that must be evaluated from a contracting standpoint relative to multi-nation operations and contracting agreements. Let’s take the various contracting considerations presented in your text (and outlined in this week’s slides), and discuss how they can affect U.S.-based firms seeking a BPO or subcontracting agreement with a foreign company on a region-by-region basis, including: Canada, Europe, Asia, South/Central America, Canada, and Mexico. Based on your understanding and/or experiences in these other regions of the world, what do you think are contracting considerations that should be considered and addressed in the BPO contract? Which region do you feel has a culture that is most different from the U.S.? Cite an example of how it is different. Can you expand on some of the differences in banking industry that may exist as we expand overseas? How often do you think companies fail to understand the business culture of the foreign countries they work in? I believe that at first many firms fail to understand the culture of the foreign countries that they are contracting with – and vice versa. However,  if a firm can weather through the initial learning curve – and is OPEN to change – then......

Words: 459 - Pages: 2

Proj 410 Week 5 Dq 2

...PROJ 410 Week 5 DQ 2 To Buy This material Click below link http://www.uoptutors.com/proj-410/proj-410-week-5-dq-2 For most industries, globalization is arguably one of the more common business trends of the last decade. As your text indicates, there are several considerations that must be evaluated from a contracting standpoint relative to multi-nation operations and contracting agreements. Let’s take the various contracting considerations presented in your text (and outlined in this week’s slides), and discuss how they can affect U.S.-based firms seeking a BPO or subcontracting agreement with a foreign company on a region-by-region basis, including: Canada, Europe, Asia, South/Central America, Canada, and Mexico. Based on your understanding and/or experiences in these other regions of the world, what do you think are contracting considerations that should be considered and addressed in the BPO contract? Which region do you feel has a culture that is most different from the U.S.? Cite an example of how it is different. Can you expand on some of the differences in banking industry that may exist as we expand overseas? How often do you think companies fail to understand the business culture of the foreign countries they work in? I believe that at first many firms fail to understand the culture of the foreign countries that they are contracting with – and vice versa. However,  if a firm can weather through the initial learning curve – and is OPEN to change – then......

Words: 459 - Pages: 2

Proj 410 Week 7 Dq 2

...PROJ 410 Week 7 DQ 2 To Buy This material Click below link http://www.uoptutors.com/proj-410/proj-410-week-7-dq-2 One of the most frustrating aspects of contract management to customers/clients is the length of time that it commonly takes to close out a project (from an administrative standpoint) after most or all of the contract scope of work has been completed. The closeout is the fourth phase in the generic project life cycle where all outstanding contractual issues are completed and documented in preparation for turning over the product or service to the customer. What are some of the activities that need to be performed as part of the contract closeout functions? What do you think are some of the factors that cause such a length in delay in the closure of the project/contract? Closeout is completed when all administrative actions have been completed, all disputes settled, and final payment has been made. Who do you think typically drags out the close-out process, the owner or the vendor? Support your answer. Another problem that often arises is that the Project Manager is assigned to a new project/contract during the close-out phase, and naturally he/she becomes more preoccupied with the new assignment. Have you heard the term “Close-out Managers” in any of your PM courses? If yes, what do you recall is the role of these managers? If you have not heard the term before, what do you think it refers to? What is a close-out function or responsibility (i.e., something......

Words: 284 - Pages: 2

Proj 592 Week 2 Course Project

...PROJ 592 Week 2 Course Project Follow Below Link to Download Tutorial http://homeworklance.com/downloads/proj-592-week-2-course-project/ For More Information Visit Our Website ( http://homeworklance.com/ ) Email us At: Support@homeworklance.com or lancehomework@gmail.com Course Project Part 1— Due Friday Jan 15 For Part 1 of the Course Project, assume you have been appointed project manager of a new project for your organization. Your first assignment is to create a scope statement and WBS for this project.Course Project > Guidelines Objectives This Course Project will provide you with practical experience in applying the skills, tools, and methodologies contained in the coursework for PROJ592. You will be generating a detailed project plan, including a project scope statement, work breakdown structure, schedule, cost estimates, and corrective action plans. In Part 1 (CP-1), you will select a project that requires sufficient detail to demonstrate your understanding of course concepts and provide a scope statement and WBS for this project. In Part 2 (CP-2), you will be provided other details for a new project. In Part 3 (CP-3), you will create corrective actions plans for a project. The Course Project requires modest use of Microsoft Project software that is available from the Student Software Store under Course Home. You may use either the 2010 or the 2013 version of MS Project–the differences are minor and do not impact the assignment. See also the Project...

Words: 578 - Pages: 3

£0 Shipping | Kindle-boeken | Norwegian Techno 101