Your team has developed an AI model for hiring, but upon review, you discover that it may be inadvertently favoring candidates of a particular gender. What steps would you take to rectify this, ensuring fairness and compliance with ethical guidelines?

  • Exclude gender-related features from the model.
  • Increase the weightage of gender as a feature to ensure fairness.
  • Conduct a new hiring process manually to rectify the issue.
  • Retrain the model on a balanced dataset and monitor results.
To rectify gender bias in AI hiring models, retraining the model on a balanced dataset is essential. This helps the model make fair decisions and ensures compliance with ethical guidelines.

Which of the following countries is not recognized as a major player in global AI developments?

  • China
  • France
  • Germany
  • United States
While the United States, China, and France are major players in global AI development, Germany also has a significant presence and contributions to AI research and development. It should not be considered as not recognized.

The _______ search algorithm is known for utilizing a heuristic to estimate the cost from the current node to the goal.

  • A*
  • Breadth-First
  • Depth-First
  • Greedy
The A* search algorithm is well-known for utilizing heuristics to estimate the cost from the current node to the goal. It combines the advantages of both uniform cost search and greedy best-first search, making it widely used in pathfinding and AI applications.

The ______ attribute is used to specify whether an input element should have autocomplete enabled or not.

  • autocomplete 
  • autocorrect 
  • autofill 
  • autosuggest 
The autocomplete attribute specifies whether an input field should have autocomplete enabled. When set to "on", the browser will pre-fill the input based on earlier typed values. When set to "off", it prevents the browser from suggesting previous entries. This attribute enhances user experience but can also be turned off for privacy or security reasons. 

What is the use of the "placeholder" attribute in input elements?

  • It displays a default value that gets submitted with the form. 
  • It presents a hint or instructional text inside the input field. 
  • It provides a tooltip when hovering over the input. 
  • It sets the background color of the input. 
The "placeholder" attribute provides a short hint or illustrative example for the expected input. This hint is displayed inside the input field before the user enters a value and disappears when the user starts typing. It's used to guide users on what they should input. 

Which HTML tag is used to render text as bold?

  •  
  •  
  •  
  •  
The tag is used to render text as bold in HTML. However, it's worth noting that while is used purely for visual presentation, is more semantically correct when you want to emphasize something, even though both might render as bold in most browsers. The use of semantic tags like can be beneficial for accessibility and SEO. 

The ______ attribute is used within the img tag to provide alternative text for an image.

  • alt 
  • href 
  • src 
  • title 
The alt attribute, which stands for "alternative text", provides a text description for images, which is useful for screen readers (for visually impaired users) and in cases where the image cannot be displayed. It improves accessibility and helps search engines understand the image content. 

Why might you choose SVG over other image formats for web graphics?

  • SVG has smaller file sizes. 
  • SVG images are scalable without quality loss. 
  • SVG is pixel-based. 
  • SVG is unsuitable for photographs. 
SVG stands for Scalable Vector Graphics. Unlike pixel-based formats like JPEG or PNG, SVG is vector-based, which means it uses mathematical expressions to define shapes. This allows SVG graphics to be resized without any loss in quality, making them perfect for responsive web design. SVG files are also often more compact for simple illustrations than their bitmap counterparts. 

How can you manipulate the start number of an ordered list?

  • Use CSS's list-style-type property. 
  • Use the list-start attribute in the
      tag. 
    1. Use the start attribute in the
        tag. 
      1. Use the value attribute in the
      2. tag. 
The start attribute of the

    tag allows you to set the starting number for the list. For instance,

      would begin the ordered list with the number 5. While value can be used on individual

    1. elements to set their number, it's the start attribute that controls the initial number for the list. 

In complex data tables, the ______ element can be used to group columns for better readability and structure.

  •  
  •  
  •  
  •  
The

element is used in conjunction with the

element to define column groups in complex tables. It allows for applying styles or other attributes to multiple columns at once, rather than having to do so for each column individually. This aids in improving the readability and structure of wide tables that have various types of data, ensuring a more cohesive presentation.