1 In HTML5, which tag is used to define a footer for a document or a section? A <bottom> B <footer> C <end> D <section>
2 Which CSS property is used to add rounded corners to an element? A border-style B border-radius C corner-style D box-shadow
3 Which JavaScript method is used to find the length of an array? A size() B count() C length D total()
4 Which algorithm compares each element with all others? A Binary search B Linear search C Quick sort D Merge sort
11 Which HTML attribute is used to provide additional information about an element? A class B id C style D title
12 What is the main purpose of an algorithm? A Store data B Design webpages C Solve a problem step by step D Write HTML code
14 What is a set of step-by-step instructions for a computer to solve a problem called? A An algorithm B A variable C A syntax D A comment
15 Which CSS property is used to change text color? A font-style B text-color C color D background-color
16 What is the main purpose of CSS (Cascading Style Sheets)? A To add interactivity to a website. B To store data for a website. C To create the structure of a website. D To control the visual style and layout of a website.
17 Which testing ensures the program meets user requirements? A Unit testing B Integration testing C System testing D Acceptance testing
18 Which language is used to define the structure and content of a web page? A CSS B JavaScript C HTML D Python
19 Which algorithm is best for large sorted data? A Linear search B Binary search C Bubble sort D Insertion sort
20 Which CSS pseudo-class is used to select and style an element when you move your mouse over it? A :hover B :active C :focus D :link
21 Which JavaScript method converts text to a number? A Number() B String() C parseText() D toString()
23 Which HTML5 tag is used to define the main content of a document, separate from the header and footer? A <header> B <footer> C <main> D <article>