# PT1420 Unit 8 Lab 8

Satisfactory Essays
Step 2: Explain what you think will be displayed to the screen in Step 1. (Reference: For loop, page 186): List hours starting with Hour 1 up to Hour 24, as declared “Max Hours”

Step 3: Write a for loop that will print 60 minutes to the screen. Complete the missing lines of code. Constant Integer MAX_MINUTES =60 Declare Integer minutes For Minutes = 1 to Max_Minutes Display “The minute is ”, minutes End For
Step 4: Write a for loop that will print 60 seconds to the screen. Complete the missing lines of code. Constant Integer MAX_SECONDS = 60 Declare Integer seconds For Seconds = 1 to Max_Seconds Display “The Second is ”, seconds End For
Step 6: Explain what you think will be displayed to the screen in Step 5. (Reference:
Incrementing by Values Other than 1, page 190): Display numbers starting at 0 through 10 by increments of 2. 0,2,4,6,8,10

Step 7: Write a for loop that will display the numbers starting at 20, then 40, then 60, and continuing the sequence all the way to 200. Constant Integer MAX_VALUE = 200 Declare Integer counter For counter = 20 to MAX_VALUE Step 20 Display “The number is “, Counter End For
Step 9: Explain what you think will be displayed to the screen in Step 8. (Reference:
Letting the User Control the Number of Iterations, page 194): Asks for Max number of students, then lists number of students by 1 till reached declared number of students.
Step 11: Explain what you think will be displayed to the screen in Step 10. (Reference:
Calculating a Running Total, page 201): Asks for input of a number 5 times then adds all numbers into one total sum, example 2,4,6,8,10 = 30
Step 12: Write the missing lines for a program that will allow the user to enter how many ages they want to enter and then find the average. Declare Integer counter
Declare Integer totalAge = 0 Declare Real averageAge = 0 Declare Integer age Declare Integer number Display “How many ages do you want to

## You May Also Find These Documents Helpful

• Good Essays

Part 1 Write a short piece summarising and interpreting the information presented in the table. Part 1 – Summarising and Interpreting a Table This table summarises the results from Banduras experiment on whether children be aggressive to a Bobo Doll when they have witnessed a model being aggressive. The children were exposed to either a real life model, a human model on film or a non gendered cartoon model. As well as these experimental conditions there was also a control group of children who…

• 1021 Words
• 5 Pages
Good Essays
• Satisfactory Essays

Lab 8.1: IP Addressing and Classes Exercise 8.1.1 Network ID: 110 Host ID: 10.10.1 Network ID in binary: 1101110 Host ID in binary: 101010101 Exercise 8.1.2 Class Range Network ID Host ID Possible Networks Possible Hosts per Network A 0-127 A b.c.d 2^7 2^24 B 128-191 a.b c.d 2^14 2^16 C 192-223 a.b.c D 2^21 2^8 If you used the number of bytes instead you would get a whole different amount of possible networks which isn’t right. Exercise 8.1.3 No I will not fit in this the 192-223 range. Exercise…

• 1017 Words
• 8 Pages
Satisfactory Essays
• Powerful Essays

Lab 8 answer key Exploring group policy administration This lab contains the following exercises: Exercise 8.1 Configuring the Local Computer Policy Exercise 8.2 Configuring Processing Order Exercise 8.3 Configuring Priority Order Exercise 8.4 Using Block Policy Inheritance and Enforce Exercise 8.5 Cleanup for Exercise 8.6 Exercise 8.6 Configuring Account Policies Post-Lab Cleanup Estimated lab time: 130 minutes Exercise 8.1 Configuring the Local Computer Policy Overview…

• 3405 Words
• 15 Pages
Powerful Essays
• Satisfactory Essays

Unit 8 Labs Lab 8.1 Lab 8.2 Lab 8.3 Lab 8.4 Lab 8.1 IP Addressing and Classes 8.1.1 If the IP address in figure 8-1 belongs to a Class A network, what is the Network ID and what is the host ID? What are the binary values of the host ID and the network ID? Network ID = 10, Host ID=10.10.1 Binary Network ID=1010, Binary Host ID=101010101 8.1.2 Complete Table 8-1. Class Range of First Byte in Decimal Network ID Host ID Possible Networks Possible Hosts per…

• 1237 Words
• 6 Pages
Satisfactory Essays
• Satisfactory Essays

Lab #8: Assignment Worksheet Develop an Outline for a Business Continuity Plan for an IT Infrastructure 1. How does a BCP help mitigate risk? BCPs help mitigate an organization’s risks by ensuring that the organization is better prepared for disaster. 2. What kind of risk does a BCP help mitigate? Organizational risk 3. If you have business liability insurance, asset replacement insurance, and natural disaster insurance, do you still need a BCP or DRP? Why or why not? Yes you still need BCP AND…

• 586 Words
• 2 Pages
Satisfactory Essays
• Good Essays

ESCI 1102 Lab 8 Population Change Directions: Listed below are this Learning Module lab questions to answer. When completed, upload this file back to the Lab dropbox (where you downloaded in the first place). FYI: I really like it when the answers are in a different format/color than the questions. It helps when grading. Part 1. Population Biology is an online virtual lab that will illustrate how competition affects population growth. Follow the instructions given. Two species of unicellular…

• 1110 Words
• 5 Pages
Good Essays
• Good Essays

LAB 8: Troubleshooting Task 1 Problem Description: A user boots her computer and hears a sequence of six beeps. The computer uses AMI BIOS. What error is indicated by the six beeps? A different user with a computer using Phoenix BIOS hears a sequence of beeps with pauses in between. The sequence is beep – pause – beep beep beep – pause – beep – pause – beep beep beep. What error is indicated by this beep sequence? The problem is the users are experience beeps when using their respective Bios systems…

• 385 Words
• 1 Page
Good Essays
• Powerful Essays

GS104 Lab Report Experiment # 8 Static electricity or Electrostatics David Case: March 6, 2015 Experiment #8 Static Electricity or Electrostatics Objective: To explore the concepts of static electricity and to discover how many types of electrical charges exist and how they interact with each other Materials: 1 Scrap of white paper 1 Transparent tape 1 Aluminum Foil - 6"x 6" 2 Cup, Styrofoam, 8 oz 1 Dark paper - 1/2…

• 740 Words
• 3 Pages
Powerful Essays
• Good Essays

plunger before removing the needle. 6. (Optional) If required by the company, place the cure adapter over the connector ferrule. 7. Feed the optical fiber through the connector while ensuring the strength member fans back as the fiber is pushed forward. 8. Crimp the connector using crimpers (follow manufacturer’s data sheet). 9. Place the connector in the curing over and follow the manufacturers’ cure schedule for curing the epoxy. 10. Once epoxy has cured, remove the connector and allow it to cool. Proceed…

• 662 Words
• 2 Pages
Good Essays
• Good Essays

Unit 8 promote and implement health and safety in health and social care Understand own responabilites and the responabilities of others relating to health and safety 1.1 identify legislation relating to health and safety in a health or social care work setting The legislations are: * the health and safety at work act 1974 * management of health and safety at work regulations 1999 * manual handling operations regulations 1992 * health and safety first aid regulations 1981…

• 1207 Words
• 5 Pages
Good Essays