Free Essay

Module 6

In:

Submitted By leonardcrowder1
Words 256
Pages 2
Multiple Choice 1 through 10 starting on page 267
1) B
2) D
3) A
4) C
5) B
6) B
7) C
8) B
9) A
10) A

Algorithm Workbench 1 through 3 problems on page 269
1)
Declare integer rand set rand = random (1, 100) Display rand
End function
2)
Display “Enter a number” Input number Set number = number /2 Display “The half of”, number, “is” Display “Press Enter to continue” Function half (Integer number) Return number
End function

3)
Function Integer cube (integer num)
Declare Integer num Display “Enter a number” Input num Return num * num
End function

Debugging Exercises (1 through 3) starting on page 269
1) Correct way
// This program displays three random numbers in the range of 1 through 7.
Declare Integer count

// Display three random numbers For count = 1 to 3
Display random(7,1)
End For
2)
Wrong way – Return discount Correct way – Return discountPrice
3)
Wrong way - Display "10 percent of ", value, " is ", result
Correct way - Display "10 percent of ", value, " is ", result*.1

Programming Exercise number 1 on page 270
Variables
Rectangles height and length Rectangles area

IPO Chart iNPUT | PROCESS | OUTPUT | Rectangle heightRectangle length | Multiply Height * Length | Rectangle Area |

Hierarchy Chart
Main
Main

Display area
Display area
Calculate height*length
Calculate height*length
Find rectangle area
Find rectangle area

Pseudocode
Module Main()
Declare height, length, area, perimeter as float Display “Enter rectangle height: “ Input height Display “Enter rectangle length: “ Input width area = calcArea(height, length) perimeter = calcPerimeter(height, length) Display results(area, perimeter)
End Main

Similar Documents

Free Essay

Module 6: Hormones

...Module 6: Hormones Question 1: Alice is a 70 year old woman with low vitamin D levels who recently broke a hip. She has osteoporosis. She was given several medications to try to improve bone density, however, they were unsuccessful as she could not tolerate the medications. What hormone might she be given to treat the osteoporosis? How does this medication help? How would this be effected by a low TSH? Osteoporosis is a disease in which excessive loss of calcium from the bones occur without adequate replacement, due to the calcium loss bones become weak and are more likely to break (Scanlon & Saunders, pg 129b). Estrogen is classified as a sex hormone but it is also essential for female bone health because it promotes the activity of osteoblasts. Estrogen supplementation is a form of hormone replacement therapy that is approved by the FDA in the treatment of osteoporosis because it slows down bone loss and increases bone density. Estrogen supplementation may lower TSH levels in women with hypothyroidism triggering hypothyroid symptoms, such as low energy and feeling tired, sluggish, and cold, or to put them at risk for regrowth of thyroid cancer. While using estrogen supplements patients thyroid panel should be monitored routinely and doses of thyroid hormone medication adjusted appropriately. Question 2: Darren is a 15 year old, tall for his age, but he wants to build more muscle. He decides that he will eat only protein foods, because he says, “muscle is protein, so...

Words: 873 - Pages: 4

Premium Essay

Module 6 Lab1

...To troubleshoot a network connection problem, try these steps first: Open Network Diagnostics by right-clicking the network icon in the notification area, and then clicking Diagnose and repair. Make sure that all cables are properly connected. If you're trying to connect to another computer, make sure that computer is on and that you have enabled file and printer sharing on your network. For more information, see Networking home computers running different versions of Windows. If the problem began after you installed new software, check your connection settings to see if they have been changed. To check connection settings If these steps don't solve the problem, look for a specific problem in the following table. Problem Possible solutions Can’t connect to other computers or share files and printers on a home network Make sure network discovery is turned on. To turn on network discovery Make sure you have shared the files or printers. To share files and printers If password protected sharing is enabled, you have two options. More information Make sure the computer that you want to connect to has at least one shared folder. Make sure all computers are in the same workgroup. See Join or create a workgroup. In addition to enabling file sharing, make sure you set sharing properties on the folder or printer you want to share. More information Go to the website of your router manufacturer to download and install the latest firmware for your router. Can't connect...

Words: 608 - Pages: 3

Free Essay

Mr. Pfunzo

...FACULTY OF MEDIA, INFORMATION & COMMUNICATION TECHNOLOGY DEVELOPMENT SOFTWARE 511 Due Date: Chapters Covered: 6 MAY 2013 An overview of computers and programming Working with data, creating modules and designing High Quality programs Understanding Structure Modularization Making Decisions Designing & Writing a complete program Looping Arrays File Handling & Applications 100 DIP-DS 511 Maximum Marks: Unique Assignment Number: Background This assignment is based on the content to be covered in the first semester. Naturally all material provided or prescribed will be used. Purpose: The purpose of the assignment is to: a. Ensure that you come to thorough grip with content, in particular of the provided or prescribed material and b. Gain an in depth understanding of the core concepts and the significance of the theories discussed in the module. PC TRAINING & BUSINESS COLLEGE 1 HIGHER EDUCATION AND TRAINING FACULTY OF MEDIA, INFORMATION AND COMMUNICATION TECHNOLOGY DIPLOMA IN INFORMATION TECHNOLOGY ASSIGNMENT COVER SHEET: DEVELOPMENT SOFTWARE 511 Name of Learner…………………………………………………….… Student No: ………………………….. Module…………………………………………………………………..…Date: …………………………………….. ICAS Number……………………………………………………………..Year: …………………………………….. ASSESSMENT CRITERIA Question Number 1 2 3 4 Total Examiner’s Comments Mark Allocation 30 40 20 10 100 Examiner’s Mark Moderator’s Marks Moderator’s Comments NB: All Assignments will be handled in as it forms part of continuous assessment...

Words: 699 - Pages: 3

Free Essay

Yolo

...Instructions for CITI Training 1. Login to www.citiprogram.org 2. Look under “My Learner Tools for Oakland University” 3. Click “Add a Course or Update Learner Groups” 4. Under Question 1 select “Student and Faculty Advisor” 5. Under Question 2 leave everything blank (uncheck all boxes) 6. Under Question 3 select “Not at this time” 7. Under Question 4 leave everything blank 8. Under Question 5 select “Not at this time” 9. Under Question 6 select “No” 10. Under Question 7 leave everything blank 11. Under Question 8 select “Not at this time” 12. Click Submit 13. Under “Oakland University Courses” you should now see “Student and Faculty Advisor Basic/Refresher”. Click on it. 14. Under “Student and Faculty Advisor Basic/Refresher-Basic Course click “Complete The Integrity Assurance Statement before beginning the course” 15. Agree to the Conditions of use 16. Under Required Modules, click the first available link. 17. Complete the module and take the quiz (if applicable) 18. Receive at least 85% on the required quiz 19. Click “Go to the next required module” 20. Repeat steps 17-19 until all modules are complete 21. Click “Main Menu” at the top of the screen, under the “CITI Program” logo. 22. Under “Status” the “Student and Faculty Advisor Basic/Refresher course should now be marked as “Passed” with the completion date next to it. 23. Click “Print Report” 24. Save the document as a PDF ...

Words: 299 - Pages: 2

Premium Essay

Air Canada Takes Off with Maintenix

...stations around the world. Mxi claims that their software reduces repetitive tasks and time chasing missing or incomplete information by allowing maintenance, engineering, and finance divisions to easily share information. This assures the improvement of operational efficiency. • Maintenix can supply data to the company’s existing enterprise resource planning and financial software. • Wireless deployment also make Maintenix more effective, since aviation technicians, equipment, and parts are always on the move. • All of the information provided by Maintenix’s various modules is located in one place. This results in more rapid scheduling and avoids pitfalls of poorly organized information systems. 3) Give examples of three decisions supported by the Maintenix system. What information do the Maintenix modules provide to support each of these decisions? Maintenix software package consists of 6 different modules which are separate segments of the product and interconnect. • The Maintenix engineering...

Words: 452 - Pages: 2

Free Essay

It Memory Installation

...the system or systems being updated. 2. Pull the allotted memory upgrades from our warehouse and proceed to your specified area of operation. 3. Power down the unit(s) and remove all connections from the system. 4. Locate and procure a clean and clear area to process the work order. 5. Pull cover from system and clean the unit of dust and other materials with your kit. 6. Wash and dry hands thoroughly and put on company issued static shield bracelet. 7. Carefully pull each individual RAM stick from the motherboard and place the dated hardware in the shield sleeves from your kit. 8. Clear all connections or components that may obstruct your path to the motherboard. 9. If removal of any hardware is necessary, place each component into a protective shield sleeve from your kit. 10. Unpack all memory modules one at a time for installation. “Handle memory modules with care” and “don’t stack cards or modules because you can loosen a chip” (A+ Guide to Managing and Maintaining Your PC, Jean Andrews, Ch. 7, page 293) 11. Ensure the notches in the RAM module are a match...

Words: 488 - Pages: 2

Premium Essay

Training Guide Fastreact

...same for both: admin. User names and passwords are not case sensitive. It is a good idea to change the password to something that only you know. To amend the ‘admin’ user’s password: Ø Ø Ø Ø On the ‘Account management’ tab ensure that the username ‘admin’ is shown in the drop down box for ‘Login name’ Enter a new password in the ‘Password’ field Enter the new password again in the ‘Confirm password’ field Click the Password button Please make a note of this password as it may only be cleared by Fast React Systems Ltd or their appointed agents. Administrative functions: The administrative functions within this training course provide the ability to: Ø Ø Ø Ø Ø Create and delete student logins Rename student login names View the final module databases View all students and their respective scores Change the working folder location Each of these areas is addressed below. Creating student logins The training database starts with no student accounts configured. To create new student accounts: Ø On the ‘Account management’ tab click on the Create new login button...

Words: 3367 - Pages: 14

Premium Essay

Hci Project

...Module Specifications 2014/15 Module Code: 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...

Words: 584 - Pages: 3

Free Essay

Unit 4 Labs

...Unit 4 Labs Introduction to Programming Mr. Nguyen Lab 4.1 – Pseudocode and Modules Module main ( ) //Declare local variables 1. Declare String clientName 2. Declare Real feetUTP 3. Declare Real subtotal 4. Declare Real taxCost 5. Declare Real totalCost //Module calls 6. Module inputData ( ) 7. Module calcCosts ( ) 8. Module displayBill ( ) End Module //this module takes in the required user input There will //be a display and input for each variable Module inputData (Real Ref feetUTP, String Ref clientName) 9. Display “What is your name? “ 10. Input clientName 11. Display “How many feet of UTP do you need? “ 12. Input feetUTP End Module //this module calculates subTotal, taxCost, and totalCost //you also need feetUTP passed in to calculate subTotal Module calcCosts (13. subTotal, taxCost, and totalCost) 14. subTotal = feetUTP * 0.21 15. taxCost = 0.06 * subTotal 16. totalCost = taxCost + subTotal End Module //this module displays clientName and totalCost Module displayBill (17. clientName, and totalCost) ` 18. Display “clientName” 19. Display “totalCost” Lab 4.2 - Flowcharts and Modules Lab 4.3 – Visual Basic and Modules Module Module1 Sub Main() Dim clientName As String = "NO VALUE" Dim feetUTP As Double = 0 Dim subTotal As Double = 0 Dim taxCost As Double = 0 Dim totalCost As Double = 0 inputData(clientName...

Words: 491 - Pages: 2

Free Essay

Class

...Hi Students, Welcome to the Fall Semester! Here are your assignments for Week 1, beginning August 19. Read Chapter 1 in the Schermerhorn textbook. Listen to and study the PowerPoint slides for Module 1. These links are also in your BB menu under PowerPoint Modules. • Module 1 http://ucmconnect.ucmo.edu/p14239331/ Do the self-assessment, 21st Century Manager, for the Module. You will find them at the textbook web site at www.wiley.com/college/schermerhorn (click on your textbook, then click on “Visit companion sites,” next click on “Student companion site.” Remember to post your comments and reflection about the assessment either in an online journal or off line. You may use the information later in a memo. The case for Module 1 in the back of your textbook: Always do the first 3 discussion questions. Do not do Question 4. Page 416 Trader Joe’s Each member on your team should post/reply 6 times. Please complete your posts/replies by 11:30 p.m. on Thursday August 22. For instructions please refer to BB Assignments. Do the Web Quizzes for this chapter/module. Note: The first online test will be over Chapters 1, 2, 3, & 4 on Sept. 12 from 8 a.m. to 8 p.m. Please check your schedule and adjust accordingly. The test will open in “Tests” in BB at 8:00 a.m. on Sept. 12 (not a minute before). Also, you should plan to meet in the scheduled classroom during your class time on Sept. 17 for an activity. Points will be assigned for the activity. ...

Words: 295 - Pages: 2

Free Essay

Module 6 Homework Assignment

...Module 6 Homework Assignment Click Link Below To Buy: http://hwcampus.com/shop/module-6-homework-assignment/ An investigator analyzed the leading digits of the amounts from 200 checks issued by three suspect companies. The frequencies were found to be 68, 40, 18, 19, 8, 20, 6, 9, 12 and those digits correspond to the leading digits of 1, 2, 3, 4, 5, 6, 7, 8, and 9, respectively. If the observed frequencies are substantially different from the frequencies expected with Benford's law, the check amounts appear to be the result of fraud. Use a 0.05 significance level to test for goodness-of-fit with Benford's law. 1. Calculate the ?2 test statistic. Solution: Instructor Comments: 2. Calculate the ?2 critical value. Solution: Instructor Comments: 3. Is there sufficient evidence to conclude that the checks are the result of fraud? Solution: Instructor Comments: Alert nurses at the Veteran's Affairs Medical Center in Northampton, Massachusetts, noticed an unusually high number of deaths at times when another nurse, Kristen Gilbert, was working. Kristen Gilbert was arrested and charged with four counts of murder and two counts of attempted murder. When seeking a grand jury indictment, prosecutors provided a key piece of evidence consisting of the table below. Use a 0.01 significance level to test the defense claim that deaths on shifts are independent of whether Gilbert was working. Shifts With a Death Shifts Without a Death Gilbert Was Working 40 217 Gilbert...

Words: 289 - Pages: 2

Free Essay

Fitter Snacker

...Fitter Snacker Clients for the SAP University Alliance Prepared by: Bret J. Wagner, Ph.D. Director, Integrated Supply Management Program Western Michigan University Kalamazoo, MI 49008 Phone: 269 387-5222 Fax: 269 387-5710 Cell: 269 271-9903 e-mail: bret.wagner@wmich.edu 1. Fitter Snacker Clients There are four versions of the Fitter Snacker Database client available for Student Exercises. In this document, the term Fitter Snacker Client will be used for the completely configured Fitter Snacker company. In addition to the Fitter Snacker Client, there are three other clients that are partially configured versions Fitter Snacker Client that can be used to teach SAP configuration. These clients are copies of the Fitter Snacker Client that were made during the development of the Fitter Snacker Client. The Fitter Snacker Client was created using the Dolphin Group configuration training document as a template. While there are significant differences between the Dolphin Group (and BPI) configuration classes, these are primarily in terms of the business context, although changes were made to make sure that each company in the Fitter Snacker Client was as independent as possible. The Fitter Snacker Client represents the fictitious Fitter Snacker Company...

Words: 1653 - Pages: 7

Free Essay

Pt1420

...totalCost | Module Name | Module inputData () | Module calcCosts () | Module displayBill () | Module Main () //Declare local variables 1. Declare String clientName = No Value 2. Declare Real feetUTP = 0 3. Declare Real subTotal = 0 4. Declare Real taxCost = 0 5. Declare Real totalCost = 0 //Module calls 6. Call inputData (feetUTP, clientName) 7. Call calcCosts (feetUTP, subtotal, taxCost, totalCost) 8. Call displayBill (clientName, totalCost) End Module //this module takes in the required user input. There will be a display and input for each variable Module inputData (Real Ref feetUTP, String Ref clientName) 9. Display “Please enter client name:” 10. Input clientName 11. Display “Please enter the amount of UTP (in feet) needed:” 12. Input feetUTP End Module //this module calculates subTotal, taxCost, and totalCost //you also need feetUTP passed in to calculate subTotal Module calcCosts (13. Real feetUTP, Real Ref subTotal, Real Ref taxCost, Real Ref totalCost 14. Set subTotal = feetUTP * .21 15. Set taxCost = subtotal * 0.06 16. Set totalCost = subtotal + taxCost End Module //this module displays clientName and totalCost Module displayBill (17. String clientName, Real totalCost) 18. Display “The order for:”, clientName 19. Display “has a total cost of:”, totalCost End Module Unit 4 Modules Lab 4.2 Flowchart Unit 4 Modules Lab 4.3 – Visual Basic Module Module1 Sub...

Words: 579 - Pages: 3

Free Essay

Adoption of an Erp for Smes

...The ERP would improve the entire efficiency of the company’s processes. First and foremost, the ERP would enable all the diverse divisions to work as a single unit, provide a key knowledge development and ensure the seamless workflow of processes. As of now, access to information and data retrieval is difficult and cumbersome to analyze. This reduces the production efficiency of employees. With the ERP system all employees would have access to same information and/or data at the same time. Also the ERP has many modules such as inventory, order management, sales, human resource, procurement, warehousing, account payables/receivables and any module of your choice. This would improve productivity rates and each module is well integrated with the other. Finally the system runs on a single platform therefore making it accessible to all divisions across Canada. Overall the knowledge sharing experience would be greatly improved. The duration of implementation would take 6...

Words: 857 - Pages: 4

Free Essay

Dead End

...You are diary holder number 1 "The random diary" -You will know the diary users that will die before they get eliminated. You are diary holder number 2 "The Yukiteru diary" -You can save diary holder number 1 if he was being eliminated if you choose to. You are diary holder number 3 "The murder diary" -You get to eliminate one diary holder if you choose to. You are diary holder number 4 "The criminal investigation diary" -you will know the 3 diary users who will be eliminating other people. You are diary holder number 5 "The Hyper Vision Diary" -You won't have to answer one of the 3 questions given. You can only use this diary once. You are diary holder number 6 "The Clairvoyance Diary" -You can know about one diary user and the diary's ability. You are diary holder number 7 "The exchange Diary" -You get to choose from number 1-12 (7 is an exception) and you will get the diary's ability (Number of diary you choose) You are diary holder number 8 "The blog diary" -You can bring a dead user back to life. You are diary holder number 9 "The escape Diary" -you can escape from being eliminated. You are diary holder number 10 "The breeder diary" -I will send you the questions first before I post them. You can only use your diary once in this game. You are diary holder number 11 "The watcher" -I will tell you the name of the diary holders and their diary's ability. You are diary holder number 12 "The Justice Diary" -You can be...

Words: 277 - Pages: 2