Skip to main content

Posts

Showing posts with the label most recent answers of Upwork System Programming test

Upwork/oDesk System Programming Test Answers

1. Which of the following system calls can be used to send a message via a connected socket?   Answers:  • send --- or --- • sendto ---- or ---- • sendmsg --- or ----- • write  2. Which of the following methods can be used as a communication mechanism between two unrelated processes?   Answers:  • A pipe using the pipe system call. --- or ---- • A named pipe using the mknod system call. --- or ---- • Named sockets.    3. Which of the following are true of Unix system calls?   Answers:  • The routine "malloc" which is used for allocating memory is a system call. --- or --- • A new file can be created using the "open" system call.  4. Which of the following Linux commands can be used to identify the processes consuming maximum resources (CPU, Memory)?   Answers:  • ps --- or ---- • top  5. Which of the following signals are used by the Unix shell to implement job control?   Answers:  • SIGSTOP --- or --- • SIG...