0% found this document useful (0 votes)
244 views2 pages

Midterm Exam: Interactive Web Programming

This document contains an interactive web programming midterm examination with questions testing knowledge of topics like HTML, HTTP, client-server interactions, and basic web design concepts. It includes multiple choice and true/false questions about web technologies as well as an essay question asking about client-server interactions and pros/cons of the internet. Finally, it provides an application question asking students to design a basic online ordering website.

Uploaded by

Irah kabiling
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)
244 views2 pages

Midterm Exam: Interactive Web Programming

This document contains an interactive web programming midterm examination with questions testing knowledge of topics like HTML, HTTP, client-server interactions, and basic web design concepts. It includes multiple choice and true/false questions about web technologies as well as an essay question asking about client-server interactions and pros/cons of the internet. Finally, it provides an application question asking students to design a basic online ordering website.

Uploaded by

Irah kabiling
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

Interactive Web Programming

Midterm Examination

Name: _____________________________________
Year and Section: ____________________________

I. TRUE OR FALSE. Write TRUE if the statement is correct otherwise write FALSE. (2pts.
each)

1. The Internet is a global information network that connects millions of computers


2. A Web server is software or hardware that uses HTTP (Hypertext Transfer Protocol) and other
protocols to respond to client requests made over the World Wide Web (WWW).
3. Web Browser (commonly referred to as a browser) is a software application for accessing
information on the World Wide Web
4. Electronic Email messages distributed by electronic means from one computer user to one or
more recipients via a network.
5. The HyperText Transfer Protocol (HTTP) was designed to be quick, simple, and nonintrusive.
The connection between a server and a client program (or agent) is temporary and must be
reestablished for every data transfer.
6. File Transfer Protocol (FTP) is a standard network protocol used for the transfer of computer files
between a client and server on a computer network
7. Web programming refers to the writing, markup and coding involved in Web development, which
includes Web content, Web client and server scripting and network security. The most common
languages used for Web programming are XML, HTML, JavaScript, Perl 5 and PHP
8. Web design is the process of creating websites. It encompasses several different aspects,
including webpage layout, content production, and graphic design.
9. HyperText Transfter Protocol (HTTP) is the standard protocol used for transferring hypertext
pages. Browsers and servers use the HTTP to communicate
10. Tim Berners-Lee is the inventor of www
11. HTML is to tell your computer that this is, in fact, an HTML document, and not simply an ordinary
text file
12. HTML tags are the hidden keywords within a web browser that define how your web browser
must format and display the content
13. The <htm> element is the root element of an HTML page
14. The <head> element specifies a title for the HTML.
15. HTML headings are titles or subtitles that you want to display on a web server.
16. <br> means line break which will display the data in the new document without starting a new
paragraph
17. <sub> tag for superscript
18. <dd> is a definition list that arranges your items in the same way as they are arranged in a
dictionary.
19. Ordered list is a collection of related items that have no special order or sequence. This list is
created by using HTML <ul> tag.
20. HTML unordered lists is a tag if you are required to put your items in a numbered list instead of
bulleted
21. HTML Description Lists - is a list of terms, with a description of each term.
22. T<dl> tag defines the description list
23. Tables allow web authors to arrange data like text, images, links, other tables, etc. into rows and
columns of cells.
24. Table Heading can be defined using <th> tag
25. cellspacing attribute defines space between table cells
26. Hyperlinks allow visitors to navigate between Web sites by clicking on words, phrases, and
images.
27. A link is specified using HTML what tag <a>
28. _blank is a target attribute to open the linked document in a new window or tab.
29. _parent is a target attribute to open the linked document in the parent frame.
30.  <a> HTML tag provides you option to specify an email address to send an email.

II. Essay (10 pts each)

1. Explain how client and server interacts on each other. Give 3 examples to justify your answer
2. Give at least two pros and cons in using internet. Give 3 example each to justify your answer

III. Application (20 pts)

Create a web design about online ordering either food, clothes or anything that you can think
of that the user can browse and check what products you are selling.

Common questions

Powered by AI

The <th> tag in HTML specifies header cells in a table, aligning data to provide context and meaning, while being visually distinct through bold or centered text . The cellspacing attribute defines the space between table cells, impacting the overall readability and aesthetic layout, making grouped data clear and accessible . Together, they enhance data organization and visual presentation on web pages.

Hyplink attributes like _blank and _parent enhance user navigation and interaction. The _blank attribute opens linked documents in a new window or tab, allowing users to retain their current browsing position while accessing new content . The _parent attribute opens linked content within the parent frame, useful for framed layouts, ensuring that changes reflect immediately within the existing structure . These attributes offer versatile navigational options tailored to user experience.

File Transfer Protocol (FTP) is used for the transfer of computer files between a client and server on a network, focusing on file transfers themselves . In contrast, HTTP is designed for transferring hypertext pages between browsers and servers, emphasizing quick and simple interactions for web pages . FTP is often used for downloading files from servers, whereas HTTP manages requests and data transfers for web pages.

HTML heading tags (<h1> to <h6>) define the hierarchy and structure of web content, influencing both user navigation and search engine optimization. They help users quickly discern page topics and enable search engines to understand and index the content structure . Appropriate usage improves accessibility, making content easier to digest and search-engine-friendly, thus enhancing user experience.

A web server acts as the software or hardware that uses HTTP to respond to client requests made over the World Wide Web . A web browser, on the other hand, is a software application for accessing information on the World Wide Web . They interact using HTTP, which requires the server-client connection to be reestablished for every data transfer . This interaction is essential for retrieving and displaying web pages to users.

Client-server interactions in web applications showcase request-response cycles, where the client sends a request via a browser, and the server processes this request to return an appropriate response. Examples include requesting a web page (HTTP GET), submitting form data (HTTP POST), and fetching specific data entries for dynamic pages (API queries). Each cycle involves establishing, processing, and closing connections, demonstrating HTTP's stateless nature .

Pros include easy global communication, immediate access to vast information, and opportunities for educational advancements. Examples are email services for communication, search engines for information retrieval, and online courses for learning . Cons involve risks like privacy concerns due to data breaches, misinformation due to lack of regulation, and digital divide excluding non-technology-savvy populations. Examples are phishing emails compromising security, spread of fake news, and lack of access in underdeveloped regions .

HTML defines the structure of web pages using a series of elements. The <html> element is the root element of an HTML page, indicating the start of the document. The <head> element contains metadata, including the title defined for browsers . The <body> element contains the actual content to be displayed on the webpage, organizing data with tags such as headings, paragraphs, and lists . This structure ensures proper rendering by browsers.

Ordered lists, created with <ol> tag, organize items in a sequential order using numbers. Unordered lists use the <ul> tag to present items without a specific sequence, shown with bullet points . Description lists, defined with <dl> tag, provide a list of terms along with descriptions . Each type serves specific purposes in web design for appropriately categorizing and displaying information.

HTML forms enable user input through fields like textboxes, checkboxes, and buttons to interact with web applications. Attributes critical for security include input validation to prevent SQL injection or XSS attacks and 'autocomplete' settings to protect user data . Moreover, using 'method="post"' for sensitive transactions adds a layer of security by not displaying data in URLs. Proper form design includes clear instructions, feedback messages, and secure data handling.

You might also like