Premium Essay

Pt1420 Unit 10

In: Computers and Technology

Submitted By TimothyKnoxNSA
Words 530
Pages 3
Timothy Knox
8/21/2015
Dr. North
Unit 10
10.1.1

TCP can connect two hosts with the capability to retransmit dropped packets, maintain ordering, and check for errors. A TCP connection is established with a three-way handshake in which a connection is established and acknowledged. What are the three messages that form this handshake sequence? Why is this important for establishing the connection? Use your textbook and Internet research to compose your answer.
The messages that are used to form the handshake are SYN, SYN-ACK, and ACK. They are important because it allows for both ends to initiate and communicate using different TCP sockets at once.

10.1.2

By establishing a TCP connection, you allow one host to verify expected communication to and from the connected host. This provides two important features: windowing/sequencing and error checking/recovery. Windowing and sequencing are used to determine whether messages have been seen and are delivered in the correct order to the recipient. Error checking makes sure that all the packets are delivered as expected, providing reliability. Why are reliability and sequencing important in message delivery? Give an example of when each would be necessary.
Its important because it allows for the organization of multiple messages so that the right message is sent in its proper order. Sequencing is the other important part because it makes sure things are in order and also that they are received in the right time frame and order.

10.1 Review

1. Why is the IP address not needed at the transport layer of communication? Justify your answer.
Because this is the layer that provides convenient services such as connection – oriented data stream support, reliability, flow control, multiplexing.

2. For messages used for online gaming, which is a better transport protocol to use, TCP or UDP? For…...

Similar Documents

Premium Essay

Unit 10

...Assignment Grading Rubric Course: IT460 Unit: 10 Points: 140 Assignment 10 Outcomes addressed in this activity:  Complete final assignment Course Outcomes:   IT460-1 Compare various types of information systems. IT460-4 Practice team dynamics by participating in a role play activity. Assignment Instructions: Please complete the following assignments using MS Word. Save the assignment as Final Assignment.doc and place it into the Unit 10 Final Assignment Drop Box. Ensure all group members have checked the final assignment before it is submitted. Submit only one Final Assignment per group. Click here to access the “SCR-TIMS Work Session Link”. Part 1: System Architecture Tasks 1. Visit SCR's data library to review SCR's network configuration and then send Jesse a recommendation for the TIMS system architecture. She wants me to suggest an overall network topology solution. She also asked me to comment on these issues: legacy data, Web-centricity, scalability, security, and batch processing that might be needed. Jesse said it was OK to make reasonable assumptions in my proposal to her (SCR-TIMS, Work Session, Session 10,- To Do List #2). This includes providing a detailed description of a client/server architecture. Assignment should also show distinction between 2 tier and 3 tier network and select one for recommendation. A detailed analysis of network topology includes definition and what is being proposed for the client. Assignment should give a definition of what...

Words: 1330 - Pages: 6

Premium Essay

Unit 1 Pt1420

...Unit 1 Research 1 PT1420 In the 1970s the programming language that was most popular was Pascal. Pascal was designed in 1968-69 but published in 1970. Niklaus Wirth created the Pascal language to “1) make available a language suitable for teaching programming as a systematic discipline based on fundamental concepts clearly by the language, and 2) to define a language whose implementations could be both reliable and efficient on then-available computers. In 1972 the C programming language was developed by Dennis Ritchie. C was created to work with the system Unix. “Unix gives C such advanced features as dynamic variables, multitasking, interrupt handling, forking, and strong, low-level, input-output. Because of this, C is very commonly used to program operating systems such as Unix, Windows, the MacOS, and Linux.” In the 1980s the popular programming language was C++. C++ was developed at Bell Laboratories. C++ is a general purpose multi-paradigm spanning compiled language that has both high-level and low-level languages’ features. It was started as an enhancement to the C programming language, Bjarne Stroustrup in 1979. In the 1990s Java was the popular programming language. It was created in 1991 developed by James Gosling at Sun Microsystems and release in 1995. In the 2000s Visual Basic (VB) was popular in the programming world. VB was developed from BASIC which was originally developed in 1964 by John Kemeny and Thomas Kurts. VB is a Microsoft programing language and......

Words: 261 - Pages: 2

Premium Essay

Pt1420 Unit 7

...whereas a posttest loop or do until loop executes one or more statements and then a condition is tested. 3.) What is a condition- controlled loop? A condition- controlled loop uses a true/ false condition to control the number of times that it repeats. 4.) What is a count- controlled loop? A count- controlled loop repeats a specific number of times. 5.) What three actions do count- controlled loops typically perform using the counter variable? 1. Initialization 2. test 3. increment Algorithm Workbench 1.) Design a While loop that lets the user enter a number. The number should be multiplied by 10, and the result stored in a variable named product. The loop should iterate as long as product contains a value less than 100. //Declare product = 0 do Display “ Enter a number:” Input number product = number x 10 while product <= 100 7.) Convert the While loop in the following code to a Do- While loop: Declare Integer x = 1 While x > 0 Display " Enter a number." Input x End While Declare x as integer = 1 Do Display “ Enter a number:” Input x If x != 0 then Display “ Try again” End if Until x = 0 Display “ The number you entered is correct” Programming Exercises 1.) Bug Collector A bug collector collects bugs every day for seven days. Design a program that keeps a running total of the number of bugs collected during the seven days. The loop should ask for the number of bugs collected for each day,......

Words: 606 - Pages: 3

Free Essay

Pt1420 Unit 3

...Short Answer: 5. The variable’s name and the variable’s data type must be specified in a variable declaration. 6. The value of an uninitialized variable is either 0 or the value that happens to be stored in its memory location. Algorithm Workbench: 3. a. Set b = 2 + a b. Set a = b * 4 c. Set b = a / 3.14 d. Set a = b – 8 4. a. 12 b. 4 c. 2 d. 6 5. Declare Real cost 6. Declare Int total = 0 7. Set count = 27 8. Set total = 10 + 14 9. Set due = downPayment – total 10. Set totalFee = subtotal * .015 Programming Exercise: 6. Declare Real purchaseAmt Constant Real STATE_TAX = 0.04 Constant Real COUNTY_TAX = 0.02 Declare Real totalTax Declare Real totalSale Display “Enter the amount of purchase” Input purchaseAmt Set stateTax = purchaseAmt * stateTax Set countyTax = purchaseAmt * countyTax Set totalTax = stateTax + countyTax Set totalSale = purchaseAmt * totalTax Display “The amount of your purchase is $”, purchaseAmt, Display “The state tax is $”, stateTax Display “The county tax is $”, countyTax Display “total tax is $”, totalTax Display “The total of the sale is $” totalSale 8. Declare Real mealAmt Constant Real TIP = 0.15 Constant Real SALES_TAX = 0.07 Display Real taxTotal Declare Real totalSale Display “Enter the price of the meal” Input mealAmt Set salesTax = mealAmt * salesTax Set tip = mealAmt * tip Set totalTax = salesTax + tip Set totalSale =......

Words: 254 - Pages: 2

Premium Essay

Pt1420 Unit 4 Assignment

...Unit 4 Assignment Short Answers 1. Modules allow the programmer to write an operation once, and then be able to execute it any time needed later in the code. 2. Header – The starting point of the module Body- The list of statements that belong to the module 3. The program returns to the memory address just after from where the module was called, and continues to execute 4. A local variable is a variable that is declared from within the module. Only statements in that module can access it. 5. A local variable’s scope begins at the variable’s declaration and ends at the end of the module in which it is declared. 6. Passing an argument by value is a one-way communication from the main program to the module. Changes to the parameter variable inside the module do not affect the argument in the calling part of the program. Passing an argument by reference is a two-way communication from the main program to the module and it allows modification of the variable in the calling program 7. Global variables make a program difficult to debug because any statement in a program file can change the value of a global variable. If you find that the wrong value is being stored in the global variable, you have to track down every statement that accesses it to determine where the bad value is coming from. 1. Module timesTen (integer originalNumber by value) Set a = originalNumber * 10 Input a Display “The answer is “, a 5. Module getNumber (integer......

Words: 483 - Pages: 2

Premium Essay

Pt1420 Unit 1

...“Unit 1 Assignment 1” ITT Technical Institute Intro to Programming – PT1420 Unit 1 Assignment 1 Short Answer Questions 1. Why is the CPU the most important component in a computer? The reason the CPU is the most important component in a computer is because without the CPU you can’t run any software. 2. What number does a bit that is turned on represent? What number does a bit that is turned off represent? The number in a bit that represents a turned on position is 1. The number in a bit that represents a turned off position is 0. 3. What would call a device that works with binary data? A digital device is a device that works with binary data. 4. What are the words that make up a high-level programming language called? Keywords or Reserved Words are words that make up a high-level programming language. 5. What are short words that are used in assembly language called? Mnemonics are short words that are used in assembly language. 6. What is the difference between a compiler and an interpreter? The difference between a compiler and an interpreter is that a compiler translates high-level language into separate machine language program while an interpreter translates AND executes the instructions in a high-level language program. 7. What type of software controls the internal operations of the computer’s hardware? An operating system controls the internal operations of the computer’s hardware. Unit 1 Research Assignment 1 * What......

Words: 1534 - Pages: 7

Premium Essay

Pt1420 Unit 8

...HomeworkUnit 8 Assignment Short Answer 6-10 page 213 6. What is an infinite loop? Write the code for an infinite loop. An infinite loop is a sequence of instructions in a computer program which loops endlessly. While keepgoing ==”y” 7. A For loop looks like what other loop in a flowchart? It looks the while loop. 8. Why is it critical that accumulator variables are properly initialized? Accumulator variables should be properly initialized to be sure that it does not contain garbage. 9. What is the advantage of using a sentinel? The advantage of a sentinel automatically marks the end of the list for you. 10. Why must the value chosen for use as a sentinel be carefully selected? It must be carefully selected to be sure it doesn’t get mistaken as a regular value in the list. Algorithm 3, 4, 9, and 10 page 213 3. Design a For loop that displays the following set of numbers: 0, 10, 20, 30, 40, 50 . . . 1000 For(int i = 0; i <=1000; i += 10) System.out.print(i + “,”); 4. Design a loop that asks the user to enter a number. The loop should iterate 10 times and keep a running total of the numbers entered. Scanner k = new Scanner(System.in); int total = 0; For(int i = 0; i < 10; i ++){ System.out.println(“Enter a number:”); Total += k.nextlnt();} 9. Convert the following While loop to a For loop: Declare Integer count = 0 While count < 50 Display " The count is ", count Set count = count + 1 End While 10. Convert the following For loop......

Words: 299 - Pages: 2

Premium Essay

Unit 10

...device drivers and services * Diagnostic Startup- load basic devices and services only * Selective startup- Process System.ini file, process Win.ini file, load system services, load startup items, use original Boot.ini, use modified Boot.ini Services-Located in administrative tools, used to stop and start individual services while troubleshooting your computer. Services utility ca be accessed through the computer management utility and MS Config utility. Event Viewer: Located in Admin Tools * Application-information, warning, error * Security- failure, success * System- information, warning, error Types of Networks: * LAN(Local Area Network) * WAN(Wide Area Network) Administering a LAN: Peer to Peer: * 10 or fewer computers * All computers are equal * Local administration * Local security * Local control of resources Client Server: * Scalable network * Central administration * Centralized security * Centralize control of resources Networking Models: Workgroup: * Peer-to-peer network * All computers are equal Domain: * Client server network * At least one server promoted to role of domain controller * Servers manage domain administration Network Topologies: Four Topologies: * Bus * Ring * Star * Mesh Bus: * Single cable connects all devices * Requires 50ohm terminator(resistor) at each end * Easy to create * Less expensive * Each node represents...

Words: 489 - Pages: 2

Premium Essay

Pt1420 Unit 2 Research

...Kelli Okuly PT1420 Unit 2 Research Assignment 12-5-2014 Variable naming conventions vary from program to program. In Visual Basic the variable must begin with a letter and you cannot use a space, period (.), or the characters !, @, &, $, # in the name. Visual Basic variable names must be under 255 characters long. You shouldn't use any names that are the same as the functions, statements, and methods in Visual Basic. You end up shadowing the same keywords in the language. To use a basic language function, statement, or method that conflicts with an assigned name, you must explicitly identify it. Precede the fundamental function, statement, or method name with the name of the associated type library. For example, if you have a variable called “Left”, you can only use the “Left” function using “VBA.Left”. In Python, variables must begin with a letter or underscore (_). Other characters can be letters, numbers, or the underscore. Python variables are case sensitive and can be any length, within reason. There are several keywords in Python that are reserved for other functions and cannot be used as variables. For example; print, def, from, not, and return. Variables in Java are referred to as Identifiers. In Java the variable must begin with a letter, an underscore, or a dollar sign ($) although a letter is typically what is used. The other characters may be letters or numbers, no spaces or special characters are allowed. Java identifiers can be any length......

Words: 405 - Pages: 2

Premium Essay

Unit 10

...preparations for the dinner been successful? 4. How does Amanda dress for the gentleman caller? 5. Why does Laura dread the evening? 6. Describe the way Laura answers the door. 7. What does Jim recommend for Tom? 8. What does Jim tell Tom about his job? Is Tom concerned about this warning? Why? 9. What first step has Tom already taken? 10. With whom does Tom identify as he talks of his plans? 11. Does everyone enjoy dinner? Scene 7 1. What happens as they finish dinner? 2. What lighting do they use instead? 3. What is Jim’s first assessment of Laura? 4. Does Jim recognize Laura? 5. How does Jim react to Laura’s confession of her shyness and the reason she gives for it—the brace on her leg? 6. How is Jim discovering his own excellence? 7. What is Jim’s view of democracy? 8. Why does Laura show Jim the unicorn? 9. What is Jim’s next step in curing Laura’s inferiority complex? 10. What happens as they dance? 11. As Jim forthrightly tells Laura about Betty and their marriage plans, how does Laura react? 12. What is the significance of Laura’s gift to Jim? 13. What is Tom’s final realization?...

Words: 638 - Pages: 3

Free Essay

Pt1420 Unit 2

...major 4. Total Purchase Display “Enter the first item” Input Item 1 Display “Enter the second item” Input Item 2 Display “Enter the third item” Input Item 3 Display “Enter the forth item” Input Item 4 Display “Enter the fifth item” Input item 5 Set subtotal = item1+item2+item3+item4+item5 Set sales tax = (subtotal*.06) Set total = subtotal + sales tax Display “Your Subtotal is”, subtotal, “The sales tax is”, sales tax, “Your total is”, total Unit 2 Research 1 Java 1. Variable names are case-sensitive. 2. A variable’s name can be any legal identifier. 3. It can contain Unicode letter, Digits and Two Special Characters such as Underscore and dollar Sign. 4. Length of Variable name can be any number. 5. Its necessary to use Alphabet at the start (however we can use underscore , but do not use it ) 6. Some auto generated variables may contain ‘$‘ sign. But try to avoid using Dollar Sign. 7. White space is not permitted. 8. Special Characters are not allowed. 9. Digit at start is not allowed. 10. Subsequent characters may be letters, digits, dollar signs, or underscore characters. 11. Variable name must not be a keyword or reserved word. Visual Basics 1. You must use a letter as the first character. 2. You can't use a space, period (.), exclamation mark (!), or the characters @, &, $, # in the name. 3. Name can't exceed 255 characters in length. 4. Generally, you shouldn't use any names that are the same as the functions, statements, and......

Words: 676 - Pages: 3

Free Essay

Pt1420 Programming Unit 10 Research & Homework

...Unit 10: Homework and Research Assignment Definition Decision Structure - allows a program to perform actions only under certain conditions. Boolean expression - expressions that can be evaluated as either True or False Iteration - is the repetition of a block of statements within a computer program. Counter-controlled repetition structure - used when a program needs to repeatedly process one or more instructions until some condition is met, at which time the loop ends. Many programming tasks are repetitive, having little variation from one item to the next.  Condition controlled - Most programming languages have constructions for repeating a loop until some condition changes. Note that some variations place the test at the start of the loop, while others have the test at the end of the loop.  Pre – test loop - the condition gets evaluated at the beginning of the loop cycle. Therefore, the body of the loop will not get executed if the condition does not hold the very first time. Post – Test loop - the loop condition gets evaluated at the end of the loop cycle. Therefore, the body of the loop will get executed at least once, regardless of the condition. This is a major difference between a pretest loop and a posttest loop. You may choose a posttest loop if the problem description justifies the body of the loop be executed at least once. Repetition Sequence/ Set of statements - A repetition structure causes a statement or set of statements to......

Words: 1912 - Pages: 8

Free Essay

Pt1420 Unit 6 Assignment 1

...Week 06 Assignments Textbook Reading * Chapter 4 * Chapter 5 sections 5.1, 5.2, and 5.3 (pages 196-201) Week 06 Homework From the Gaddis textbook: * Programming Exercises 2, 6 and 9, on pages 160-161 For the Programming Exercises, design a program means write the pseudocode for the program. Except for Programming Exercise 2, your design should include multiple modules, not just main(). Upload a Microsoft Word document with the pseudocode to your shared PT1420 community website or submit a paper copy to your instructor by the beginning of the Week 7 class. Programing Exercises pg. 160-161 2. Areas of rectangles Module Main() Declare width1 integer = 0 Declare length1 integer = 0 Declare width2 integer = 0 Declare length2 integer = 0 Declare area1 integer = 0 Declare area2 integer = 0 Call rectangle1 (width1, length1, area1) Call rectangle2 (width2, length2, area2) Call comparison (rectangle1, rectangle2) Display “press enter to continue” End module Module rectangle1 (value width1 as integer, value length1 as integer, value area1 as integer) Display "Enter the width of rectangle 1” Input width1 Display "Enter the length of rectangle 1" Input length1 area1 = width1 * length1 End module Module rectangle2 (value width2 as integer, value length2 as integer, value area2 as integer) Display "Enter the width of rectangle 2” Input width2 Display "Enter the length of rectangle 2" Input length2 area2 = width2 * length2 End......

Words: 764 - Pages: 4

Free Essay

Pt1420 Lab 10

...Lab 10: File Access This lab accompanies Chapter 10 of Starting Out with Programming Logic & Design. Lab 10.1 – File Access and Visual Basic This lab examines how to work with a file by writing Visual Basic code. Read the following programming problem prior to completing the lab. Write and design a simple program that will take 3 pieces of data and write it to a file. Create variables and set them equal to the appropriate values: Declare string firstName = “xxx” Declare string lastName = “xxx” Declare integer age = your age Write this information to a file called myRecords.txt. Next, read this information from the file and print it to the screen. Step 1: Create a new Visual Basic workspace and add the following code: Module Module1 Sub Main() Dim firstName As String = "XXXX" Dim lastName As String = "XXX" Dim age As Integer = #### Dim writer As System.IO.StreamWriter = System.IO.File.CreateText("myRecords.txt") writer.WriteLine(firstName & " " & lastName & " " & age) writer.Close() Dim reader As System.IO.StreamReader = System.IO.File.OpenText("myRecords.txt") Dim myInfo As String = reader.ReadLine() Console.WriteLine(myInfo) reader.Close() 'this causes a pause so you can see your program Console.Write("Press enter to continue...") Console.ReadLine() End Sub End Module Step 2: Change......

Words: 347 - Pages: 2

Free Essay

Unit 6 Pt1420 Introprogramming

...Delvon Frye 7/26/2016 PT1420 Unit 6 Assignment Algorithm Workbench pg. 159 6-10 6. Select number Case 1: Display “You selected A.” Case 2: Display “You selected 2.” Case 3: Display “You selected 3.” Case 4: Display “You selected 4.” Default: Display “Not good with numbers, eh?” End Select 7. If Speed 24 > and Speed < 56 Display “Speed is normal.” Else Display “Speed is abnormal.” 8. If points are < 9 and >51 Display “Invalid points.” Else 9. Display “Valid points.” Select testMonth Case value_1: Display “January has 31 days.” Case value_2: Display “February has 28 days.” Case value_3: Display “March has 31 days.” Default: Display “Invalid selection.” End select 10. If hours==10 THEN Programming Exercises 5 and 8 pg. 160 5. Dim color1 as string Dim color2 as string Display (“Please enter two primary colors.”) Display (“The color you made is Purple”) Else Display (“The color you made is Purple”) Else Display (“The color you made is Orange”) Else Display (“The color you made is Orange”) Else Display (“The color you made is Green”) Else Display (“The color you made is Green”) Else If color1 = else or color2 = else then Display (“You failed to enter a valid color!”) End if 8. //This is a program asks the user to enter the number of coins required to make exactly one dollar. //Declare the variables Declare Real pennies Declare Real nickels Declare Real dimes......

Words: 533 - Pages: 3