Bird
Raised Fist0
Intro to Computingfundamentals~5 mins

IP addresses and domain names in Intro to Computing - Cheat Sheet & Quick Revision

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Recall & Review
beginner
What is an IP address?
An IP address is a unique set of numbers assigned to each device connected to the internet. It works like a home address, telling other devices where to send information.
Click to reveal answer
beginner
What is a domain name?
A domain name is a human-friendly name that points to an IP address. It is like a nickname or label for a website, making it easier to remember than numbers.
Click to reveal answer
intermediate
How do IP addresses and domain names work together?
When you type a domain name in a browser, a system called DNS translates it into the IP address of the website's server, so your device can connect to the right place.
Click to reveal answer
intermediate
What is the difference between IPv4 and IPv6?
IPv4 uses 4 sets of numbers (like 192.168.1.1) and has about 4 billion addresses. IPv6 uses 8 groups of letters and numbers (like 2001:0db8::1) and can create many more addresses for more devices.
Click to reveal answer
beginner
Why do we need domain names instead of just using IP addresses?
Domain names are easier to remember and type than long numbers. They also allow websites to change their IP addresses without confusing users.
Click to reveal answer
What does an IP address do?
AIdentifies a device on the internet
BStores website content
CCreates domain names
DBlocks internet access
What is the main purpose of a domain name?
ATo translate IP addresses into numbers
BTo make website addresses easier to remember
CTo assign IP addresses to devices
DTo speed up internet connection
Which system translates domain names into IP addresses?
AHTTP
BFTP
CDNS
DSMTP
Which IP version uses 8 groups of letters and numbers?
AIPv4
BIPv3
CIPv5
DIPv6
Why might a website change its IP address but keep the same domain name?
ATo keep the website accessible without changing the address users type
BTo improve security
CTo confuse users
DTo slow down the website
Explain how a domain name helps you visit a website instead of using an IP address.
Think about how you find a friend's house using a name instead of a number.
You got /3 concepts.
    Describe the difference between IPv4 and IPv6 addresses and why IPv6 is important.
    Consider how many devices need internet addresses today compared to the past.
    You got /3 concepts.

      Practice

      (1/5)
      1. What is the main purpose of a domain name in internet communication?
      easy
      A. To assign a unique numeric label to a device
      B. To provide an easy-to-remember name linked to an IP address
      C. To encrypt data sent over the internet
      D. To store website content

      Solution

      1. Step 1: Understand what domain names represent

        Domain names are human-friendly names that help us remember website addresses instead of numbers.
      2. Step 2: Compare domain names with IP addresses

        IP addresses are numeric labels, while domain names are easy names linked to those numbers.
      3. Final Answer:

        To provide an easy-to-remember name linked to an IP address -> Option B
      4. Quick Check:

        Domain name = Easy-to-remember name [OK]
      Hint: Domain names are like website nicknames [OK]
      Common Mistakes:
      • Confusing domain names with IP addresses
      • Thinking domain names encrypt data
      • Believing domain names store website content
      2. Which of the following is the correct format of an IPv4 address?
      easy
      A. 192.168.1.1
      B. 192-168-1-1
      C. 192:168:1:1
      D. 192/168/1/1

      Solution

      1. Step 1: Recall IPv4 address format

        IPv4 addresses consist of four numbers separated by dots, each number between 0 and 255.
      2. Step 2: Check each option's format

        Only 192.168.1.1 uses dots as separators and valid numeric ranges.
      3. Final Answer:

        192.168.1.1 -> Option A
      4. Quick Check:

        IPv4 uses dots between numbers [OK]
      Hint: IPv4 addresses use dots, not dashes or colons [OK]
      Common Mistakes:
      • Using dashes or colons instead of dots
      • Confusing IPv4 with IPv6 format
      • Using slashes as separators
      3. Given the domain name example.com, what does the DNS server do when you type it in your browser?
      medium
      A. It translates example.com into its IP address
      B. It encrypts your browsing data
      C. It stores the website files locally
      D. It blocks access to the website

      Solution

      1. Step 1: Understand DNS server role

        DNS servers translate domain names into IP addresses so browsers can find websites.
      2. Step 2: Match the action to the options

        Only It translates example.com into its IP address describes this translation process correctly.
      3. Final Answer:

        It translates example.com into its IP address -> Option A
      4. Quick Check:

        DNS = Domain to IP translation [OK]
      Hint: DNS converts names to numbers (IP addresses) [OK]
      Common Mistakes:
      • Thinking DNS encrypts data
      • Believing DNS stores website files
      • Assuming DNS blocks websites
      4. A user tries to access www.example.com but gets an error. The DNS server is suspected. Which of these is a likely cause?
      medium
      A. The website files are missing on the server
      B. The user's computer has no internet cable connected
      C. The browser cache is full
      D. The DNS server failed to translate the domain name to an IP address

      Solution

      1. Step 1: Identify DNS server's role in domain resolution

        If DNS fails, the domain name cannot be converted to an IP address, causing access errors.
      2. Step 2: Evaluate other options

        Options A, B, and D relate to other issues, not DNS translation failure.
      3. Final Answer:

        The DNS server failed to translate the domain name to an IP address -> Option D
      4. Quick Check:

        DNS failure = domain name not resolved [OK]
      Hint: DNS failure means no IP address found for domain [OK]
      Common Mistakes:
      • Confusing DNS failure with physical connection issues
      • Blaming browser cache for DNS errors
      • Assuming website files missing cause DNS errors
      5. You want to block access to a website by modifying the local hosts file. Which entry correctly blocks badwebsite.com by redirecting it to the local machine?
      hard
      A. 255.255.255.0 badwebsite.com
      B. 192.168.1.1 badwebsite.com
      C. 127.0.0.1 badwebsite.com
      D. 0.0.0.0 badwebsite.com

      Solution

      1. Step 1: Understand hosts file redirection

        The hosts file maps domain names to IP addresses locally. Redirecting to 127.0.0.1 (localhost) blocks the site.
      2. Step 2: Evaluate IP addresses for blocking

        127.0.0.1 is the standard localhost IP; 192.168.1.1 is a private network IP; 255.255.255.0 is a subnet mask; 0.0.0.0 can also block but 127.0.0.1 is more common and reliable.
      3. Final Answer:

        127.0.0.1 badwebsite.com -> Option C
      4. Quick Check:

        Hosts file redirect to localhost = block site [OK]
      Hint: Use 127.0.0.1 to block sites via hosts file [OK]
      Common Mistakes:
      • Using subnet masks or invalid IPs in hosts file
      • Confusing private IPs with localhost
      • Using 0.0.0.0 which may not work on all systems