Quiz!

Try answering some questions below to test your knowledge of JavaScript, Computer Networking and other topics!

Computer Networking

Question 1: What is a router?

Your Answer

A layer 3 device that forwards and receives traffic based on IP address.

A layer 2 devices that forwards and receives traffic based on MAC address

They are used by applications and servers to correctly route requests and responses to the right program.

When someone uses a device to impersonate an IP address

You are...

Question 2: What is the network mask for a /25?

Your Answer

255.255.255.254

255.255.255.127

255.255.255.128

255.255.255.63

You are...

Question 3: How many hosts/IP addresses does a network with a subnet mask of 255.255.255.0 have?

Your Answer

256 total

128, though the first and last address in the range are reserved for the network and the broadcast address.

256, though the last two addresses in the range are reserved for the network and the broadcast address, for a total of 254.

256, though the first and last address in the range are reserved for the network and the broadcast address, and one address must be used for the default gateway, for a total of 253.

You are...

Question 4: How many IPV4 addresses exist?

Your Answer

16,777,214 (16.8 million rounding up)

255,000,000,000

2,147,483,648 (or 2.2 billion, rounding up)

4,294,967,296 (or 4.3 billion, rounding up)

You are...

Question 5: What does a subnet mask tell you?

Your Answer

The ports you can connect to.

It tells you what part of an IP address is the network portion (the 1's) and which is the host portion (the 0's).

It tells you which DNS you can use to resolve your IP.

It tells you which version of NAT (network address translation) your device is using.

You are...

Question 6: What is the range for class A addresses?

Your Answer

192.0.0.0 - 223.255.255.0

240.0.0.0 - 255.255.255.255

Class A addresses no longer exist after IPV6 was introduced

1.0.0.0 - 126.255.255.255

You are...

Question 7: A private IPV4 address cannot be routed through the internet.

Your Answer

True

Technically true, but these can be routed through the internet by using NAT

False

Technically false, but only when a firewall is enabled on your network

You are...

Question 8: What is the local loopback address range?

Your Answer

255.255.0.0 - 255.255.255.255

10.0.0.0 - 10.255.255.255

172.0.0.0 - 172.0.0.0

127.0.0.0 - 127.255.255.255

You are...

Question 9: What is 192.168.0.1 in binary?

Your Answer

11000000.10101000.00000000.00000001

00000011.00010101.00000000.10000000

10111100.10101000.00000000.00000001

11000000.10101000.0.00000001

You are...

Question 10: What port does HTTPS use?

Your Answer

80

255

127

445

You are...