CS 511-Web Engineering
Week 1
Topic 9-11
CS 511-Week 1:Topic 9-11 |
Topic 9:
Domain Name System:
DNS are the names that are easy to remember rather than to remember IP addresses. like google.com is easy to remember for us rather than their IP (216.58.216.78)
Name levels in a domain:
There are four levels in a domain.
- Top-Level domain (TLD)
- A Second-Level domain (SLD)
- Third-level domain
- Fourth-level domain
Types of top-level domains:
Two types of top-level domains are:
- Generic top-level domain (gTLD)
- Country code top-level domain (ccTLD)
This process includes six steps
- Decide on a top-level domain (.com) and a second-level domain (tubeweb).
- Choose a domain registrar or a reseller.
- Registrars will check if the domain is available by asking Registry for TLD.
- Complete the registration procedures which include WHOIS contact information (including DNS information) and payment.
- The Registry will push DNS information for the domain to the TLD name server.
- Enjoy the new domain...You now have purchased the rights to use it.
Assessment:
- ________are all examples of web 2.0
- Operating systems
- Window 98
- Calculator
- Facebook, Twitter, and YouTube
- A user sends requests to ____________ and _____________ sends requested content to the client.
- Server
- Client
- User
- Web 1.0
Topic 10:
Uniform Resource Locators:
URL plays an important role in WWW. URL consist of different components
- Protocol
- Domain
- Port
- Path
- Query String
- Fragment
Assessment:
- Which of the following role manages the data?
- Web designer
- Database administrator
- User experience engineer
- Web user
- Computers or browsers that are used to open a website are considered as
- Web page
- Simple user
- Client
- Server
- Which of the following Server is responsible to listen the request?
- Dynamic Server
- Web Server
- Client Server
- UML Server
Topic 11:
Hypertext Transfer Protocol:
Hypertext Transfer Protocol is the backbone of WWW which is used to access and visit websites. Headers are used in HTTP.
When a client requests to access a web page, information is sent to a server called a request header. It has different components like
- GET
- POST
These headers are automatically generated and sent to the server side.
Different response codes are used to determine how a server handled a client’s request.
200: OK
301: Moved Permanently
400: Bad Request
404: Not found
500: Internal server error
200 codes are used for successful responses, 300 are used for redirection-related responses, 400 codes are used for client errors and 500 codes are used for server errors.
Assessment:
- Which of the following is used to resolve domain names of IP addresses?
- Email-related protocols like POP
- Domain name system
- Client name system
- File transfer protocol
- __________is a method used to send data from one computer to another using internet.
- Php protocol
- Google protocol
- Media protocol
- Internet protocol
- Which of the following protocol is the backbone of the world wide web system?
- HTML
- CSS
- HTTP
- C++
- Identify the second-level domain (SLD) from the given website address. Website address: www.facebook.com
- .com
- www.facebook
- SLD is not available on the given website address
- There is no need for any general awareness of internet protocols to web developers.
- True
- False
- Which of the following is the widely used request method in HTTP?
- Patch
- Put
- Post and Get
- Delete
- Identify the protocol in the given URL. URL: https://www.swiftcrm.com
- HTTPS
- .com
- swiftcrm
- www
- Website address: www.zahrastores.pk Here "www" is a in a given website address.
- Third level domain
- Second level domain
- Fourth level domain
- Top-level domain
- Which of the following layer ensures that transmission arrives in order and without error?
- Transport layer
- Protocol layer
- Server layer
- User layer
- Which of the following is the sponsored top-level domain
- .com
- .net
- .org
- .edu
0 Comments