MCQs / Computer Science / World Wide Web

World Wide Web MCQs — Computer Science

39 multiple-choice questions on World Wide Web from Computer Science, each with the correct answer and, where available, a teacher's explanation. Read through them to revise the chapter, then practise the same questions one by one to test yourself.

1. Which part of the URL https://lms.uni.edu.pk/course/ict.html is the file name?

  1. uni.edu.pk
  2. https
  3. lms
  4. ict.html

Answer: D) ict.html

Explanation: The last part of the path names the file.

Discuss this question

2. Wikipedia is mainly a(n):

  1. informational website
  2. business website
  3. personal website
  4. entertainment website

Answer: A) informational website

Explanation: It provides factual information.

Discuss this question

3. In a URL, the part after "" refers to:

  1. the server's IP
  2. the protocol
  3. the file type
  4. a specific section (fragment/anchor) of the page

Answer: D) a specific section (fragment/anchor) of the page

Explanation: The browser scrolls to that section.

Discuss this question

4. Social media and user-generated content are features of:

  1. Web 2.0
  2. Web 1.0
  3. DOS
  4. ARPANET

Answer: A) Web 2.0

Explanation: Web 2.0 is interactive.

Discuss this question

5. Domain names ending in .pk are registered through:

  1. Microsoft
  2. PKNIC
  3. W3C
  4. CERN

Answer: B) PKNIC

Explanation: PKNIC manages the .pk domain.

Discuss this question

6. The protocol used to transfer web pages is:

  1. SMTP
  2. POP3
  3. HTTP
  4. FTP

Answer: C) HTTP

Explanation: HyperText Transfer Protocol.

Discuss this question

7. A website created by an individual to share a CV or portfolio is a:

  1. business website
  2. news website
  3. personal website
  4. web portal

Answer: C) personal website

Explanation: Personal sites represent individuals.

Discuss this question

8. In which type of hosting do many websites share a single server?

  1. Dedicated hosting
  2. Shared hosting
  3. Cloud hosting only
  4. VPS only

Answer: B) Shared hosting

Explanation: It is the cheapest type.

Discuss this question

9. The top-level domain ".edu" is used by:

  1. educational institutions
  2. military
  3. network providers
  4. commercial companies

Answer: A) educational institutions

Explanation: .edu (and .edu.pk) for education.

Discuss this question

10. Before a website can be accessed by name, you must register a:

  1. device driver
  2. printer
  3. domain name
  4. compiler

Answer: C) domain name

Explanation: The domain is the site's address.

Discuss this question

11. Daraz.pk is an example of a(n):

  1. personal website
  2. informational website only
  3. business (e-commerce) website
  4. news website

Answer: C) business (e-commerce) website

Explanation: It sells products online.

Discuss this question

12. The top-level domain ".org" is generally used by:

  1. governments only
  2. schools only
  3. military
  4. non-profit organisations

Answer: D) non-profit organisations

Explanation: .org = organisation.

Discuss this question

13. Dawn.com and BBC News are examples of:

  1. web servers
  2. news websites
  3. entertainment websites
  4. personal websites

Answer: B) news websites

Explanation: They publish current news.

Discuss this question

14. A computer and software that store websites and deliver pages to browsers is a:

  1. search engine
  2. web browser
  3. web server
  4. modem

Answer: C) web server

Explanation: Apache, Nginx and IIS are web server software.

Discuss this question

15. The WWW is:

  1. the same as the Internet hardware
  2. a type of cable
  3. a collection of interlinked web pages accessed through the Internet
  4. an operating system

Answer: C) a collection of interlinked web pages accessed through the Internet

Explanation: It is a service running on the Internet.

Discuss this question

16. HTML stands for:

  1. High Transfer Machine Language
  2. HyperText Markup Language
  3. Hyperlink Text Management Language
  4. Home Tool Markup Language

Answer: B) HyperText Markup Language

Explanation: HTML is used to create web pages.

Discuss this question

17. A website that gathers information and services from many sources in one place is a:

  1. URL
  2. domain name
  3. web server
  4. web portal

Answer: D) web portal

Explanation: e.g. Yahoo, government portals.

Discuss this question

18. The World Wide Web was invented by:

  1. Vint Cerf
  2. Tim Berners-Lee
  3. Charles Babbage
  4. Bill Gates

Answer: B) Tim Berners-Lee

Explanation: He created it at CERN in 1989.

Discuss this question

19. In https://www.dawn.com/news, "/news" is the:

  1. protocol
  2. path
  3. port
  4. top-level domain

Answer: B) path

Explanation: The path shows the location on the server.

Discuss this question

20. The service of storing website files on a server connected to the Internet is called:

  1. web crawling
  2. web hosting
  3. web browsing
  4. web scraping

Answer: B) web hosting

Explanation: Hosting makes a site available online.

Discuss this question

21. URL stands for:

  1. Uniform Routing Language
  2. Unified Resource Line
  3. Universal Reference Link
  4. Uniform Resource Locator

Answer: D) Uniform Resource Locator

Explanation: It is the address of a web resource.

Discuss this question

22. A whole server reserved for one website is:

  1. dedicated hosting
  2. free hosting
  3. shared hosting
  4. a web browser

Answer: A) dedicated hosting

Explanation: It gives maximum resources and control.

Discuss this question

23. In a URL, the part after "?" is called the:

  1. query string
  2. protocol
  3. domain
  4. fragment

Answer: A) query string

Explanation: It sends parameters to the server.

Discuss this question

24. The organisation that develops standards for the Web is:

  1. NADRA
  2. W3C
  3. IEEE only
  4. ICANN only

Answer: B) W3C

Explanation: World Wide Web Consortium.

Discuss this question

25. A university's student portal that provides results, fee challans and course registration in one place is a:

  1. personal website
  2. entertainment website
  3. news website
  4. web portal

Answer: D) web portal

Explanation: Portals combine many services with a login.

Discuss this question

Page 1 of 2 Next

Practise World Wide Web MCQs

More Computer Science chapters