Test 2 Review Questions Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What are the protocols used in the Physical Layer

A

802.11 abng, 4G, LTE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the protocols used in the Transport Layer

A

TCP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the protocols used in the Network Layer

A

IP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Of the OSI Layers, which are reliable and why?

A

Data Link, Transport and because they have ARQ Error Correction.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does ARQ do from the Sender Side?

A
  1. Send Msg 2. Set a timer 3. Wait for an ACK
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does ARQ do from the Receiver Side?

A
  1. Receive Msg 2. Send Ack
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What happens on the sender side if the ACK arrives first?

A
  1. Stop timer 2. Send next message
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What happens on the sender side if the timer goes off 1st

A
  1. Send msg 2. Set a new timer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Nodes A & B are exchanging messages using the ARQ algorithm. State which action node B should take? Node A Node B M(3) ->

A

Next would be the following from Node B: < – Ack(5)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

True or False? Is the Network Layer reliable

A

False, it does not have error correction.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is difference between TCP and UDP

A

UDP does not have error correction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

_____ labels increase the maintainability of a program:

A

Symbolic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Java is a ___ language:

A

High level

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

A program written in assembly lang is called a ____ program

A

Object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Translators for ___ are called assemblers:

A

assembly language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

An __ operation involves comparison of values and subsequent use of the outcome to go next

A

Conditional

17
Q

The conversion of symbolic op codes such as Load, Add, Substract to binary makes uses of the structure called the ____:

A

Op code Table

18
Q

If op code table is sorted alpha, the __ search algo is used to find the op code:

A

Binary

19
Q

You have 13, 34, 35, 41, 48, 51, 54 and you are looking for the number 48, how would you use Binary Search:

A

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)

20
Q

How many searches would it take to find something with 1024 elements?

A

1024 = 2^10 so log 1024 = 10 searches

21
Q

If you aren’t using the binary search to find things on a table, then you are using this type of search:

A

Sequential

22
Q

4 tasks performed by assembler:

A

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

23
Q

What is the most important task of an OS:

A

Manage system resources (Most important)

24
Q

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

A
25
Q

HDTV images have a resolution of 1,920 x 1090 and use 24 bits to store color info for each pixel. b. Smoother video requires at least 24 frames per second. To leave a buffer margin, consider a system that is able to transmit 30 frame per second. What kind of network connection is the slowest that would provide enough bw?

A

Bw = bits/time

= 1980*1080 [pixel/img]* 24 [bits/pixel] 30 [img/s]

= 1,492,992,000 bps

= 1.492992 Gbps

* We would require han 10 Gbps since it rounds up by 10’s. (Gbps = Divide by a Billion)

26
Q

The us library of congress has almost 35 million books. Assume avg book has 400 kb of text About how many bytes of data storage will be needed to store this much info online?

A

Storage = 34 M [book] x 400 [kb/book] = 14000 Mk*B = 14000 Mk*B x 1024^2 [B/M] x 1024 [1 Kb] = 1.5 x 10^13 B = 15 x 10^12 B x [1 TB/1024^4] = 13.67 TB

27
Q

What is HTTP

A

Hypertext Transfer Protocol

28
Q

What is FTP

A

File Transfer Protocol

29
Q

What is SMTP

A

Simple Mail Transfer Protocol

30
Q

What is POP3

A

Post Office Protocol 3

31
Q

Why is the network layer not reliable?

A
  1. It doesn’t have an ARQ / Error Correcting Code.
  2. If sender A wanted to send a message to B, it would not be able to bypass C in between.
  3. I drew the diagram kindof poorly illustrating this
32
Q

Draw 5 Bit Binary Sequence 11001 onto an an analog carrier by carrier for the Amplitude:

A

1 = Higher Amplitudes, 2 peaks each value

0 = Lower Amplitude, 2 peaks each value

33
Q

Draw 5 Bit Binary Sequence 11001 onto an an analog carrier by carrier for Frequency:

A

1 = More waves/freq

0 = less waves/freq

More or less draw this (it isn’t perfect):