Search Header Logo

Quiz 04 - Networked Programs

Authored by Brando Talaguit

others

Used 2+ times

Quiz 04 - Networked Programs
AI

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. What is the role of Transport Control Protocol (TCP) in networking?

A) It encrypts data before transmission
B) It ensures reliable data transmission by retransmitting lost packets
C) It translates domain names into IP addresses
D) It compresses network traffic

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. Which statement about TCP port numbers is TRUE?

A) They are used to differentiate applications on the same server
B) Each IP address has a unique, fixed port number
C) Port numbers are assigned by TCP randomly
D) The same port number cannot be used for different services

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. What port number is commonly used for HTTP communication?

21
25
80
8080
443

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

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?