During TCP/IP communications between two network hosts, information is encapsulated on the sending host and decapsulated on the receiving host using the OSI model. Match the information format with the appropriate layer of the OSI model.

a. Packets
b. Segments
c. Bits
d. Frames

1. Session Layer
2. Transport Layer
3. Network Layer
4. Data Link Layer
5. Physical Layer

Answers

Answer 1

Answer:

a. Packets - Network layer

b. Segments - Transport layer

c. Bits - Physical layer

d. Frames - Data link layer

Explanation:

When TCP/IP protocols are used for communication between two network hosts, there is a process of coding and decoding also called encapsulation and decapsulation.

This ensures the information is not accessible by other parties except the two hosts involved.

Operating Systems Interconnected model (OSI) is used to standardise communication in a computing system.

There are 7 layers used in the OSI model:

1. Session Layer

2. Transport Layer

3. Network Layer

4. Data Link Layer

5. Physical Layer

6. Presentation layer

7. Application layer

The information formats given are matched as

a. Packets - Network layer

b. Segments - Transport layer

c. Bits - Physical layer

d. Frames - Data link layer


Related Questions

Computing devices translate digital to analog information in order to process the information


Computing devices are electronic.


The CPU processes commands.


The memory uses binary numbers

Answers

Complete Question:

Which of the following about computers is NOT true?

Group of answer choices.

A. Computing devices translate digital to analog information in order to process the information.

B. Computing devices are electronic.

C. The CPU processes commands.

D. The memory uses binary numbers

Answer:

A. Computing devices translate digital to analog information in order to process the information.

Explanation:

Computing is the process of using computer hardware and software to manage, process and transmit data in order to complete a goal-oriented task.

The true statements about computers are;

I. Computing devices are electronic: the components and parts which makes up a computer system are mainly powered by a power supply unit and motherboard that typically comprises of electronic components such as capacitors, resistors, diodes etc.

II. The CPU processes commands: the central processing unit (CPU) is responsible for converting or transforming the data from an input device into a usable format and sent to the output device.

III. The memory uses binary numbers: computer only understand ones and zeros.

g n this program, you will prompt the user for three numbers. You need to check and make sure that all numbers are equal to or greater than 0 (can use an if or if/else statement for this). You will then multiply the last two digits together, and add the result to the first number. The program should then start over, once again asking for another three numbers. This program should loop indefinitely in this way. If the user enters a number lower than 0, remind the user that they need to enter a number greater than or equal to 0 and loop the program again.

Answers

Answer:

In Python:

loop = True

while(loop):

   nm1 = float(input("Number 1: "))

   nm2 = float(input("Number 2: "))

   nm3 = float(input("Number 3: "))

   if (nm1 >= 0 and nm2 >= 0 and nm3 >= 0):

       result = nm2 * nm3 + nm1

       print("Result: "+str(result))

       loop = True

   else:

       print("All inputs must be greater than or equal to 0")

       loop = True

Explanation:

First, we set the loop to True (a boolean variable)

loop = True

This while loop iterates, indefinitely

while(loop):

The next three lines prompt user for three numbers

   nm1 = float(input("Number 1: "))

   nm2 = float(input("Number 2: "))

   nm3 = float(input("Number 3: "))

The following if condition checks if all of the numbers are greater than or equal to 0

   if (nm1 >= 0 and nm2 >= 0 and nm3 >= 0):

If yes, the result is calculated

       result = nm2 * nm3 + nm1

... and printed

       print("Result: "+str(result))

The loop is then set to true

       loop = True

   else:

If otherwise, the user is prompted to enter valid inputs

       print("All inputs must be greater than or equal to 0")

The loop is then set to true

       loop = True

What is media framing?

Answers

Answer:

media frame all news items by specific values, facts, and other considerations, and endowing them with greater apparent for making related judgments

Explanation:

You've created a new programming language, and now you've decided to add hashmap support to it. Actually you are quite disappointed that in common programming languages it's impossible to add a number to all hashmap keys, or all its values. So you've decided to take matters into your own hands and implement your own hashmap in your new language that has the following operations:
insert x y - insert an object with key x and value y.
get x - return the value of an object with key x.
addToKey x - add x to all keys in map.
addToValue y - add y to all values in map.
To test out your new hashmap, you have a list of queries in the form of two arrays: queryTypes contains the names of the methods to be called (eg: insert, get, etc), and queries contains the arguments for those methods (the x and y values).
Your task is to implement this hashmap, apply the given queries, and to find the sum of all the results for get operations.
Example
For queryType = ["insert", "insert", "addToValue", "addToKey", "get"] and query = [[1, 2], [2, 3], [2], [1], [3]], the output should be hashMap(queryType, query) = 5.
The hashmap looks like this after each query:
1 query: {1: 2}
2 query: {1: 2, 2: 3}
3 query: {1: 4, 2: 5}
4 query: {2: 4, 3: 5}
5 query: answer is 5
The result of the last get query for 3 is 5 in the resulting hashmap.
For queryType = ["insert", "addToValue", "get", "insert", "addToKey", "addToValue", "get"] and query = [[1, 2], [2], [1], [2, 3], [1], [-1], [3]], the output should be hashMap(queryType, query) = 6.
The hashmap looks like this after each query:
1 query: {1: 2}
2 query: {1: 4}
3 query: answer is 4
4 query: {1: 4, 2: 3}
5 query: {2: 4, 3: 3}
6 query: {2: 3, 3: 2}
7 query: answer is 2
The sum of the results for all the get queries is equal to 4 + 2 = 6.
Input/Output
[execution time limit] 4 seconds (py3)
[input] array.string queryType
Array of query types. It is guaranteed that each queryType[i] is either "addToKey", "addToValue", "get", or "insert".
Guaranteed constraints:
1 ≤ queryType.length ≤ 105.
[input] array.array.integer query
Array of queries, where each query is represented either by two numbers for insert query or by one number for other queries. It is guaranteed that during all queries all keys and values are in the range [-109, 109].
Guaranteed constraints:
query.length = queryType.length,
1 ≤ query[i].length ≤ 2.
[output] integer64
The sum of the results for all get queries.
[Python3] Syntax Tips
# Prints help message to the console
# Returns a string
def helloWorld(name):
print("This prints to the console when you Run Tests")
return "Hello, " + name

Answers

Answer:

Attached please find my solution in JAVA

Explanation:

long hashMap(String[] queryType, int[][] query) {

       long sum = 0;

       Integer currKey = 0;

       Integer currValue = 0;

       Map<Integer, Integer> values = new HashMap<>();

       for (int i = 0; i < queryType.length; i++) {

           String currQuery = queryType[i];

           switch (currQuery) {

           case "insert":

               HashMap<Integer, Integer> copiedValues = new HashMap<>();

               if (currKey != 0 || currValue != 0) {

                   Set<Integer> keys = values.keySet();

                   for (Integer key : keys) {

                       copiedValues.put(key + currKey, values.get(key) + currValue);

                   }

                   values.clear();

                   values.putAll(copiedValues);

                   currValue = 0;

                   currKey = 0;

               }

               values.put(query[i][0], query[i][1]);

               break;

           case "addToValue":

               currValue += values.isEmpty() ? 0 : query[i][0];

               break;

           case "addToKey":

               currKey += values.isEmpty() ? 0 : query[i][0];

               break;

           case "get":

               copiedValues = new HashMap<>();

               if (currKey != 0 || currValue != 0) {

                   Set<Integer> keys = values.keySet();

                   for (Integer key : keys) {

                       copiedValues.put(key + currKey, values.get(key) + currValue);

                   }

                   values.clear();

                   values.putAll(copiedValues);

                   currValue = 0;

                   currKey = 0;

               }

               sum += values.get(query[i][0]);

           }

       }

       return sum;

   }


What are the two basic functions (methods) used in classical encryption algorithms?

Answers

Substitution and transposition

substitution and transport

Other Questions
What led directly to the formation of the Republican Party?passage of the Kansas-Nebraska Actthe outcome of the Mexican-American WarStephen Douglass failed run for US Senate Why are protists discussed in groups like animal, plant, fungus Winner-brainliest Tell me the answer in rowsPasta 1.2 and so on 12. True or False. John Locke believed that Kings ruled through the divine right of authority. what is a solution for deforestation (full sentences please) 9 (1+4) + 7 3 4 = I'm learning about sin, cos, and tan but I don't know how to use my calculator. My problem right now is -1.8=cos x and I need to solve for x but I dont know what to do in my calculator. . A system may become infected by some spyware through the internet or e-mail. Seventy percent of the time the spyware arrives via the internet, thirty percent of the time via email. If it enters via the internet, the system detects it immediately with probability 0.6. If via e-mail, it is detected with probability 0.8. What percentage of times is this spyware detected Twice the difference of a number and 2 is added to 6 and the result is 4 more than 3 times the number. Im literally gonna go insane from this TwT A science test, which is worth 100 points, consists of 24 questions. Each question is worth either 3 points or 5points. If x is the number of 3-point questions and y is the number of 5-point questions, the system shownrepresents this situation.x + y = 243x + 5y = 100What does the solution of this system indicate about the questions on the test?O The test contains 4 three-point questions and 20 five-point questions.The test contains 10 three-point questions and 14 five-point questions.The test contains 14 three-point questions and 10 five-point questions.The test contains 20 three-point questions and 8 five-point questions. In your opinion, do law enforcement officers do more harm than good? Explain.Would you risk everything to speak out against injustice? Why or Why not?Have you ever felt that you were living a double life? Explain.In your opinion, is committing a crime ever justified? Why or why notIn your opinion, should you hold people accountable for their prejudice? Why or why not? Cost of a tie: $35.50Markup: 30%Discount: 20%Tax: 5% You and a friend join a gym. The registration fee is $30 and the monthly membership is $20. If the total bill for you and your friend is $420, how many months did you pay for? Read the passage below from The True Confessions of Charlotte Doyle and answer the question.Mr. Hollybrass, sweat running down his hot, red face, pulled the body close but then he paused and offered a look of appeal to Captain Jaggery.The captain spat at Cranicks body. Over! he insisted.Excerpts from The True Confessions of Charlotte Doyle, copyright 1990 by Avi. Used by permission of Brandt and Hochman Literary Agents, Inc. All rights reserved.What can we infer about Mr. Hollybrass based on his look of appeal?He dislikes Cranick.He disagrees with Captain Jaggerys lack of sympathy.He feels uneasy because of the dead body.He believes Captain Jaggery is being just. Does anybody know the answer to this a. Identify the series of transformations that would map Circle A onto Circle B.b. Identify the series of transformations that would map Circle C onto Circle A. In the figure, ae, mn, and m3 = 112. What is the m1? Enter your answer in the box. Lines n and m (reading from top to bottom) are parallel to each other, and lines a and e are parallel to each other. The two pairs of lines intersect each other. Lines m and n start at top left and drop to the bottom right. Lines a and e rise from left to right. Only six of the sixteen angles created are labelled. Angle one is the top angle made by lines n and a. Angle two is the bottom angle. Angle three is the bottom angle made by lines m and a. Angle four is the top angle made by lines n and e. Angle five is the left angle. Angle six is the bottom angle made by lines m and e. me need help whit this 0.0135 kg of steam at 100C iscooled, which turns it into water at50.0C. How much heat has beenremoved? (Remember, it has tochange phase before coolingdown.)Boil Pt (C)Material Melt Pt (C) 4 0/kg)Water03.33.105L(/kg) c (J/(kg*C))2.26.106 4186100(Unit = J)