Which of the following do not qualify as System calls for communication for Windows Linux OS?

This question was previously asked in
Beltron Programmer 1 Oct 2023 Official Paper
View all BELTRON Programmer Papers >
  1. Map View Of File( )/ mmap ( )
  2. Create Pipe ( )/ pipe ( )
  3. Write Console ( )/ write ( )
  4. Create File Mapping( )/ shmget ( )

Answer (Detailed Solution Below)

Option 3 : Write Console ( )/ write ( )
Free
Beltron Programmer Mock Test
0.8 K Users
20 Questions 20 Marks 24 Mins

Detailed Solution

Download Solution PDF

The correct answer is Option 3) WriteConsole()/write().

Key Points

  • System calls are low-level APIs provided by the operating system to perform operations like process control, file handling, and interprocess communication (IPC).
  • WriteConsole() (Windows) and write() (Linux) are system calls used for I/O operations – specifically writing output to the console or terminal, not for communication between processes.
  • On the other hand, options like pipe(), mmap(), and shmget() are classic IPC (Inter-Process Communication) system calls.

Additional Information

  • Option 1 – MapViewOfFile()/mmap(): ✅ Used for memory-mapped file communication between processes.
  • Option 2 – CreatePipe()/pipe(): ✅ Used to create pipes for unidirectional interprocess communication.
  • Option 4 – CreateFileMapping()/shmget(): ✅ Used for shared memory allocation between processes.

Conclusion: WriteConsole()/write() are I/O operations, not IPC mechanisms, hence they do not qualify as system calls for communication.

Latest BELTRON Programmer Updates

Last updated on Nov 25, 2024

-> BELTRON Programmer 2024 Notification has been released on the official website.

-> The Bihar State Electronics Development Corporation Limited (BELTRON) has announced a recruitment drive for Programmer positions on a contractual basis.

-> Specific vacancy details will be shared separately.

-> Interested candidates can apply online from November 11, 2024, to December 10, 2024.

-> The Minimum age of the candidates should be 21 years and maximum age should be 59 year of age. 

Get Free Access Now
Hot Links: teen patti king teen patti star teen patti gold online