Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Lesson 1 - The Basics

Total questions: 12

Worksheet time: 24mins

Name
Class
Date
1.

The first line in a HTTP request is known as the _______________.

a)

request-line

b)

method token

c)

request-URI

d)

IP address

2.

HTTP request headers are used to control the communication, and to pass cookies.

a)

True

b)

False

3.

The string "AT&T" is part of a query string of a URL, exactly as it is, how it should be encoded?

a)

AT&T

b)

AT_and_T

c)

%AT%&%T

d)

AT%26T

4.

Packet sniffing attacks either the application or the client.

a)

True

b)

False

5.

_________ sits between your browser and any web server, and pop up nice dialog whenever your browser sends anything.

a)

telnet

b)

proxy

c)

server

d)

malicious software

6.

The header which contains the URL of the document from which the request originated is called _____________.

a)

Referer

b)

Plug-in

c)

Proxy

d)

Unified Header

7.

HTTP headers are used for both setting and returning cookies.

a)

True

b)

False

8.

With _________, the web server asks the client to remember a small piece of information.

a)

cache

b)

proxy

c)

cookies

d)

session ID

9.

Cookies are used for temporarily storing documents close to the final destination, in order to reduce download times.

a)

True

b)

False

10.

If the action about to be taken has side effects on the server, which request is the most suitable?

a)

GET

b)

POST

c)

HTTP

d)

HEAD

11.

Which of the following statements is incorrect?

a)

Requests are always performed by web browsers.

b)

Attacker can replace the browser with something different.

c)

All requests originate on the client-side.

d)

All the above statements are incorrect.

12.

The correct approach to protect against sniffing is to _______________.

a)

encrypt all communication

b)

secure the web application

c)

escape the metacharacters

d)

use short-time password