Test 2 Review Questions Flashcards
What are the protocols used in the Physical Layer
802.11 abng, 4G, LTE
What are the protocols used in the Transport Layer
TCP
What are the protocols used in the Network Layer
IP
Of the OSI Layers, which are reliable and why?
Data Link, Transport and because they have ARQ Error Correction.
What does ARQ do from the Sender Side?
- Send Msg 2. Set a timer 3. Wait for an ACK
What does ARQ do from the Receiver Side?
- Receive Msg 2. Send Ack
What happens on the sender side if the ACK arrives first?
- Stop timer 2. Send next message
What happens on the sender side if the timer goes off 1st
- Send msg 2. Set a new timer
Nodes A & B are exchanging messages using the ARQ algorithm. State which action node B should take? Node A Node B M(3) ->
Next would be the following from Node B: < – Ack(5)
True or False? Is the Network Layer reliable
False, it does not have error correction.
What is difference between TCP and UDP
UDP does not have error correction
_____ labels increase the maintainability of a program:
Symbolic
Java is a ___ language:
High level
A program written in assembly lang is called a ____ program
Object
Translators for ___ are called assemblers:
assembly language
An __ operation involves comparison of values and subsequent use of the outcome to go next
Conditional
The conversion of symbolic op codes such as Load, Add, Substract to binary makes uses of the structure called the ____:
Op code Table
If op code table is sorted alpha, the __ search algo is used to find the op code:
Binary
You have 13, 34, 35, 41, 48, 51, 54 and you are looking for the number 48, how would you use Binary Search:
Search by the bisection by cutting in half, looking at index related to your search, then cut that search in half to get 48. (Assume they are sorted)
How many searches would it take to find something with 1024 elements?
1024 = 2^10 so log 1024 = 10 searches
If you aren’t using the binary search to find things on a table, then you are using this type of search:
Sequential
4 tasks performed by assembler:
1st pass: build symbol table 2nd pass: 1. Replace Symbol with binary 2. Replace Opcode with binary 3. Perform pseudo op code 4. Write to object file
What is the most important task of an OS:
Manage system resources (Most important)
HDTV images have a resolution of 1,920 x 1090 and use 24 bits to store color info for each pixel. a. What is the lowest bw to transmit such an image over a computer in less than 0.1 sec