Back to 课程

Computer-science_A-level_Cie

0% Complete
0/0 Steps
  1. computers-and-components
    6 主题
  2. logic-gates-and-logic-circuits
    2 主题
  3. central-processing-unit-cpu-architecture
    6 主题
  4. assembly-language-
    4 主题
  5. bit-manipulation
    1 主题
  6. operating-systems
    3 主题
  7. language-translators
    2 主题
  8. data-security
    3 主题
  9. data-integrity
    1 主题
  10. ethics-and-ownership
    3 主题
  11. database-concepts
    3 主题
  12. database-management-systems-dbms-
    1 主题
  13. data-definition-language-ddl-and-data-manipulation-language-dml
    1 主题
  14. computational-thinking-skills
    1 主题
  15. algorithms
    14 主题
  16. data-types-and-records
    2 主题
  17. arrays
    2 主题
  18. files
    1 主题
  19. introduction-to-abstract-data-types-adt
    1 主题
  20. programming-basics
    1 主题
  21. constructs
    2 主题
  22. structured-programming
    1 主题
  23. program-development-life-cycle
    2 主题
  24. program-design-
    2 主题
  25. program-testing-and-maintenance
    3 主题
  26. user-defined-data-types
    1 主题
  27. file-organisation-and-access-
    3 主题
  28. floating-point-numbers-representation-and-manipulation
    3 主题
  29. protocols
    2 主题
  30. circuit-switching-packet-switching
    1 主题
  31. processors-parallel-processing-and-virtual-machines
    5 主题
  32. boolean-algebra-and-logic-circuits
    4 主题
  33. purposes-of-an-operating-system-os
    3 主题
  34. translation-software
    3 主题
  35. encryption-encryption-protocols-and-digital-certificates
    3 主题
  36. artificial-intelligence-ai
    4 主题
  37. recursion
    1 主题
  38. programming-paradigms
    4 主题
  39. object-oriented-programming
    7 主题
  40. file-processing-and-exception-handling
    2 主题
  41. data-representation
    5 主题
  42. multimedia
    3 主题
  43. compression
    2 主题
  44. networks-and-the-internet
    11 主题
课 Progress
0% Complete

Packetising

What is packetising?

  • Packetising is the process of dividing a large message into smaller, manageable units called packets

  • Each packet can be transmitted individually across a network

Structure of a packet

  • Each packet typically contains:

    • Header – contains control information such as:

      • Source IP address – who sent the packet

      • Destination IP address – where it’s going

      • Sequence number – used to reassemble packets in the correct order

      • Protocol – e.g. TCP or UDP

      • Packet length – the size of the packet

      • Checksum – used for error checking

    • Payload – the actual data being sent

    • Footer (trailer) – may include extra error-checking or control information

Packet transmission & reassembly

  • Once packetised and encapsulated with headers, packets are transmitted independently

  • They may travel along different routes through the network

  • At the destination, packets are reassembled into the original message using sequence numbers

Circuit & packet switching

What is packet switching?

  • Packet switching is a communication method where data is broken into packets and sent across a shared network

  • Each packet may take a different path to the destination and is reassembled on arrival

Benefits:

  • Efficient use of network bandwidth

  • More reliable – only lost or corrupted packets need to be resent

  • Lower cost – network resources are shared

Drawbacks:

  • Not ideal for real-time applications like VoIP or video calls

  • Packets can arrive out of order and require reassembly

  • Network congestion may lead to packet delay or loss

What is circuit switching?

  • Circuit switching is another communication method where data is broken into packets and sent across a shared network

  • Circuit switching sets up a dedicated communication path between two devices for the duration of a session (like a traditional phone call)

Benefits:

  • Ideal for real-time communication – steady and continuous data flow

  • No delays once the circuit is established

  • Data arrives in order

Drawbacks:

  • Less efficient – resources remain reserved even when not in use

  • Higher cost due to dedicated lines

  • Less scalable and flexible for large networks

Packet switching vs circuit switching

Feature

Packet switching

Circuit switching

Definition

Data is split into packets and sent independently over shared routes

A dedicated path is set up for the duration of the communication

Transmission

Data is sent in individual packets

Data is sent in a continuous stream

Efficiency

High – uses bandwidth as needed, paths shared among many users

Low – resources are tied up for each communication, even when idle

Reliability

Robust – packets can be rerouted if a failure occurs

Less robust – if the path fails, the call is dropped and must be re-established

Scalability

Highly scalable – handles large volumes of data and users

Less scalable – more users require more physical paths

Use Cases

Best for emails, web pages, file downloads

Best for real-time communication (voice calls, video conferencing)

Data Order

May arrive out of order – requires reassembly

Always arrives in order

Cost

Lower – due to shared infrastructure

Higher – due to reserved bandwidth and infrastructure

Examiner Tips and Tricks

Try to avoid talking about the speed of data transmission in an answer to a question on packet or circuit switching. This will not get you a mark in the exam and, in some questions, is explicitly stated as not worthy of a mark. It is better to talk about higher bit rates or bandwidth (the number of bits sent per second) or the efficiency of the transmission

Responses

您的邮箱地址不会被公开。 必填项已用 * 标注