MCQs
1. Which of the following is primarily associated with front-end development?
- a) Server management
- b) Database design
- c) User interface and design
- d) Memory Management
2. Which of the following HTML attributes is required in the <input> element for email?
- a) type="url"
- b) type="text"
- c) type="email"
- d) type="password"
3. In JavaScript, which method would you use to add a new item to the end of a list?
- a) push()
- b) add()
- c) leftshift()
- d) rightshift()
4. In JavaScript, how do you access the third element in an array called myArray?
- a) myArray[3]
- b) myArray[2]
- c) myArray[1]
- d) myArray[0]
5. To manually stop JavaScript code execution at a certain point, you can use:
- a) console.log()
- b) stop
- c) break
- d) debugger
6. What is the primary purpose of unit tests?
- a) To validate code syntax
- b) To test individual parts of the code for correctness
- c) To style the user interface
- d) To deploy code to production
7. Front end development is also called
- a) Label
- b) Client-side
- c) Server
- d) Database
8. Table is an easy way to organize information in
- a) columns
- b) rows
- c) webpages
- d) list
9. Table's header cell and content is referred in tag.
- a) <th>
- b) <td>
- c) <caption>
- d) <tr>
10. Link between the borders of neighboring table cell is determined by
- a) Link border
- b) border collapse
- c) border separate
- d) border
11. Distance between the cell's border and its content is called
- a) Cell
- b) Output
- c) Padding
- d) Style
12. An element style during animation is specified by
- a) @key frame
- b) @style frame
- c) @highlighted frame
- d) @anchor frame
13. A single table cell is indicated by a tag.
- a) <tc>
- b) <tf>
- c) <td>
- d) <th>
14. Arrays and list can contain data types containing
- a) Alphabets
- b) Numbers
- c) Alphanumeric
- d) Checkboxes