Right Answer: To register a component in VB, you can use the `RegisterActiveX` method or manually register it using the `regsvr32` command in the command prompt, specifying the path to the DLL or OCX file.
Right Answer: A dynamometer is a special tool that measures how strong something is or how much power it has. It’s like a scale that tells you how heavy something is, but instead, it tells you how hard something can push or pull.
Right Answer: AJAX (Asynchronous JavaScript and XML) is a web development technique that allows web pages to communicate with a server and update content asynchronously without reloading the entire page. It works by using JavaScript to send requests to the server, which can return data (often in JSON or XML format) that the browser can then use to update the webpage dynamically.
Right Answer: Responsive design is an approach to web development that ensures a website looks and functions well on various devices and screen sizes. It is implemented using flexible grid layouts, fluid images, and CSS media queries to adapt the layout and content based on the device's screen size and orientation.
Right Answer: A Single Page Application (SPA) is a web application that loads a single HTML page and dynamically updates the content as the user interacts with the app, without requiring a full page reload.
Right Answer: Promises in JavaScript are objects that represent the eventual completion (or failure) of an asynchronous operation and its resulting value. They allow you to handle asynchronous code more easily by providing methods like `.then()` for success and `.catch()` for errors.
`async` and `await` are syntactic sugar built on top of promises. An `async` function always returns a promise, and within an `async` function, you can use `await` to pause execution until a promise is resolved, making the code easier to read and write as if it were synchronous.
Right Answer: HTML5 is the latest version of HTML, which includes new features such as native support for audio and video, new semantic elements (like `<article>`, `<section>`, and `<header>`), improved parsing rules, and better support for web applications with APIs like local storage and canvas. HTML, on the other hand, refers to earlier versions that lack these enhancements.
Right Answer: The attributes that make up DHTML (Dynamic HTML) include:
1. HTML - for structure and content.
2. CSS - for styling and layout.
3. JavaScript - for interactivity and dynamic behavior.
4. Document Object Model (DOM) - for manipulating HTML elements and structure dynamically.
Right Answer: When constructing an XML DTD, you define the structure and rules for the XML document, including the elements, attributes, and their relationships.
Right Answer: HTML5 introduces new semantic elements (like <header>, <footer>, <article>, <section>), supports audio and video natively, has improved parsing rules, allows for local storage, and is designed to be more mobile-friendly compared to HTML4.