0% found this document useful (0 votes)
17 views3 pages

Internet Programming Q&A Guide

Uploaded by

mohammedazzam172
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views3 pages

Internet Programming Q&A Guide

Uploaded by

mohammedazzam172
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Internet Programming Review Questions with Answers

Lecture 01
Question 1: False – Hypertext enables non-linear navigation.

Question 2: D. WWW is platform independent (cross platform).

Question 3: A. Uniform Resource Locator.

Question 4: D. All of the above.

Question 5: A. False – A domain is not a server-space.

Question 5b: B. False – Two domains cannot have the same domain name.

Question 6: False – .edu is the second-level domain.

Question 6b: A. True.

Question 6c: B. False – .eg is the top-level domain.

Question 7: D. All of the above.

Question 8: C. False – Free hosting is not always available.

Question 9: A. False – Shared hosting is not free.

Question 9b: A. False – VPS is shared but isolated.

Question 9c: B. False – Dedicated hosting is not shared.

Question 10: False – More bandwidth allows more users.

Question 11: B. 307,200 users per day.

Lecture 02
Question 12: B. Hypertext Markup Language.

Question 13: D. None of the above.

Question 13b: A. Web browser.

Question 16: C. Click <a href='[Link] to open Oracle’s website.

Question 16b: C. Click to open <a href='[Link]

Question 17: B. Opens [Link] but displays [Link].


Question 17d: B. <meta http-equiv='refresh' content='10'>

Question 17e: D. <img src='[Link]' alt='IMAGE NOT FOUND'/>

Lecture 03
Question 18: A. True.

Question 19: D. All of the above.

Question 19b: B. False.

Question 19c: A. X.

Question 21: B. False.

Question 22: A. True.

Question 24: B. False.

Question 24b: A. True.

Question 26: A. True.

Question 26b: A. True.

Question 33: C. 2 errors.

Question 33b: C. 2 errors.

Question 34: A. 1 and 2 are equivalent.

Question 35: B. Line#2.

Lecture 04
Exercise 36: D. All of the above.

Exercise 37: B. Deal with static content.

Exercise 38: D. Considered as back-end programming languages.

Exercise 38b: D. None of the above.

Exercise 39: C. Line#3.

Exercise 39b: C. Line 4.

Exercise 40: True.

Exercise 42: C. 19 , 16.

Exercise 42b: A. 18 , 16.


Exercise 45: C. 6.

Exercise 45b: A. 12.

Exercise 46: B. 5.

Exercise 47: C. Line#4.

Exercise 48: 24.

Exercise 49: 30.

Exercise 50: D. 100.

Exercise 50b: A. 10.

Mail Headers
Question 64: B. mail($v, $s, $t);

Question 65: D. All of the above.

Question 65b: A. This parameter is not mandatory.

Question 66: D. $p.

Superglobals
Question 67: A. /Q66/[Link]

Question 67b: B. /Final_Test/[Link]

Question 68: B. /[Link]

Question 69: B. D:/xampp/htdocs/Q67/[Link]

Question 70: C. localhost

Question 71: B. $_REQUEST

Common questions

Powered by AI

HTML, or Hypertext Markup Language, provides the basic building blocks of web pages. It structures content using tags and elements to denote text, links, images, and other media types. By harmonizing with CSS for presentation and JavaScript for interactivity, HTML forms the foundational framework for web development, enabling developers to create and design structured and accessible web content .

The non-availability of free hosting presents a barrier to entry for start-up web developers who often operate with limited budgets. It necessitates investment in paid hosting solutions, which can strain financial resources. However, paid solutions may offer more features, reliability, and better support, potentially leading to higher quality web offerings, but the initial cost challenge can deter experimentation and growth .

Meta tags, placed within the head section of HTML documents, provide metadata about the web page, such as character set, page description, and keywords relevant to search engine optimization. They can influence page functionality and user experience by controlling aspects like refresh rates, viewport settings for responsive design, and guiding how browsers and search engines index the page. Proper meta tag usage enhances usability, searchability, and accessibility .

Increased bandwidth availability allows web hosting services to handle more data transfer and concurrent users, improving the performance and throughput of hosted websites. It reduces latency and buffering, leading to faster page loads and a smoother user experience, especially for data-intensive applications. This is crucial for real-time applications and multimedia services, as it minimizes bottlenecks and enhances overall user satisfaction and service reliability .

Platform independence of the WWW means that websites and web applications can be accessed across different operating systems and browsers without requiring specific adaptations. This universality is significant as it ensures that content and services on the internet are accessible to a broader audience regardless of their hardware or software setup, facilitating the WWW as a truly global and inclusive platform .

Having two domains with the same name would lead to significant conflicts in addressing and resource access on the internet, as domain names need to be unique to properly route traffic. This issue is managed by domain registration authorities, which ensure that each domain name registered is unique within its top-level domain, thereby preventing such conflicts and maintaining the integrity of web navigation and communication .

A Uniform Resource Locator (URL) is essential because it provides a uniform way to identify and access resources on the web. It specifies the location of a resource and the protocol used to retrieve it, enabling consistent and standardized access across different platforms and devices. URLs facilitate direct resource access, essential for linking pages and maintaining web structure integrity .

Hypertext allows users to navigate by clicking on hyperlinks, which can lead to different parts of the same document or to entirely different documents. This non-linear navigation is fundamental for web browsing as it provides users with the ability to explore information in a flexible and connected manner, rather than in a sequential order. This is crucial in Internet programming for creating web applications and sites that allow dynamic user interaction and access to related resources easily .

Server-side programming languages like PHP, Python, and Ruby play crucial roles in managing both static and dynamic content on the web. For static content, these languages handle data serving efficiently without changes for each user request. For dynamic content, they generate web pages on-the-fly based on user interactions or inputs, enabling personalized and real-time updated experiences. They can access databases, manage sessions, and invoke application logic to deliver tailored content, driving functionality behind modern web applications .

Shared hosting involves multiple websites sharing the same server resources, offering minimal user isolation which can affect performance with high resource demands. In contrast, a Virtual Private Server (VPS) also shares a physical server but uses virtualization technology to provide isolated resources to each user, offering a balance between shared and dedicated hosting. Dedicated hosting provides a single server entirely for one user, ensuring maximum resource availability and isolation but at higher costs. Each hosting type caters to different scalability, cost, and performance needs .

You might also like