
Network Programming quiz-TCP UDP_socket programming

Quiz
•
Other
•
University
•
Medium
prapulla shivraj
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about the bind() function in socket programming?
It associates a socket with a specific port and IP address.
It establishes a connection between client and server.
It sends data over the network.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of the recvfrom() function in UDP socket programming?
To receive data from any client.
To establish a connection with a client.
To send data to a specific client.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which protocol is commonly used for DNS queries due to its low overhead?
UDP
TCP
HTTP
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of the UDP header?
8 bytes
16 bytes
32 bytes
64 bytes
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is not a valid reason why a UDP client may not receive a server response?
TCP handshake failed
Server not listening on expected port
Network drops the packet
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a function of the Transport Layer in the OSI model?
Routing
Segmentation and reassembly
Flow control
Error control
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the best method for building a high-concurrency TCP server?
Using epoll() or select() for I/O multiplexing
Using a separate thread for each connection
Using blocking sockets in a loop
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Banco de Dados Quiz

Quiz
•
University
15 questions
My Channels No.1 Fan

Quiz
•
KG - Professional Dev...
15 questions
Uji Pengetahuan Jaringan Komputer

Quiz
•
University
15 questions
Scratch Programming Quiz

Quiz
•
10th Grade - University
14 questions
les Systèmes d'Exploitation

Quiz
•
12th Grade - University
10 questions
29.08Cuestionario II Proc. Constitucional

Quiz
•
University
10 questions
SLD521_Pop_Quiz

Quiz
•
University
10 questions
Cloud Computing

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Other
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University