
Quiz 04 - Networked Programs
Authored by Brando Talaguit
others

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
17 questions
Show all answers
1.
OPEN ENDED QUESTION
30 sec • Ungraded
Last name, First name Middle Initial
Evaluate responses using AI:
OFF
2.
MULTIPLE CHOICE QUESTION
30 sec • Ungraded
Gender
Male
Female
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Which of the following best describes the difference between TCP and UDP?
A) TCP is unreliable, and UDP is reliable.
B) TCP is connection-oriented, while UDP is connectionless.
C) TCP is faster than UDP for video streaming.
D) TCP does not check for packet loss, while UDP does.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. What happens if a TCP packet is lost during transmission?
A) The receiver sends an acknowledgment, and transmission continues.
B) The receiver ignores the missing packet.
C) The sender retransmits the lost packet.
D) The receiver reconstructs the lost packet using data from other packets.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. When establishing a connection, the three-way handshake process in TCP involves which sequence?
A) SYN → SYN-ACK → ACK
B) ACK → SYN-ACK → SYN
C) SYN → ACK → SYN-ACK
D) SYN-ACK → ACK → SYN
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. What would be the output of the following Python script?
A) It fetches a webpage from www.example.com.
B) It establishes a TCP connection but fails due to a wrong port number.
C) It prints HTTP 200 OK response if the server is running on port 8080.
D) It throws a syntax error due to recv(1024).
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. Which of the following statements about urllib.request.urlopen() is true?
A) It only works with HTTP GET requests.
B) It automatically follows redirects by default.
C) It requires manual decoding of responses.
D) It does not support HTTPS connections.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?