Premium Essay

Programming 2 Project

In:

Submitted By JeviEnuh
Words 523
Pages 3
School of Computing and Information Technology Programming II () 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 in the integer array it was found, else display a message telling the user that the key was not found.

Similar Documents

Premium Essay

Web Design Proposal

...Our team has reviewed your business requirements and has prepared the following detailed proposal. Given our experience and specific expertise in design, usability, programming, SEO, and marketing, we are confident that we can work with you to achieve your aims and goals. Please let me know if you have any questions. We look forward to working with you! ------------------------------------------------- TABLE OF CONTENTS Overview 4 Solutions, Scope of Work, and Deliverables 5-6 1. Preliminary Research 2. Strategic Planning 3. Interface Design - Graphic Design Work 4. Web application Front End Programming 5. Web application Back-end Development 6. Quality Assurance and Launch 7. SEO, Web Promotion, Statistics and Reporting Maintenance and Hosting 7 Fees – special recession rates 8 Payment plan and turn-around time 9 Noam Design Qualifications, responsibilities and commitment 10-11 1. Cutting Edge Technologies & Open Source Philosophy 2. Our experience 3. Our Clients 4. No outsourcing. Period. 5. The team allocated to this project 6. Our Website Your responsibilities 12 Next Steps 12 ------------------------------------------------- OVERVIEW General: The purpose of the project is to execute a complete design & development of a professional Ecommerce website for Client...

Words: 2413 - Pages: 10

Free Essay

Research Paper on Extreme Programming

...Contents Statement of research problem 2 Context or background to the research problem 2 Literature survey 3 Research Methods 4 Research Justification 7 Conclusion 7 Bibliography 8 Statement of research problem The purpose of this study is to find out if the adoption of Extreme programming in a learning environment has improved student productivity. It is a software development process used by small teams who have rapidly changing requirements. With regard to students, all students that are studying software development modules are also faced with this problem where by the requirements are continuously changing as they get deeper within their project. This paper is to show if extreme programming is actually helping students become more productive regardless of the ever changing requirements. Context or background to the research problem In this day and age the most widely used form of agile development in software development is extreme programming which was proposed by Kent Beck in 1996. Many parameters contribute to the success of XP. Researchers concluded that using XP in an educational domain has many benefits, where they have seen that less skilled students were able to show more progress than they would have if a traditional methodology were used.(Assassa, Mathkour, & Al Dossari). XP offers a number of practices, values and principles which are advised to be adopted in order to run a software development project(Assassa et al., 2006). These values include...

Words: 2047 - Pages: 9

Premium Essay

Linear Optimization in Retail Settings

...studied mathematical formulas that would allow me to find the optimal solution. In this paper, I will use both linear optimization and goal programming to take a number of sets of data to analyze and discover the optimal use of various constraints of resources. The paper will be divided into three different sections with a specific method applied in the first two sections, and a final section to describe the possible errors in the solutions presented in the prior two sections. In the first section, I will use linear optimization to take various sets of resources and distribute them appropriately among various products to find the best allocation to achieve maximum revenues. Linear optimization is the name of a branch of applied mathematics that deals with solving optimization problems of a particular form.1 Put simply, linear programming is finding the best outcome possible using a linear mathematical model. The constraints are linear inequalities of the variables used in the cost function. This method is the best available and of the most use given the present goal of achieving the maximum revenue possible for the company. In the second section, I will use goal programming to take into account the second set of constraints that faces many companies—labor. Since ALDI was a private company that sold its 1 Schulze, Mark A. "Linear programming for optimization." Perceptive Scientific Instruments, Inc (1998). 3 own manufactured products, I also had to study the labor that was utilized...

Words: 3424 - Pages: 14

Premium Essay

Application of Management Science in Business

... The range of problems and issues to which management science has contributed insights and solutions is vast. It includes scheduling airlines, both planes and crew, deciding the appropriate place to site new facilities such as a warehouse or factory, managing the flow of water from reservoirs, identifying possible future development paths for parts of the telecommunications industry, establishing the information needs and appropriate systems to supply them within the health service, and identifying and understanding the strategies adopted by companies for their information systems. Scientific Planning Successful management relies on careful coordination, often using scientific methods in project planning. For example, critical path analysis allows us to identify which tasks in a project will take the longest or adversely affect the length of other tasks, permitting us to focus on those tasks. Computer models can also help we determine utilization and recommend more effective usage. In addition, this type analysis allows us to develop proactive strategies for handling outages and...

Words: 3150 - Pages: 13

Free Essay

Computers

...Programming Assignment 1 (Submit by Sunday of Week 6) Preliminary Steps 1. Invoke Visual Basic by following the directions in section 2.2, pp. 20– 23. 2. Perform the text box, button, label, and list box walkthroughs, pp. 23– 30. 3. Perform the event procedure walkthrough, pp. 38–43. Programming Exercises Do the following exercises from An Introduction to Programming Using Visual Basic 2010. a. Exercise no. 70, p. 67 b. Exercise no. 40, p. 82 To submit your assignment, first create a ZIP file of the application folder for each exercise (see “Appendix: A Note on Submitting Programming Assignments” at the end of the syllabus). Then upload and submit both ZIP files (compressed folders) to the assignment link provided in the Assignments area of the course Web site. S-18 ASSIGNMENT MODULE 5 Learning Objectives After successfully completing this assignment, you should be able to:  Write programs in Visual Basic 2010 while being guided by the six steps of the program development cycle: analyze the problem, design a solution, choose the interface, write code, test and debug your solution, and document your code.  Incorporate input and output methods, including reading data from sequential files, obtaining user input to input boxes, and displaying boxes, and displaying messages in message boxes. Study Assignment Assigned Reading  Read chapter 3, section 3.3, in An Introduction to Programming Using Visual Basic 2010, 8th ed., by Schneider.  Read the...

Words: 660 - Pages: 3

Premium Essay

Project Management Scope

...Project Scope Document Human Resources Information System Project Scope Document GenRays January 1, 2013 Table of Contents Project Scope Description Customer Requirements Statement of Work Project Deliverables Acceptance Criteria Work Breakdown Structure Project Boundaries Project Assumptions Initial Defined Risks and Constraints Project Approval Project Scope Description GenRays wants to implement a centralized Human Resources Information System with payroll functionality. This new system will allow HR staff to return to company HQ from their temporary locations required to support the current HR and payroll systems. The HRIS will also aid in recruiting, hiring, performance reviews, employee career tracking, payroll, and expense reporting. The employee database and e-forms functionality will save an estimated $46,250 using the auto-fill capability. Combining the HR and payroll functions onto a single system will also save significant time and money. The project will include vendor selection, server hardware installation, networking, server software installation, custom configuration and programming, and user desktop software installation. Each phase will require testing and signoff. The beta rollout for the HRIS will include the HR and Finance departments. HR and Finance team members will evaluate the system for 4 weeks. Results will be reported back to the control board and must be signoff by the board to proceed...

Words: 1244 - Pages: 5

Premium Essay

Ceis100 Entire Course

...purchase this tutorial visit following link: http://wiseamerican.us/product/ceis100-entire-course/ Contact us at: SUPPORT@WISEAMERICAN.US CEIS 100 All Weeks Discussions CEIS 100 Week 1 Course Project Problem Solving • Describe a scenario where you were unable to solve a problem. What stopped you, and what could you have done instead? Did you use the five steps in problem-solving discussed in the lecture? CEIS 100 Week 2 Course Project Networking • How would you define a network? What is bandwidth? What is a NIC? List three types of media used for network connections. • Describe a situation in which you needed to access a network and had difficulty. What steps did you take to access the network? If you have not run across this, give an explanation of a network you used and some benefits of using the network. • How will networking impact you in your professional life? CEIS 100 Week 2 iLab Report Laboratory Title: Determining what will make the Raspberry PI computer a functioning piece of equipment and obtain the necessary components. • Objectives: (What was the purpose of this lab? What did you expect to find?) • Results: (What did you find?) • Conclusions: (What does this mean? How can this be used? What implications can I draw from this?) CEIS 100 Week 3 Course Project Excel uses and Gaming • Give an example of a situation for which would need a spreadsheet. How would functions be useful in your spreadsheet? • Describe your favorite game and discuss the ways...

Words: 569 - Pages: 3

Free Essay

Management

...1802 marian@ dcs.shef.ac.uk Abstract This paper presents an early empirical study on Extreme Programming practices employing a qualitative action research method. The study was conducted on university students doing real commercial development projects to gain an insight into the problems faced by the new developers in adopting these agile practices. The aim of the study was to investigate the effects of the XP practices on the quality of software developed. What emerged from the analysis was the positive relationship between number of XP practices employed and the quality of software delivered as perceived by the clients. Keywords Agile methodology, action research, contentanalysis, empirical study, Extreme Programming, positivist approach, qualitative, XP teams and traditional methods teams but for the purpose of this study, focus was only made on the XP project teams. METHODOLOGY Respondents The Software Hut class consists of the 2nd year undergraduate students from Computer Science and Engineering degrees, and 3rd year students from Math and Computer degree. The computer science students were required to complete all the subjects in Level 1 and the first semester of Level 2 subject before enrolling in the Software Hut class. The subjects which are related to the Software Hut projects are Introduction to Programming, Requirement Engineering, Object Oriented Programming and System Design and Testing modules in the...

Words: 3439 - Pages: 14

Premium Essay

Geting It Together

...Development 1 Table of Contents ← Chapter Overview ← Learning Objectives ← Notes on Opening Case and EOC Cases ← Key Terms 2 Chapter Overview There are two closely related yet independent concepts in this chapter. The first important concept is that there are two types of Systems Development Life Cycle approaches—a predictive approach and an adaptive approach. The second important concept is that there are two types of development methodologies—a structured approach and an object-oriented approach. These are two separate concepts. Projects can be any mix of these two approaches, the approach to the life cycle and the approach to the methodology—predictive with structured, predictive with object-oriented, adaptive with structured, or adaptive with object-oriented. The chapter first presents and explains the differences in the life cycle approach—the predictive and the adaptive approaches. These two approaches are really a continuum and any give project may have elements of both approaches. The predictive approach to the SDLC is used for projects that are well understood and low risk. The adaptive approach to the SDLC is used for projects that are not well understood and are higher risk. Adaptive SDLCs are more iterative and allow the project team to adapt the project to changing circumstances. The other important concept that you should learn from this chapter are the difference between the two main methodologies to system development...

Words: 3771 - Pages: 16

Premium Essay

Saylor

...assays on software. Software has a long history and as far as the facts are known to us we will give them to you. When missing stories, data, or other information are shared to us they will be put on this site. If you have any comments of suggestions regarding this page or any other page please do not hesitate to contact us. A simple question: "What is software?" A very simple answer is: Hardware you can touch, software you can't. But that is too simple indeed. Source URL: http://www.thocp.net/software/software_reference/introduction_to_software_history.htm Saylor URL: http://www.saylor.org/courses/cs101/ Attributed to: The History of Computing Project www.saylor.org Page 1 of 23 But when talking about software you talk about programming and programming languages. But about producing and selling the products made by programming (languages) as well. There are over 300 different ("common") computer languages in existence, apart from the various dialects stemming from one of them. Most of them can be classified in definable groups, but others don’t belong to anything. Some because they are rather new or the use of them was or is never wide spread and only used by a small specialized professionals or groups of scientists requiring these dialects. This is often the case with a specific language that was designed for just one purpose, e.g. telecommunication or supercomputing. Some languages are even dead languages, some others are revived and expanded upon again, and there are...

Words: 5456 - Pages: 22

Premium Essay

Cis 517 Assignment 2 Waterfall and Agile

...CIS 517 ASSIGNMENT 2 WATERFALL AND AGILE To purchase this visit here: http://www.activitymode.com/product/cis-517-assignment-2-waterfall-and-agile/ Contact us at: SUPPORT@ACTIVITYMODE.COM CIS 517 ASSIGNMENT 2 WATERFALL AND AGILE Research agile methodologies including SCRUM and extreme programming (XP). Write a two to three (2-3) page paper in which you:  Explain waterfall methodologies and identify their relationship to the PMBOK® process groups.  Explain agile methodologies and identify their relationship to the PMBOK® process groups.  Analyze the need for waterfall and agile methodologies.  Explain the advantages of extreme programming (XP) and analyze the advantages of its application in high-budget short-time projects.  Explain the factors to consider when selecting a project management methodology (Waterfall vs Agile).  Use at least two (2) quality resources in this assignment. Note: Wikipedia and similar Websites do not qualify as quality resources. Your assignment must follow these formatting requirements:  Be typed, double spaced, using Times New Roman font (size 12), with one-inch margins on all sides; citations and references must follow APA or school-specific format. Check with your professor for any additional instructions.  Include a cover page containing the title of the assignment, the student’s name, the professor’s name, the course title, and the date. The cover page and the reference page are not included in the required assignment page...

Words: 760 - Pages: 4

Premium Essay

Hci Project

...14CSCI13H Title: Graduation Project Modular weight: 30 Examination weighting: 0 % Prerequisite modules: Any analysis, design and programming module Reassessment: No restrictions, Module Leader: ICS academic staff Semester taught: 1 and 2 Key words: Final year project, Conclusion project. Date of latest revision: May 2014 Aims The aim of this module is to allow students to develop and demonstrate their investigative and research skills and to demonstrate their analysis, design, planning, evaluation, and programming skills acquired in previous modules, by applying what they have learned to a substantial problem in Software Development. Intended Learning Outcomes On completion of this module students should be able to: Knowledge and understanding 1. Demonstrate a requisite understanding of the main body of knowledge for their programme track where applicable to the undertaken project;[3] 2. Understand any new knowledge acquired for the direct purpose of developing the undertaken project;[5] Subject-specific skills 3. Plan the development of, and progress towards, a solution to a problem, (this can include computer systems, information systems, software engineering, computer networks, embedded systems and distributed systems);[8] 4. Apply appropriate theory, practices and tools for the design, implementation and evaluation of the project showing judgement in the selection and application of tools and techniques; and to plan the testing and/or evaluation of the project (functionality, usability...

Words: 584 - Pages: 3

Premium Essay

Can Design Improve Construction Safety?: Assessing the Impact of a Collaborative Safety-in-Design Process

...Collaborative Safety-in-Design Process Marc Weinstein1; John Gambatese, M.ASCE2; and Steven Hecker3 Abstract: This paper analyzes the impact of a large-scale safety-in-design initiative during the design and construction of a semiconductor manufacturing facility in the Pacific Northwest of the United States. Drawing on multiple data sources including individual interviews, group interviews, construction documentation, and an expert panel involved in the initiative, the writers identify 26 potential design changes on the project and assess the importance of timing, trade contractor involvement, and the type of design change in determining whether a proposed design change was ultimately integrated into the final construction plans. The writers further consider whether adopted design changes would have occurred in the absence of the safety-in-design initiative and whether the accepted design changes ultimately impacted construction site safety on the project. This analysis of a full-scale safety-in-design initiative provides important insights into how injury prevention efforts in the construction industry can begin upstream by involving designers, engineers, and trade contractors in preconstruction processes. DOI: 10.1061/ ASCE 0733-9364 2005 131:10 1125 CE Database subject headings: Construction management; Design; Safety; Injuries; Accident prevention. Introduction The notion that the safety of construction worksites can be increased through better design is both intuitively...

Words: 9270 - Pages: 38

Free Essay

A Multi-Stakeholder Industrial Projects Selection: an Analytic Hierarchy Process and Zero-One-Goal Programming Approach

...A MULTI-STAKEHOLDER INDUSTRIAL PROJECTS SELECTION: AN ANALYTIC HIERARCHY PROCESS AND ZERO-ONE-GOAL PROGRAMMING APPROACH Salah R. Agha School of Industrial Engineering, Faculty of Engineering, Islamic University-Gaza, Gaza Strip, Phone: 970-599-746-533, aghasr@yahoo.com ABSTRACT This study uses Analytic Hierarchy Process (AHP) and Zero-One Goal Programming(ZOGP) to select the most favorable industrial projects from the viewpoints of three stakeholders, namely, govern mental, consultants and academics. Therefore, it is the purpose of this paper to help reach a consensus among the stakeholders for selecting certain projects using weights obtained by AHP as inputs to (ZOGP) model. This is first done by identifying the projects from each individual stakeholder's viewpoint. Further, an aggregate model that simultaneously combines the viewpoints of the three stakeholders is built assuming that the three stakeholders have equal weights. Results show that the aggregate model does strike a balance not only among the conflicting criteria, but more importantly, it strikes a balance among the different stakeholders. Therefore, the aggregate model would make it easier for stakeholders to reach a consensus. Keywords: Multi Criteria Optimization; Project Prioritization; Integrated AHP-ZOGP; Multi-stakeholder. 1. Introduction Traditional methods used in project selection usually justify the projects using low level capital budgeting which works well for investments with clearly...

Words: 3071 - Pages: 13

Premium Essay

Digital Marketing

...distributed programming paradigms, parallel algorithms, and scientific and other applications of parallel and distributed computing. In lecture/discussion sections, students examine both classic results as well as recent research in the field. The lab portion of the course includes programming projects using different programming paradigms, and students will have the opportunity to examine one course topic in depth through an open-ended project of their own choosing. Course topics may include: multi-core, SMP, MMP, client-server, clusters, clouds, grids, peer-to-peer systems, GPU computing, scheduling, scalability, resource discovery and allocation, fault tolerance, security, parallel I/0, sockets, threads, message passing, MPI, RPC, distributed shared memory, data parallel languages, MapReduce, parallel debugging, and applications of parallel and distributed computing. Class will be run as a combination of lecture and seminar-style discussion. During the discussion based classes, students will read research papers prior to the class meeting that we will discuss in class. During the first part of the course, we will examine different parallel and distributed programming paradigms. During the second part of the course, students will propose and carry out a semester-long research project related to parallel and/or distributed computing. The department's gigabit cluster, two eight processor workstations, as well as the CS lab machines, are available for course projects. Previous...

Words: 765 - Pages: 4