Unix Communication and File Descriptor Quiz
3 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the main way programs communicate in Unix?

  • Through sockets
  • Through file descriptors (correct)
  • Through read() and write() calls
  • Through send() and recv() calls
  • What kind of file descriptor is associated with an open file?

  • A network connection
  • A FIFO
  • A pipe
  • A terminal (correct)
  • What system routine is called to get the socket descriptor?

  • socket( (correct)
  • send(
  • recv(
  • read(
  • More Like This

    CS131 Week 5 and Week 6
    22 questions
    Unix File System Permissions
    31 questions
    Unix File Management Basics
    37 questions
    Use Quizgecko on...
    Browser
    Browser