Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Messages sent by a process __________a)have t... Start Learning for Free
Messages sent by a process __________
  • a)
    have to be of a fixed size
  • b)
    have to be a variable size
  • c)
    can be fixed or variable sized
  • d)
    none of the mentioned
Correct answer is option 'C'. Can you explain this answer?
Most Upvoted Answer
Messages sent by a process __________a)have to be of a fixed sizeb)hav...
Introduction:
In distributed systems, processes communicate with each other by sending and receiving messages. These messages can vary in size depending on the information being transmitted. The size of the message can be fixed or variable, depending on the requirements and design of the system.

Fixed-size messages:
Some systems require messages to always have a fixed size. This can simplify the communication process as each message is guaranteed to have a consistent format and length. The receiving process knows exactly how much data to expect and can easily parse the message accordingly. Fixed-size messages are commonly used in systems where efficiency and speed are critical, such as real-time applications or high-performance computing.

Variable-size messages:
In other cases, messages may have a variable size. This allows for more flexibility in the information being transmitted. Variable-size messages are useful when the size of the data being sent can vary significantly. For example, in a file transfer protocol, the size of the files being transmitted can vary greatly. Using fixed-size messages would lead to inefficiencies, as messages would need to be padded or split to fit the fixed size.

Advantages of fixed-size messages:
- Simplifies the communication process as each message has a consistent format and length.
- Allows for efficient processing and parsing of messages.
- Well-suited for real-time applications or high-performance computing where speed and efficiency are critical.

Advantages of variable-size messages:
- Provides flexibility in transmitting data of varying sizes.
- Eliminates the need for padding or splitting messages to fit a fixed size.
- Well-suited for applications where the size of the data being transmitted can vary significantly, such as file transfers.

Conclusion:
In conclusion, messages sent by a process in a distributed system can be of fixed or variable size. The choice between fixed or variable-size messages depends on the requirements and design of the system. Fixed-size messages offer simplicity and efficiency, while variable-size messages provide flexibility and adaptability to varying data sizes.
Free Test
Community Answer
Messages sent by a process __________a)have to be of a fixed sizeb)hav...
Messages sent by a process can be fixed or variable size. If the message size of the process is fixed then system level implementation is straightforward but it makes the task of programming more difficult. If the message size of the process is variable then system level implementation is more complex but it makes the task of programming simpler.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Messages sent by a process __________a)have to be of a fixed sizeb)have to be a variable sizec)can be fixed or variable sizedd)none of the mentionedCorrect answer is option 'C'. Can you explain this answer?
Question Description
Messages sent by a process __________a)have to be of a fixed sizeb)have to be a variable sizec)can be fixed or variable sizedd)none of the mentionedCorrect answer is option 'C'. Can you explain this answer? for Computer Science Engineering (CSE) 2025 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about Messages sent by a process __________a)have to be of a fixed sizeb)have to be a variable sizec)can be fixed or variable sizedd)none of the mentionedCorrect answer is option 'C'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2025 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Messages sent by a process __________a)have to be of a fixed sizeb)have to be a variable sizec)can be fixed or variable sizedd)none of the mentionedCorrect answer is option 'C'. Can you explain this answer?.
Solutions for Messages sent by a process __________a)have to be of a fixed sizeb)have to be a variable sizec)can be fixed or variable sizedd)none of the mentionedCorrect answer is option 'C'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of Messages sent by a process __________a)have to be of a fixed sizeb)have to be a variable sizec)can be fixed or variable sizedd)none of the mentionedCorrect answer is option 'C'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Messages sent by a process __________a)have to be of a fixed sizeb)have to be a variable sizec)can be fixed or variable sizedd)none of the mentionedCorrect answer is option 'C'. Can you explain this answer?, a detailed solution for Messages sent by a process __________a)have to be of a fixed sizeb)have to be a variable sizec)can be fixed or variable sizedd)none of the mentionedCorrect answer is option 'C'. Can you explain this answer? has been provided alongside types of Messages sent by a process __________a)have to be of a fixed sizeb)have to be a variable sizec)can be fixed or variable sizedd)none of the mentionedCorrect answer is option 'C'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Messages sent by a process __________a)have to be of a fixed sizeb)have to be a variable sizec)can be fixed or variable sizedd)none of the mentionedCorrect answer is option 'C'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev