Sunday, 19 May 2019

Lab 7

1. Why do we need to ping?
Ping is a simply used to ensure that the host you are trying to connect to is actually operating.

2. Explain the term Sent, Received, Lost and TTL.
Sent = Packets that you sent
Received = Packets that you received
Lost = Packets that you sent are lost
TTL = Time to live

3. Explain what is happening in Figure 1.
User is pinging 117.194.0.24 and received response from it with no packet loss.

4. 127.0.0.1 refers to
the loopback Internet protocol (IP) address also referred to as the “localhost".

5. Why do we need to ping 127.0.0.1
We need to ping 127.0.0.1 to ensure that the TCP/IP is working on the machine that you are typing on.

6. Explain what is happening in Figure 2?
User is pinging 127.0.0.1 and received response from it with no packet loss.

7.What does it mean by Request timed out?
If a request times out, it means that your computer did not receive a response at all.

8. Explain what is happening in Figure 3?
The traceroute request is timed out starting from 3rd hop because the target's firewall may be blocking requests. The target is still most probably reachable with a normal HTTP request, however. This should not affect normal connection.

9. What is the different between Figure 3 and Figure 4?
Traceroute request in Figure 3 is timed out starting from 3rd hop, where the traceroute request in Figure 4 received responses without failure.

10. What is tracert?
A traceroute is a network command that can be run on your computer if you experience routing problems. It traces the “hops” between your computer and the final destination. For each hop, the traceroute will diagnose where the problem is. 

11. Explain what is happening in Figure 5?
The user attempted a nslookup, nslookup is a network administration command-line tool available in many computer operating systems for querying the Domain Name System (DNS) to obtain domain name or IP address mapping, or other DNS records. The results shows that it can't find server name for address 218.248.255.162 because the issue of the server is that there is a missing or mis-configured PTR record for your DNS server in your reverse lookup zone. Then the user input www.google.com and www.go4expert.com to get the addresses of the website.

12. Explain Physical Address and IP Address.
Physical Address is a hardware address, which means it is unique to the network card installed on your PC. IP Address is an address bound to the network device, i.e., computer, via software.

13. What are differences between Physical Address and IP Address.
IP address is a logical address which is configured via the operating system, while the MAC address is a hardware address, burnt into the network card's ROM during the manufacturing process.

Wednesday, 1 May 2019

Lab 6

Exercise 1:
MAC Address = F0-92-1C-DE-1C-4E
IP address = 10.65.64.228
Subnet Mask = 255.255.252.0
Default Gateway IP address = 10.65.67.254

Exercise 2:
Own Host
Sent: 4
Received: 4
Lost: 0
Round trip times (min): 0ms
Round trip times (max): 0ms
Round trip times (average): 0ms

Neighbour on the same subnet
Sent: 4
Received: 4
Lost: 0
Round trip times (min): 1ms
Round trip times (max): 1ms
Round trip times (average): 1ms

Host on a different subnet
Sent: 4
Received: 4
Lost: 0
Round trip times (min): 1ms
Round trip times (max): 1ms
Round trip times (average): 1ms


Host that is shut down 
Sent: 4
Received: 0
Lost: 4
Round trip times (min): n/a
Round trip times (max): n/a
Round trip times (average): n/a

Exercise 3:
My local hostname: MPI_26
DNS Server: wpad.lan
Address: 161.139.240.99

Questions
1.
From this laboratory exercise, I understand that the command prompt (CMD) is the command-line interpreter in the OS/2, eComStation, Windows NT, Windows CE, and ReactOS operating systems. I also learned how to use command prompt to ping addresses for their latency


Wednesday, 24 April 2019

Lab 5

My resume

Resume

Name: Ng Zhen Fai
Phone number: +60147456583
Contact me:
I am a 21 years old university student currently studying Computer Science in University Tun Hussein Onn Malaysia (UTHM).

Education

Year Academic Instituition
2005 SJKC Wan Hwa 1
2011 SMK Seri Keledang
2018 University Tun Hussein Onn Malaysia

Working Experience

Customer Service Officer - Grassland Express, Singapore - 2017-2018

  • Served clients with their needs accurately
  • Helped coordinate managers to gain more business opportunities
  • Increased the company's income significantly despite of the short stay

Skills

Computer skills

Microsoft productivity software (Word, Excel, and Powerpoint)

Other skills

Proficiency in various languages (Chinese, Malay, and English)


HTML Code
<html>
    <head>
        <title>My resume</title>
        
<body bgcolor="#9ECCDF">
    </body></head>

    <body>
<div id="page-wrap">
    
        <div class="vcard" id="contact-info">
        
            <h1 class="fn">
Resume</h1>
Name: Ng Zhen Fai<br />
                Phone number: <span class="tel">+60147456583</span><br />
                Contact me: <a class="email" href="mailto:falconwest@gmail.com">falconwest@gmail.com</a>
            <br />

        </div>
<div id="objective">
            
                I am a 21 years old university student currently studying Computer Science in University Tun Hussein Onn Malaysia (UTHM).
        </div>
<div class="clear">
</div>
<dl>
            <dd class="clear"></dd>
            
            <h3>
Education</h3>
<table>
<tr>
    <th>Year</th>
    <th>Academic Instituition</th>
  </tr>
<tr>
    <td>2005</td>
    <td align="center">SJKC Wan Hwa 1</td>
  </tr>
<tr>
    <td>2011</td>
    <td align="center">SMK Seri Keledang</td>
<tr>
    <td>2018</td>
    <td align="center">University Tun Hussein Onn Malaysia</td>
</tr>
</tr>
</table>
<dd>
<br />
<dt><strong>Working Experience</strong></dt>
<dd>
                <h2>
Customer Service Officer - Grassland Express, Singapore - 2017-2018</h2>
<ul>
<li>Served clients with their needs accurately</li>
<li>Helped coordinate managers to gain more business opportunities</li>
<li>Increased the company's income significantly despite of the short stay</li>
</ul>
</dd>
                <br />
  <div>
<strong>Skills</strong></div>
<h2>
Computer skills</h2>
Microsoft productivity software (Word, Excel, and Powerpoint)<br />


<h2>
Other skills</h2>
Proficiency in various languages (Chinese, Malay, and English)<br />

                </dd>

</dl>
</div>
</body>
   
</html>

Wednesday, 3 April 2019

Lab 4

<html>
<head>
<title>My First Webpage</title>
</head>
<body bgcolor="#EDDD9E">
<hl align="center">MY First Webpage</hl>
<p>Welcome to my <strong>first</strong> webpage. I am writing this page using a text editor and plain old html.</p>
<p>By learning html, I'll be able to create web pages like a pro....<br>which I am of course.</p>
Here's what I've learned:
<ul>
<li>How to use HTML tags</li>
<li>How to use HTML colours</li>
<li>How to create Lists</li>
</ul>
</body>
</html>

1. Explain about the HTML code above.
<html> Defines the root of an HTML document
<head> Defines information about the document
<title> Defines a title for the document
<body bgcolor="#EDDD9E"> 
Defines the document's body and the bgcolor                                                              attribute is used to set the background color of                                                            an HTML element
<h1 align="center">  Defines HTML headings where align="center" arranged                                             its position at the middle
<p>         Defines a paragraph
<br>
Defines a single line break
<ul>       Defines a block element used to designate an unordered list
<li>        Defines a list item in ordered or unordered lists

2. Change the given HTML code by using an ordered list tags.
<html>
<head>
<title>My First Webpage</title>
</head>
<body bgcolor="#EDDD9E">
<hl align="center">MY First Webpage</hl>
<p>Welcome to my <strong>first</strong> webpage. I am writing this page using a text editor and plain old html.</p>
<p>By learning html, I'll be able to create web pages like a pro....<br>which I am of course.</p>
Here's what I've learned:
<ol>
<li>How to use HTML tags</li>
<li>How to use HTML colours</li>
<li>How to create Lists</li>
</ol>
</body>
</html>

3. List 10 colours HEX value in HTML codes.

  • Aqua #00FFFF
  • Black #000000
  • Blue #0000FF
  • Fuchsia #FF00FF
  • Gray #808080
  • Green #008000
  • Lime #00FF00
  • Navy #000080
  • Silver #C0C0C0
  • Teal #008080

4. Provide a HTML code for definition lists.
<dl>
<dt>First</dt>
<dd>This is the first.</dd>
<dt>Second</dt>
<dd>This is the second.</dd>
</dl>

Wednesday, 20 March 2019

Lab 3

<html>
<head>
<title>My First Webpage</title>
</head>
<body>
<h1 align="center">My First Webpage</h1>
<p>Welcome to my first web page. I am writing this page using a text editor and plain old html.</p>
<p>By learning html, I'll be able to create web pages like a pro....<br>
which I am of course.</p>
</body>
</html>

1. Explain about the HTML code above.
<html> Defines the root of an HTML document
<head>
Defines information about the document
<title>
Defines a title for the document
<body>
Defines the document's body
<h1> Defines HTML headings where align="center" arranged its position at the middle
<p>         Defines a paragraph
<br>
Defines a single line break

2. Explain about the two types of HTML Tags?
HTML Tags can be of two types which are paired tags or singular tags.

a) The first one is paired tags which is also called container tag. A tag is said to be a paired tag if the text is placed between a tag and its companion tag. In paired tags, the first tag is referred to as Opening Tag and the second tag is referred to as Closing Tag.

b) The second one type of tag is the singular tag, which is also known as a stand-alone tag or empty tag. The stand-alone tag does not have companion tag or closing tag.

3. Give some examples of HTML tags on both types of HTML tags.
a) Example of Paired Tags in HTML:
<p>this is example of paired tag</p>
<body>this is the second example</body>

b) Example of Singular Tags in HTML:
<br>
<hr>
<img>
<meta>

Wednesday, 6 March 2019

First Post

<html>
<head>
<title> My first Webpage. </title>
</head>
<body>
This is my first homepage. <b>This text is bold </bold>
</body>
</html>

1. Explain about the HTML code above.
The web pages start with the html element. It's also called the root element because it's at the root of the tree of elements that make up a web page. To create the html element, you write an opening <html> tag followed by a closing </html> tag. The head element contains information about the web page, as opposed to the web page content itself. The title element contains the title of the page. The body element appears after the head element in the page. It should contain all the content of your web page: text, images, and so on. HTML doesn't have a <bold> tag, instead you would have to use <b>. Note however, that using <b> is discouraged in favor of CSS for a while now.

2. Why the use of HTM or HTML Extension?
The webpage’s standard file extensions are .htm and .html. Both these extensions are related to HTML, the basic language used for writing webpages. File extensions help the operating system to identify the kind of data file it is dealing with and in identifying an appropriate program to read and edit it.

3. How to View  HTML Source?
To view a html source on Google Chrome, simply Right-click on a blank part of the web page and select View page source from the pop-up menu that appears.