Docsity

Computer Science — Web Development. HTML, CSS, JavaScript, Web Architecture, and Applicati, Exams of Web Application Development

Toggle sidebar
bg1
WEB DEVELOPMENT PRACTICE EXAMINATION.
HTML, CSS, JavaScript, Web Architecture, and Application
Security.
Computer Science — Web Development.
Questions and Answers.
1. What is the World Wide Web?
Answer: The World Wide Web is a system of interlinked resources accessed over
the internet using web browsers and web technologies.
2. What is a website?
Answer: A website is a collection of related web pages and resources available
under a common domain or web address.
3. What is a web page?
Answer: A web page is a document or resource displayed in a browser and
commonly created using HTML, CSS, and JavaScript.
4. What is HTML?
Answer: HTML, or HyperText Markup Language, structures the content and
meaning of web pages.
5. What is an HTML element?
Answer: An HTML element consists of a start tag, content where applicable, and
an end tag or a self-closing structure.
6. What is an HTML attribute?
Answer: An HTML attribute provides additional information or configuration for
an HTML element.
7. What is semantic HTML?
pf3
pf4
pf5

Partial preview of the text

Download Computer Science — Web Development. HTML, CSS, JavaScript, Web Architecture, and Applicati and more Exams Web Application Development in PDF only on Docsity!

WEB DEVELOPMENT PRACTICE EXAMINATION.

HTML, CSS, JavaScript, Web Architecture, and Application

Security.

Computer Science — Web Development.

Questions and Answers.

  1. What is the World Wide Web? Answer: The World Wide Web is a system of interlinked resources accessed over the internet using web browsers and web technologies.
  2. What is a website? Answer: A website is a collection of related web pages and resources available under a common domain or web address.
  3. What is a web page? Answer: A web page is a document or resource displayed in a browser and commonly created using HTML, CSS, and JavaScript.
  4. What is HTML? Answer: HTML, or HyperText Markup Language, structures the content and meaning of web pages.
  5. What is an HTML element? Answer: An HTML element consists of a start tag, content where applicable, and an end tag or a self-closing structure.
  6. What is an HTML attribute? Answer: An HTML attribute provides additional information or configuration for an HTML element.
  7. What is semantic HTML?

Answer: Semantic HTML uses elements that communicate the meaning and structure of content, such as headings, navigation, articles, sections, and footers.

  1. Why are headings important in HTML? Answer: Headings organize content hierarchically and improve readability, accessibility, navigation, and search-engine interpretation.
  2. What is a hyperlink? Answer: A hyperlink is a reference that allows a user to navigate to another page, resource, location, or action. 10.What is a form in HTML? Answer: An HTML form collects user input and submits it to a server or client- side process. 11.What is CSS? Answer: CSS, or Cascading Style Sheets, controls the presentation, layout, colours, typography, and appearance of web content. 12.What is a CSS selector? Answer: A CSS selector identifies the HTML elements to which a style rule applies. 13.What is the CSS box model? Answer: The CSS box model describes an element as content surrounded by padding, border, and margin. 14.What is the difference between margin and padding? Answer: Margin is space outside an element’s border, while padding is space between the content and the border. 15.What is responsive web design? Answer: Responsive web design creates layouts that adapt to different screen sizes, devices, and orientations.

Answer: The Document Object Model represents an HTML document as a tree of objects that scripts can read and modify. 25.What is DOM manipulation? Answer: DOM manipulation is the use of code to create, remove, modify, or rearrange elements, attributes, styles, or content on a page. 26.What is an event? Answer: An event is an occurrence, such as a click, keypress, form submission, or page load, to which code can respond. 27.What is an event listener? Answer: An event listener is code registered to run when a specified event occurs. 28.What is client-side scripting? Answer: Client-side scripting executes in the user’s browser and can update a page or validate input without immediately contacting the server. 29.What is server-side scripting? Answer: Server-side scripting executes on a server to process requests, access databases, apply business logic, and generate responses. 30.What is the client-server model? Answer: The client-server model divides tasks between clients that request services and servers that process requests and provide responses. 31.What is HTTP? Answer: HTTP, or HyperText Transfer Protocol, is an application-layer protocol used to transfer web requests and responses. 32.What is HTTPS? Answer: HTTPS is HTTP transmitted through an encrypted and authenticated connection, usually using TLS.

33.What is a URL? Answer: A URL is a Uniform Resource Locator that identifies the location and access method of a resource on a network. 34.What is a domain name? Answer: A domain name is a human-readable address that identifies a website or internet service. 35.What is an API? Answer: An API, or Application Programming Interface, defines how software components communicate and exchange data or services. 36.What is REST? Answer: REST is an architectural style for networked applications that commonly uses resources, standard HTTP methods, stateless requests, and representational data. 37.What is JSON? Answer: JSON is a lightweight text-based format used to represent and exchange structured data. 38.What is a database in web development? Answer: A database stores and manages application data such as users, products, orders, posts, or transactions. 39.What is input validation? Answer: Input validation checks that user-provided data has the expected type, format, range, length, and content. 40.Why is server-side validation necessary? Answer: Server-side validation is necessary because client-side validation can be bypassed or manipulated by an attacker. 41.What is cross-site scripting?

50.What is the central objective of web development? Answer: The central objective is to create secure, accessible, usable, responsive, maintainable, and reliable web experiences that satisfy user and business needs.