Quiz 04 - Networked Programs

Quiz 04 - Networked Programs

17 Qs

quiz-placeholder

Similar activities

1ere - Overseas

1ere - Overseas

12th Grade

20 Qs

Progress Test 4 (Unit9, Unit 10, English File, C1)

Progress Test 4 (Unit9, Unit 10, English File, C1)

University

17 Qs

Week 22: Progressive Reforms and War

Week 22: Progressive Reforms and War

5th Grade

18 Qs

Draft Teachers Handbook Quiz

Draft Teachers Handbook Quiz

KG - University

15 Qs

Quiz 04 - Networked Programs

Quiz 04 - Networked Programs

Assessment

Quiz

others

Practice Problem

Hard

Created by

Brando Talaguit

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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.

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?