1 Which error is detected during program execution? A Syntax error B Logical error C Runtime error D Typographical error
2 Which testing ensures the program meets user requirements? A Unit testing B Integration testing C System testing D Acceptance testing
3 Which algorithm gives the best result in minimum steps? A Efficient algorithm B Long algorithm C Simple algorithm D Manual algorithm
7 Which JavaScript method is used to find the length of an array? A size() B count() C length D total()
9 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.
10 Which testing method checks individual units of code? A System testing B Integration testing C Unit testing D Acceptance testing
11 Which language is used to define the structure and content of a web page? A CSS B JavaScript C HTML D Python
12 In HTML5, which tag is used to define a footer for a document or a section? A <bottom> B <footer> C <end> D <section>
14 Which algorithm searches an element by dividing the list into halves? A Linear search B Bubble sort C Binary search D Selection sort
15 Which error occurs due to wrong logic in a program? A Syntax error B Runtime error C Logical error D System error
16 What is a named block of code in JavaScript that performs a specific task and can be called multiple times? A A function B A loop C An array D A condition
19 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
22 Which tool in a web browser is most commonly used by developers to find and fix errors in JavaScript code? A The browser's console B The history tab C The settings menu D The bookmarks bar
23 What is an error in the code's grammar or spelling called? A Runtime error B Logical error C Syntax error D User error
25 What will the `console.log(typeof "Hello")` command show in the JavaScript console? A number B boolean C object D string