Premium Essay

Unit 7 Homework

In:

Submitted By Agloro
Words 483
Pages 2
Lab 7 Homework
PT 1420
4/28/2016
Short Answers 1-5
1. Why should you indent the statements in the body of a loop? When indenting your statements, you can make them stand out from surrounding code.
2. Describe the difference between pretest loops and posttest loops? A pretest loop test the conditions before each iteration while a posttest loop test after each iteration.
3. What is a condition-controlled loop? A way for computer programs to repeat one or more various steps depending on conditions set either by the programmer initially or real time.
4. What is a count-controlled loop? A counter variable used to control or keep track of the number of times a loop iterates. Initialization, test and increment.
5. What three actions do count- controlled loops typically perform using the counter variable? While loop, do-while loop and for loop.
Algorithm Questions 1,2,7 and 8
1. declare integer product declare integer number product =0 do while product < 100 display “enter number” input number product = number*10
2. do{ sum =0 print(“enter=a”) read a print(“enter=b”) read b sum = a*b print(“sum=”+sum) print(‘ do you wish to continue”) read Response
} while (RESPONSE)
7. Declare integer x =1
Do { while x > 0 display “enter a number” input x
} End while
8. Declare string sure
Display “are you sure you want to quit?”
While sure != "Y" AND sure != "y"
End while Programming exercises 1,3, and 4
1.
Module Module1 Sub Main() Dim day1, day2, day3, day4, day5 As Integer Dim done As String Dim total As Integer Do Console.WriteLine("how many bugs did you collect on monday") day1 = Console.ReadLine Console.WriteLine("how many bugs did you collect on tuesday") day2 = Console.ReadLine Console.WriteLine("how many bugs did you collect on

Similar Documents

Premium Essay

Nt1310 Unit 7 Homework

...“Aw shucks” said Justin as he messed around with his new Netbook that he purchased for his Information Technology class. He was looking through the Library in Windows Explorer for a Spreadsheet that he had been working on but he couldn't find the file. The problem was that this new Computer had an unfamiliar new Operating System called Windows 10. He was lost in the new menus and knew nothing about how to navigate this new operating system. He decided to Google a “how to” guide so that he may learn the basics. He only had experience with older operating systems and was stubborn when trying out new Software. Even with all the new Tablet PCs and their fancy Touch Screens, Justin liked to keep things simple: an old desktop with the basic Peripheral Devices like a mouse and monitor. He didn't care for touch screens and Web Cams. “Why must they force these new and weird ways into my Computer?” as he reminisced about Windows XP while eating a bowl of lukewarm oat meal. Even finding out how to load the Word Processor into the RAM so that he may work on an assignment was like finding a needle in a haystack. He wished that he could go back to his old desktop. Although the Hardware was older, and the CPU wasn’t as fast, Justin knew the computer very well and would be able to find anything he wanted. The problem was that the older computer wasn't reliable. But he decided to risk finishing his work on it. He could then copy it to a Flash Drive or even to Cloud storage, and then just simply...

Words: 494 - Pages: 2

Free Essay

Unit 7 Homework Assignment Cmos

...Unit 1 Lab 1: Computer Model Understanding Activity Eric Presnall 11/10/2014 When computer scientist John von Neumann designed his computer model in the 1940s, it was based on two main components: a central processing unit (CPU) and a storage structure (memory). This is the basis of most computers in use today. The purpose of this architecture was to show how a computer would access and run stored programs that contain programmed instructions and data. These are stored in random access memory (RAM), which can be read from and written to, similar to today’s computer RAM. Originally, the CPU was broken down into two components: the control unit and the arithmetic unit. Each component had its own purpose. The control unit reads and interprets a program’s instructions, which are converted into electrical signals that activate other components of the computer. The arithmetic and logic operations. The memory, which can be randomly accessed by the processor, stores data in cells. The data stored in each cell is a number between 0 and 255. Each one of these numbers is a byte of information. The numbers are actually stored in binary form instead of decimal form. RAM has many, many cells with which to store these bytes of information. Data files, programs, graphics, and everything else you work with that is stored on the computer are based on bytes, which are simply any number between 0 and 255. Different values account for different data. A simple example of this is the capitol...

Words: 769 - Pages: 4

Free Essay

Policy Definition & Data Classification

...8/1/2015 NT2580 Unit 7 Policy Definition and Data Classification Standard : NT 2580 : ITT Tech : Homework   NT2580 Unit 7 Policy Definition and Data Classification Standard Home  ITT Tech  NT  NT 2580  NT2580 Unit 7 Policy Definition and Data Classification Standard  You have successfully unlocked this document. You have 24 more unlocks  available. Was this document helpful?  Yes   Download Document https://www.coursehero.com/file/11610135/NT2580­Unit­7­Policy­Definition­and­Data­Classification­Standard/?timestamp=20150801105100 1/6 8/1/2015 NT2580 Unit 7 Policy Definition and Data Classification Standard : NT 2580 : ITT Tech : Homework Share and earn access  CorporalStarViper9176 ITT Tech Follow 3  1787  302 https://www.coursehero.com/file/11610135/NT2580­Unit­7­Policy­Definition­and­Data­Classification­Standard/?timestamp=20150801105100 2/6 8/1/2015 NT2580 Unit 7 Policy Definition and Data Classification Standard : NT 2580 : ITT Tech : Homework   VIEWS UNLOCKS 0 1   HELPFUL UNHELPFUL 0 0 About this Document SCHOOL ITT Tech COURSE NT 2580, Summer 2014 COURSE TITLE Introduction to Information Security PROFESSOR MR J TYPE Homework PAGES 1 WORD COUNT 206 Is this correct?  Flag Get Help in NT 2580 https://www.coursehero.com/file/11610135/NT2580­Unit­7­Policy­Definition­and­Data­Classification­Standard/?timestamp=20150801105100 ...

Words: 487 - Pages: 2

Free Essay

Network

...Network Technology and Service Integration Unit 1 Homework The following homework is designed to cover the course objectives for this unit. Assignment 1.1: Textbook/Workbook Assignments • Complete the following exercises and questions from Routers and Routing Basics: CCNA 3 Labs and Study Guide: Vocabulary Exercise: Matching on page 3 VLSM Subnetting a Subnet Exercises on pages 9-11 VLSM Addressing Design Scenarios 1-6 on pages 15-20 Summary Route Exercises on pages 21-24 Concept Questions on pages 25-27 VLSM Case Study on page 27 Internet Research on page 29 (Use the ITT Tech Virtual Library.) • Complete Chapter 9 Review Questions 2-7, 10, 14, 20-22 on pages 258-259 of Introduction to Telecommunications. Submit your written answers to your instructor at the beginning of Unit 2. . Assignment 1.2: Virtual Labs • Complete Virtual Labs 6, 7, and 8 from the CCNA 640-802 CCNA Simulator, which you can find by clicking through these paths: ICND1 Troubleshooting Scenarios Lab 6: IP Addressing and Routing. ICND1 Troubleshooting Scenarios ICND1 Part 4: Troubleshooting Labs Lab 7: IP Routing I ICND 2 Troubleshooting Scenarios Lab 13: IP Routing II Submit your written answers to your instructor at the beginning of Unit 2. ©ITT Educational Services, Inc: Date: 03/13/09 Network Technology and Service Integration Unit 2 Homework The following homework is designed to cover the course objectives for this unit. Assignment 2.1: Textbook/Workbook Assignments • Complete the following exercises...

Words: 2825 - Pages: 12

Free Essay

Acc 560 Week 2 Homework Acc560 Week 2 Homework

...ACC 560 Week 2 Homework ACC560 Week 2 Homework Click below link for Answer http://workbank247.com/q/acc-560-week-2-homework-acc560-week-2-homework/13288 http://workbank247.com/q/acc-560-week-2-homework-acc560-week-2-homework/13288 1) Ikerd Company applies manufacturing overhead to jobs on the basis of machine hours used. Overhead costs are expected to total $300,000 for the year, and machine usage is estimated at 125,000 hours. For the year, $322,000 of overhead costs are incurred and 130,000 hours are used. Instructions (a) Compute the manufacturing overhead rate for the year. (b) What is the amount of under-or overapplied overhead at December 31? (c) Prepare the adjusting entry to assign the under-or overapplied overhead for the year to cost of goods sold. 2) Crawford Corporation incurred the following transactions. 1. Purchased raw materials on account $46,300. 2. Raw materials of $36,000 were requisitioned to the factory. An analysis of the materials requisition slips indicated that $6,800 was classified as indirect materials. 3. Factory labor costs incurred were $59,900, of which $51,000 pertained to factory wages payable and $8,900 pertained to employer payroll taxes payable. 4. Time tickets indicated that $54,000 was direct labor and $5,900 was indirect labor. 5. Manufacturing overhead costs incurred on account were $80,500. 6. Depreciation on the company’s office building was $8,100. 7. Manufacturing overhead was applied at the rate of 150% of...

Words: 1242 - Pages: 5

Premium Essay

Sylubus

...ANTHROPOLOGY 101 Introduction to Cultural Anthropology Queens College / CUNY, Spring 2015 TuTh 12:15-1:30PM, Kiely 150 Professor: Ramona Lee Pérez, PhD Email: ramona.perez@qc.cuny.edu Office hours: Th 2-3 PM, PH 315H COURSE DESCRIPTION This course is an introduction to the range of human diversity through an exploration of the peoples of the world. We will cover the basic concepts, theories, and methods that anthropologists use to study variations in cultural norms and social practices, economic systems and rules of law, social organization and patterns of inequality, identity and worldview, and patterns of social and cultural change. Focusing on the culture concept and the method of ethnography, we begin with the historical foundations of anthropology and then follow its attempts to understand contemporary human cultures. Comparative analysis of multiple ethnographic case studies and major theoretical approaches illuminates the range of human diversity, the forces that shape cultures, and how people adapt to a rapidly changing modern world. The central objectives of this course are to develop your intellectual skills, your cross-cultural fluency, and your sense of civic and moral engagement in global society. I hope that this course inspires many of you to become anthropology majors or minors, and grants each of you an anthropological perspective on your own life. REQUIREMENTS This is an intensive course that requires full participation from every student...

Words: 9454 - Pages: 38

Premium Essay

Acc 560 Course Extraordinary Success/ Tutorialrank.Com

...ACC 560 Week 1 Homework Chapter 1 (E1-5, E1-9, E1-10 and E1-2A) For more course tutorials visit www.tutorialrank.com ACC 560 Week 1 Homework Chapter 1 (E1-5, E1-9, E1-10 and E1-2A) E1-5 E1-5 Gala Company is a manufacturer of laptop computers. Various costs and expenses associated with its operations are as follows. 1. Property taxes on the factory building. 2. Production superintendents’ salaries. 3. Memory boards and chips used in assembling computers. 4. Depreciation on the factory equipment. 5. Salaries for assembly-line quality control inspectors. 6. Sales commissions paid to sell laptop computers. 7. Electrical components used in assembling computers. 8. Wages of workers assembling laptop computers. 9. Soldering materials used on factory assembly lines. 10. Salaries for the night security guards for the factory building. The company intends to classify these costs and expenses into the following categories: (a) Direct materials, (b) Direct labor, (c) Manufacturing overhead, (d) Period costs. List the items (1) through (10). For each item, indicate the cost category to which it belongs. E1-9 E1-9 An incomplete cost of goods manufactured schedule is presented below. Complete the cost of goods manufactured schedule for Hobbit Company. E1-10 E1-10 Manufacturing cost data for Copa Company arc presented below. Case A Case B Case C Direct materials used $ (a) $68,400 $130,000 Direct labor ...

Words: 10591 - Pages: 43

Premium Essay

Micrpeconomics

...BCO 116 Elementary Calculus 2Ch, 3 ECTS Academic Year 2015-2016 Course Description This course is an introduction to calculus and is intended to familiarize students with the mathematical thinking. It focuses on topics of calculus that are relevant to students in the managerial and business sciences. The main goals of the course are to develop technical skills allowing the analysis of real life problems, to provide the tools necessary to formulate, analyse and implement a simple quantitative model to support a business decision, and to understand articles and books on business analysis Starting with preliminaries to calculus, and limits, we follow with derivatives and its applications to real life problems, and integration. This course covers also functions with more than one variable, differential equations, and optimization. Basic requirement. Students must have a good background on algebra and arithmetic, as well as a good understanding of mathematical functions and their applications to practical problems. Course Objectives * To builds skills and proficiency in methods of calculus * To understand concepts, formulas and techniques of calculus through exercises and applied examples * To be able to translate real-world problems to mathematical language and models * To acquire ease in identifying the different kind of problem and the appropriated rule to solve it * To interpret results of calculus * To apply analytical methods of calculus...

Words: 1257 - Pages: 6

Premium Essay

Diversity

...Learning, 2010; ISBN-13: 978-0-538-47808-3 Course Outline: Introduction Unit 1: Chapters 1, 4, 5 Chapter 1 – Exploring the World of Business and Economics Chapter 4 – Choosing a Form of Business Ownership Chapter 5 – Small Business, Entrepreneurship, and Franchises Unit Exam Unit 2: Chapters 9, 10, 11, 6, 7 Chapter 9 – Attracting and Retaining the Best Employees Chapter 10 – Motivating and Satisfying Employees and Teams Chapter 11 – Enhancing Union-Management Relations Chapter 6 – Understanding the Management Process Chapter 7 – Creating a Flexible Organization Unit Exam Unit 3: Chapters 12, 13, 14, 15 Chapter 12 – Building Customer Relationships Through Effective Marketing Chapter 13 – Creating and Pricing Products that Satisfy Customers Chapter 14 – Wholesaling, Retailing, and Physical Distribution Chapter 15 – Developing Integrated Marketing Communications Unit Exam Unit 4: Chapters 2, 18, 20, 3 Chapter 2 – Being Ethical and Socially Responsible Chapter 18 – Understanding Money, Banking, and Credit Chapter 20 – Understanding Personal Finances and Investments Chapter 3 – Exploring Global Business Unit Exam Final Exam (cumulative) Your final grade will be based on: Four Unit Exams 40% (10% each unit exam) Final Exam 20% Case Study 10% Questions of the Day 20% Homework and class participation 10% Grades: A=94-100 A-=90-93 B+=87-89 B=83-86...

Words: 1187 - Pages: 5

Premium Essay

Random

...Define why change control management is relevant to security operations in an organization. Change control is a systematic ... NT2580 Introduction to Network Security stankong.bol.ucla.edu/NT2580/index.htm Welcome to NT2580 Introduction to Network Security ... Home Work , Labs, PowerPoint , Project and Exam Reviews. Fall Quarter 2012 ... Itt tech nt2580 lab 6 - 6 ebooks - free download www.getbookee.org/itt-tech-nt2580-lab-6/ Itt tech nt2580 lab 6 download on GetBookee.org free books and manuals search - 094 ALB 01-09-13 01-09-13 Vol 37-a. Nt2580 unit 9 lab - 4 ebooks - free download www.getbookee.org/nt2580-unit-9-lab/ Nt2580 unit 9 lab download on GetBookee.org free books and manuals search - NT2580 Introduction to If ti S itInformation Security. Nt2580 unit 6 lab - 4 ebooks - free download www.getbookee.org/nt2580-unit-6-lab/ Nt2580 unit 6 lab download on GetBookee.org free books and manuals search - NT2580 Introduction to If ti S itInformation Security. Lab itt edition nt2580 answers - 1 ebooks - free download www.getbookee.org/lab-itt-edition-nt2580-answers/ Jan 30, 2013 – Lab itt edition nt2580 answers download on GetBookee.org free...

Words: 435 - Pages: 2

Free Essay

Ecet 340 Week 6 Homework 6

...ECET 340 Week 6 HomeWork 6 Purchase here http://devrycourse.com/ecet-340-week-6-homework-6 Product Description 1. What are the four main functions of the HC12 Timer unit? 2. Two input capture events occur at counts 0x1037 and 0xFF20 of the free-running counter. How many counts (in decimal) have transpired between these two events? 3. What is the maximum time possible before the free-running counter overflows when the e MHz? 4. Two input capture events occur at 0x1037 and 0x002A. If the prescaler bits PR[2:1:0] are set to 101 and the e clock is 24 MHz, how much time as transpired between the two events? 5. Calculate the count that should appear in the timer capture register TC0 if a 125 kHz rectangular wave is inputted on timer pin PT0 while TCTL4 is preset for falling edge detection. Assume a 24 MHz e-clock, TMSK2 was programmed with the value $02, and the count of the 1st edge event has already been subtracted off from TC0. 6. Write down the name of the HC12 timer register that should be polled through software to determine whether or not an active input edge has been captured on one of the port T pins. 7. What is the duty cycle of a signal produced by the PWM when and ? a. 28.0% b. 29.8% c. 50.0% d. 72.0% 8. What values are required for period and duty cycle to generate a 6.0 kHz, 95% duty cycle waveform using the PWM function? Assume e-clock frequency is 24 MHz. 9. What is the slowest clock signal that can be generated from the PWM output...

Words: 1661 - Pages: 7

Free Essay

Resume

...Business Regs and Compliance MKTG 1130 Fall 2014 CRN 20033 Term Business Regs and Compliance MKTG 1130 Fall 2014 CRN 20033 Term ------------------------------------------------- Course Information Meeting Times: Online Credit Hours: Three (3) Contact Hours: Online CRN: 20033 Prerequisites: None Corequisites: None ------------------------------------------------- Instructor Information Name: Michael R. Childs Office:  Online Office Phone:  (912) 272-0005 Cellular (I ANSWER MY PHONE) Email:  mchilds@savannahtech.edu Office Hours:  None Response Time Generally 24 hours ------------------------------------------------- Department Head Information Name: Brendan Ferrara Office: Savannah Campus Office Phone: (912) 443-5783 E-mail Address: bferrara@savannahtech.edu Office Hours: By Appt. ------------------------------------------------- Course Description This course introduces the study of contracts and other legal issues and obligations for businesses. Topics include: creation and evolution of laws, court decision processes, legal business structures, sales contracts, commercial papers, Uniform Commercial Code, and risk-bearing devices. ------------------------------------------------- Course Competencies Upon successful completion of this class, each student should be able to: Creation and Evolution of Laws Court Decision Processes Legal Business Structures Sales Contracts ...

Words: 3666 - Pages: 15

Free Essay

Undemanding Services

...(BT) Homework Assignment #1 Spring 2015 Deadline: 8:00 AM on Thursday, March 26, 2015 Remarks: -Students hand in the solutions to the first 25 problems listed below: 20 problems of Chapter 1 and problems 1-5 of Chapter 2. -Students should show the solutions in A4 paper size. The solutions must be in the order as listed. Chapter 1: (20 problems) Section 9.1: 45. Section 9.2: 18, 27, 33, 53, 55. Section 9.3: 4, 5, 39, 42. Section 9.5: 4, 11, 21, 22. Section 9.6: 11, 22, 30, 37, 40, 53. Chapter 2: 1. Write down the augmented matrix, and then solve the following systems of linear equations. Comment on each case (e.g. the number of equations and unknowns, whether there is inconsistency, whether the solutions are unique, many, trivial, etc.). (a) x − 2y − z − w = −4 3x + y + z − 2w = 11 x + 12y + 7z + w = 31. (b) 2x + y + 5z = 1 x − 3y + 6z = 2 3x + 5y + 4z = 0 (c) 2x + 5y − z = 15 x − y + 3z = 4 3x + 3y − 5z = 2. (d) x1 + 2x2 + 2x3 = 4 x1 + 3x2 + 3x3 = 5 2x1 + 6x2 + 5x3 = 6 (e) −7x1 − 6x2 − 12x3 = −33 5x1 + 5x2 + 7x3 = 24 x1 + 4x3 = 5 1 Calculus 2 (BT) Homework Assignment #1 Spring 2015 2. It is known that three brands of fertilizer (Fertifun, Big Grow and Soakem) are available that provide Nitrogen, Phosphoric Acid and Soluble Potash to the soil. One bag of each brand provides the following units of each nutrient: F ertif un BigGrow Soakem   N itrogen 1 2 3  3 1 2  P hosphoric Acid P otash 2 0 1 Suppose the soil of Dong Nai farm needs 18 units of nitrogen...

Words: 780 - Pages: 4

Premium Essay

Sdfdh

...3U Evolution unit Plan | Focus | Homework/reference | 1. | Evolution intro and Darwin (computer lab) | Fill in handout-show Mrs. Wild when done. | 2. | 7.1 Developing the theory-a game of telephone…-What is a theory?-evolution defined | 7.1 p.186- Do #1, 3, 4, 8, 10, 13, 14 p.194+ fill in handout with PP-early ideas leading up to Darwin’s time | 3. | 7.1 Cont. Darwin, Wallace, Malthus, Lyell,…Natural selection | -observations/hypothesis from Galapagos islands-create visual reminder of 4 main points of Natural selection | 4. | “survival of the fittest” game | Create timeline, contributing ideas on evolution (include names discussed in day 3) | 5. | 7.2 Evidence –fossil record | 7.2 # 1-5 p. 209 | 6. | 7.2 Evidence -Biogeography | 7.2 # 6-10 p.209 | 7. | 8.2 Evidence –comparative anatomy -comparative dev, +molecular | Evidence to support Natural selection self-note (on handout) | 8. | 8.1 Mechanisms of Evolution intro +-Selection | 8.1 #1-5 p.223 | 9. | 8.1 Mechanisms cont. -Genetic drift, flow, mutations | 8.1 #6-8, 11 p.223 | 10. | Microevolution gizmo | -sciencelucas1 login/password to explorelearning.com | 11. | 8.1 review + (Quiz to come, day 12-14) Mimicry, etc. | 8.2 read and answer 2-4, 7-10, 12 p. 232 | 12. | 8.2 + reproductive barriers note | 8.3 do #4-8 p 237 | 13. | How old is it? PP 9.1 Timeline of earth | Powerpoint and worksheet “How old is it?”-start time line activity9...

Words: 406 - Pages: 2

Free Essay

Sylabus

...Keiser UNIVERSITY Course Control Document Course Title: Interpersonal Communication for Professionals Course Number: COM3131 Prerequisites: Lower level courses successfully completed Credit Hours: 3.0 semester hours credit Contact Hours: 48 Lecture Hours: 48 Textbook Title: Interpersonal Skills in Organizations (5thedition) Publisher¿s name: McGraw-Hill Author¿s name: de Janasz, Dowd, and Schneider ISBN: 9781308107486 Instructor Qualifications: Earned doctorate or master¿s degree in communications or master¿s degree with 18 graduate credit hours in subject taught. Course Description: Presents an overview of intrapersonal and interpersonal communication issues in a professional setting and explores complex communication patterns between internal and external professional relationships. Topics focus on intrapersonal and interpersonal effectiveness, values and ethics, diversity, team and work group communication, conflict management, leadership, and networking. Course Topics: Intrapersonal effectiveness and self-awarenessValues and ethics in interpersonal communicationDiversity in professional settingsInterpersonal effectiveness in team and work group communication Decision making and creative problem solvingNegotiation and conflict managementLeadership, project management, and networking Course Objectives: Upon completion of the course, students are able to Understand basic elements of intrapersonal and interpersonal effectivenessExplore self-awareness...

Words: 534 - Pages: 3