...Algorithm/Pseudocode Print all options available to user Call the main function Ask which option user wants to choose If statement to ensure a capital or lower case “A’ will work Insert a try statement in order to catch exceptions Insert a while loop in order to keep program going until user is finished. Call the write_int_rates function Call the customerNumber function Call the CalculateBonusInterest function Ask if user wants to continue Insert an except statement to print out any errors. If statement to ensure a capital or lower case “S” will work User is choosing the ‘search’ option Insert a try statement to catch exceptions Insert a while loop to keep program going until user enters “N” Set Boolean flag (found = False) Search = user inputs CID Open the Customer.txt file to read it Read the first line (CID) Insert a while loop to stop reading at the end of that customer’s details. Read the rest of the file for that customer Strip the newline characters If CID == search: Print all results of search Read the next CID Close the file Check if user wants to keep going Insert except statement If statement to ensure a capital or lower...
Words: 1079 - Pages: 5
...Exercise 1.2.1 1. Using Figure 1- 9 as an example, determine the result of adding 110 2 and 1001 2 . 1111 Exercise 1.2.2 1. Using Figure 1- 9 as an example, determine the result of adding 110 2 and 101 2 1011 Exercise 1.2.3 1. Using Figure 1- 9 as an example, determine the result of adding 111 2 and 111 2 . 1110 Exercise 1.2.4 1. Determine the result of 100 2 OR 011 2 . 111 Exercise 1.2.5 1. Determine the result of 111 2 AND 100 2 . 100 Exercise 1.2.6 1. Determine the result of NOT 1001 2 . 0110 Exercise 1.2.7 1. Using binary addition, what is the result of 1010 2 + 10 2 ? Using binary addition, how would you repeatedly increment a number by 2? 1100 Exercise 1.2.8 1. Using the AND operator, what is the result of 1100 2 AND 1111 2 ? What can you conclude about using AND on any value with a string of 1s? 1100 When using AND on any value with a string of 1s, a 1 will be the result. Exercise 1.2.9 1. Using the OR operator, what is the result of 1100 2 OR 1111 2 ? What can you conclude about using OR on any value with a string of 1s? What value can you use with an OR operator to preserve the other input number in the logical equation? 1111 Lab 1.2 Review 1. Determine the result of 10010000 2 + 1101110 2 . Show the mapping that you created to solve this addition problem. 11111110 2. Determine the result of 11001100 2 AND 11111100 2 . Show the mapping or truth table that you used to solve this logic...
Words: 374 - Pages: 2
...Supporting the Hypothesis RES/341 ABSTRACT The Learning Team addressed Century National Bank and the possibility of the banks potential to earn revenue through a reduction in the interest earning accounts regulations and requirements. This week the calculations of the data collected from the data set samples of service and interest for Century National Bank will be the determining factor of the hypothesis. The independent clause is if the required services on interest earning accounts reduce and the dependent clause is the quantity of interest earning accounts will increase, thus leading to an increase in the bank’s revenue. The information gathered from the articles and data provide supporting details or not supporting details toward the hypothesis. The articles used discuss facts about high yield interest earning accounts, concerns about minimum required balance requirements and fees on accounts. Another articles used explained the research by Lin, and the relation between the customer’s expectations and perceptions of the quality of service prior to and post purchase and how it affects the banks. Research from 60 accounts provide results of the customers who have interest earning accounts, the services used, and how many people use the services. Charts demonstrate a clearer understanding of the data collected. Ethical concerns are important when a company changes policies. Changes should retain the customers’ loyalty and trust as the company progresses...
Words: 1954 - Pages: 8
...2^7=128 2^6=64 2^5=32 2^4=16 2^3=8 2^2=4 2^1=2 2^0=1 1 1 1 0 0 1 0 1.1.6 156-128=28 28-16=12 12-8=4 4-4=0 128 64 32 16 8 4 2 1 1 0 0 1 1 1 0 0 = 1001110=156 1.1.7 255-128=127 127-64=63 63-32=31 31-16=15 15-8=7 7-4=3 3-2=1 1-1=0 128 64 32 16 8 4 2 1 1 1 1 1 1 1 1 1 =11111111=255 1.1.8 200-128=72 72-64=8 8-8=0 128 64 32 16 8 4 2 1 1 1 0 0 1 0 0 0 =11001000=200 1.2.1 111 1.2.2 1011 1.2.3 1111 1.2.4 111 1.2.5 100 1.2.6 0110 1.2.7 1110 1.2.8 1100 1.2.9 1111 1.3.1 -6400 -233 1.3.2 -6633 -There is an increase of bits. From 8 to 16, which increase the decimal number. 1.3.3 1024KB*120=122880 122880KB*1024=125829120B 1.3.4 -16*1024MB=16384MB -16384MB*1024KB=16777216KB -16777216KB*1024B=1.71798918E10 -1.7179891E10/32=536870912 words 1.3.5 -0011 0110 -0011 represents 3 -0110 represents 6 -36 1.3.6 - Change it to binary first. - F is 1111 - 6 is 0110 - 11110110 in...
Words: 334 - Pages: 2
...Chapter Nine: Multicriteria Decision Making PROBLEM SUMMARY 1. Model formulation, product mix 2. Model formulation, transportation, computer solution 3. Model formulation, urban recreation facility allocation 4. Model formulation, crop determination, computer solution 5. Model formulation, product mix, computer solution 6. Model formulation, OSHA safety compliance, computer solution 7. Computer solution; graphical solution 8. Computer solution; graphical solution 9. Computer solution 10. Model formulation, computer solution 11. Model formulation, product mix, computer solution 12. Model formulation, product mix, computer solution 13. Model formulation, clinic personnel selection, computer solution 14. Model formulation, production scheduling, computer solution, sensitivity analysis 15. Model formulation, employee scheduling, computer solution 16. Model formulation, R&D project selection 17. AHP, company takeover 18. Pairwise comparison (9–17) 19. AHP, faculty raises 20. Pairwise comparisons (9–19) 21. AHP, mutual funds 22. AHP (9–21) 23. AHP, utility vehicles 24. AHP, anchor persons 25. AHP, hotel selection 26. AHP, college selection 27. AHP, dating service 28. AHP, R&D projects 29. AHP, student selection 30. AHP, athletic facilities 136 2. a) 31. AHP, vacation locations 32. Pairwise comparisons (9–31) 33. AHP, major options 34. AHP, basketball players 35. AHP, school facilities 36. Student’s pairwise comparisons 37. AHP, emergency rooms 38. AHP, class sections 39. Student car...
Words: 3864 - Pages: 16
...WGU Community Health Clinical Time Log for Students in Unregulated States Use this form to document clinical hours in Community Health. Include the date, activity, location, contact (as appropriate) and time spent in hours. Upon completion of your time log, sign your time log and enter your RN License number. Attach additional sheets if needed. Log Instructions: This log must be submitted no later than the 25th of the month in order to be graded and processed by the end of the month to be passed in the term. Entries that are not legible or complete may cause the log to be returned to you for correction and resubmission. Be sure to review the sample time logs for some ideas about how to complete the log. The time log will be returned if the following unapproved activities are included: • • • • Exercise courses such as Zumba and Yoga and cooking courses are NOT approved clinical activities Drive time, research time and time spent on writing the project are NOT approved clinical activities Interviews of an hour or less are acceptable activities for established community agency leaders and community experts (by title) Observation at fast food restaurants are NOT acceptable activities nor is attendance at sporting events Topic: Prevention of obesity through healthy nutrition and physical activity Date Activity Location & Contact (as appropriate) Hours Relevance to Topic 1/5/16 Windshield Survey Orange County, CA 10 Topic selection activity 1/25/16 Cultural Survey Orange...
Words: 1232 - Pages: 5
...numbers: 4 + 23 + 86 + 21 = 134. Step7: Divide 134 by 7 = 19 remainder 1. The reminder tells you the day. Sunday 0 Monday 1 Tuesday 2 Wednesday 3 Thursday 4 Friday 5 Saturday 6 Answer: Monday Sequential Inputs of numbers with 8 1 x 8 + 1 = 9 12 x 8 + 2 = 98 123 x 8 + 3 = 987 1234 x 8 + 4 = 9876 12345 x 8 + 5 = 98765 123456 x 8 + 6 = 987654 1234567 x 8 + 7 = 9876543 12345678 x 8 + 8 = 98765432 123456789 x 8 + 9 = 987654321 Sequential 1's with 9 1 x 9 + 2 = 11 12 x 9 + 3 = 111 123 x 9 + 4 = 1111 1234 x 9 + 5 = 11111 12345 x 9 + 6 = 111111 123456 x 9 + 7 = 1111111 1234567 x 9 + 8 = 11111111 12345678 x 9 + 9 = 111111111 123456789 x 9 + 10 = 1111111111 Sequential 8's with 9 9 x 9 + 7 = 88 98 x 9 + 6 = 888 987 x 9 + 5 = 8888 9876 x 9 + 4 = 88888 98765 x 9 + 3 = 888888 987654 x 9 + 2 = 8888888 9876543 x 9 + 1 = 88888888 98765432 x 9 + 0 = 888888888 Numeric Palindrome with 1's 1 x 1 = 1 11 x 11 = 121 111 x 111 = 12321 1111 x 1111 = 1234321 11111 x 11111 = 123454321 111111 x 111111 = 12345654321 1111111 x 1111111 = 1234567654321 11111111 x 11111111 = 123456787654321 111111111 x 111111111 = 12345678987654321...
Words: 991 - Pages: 4
...Chapter 2 Solutions Review Questions 1. The Netstat command indicates that POP3 is in use on a remote server. Which port is the remote server most likely using? b. Port 110 2. On a Windows computer, what command can you enter to show all open ports being used? a. Netstat 3. Which protocol uses UDP? d. TFTP 4. Which protocol offers guaranteed delivery and is connection oriented? c. TCP 5. TCP communication could be likened to which of the following? d. Phone conversation 6. Which of the following protocols is connectionless? (Choose all that apply.) a. UDP b. IP 7. Which command verifies the existence of a node on a network? a. Ping 8. FTP offers more security than TFTP. True or False? True 9. List the three components of the TCP/IP three-way handshake. SYN, SYN-ACK, and ACK 10. What protocol is used for reporting or informational purposes? c. ICMP 11. List the six flags of a TCP packet. SYN, ACK, PSH, URG, RST, FIN 12. A UDP packet is usually smaller than a TCP packet. True or False? True 13. What port, other than port 110, is used to retrieve e-mail? b. Port 143 14. What port does DNS use? d. Port 53 15. What command is used to log on to a remote server, computer, or router? c. Telnet 16. Which of the following...
Words: 481 - Pages: 2
...Effect of rating scale categories on reliability and fit statistics of the Malay Spiritual Well-Being Scale using Rasch analysis. 1Aqil Mohammad Daher, 2Sayed Ahmad Hassan, 3Than Winn, 4Mohd Ikhsan Selamat 1,4Population health and preventive medicine, faculty of medicine University Teknologi MARA, Sungai Buloh, Selangor Malaysia 2Department of Psychiatry, faculty of medicine University Teknologi MARA, Selayang, Selangor, Malaysia 3Department of Community Medicine, Mahsa University College, Kuala Lumpur, Malaysia Abstract Introduction Handful literatures have explored the effect of rating categories on reliability based on classical test theory indices, fewer studies have employed the item response theory in examining reliability. We carried out this study to examine the effect of rating scale categories (RSC) on reliability and fit statistics of the Malay Spiritual Well-Being Scale using Rasch model. Methods The Malay Spiritual Well-being scale (SWBS) with the original six and newly introduced three and four rating categories (RSC) was distributed randomly among three different samples of 50 participants each in different community screening programs at in Selangor state , Malaysia. Results The mean age of respondent in the three samples ranged 36-39 year, majority was females in all samples, and Islam was the major religion of respondents. Malay race was predominating followed by Chinese then Indian. Most participants were employed and more than a half in all...
Words: 4515 - Pages: 19
...PLFS: A Checkpoint Filesystem for Parallel Applications John Bent∗† Garth Gibson‡ Gary Grider∗ Ben McClelland∗ , , , , Paul Nowoczynski§ James Nunez∗ Milo Polte† Meghan Wingate∗ , , , ABSTRACT Categories and Subject Descriptors D.4.3 [Operating Systems]: File Systems ManagementFile organization General Terms Performance, Design Keywords High performance computing, parallel computing, checkpointing, parallel file systems and IO ∗ LANL Technical Information Release: 09-02117 Los Alamos National Laboratory ‡ Carnegie Mellon University § Pittsburgh Supercomputing Center † (c) 2009 Association for Computing Machinery. ACM acknowledges that this contribution was authored or co-authored by a contractor or affiliate of the U.S. Government. As such, the Government retains a nonexclusive, royalty-free right to publish or reproduce this article, or to allow others to do so, for Government purposes only. SC09 November 14–20, Portland, Oregon, USA. Copyright 2009 ACM 978-1-60558-744-8/09/11 ...$10.00. 100 Speedup (X) Parallel applications running across thousands of processors must protect themselves from inevitable system failures. Many applications insulate themselves from failures by checkpointing. For many applications, checkpointing into a shared single file is most convenient. With such an approach, the size of writes are often small and not aligned with file system boundaries. Unfortunately for these applications, this preferred data...
Words: 12373 - Pages: 50
...Introduction to Binary Numbers How Computers Store Numbers Computer systems are constructed of digital electronics. That means that their electronic circuits can exist in only one of two states: on or off. Most computer electronics use voltage levels to indicate their present state. For example, a transistor with five volts would be considered "on", while a transistor with no voltage would be considered "off." Not all computer hardware uses voltage, however. CD-ROM's, for example, use microscopic dark spots on the surface of the disk to indicate "off," while the ordinary shiny surface is considered "on." Hard disks use magnetism, while computer memory uses electric charges stored in tiny capacitors to indicate "on" or "off." These patterns of "on" and "off" stored inside the computer are used to encode numbers using the binary number system. The binary number system is a method of storing ordinary numbers such as 42 or 365 as patterns of 1's and 0's. Because of their digital nature, a computer's electronics can easily manipulate numbers stored in binary by treating 1 as "on" and 0 as "off." Computers have circuits that can add, subtract, multiply, divide, and do many other things to numbers stored in binary. How Binary Works The decimal number system that people use every day contains ten digits, 0 through 9. Start counting in decimal: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, Oops! There are no more digits left. How do we continue counting with only ten digits? We add a second...
Words: 1301 - Pages: 6
...Izaak Cook NT 1210 Intro to Networking Unit 1. Lab 1.2: Binary Math and Logic Exercise 1.2.1 1 0 0 1 + 1 1 0 Binary 1111 = 15 Decimal 2. Exercise 1.2.2 1 1 0 1 0 1 Binary 1011 = 11 Decimal 3. Exercise 1.2.3 1 1 1 1 1 1 Binary 1110 = 14 Decimal 4. Exercise 1.2.4 100 2 OR 011 2 = 111 = 7 5. Exercise 1.2.5 111 2 AND 100 2 = 100 = 4 6. Exercise 1.2.6 NOT 1001 2 = 0110 2 = 6 Exercise 1.2.7 1010 2 + 10 2 = 1100 2 + 10 2 (= 2) = 1110 2 Exercise 1.2.8 If one of the values being added is 11112, then the result will be the same as the other value being added. Exercise 1.2.9: 1 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | Using the OR operator, what is the result of 11002 OR 11112? What can you conclude about using OR on any value with a string of 1s? What value can you use with an OR operator to preserve the other input number in the logical equation? When using a string of 11112 the result will be the same using 111121.2 review 1. Determine the result of 100100002 + 11011102. Show the mapping that you created to solve this addiTon problem. 100100002 11011102 111111104 = 254 decimal 2. Determine the result of 110011002 AND 111111002. Show the mapping or truth table that you created to solve this addiTon problem. 110011002 111111002 1.3 Exercise...
Words: 266 - Pages: 2
...Jane M. Doe 1234 Any Street, City State Zip (111) 111-1111 email address EDUCATION Name of University City, State Majoring in xxx Studies (ABA) Expected Graduation: April 2011 Current 3.3 GPA: Dean’s List 2 terms Relevant courses: Legal Research, Real Estate Procedure, Wills, Trusts, and Estates Procedure, Litigation, Employment and Labor Laws, Criminal Law, Evidence and Criminal Procedures CLINICS Name of University Wills, Trusts, and Estate Program 2011 Winter Semester-Assistant paralegal intern 2011 Summer Semester-Lead paralegal intern Thomas Cooley Law School Access to Justice Clinic-Interning paralegal to intern law students HIGHLIGHTS OF QUALIFICATIONS 6+ years of experience providing exceptional Customer Service. Excellent computer knowledge in Westlaw/LoisLaw, and Microsoft Office 2007 (Word, Excel, PowerPoint). Key more than 45wpm with outstanding accuracy. WORK EXPERIENCE 03/2006-Present United States Postal Service Kalamazoo Assistant Supervisor Identify problems and their causes/secure relevant information/develop solutions Communicate information and instructions in writing and orally to achieve desired results/facilitate information flow within the organizational unit Write letters, simple reports, and employee evaluations 06/2004-Present United States Postal Service Kalamazoo Maintenance Operations Support Knowledge of computer systems/usage and operating characteristics of terminal for data input and...
Words: 307 - Pages: 2
...Solution* for Chapter 1 Exercise* Solutions for Chapter 1 Exercises 1.1 5, CPU 1.2 1, abstraction 1.3 3, bit 1.4 8, computer family 1.5 19, memory 1.6 10, datapath 1.7 9, control 1.8 11, desktop (personal computer) 1.9 15, embedded system 1.10 22, server 1.11 18, LAN 1.12 27, WAN 1.13 23, supercomputer 1.14 14, DRAM 1.15 13, defect 1.16 6, chip 1.17 24, transistor 1.18 12, DVD 1.19 28, yield 1.20 2, assembler 1.21 20, operating system 1.22 7, compiler 1.23 25, VLSI 1.24 16, instruction 1.25 4, cache • 1.26 17, instruction set architecture Solutions for Chapter 1 Exercises 1.27 21, semiconductor 1.28 26, wafer 1.29 i 1.30 b 1.31 e 1.32 i 1.33 h 1.34 d 1.35 f 1.36 b 1.37 c 1.38 f 1.39 d 1.40 a 1.41 c 1.42 i 1.43 e 1.44 g 1.45 a 1.46 Magnetic disk: Time for 1/2 revolution =1/2 rev x 1/7200 minutes/rev X 60 seconds/ minutes 3 4.17 ms Time for 1/2 revolution = 1/2 rev x 1/10,000 minutes/rev X 60 seconds/ minutes = 3 ms Bytes on center circle = 1.35 MB/seconds X 1/1600 minutes/rev x 60 seconds/minutes = 50.6 KB Bytes on outside circle = 1.35 MB/seconds X 1/570 minutes/rev X 60 seconds/minutes = 142.1 KB 1.48 Total requests bandwidth = 30 requests/sec X 512 Kbit/request = 15,360 Kbit/sec < 100 Mbit/sec. Therefore, a 100 Mbit Ethernet link will be sufficient. Solution* for Chapter X Exarclsm 1.49 Possible solutions: Ethernet, IEEE 802.3, twisted pair cable, 10/100 Mbit Wireless Ethernet, IEEE 802.1 lb, no medium...
Words: 3285 - Pages: 14
...COVER PAGE Filing Checklist For 2010 Tax Return Filed On Standard Forms Prepared on: 08/11/2011 07:03:55 am Return: C:\Users\user\Documents\HRBlock\Alfred Old 2010 Tax Return.T10 To file your 2010 tax return, simply follow these instructions: Step 1 - Sign and date the return Because you're filing a joint return, Alfred and Beulah both need to sign the tax return. If your return is signed by a representative for you, you must have a power of attorney attached that specifically authorizes the representative to sign your return. To do this, you can use Form 2848, Power of Attorney and Declaration of Representative. Step 2 - Assemble the return These forms should be assembled behind Form 1040 --U.S. Individual Income Tax Return - Schedule A - Schedule M Staple these documents to the front of the first page of the return: Form W-2: Wage and Tax Statement 1st (Cherry, Inc.) 2nd (Legal Aid Society, Inc.) Step 3 - Mail the return Mail the return to this address: Department of the Treasury Internal Revenue Service [If filing before July 1, 2011:] Atlanta, GA 39901-0002 [If filing after June 30, 2011:] Kansas City, MO 64999-0002 We recommend that you use one of these IRS-approved methods to send your return. Retain the proof of mailing to avoid a late filing penalty: - U.S. Postal Service certified mail. - DHL Same Day Service. - FedEx Priority Overnight, Standard Overnight, 2Day, International Priority, or International First. - United Parcel Service Next Day Air, Next Day Air Saver...
Words: 3190 - Pages: 13