User:Alisontrinh/sandbox/Alison Trinh - CS 150 - Lab 3

Alison Trinh

CS 150 Computer Science Principles Lab 061

pre-Lab 3 Exercises: IP Addresses

PURPOSE:This lab has several purposes: To investigate the concepts of codes as used in computing To familiarize you with the binary and hexadecimal numbering systems To gain insight into the use of these coding systems by computers To investigate the implementation of colors in HTML The purpose of this pre-lab exercise is to gain some familiarity with the binary and hexadecimal number systems This is your response form for Pre-Lab 3. You should open it now, fill in your name, id and section number, then return to these instructions. Keep the form open and use it to record your responses as indicated in the questions below. This form allows you to continue filling in answers after submitting it. Thus, you should submit often, in order to ensure you do not lose any of your work.

Question 1:Wikipedia, First steps:

Step 1: You will need to have a Wikipedia account in order to complete a Digital Citiznry project this term. You will also need to register it with a course portal created for us by Wiki Education. Note that you do not need to use your Drexel userid for this, nor do you need to include your own name as part of your userid. Some users prefer to keep their identity on Wikipedia prviate. We will need to know your userid for purposes of this project, however.

Click this link to visit the CS 150 Fall 2019 Wikipedia course portal (b) Sign up for a userid. Once you register your userid at this page, you will be enrolled in our course portal.

Note that there are some activities listed on the page. You do not need to do them as part of this exercise, but they do represent an ongoing list of activities for the remainder of the term. You will receive further communications about these throughout the term.

Your Changing IP Address:

Home - MAC Address: 10:94:bb:d8:51:2c

Question 2:

Step 1: You are to record your IP address from 3 different locations and times. For instance, you may choose to record it once from your home, once from a classroom, and once while dining. Do not simply record it three times, ten minutes apart, in the same general location. You may already have done this once as part of an in-class exercise, which you may use as your first location.

Remember that you will have both a PUBLIC IP address and a PRIVATE IP address To find your PUBLIC IP address, see To find your PRIVATE IP address, follow the directions in the article How to Find Any Device’s IP Address, MAC Address, and Other Network Connection Details Classroom:

 Private IP Address:

Home - MAC Address: 10:94:bb:d8:51:2c

Public IP Address:

Classroom - University of Pennsylvania - 128.91.155.0 - 128.91.155.255

While Dining - Drexel University - 144.118.27.25

Counting Things - v4 vs. v6:

Step 1: In general, for the question “how many items of size M can fit in n identical containers”, the answer is M”. For instance, the number of 4-digit numbers that can be formed with the digits 0.9 (10 digits in all) is: 10 * 10 * 10 * 10 = 10^4 = 10,000.

Likewise, the number of 2-bit (binary) numbers that can be expressed in 8 bits is 2^8 = 256, and the number of 16-bit binary numbers is 2^16 = 65,536.

Step 2: The general form for IPv4 address is nnn.nnn.nnn.nnn, where nnn is an 8 bit integer, i.e., in the range 0..255. How many possible IPv4 addresses are there? For comparison purposes, your answer should be in scientific notation or, e.g., 1.23 * 10^16.

4.295 * 10^9 IPv4 addresses 5.885 * 10^8 reserved IPv4 addresses 3.706 * 10^9 public IPv4 addresses

Step 3: The general form an IPv6 address is HHHH:HHHH:HHHH:HHHH:HHHH:HHHH:HHHH, where H is a hexadecimal number, i.e. in the range 0..15 and therefore HHHH is in the range 0..65535. How many possible IPv6 addresses are there?

3.4 * 10^38 IPv6 addresses 340 trillion trillion trillion IPv6 addresses

Question 3:v6 vs. The Universe

Find some estimates online for number of grains of sand on Earth,

7.5 * 10^18 grains of sand

NPR

7.5 billion billion grains of sand

Cosomotography

7.5 * 10^18 grains of sand

Astronomy.StackXChange

number of neutrons in the human brain,

100 billion

Very Well Mind

86 billion neurons

The Human Memory

10 billion to 100 billion neurons

Hyper Textbook

 number of water molecules on Earth.

6.022 * 10^23 number of water molecules

Thought Co

6.022 * 10^23 number of water molecules

Quora

4.629 * 10^49 number of water molecules

Quora

Give the estimates, and cite your references.

Step 1: In order to make sense of the number of IPv6 addresses there are, it would be good to say “there are roughly as many IPv6 addresses as xxx in yyy”. Or even, there are about 100 times as many IPv6 addresses as xxx in yyy”. Do some searching, and find some choices for xxx and yyy that provide similar values to the number of possible IPv6 addresses. Cite your references.

3.4 * 10^38

340 trillion trillion trillion

The largest employer provided insurance by the Office of Management and Budget (OMB) estimates to have cost about $340 billion in 2017.

CRFB

Chemicals in Household Products Cost the U.S. $340 Billion a Year in Health Costs, Says Study

Real Simple -

There are more IPv6 addresses than stars in the Universe

Mashable