1. Which of the following is not a development framework?
Answer: a. Git
Explanation: Git is a version control system, not a development framework. A framework is a set of
tools/libraries to help build applications (e.g., Angular, Django). Git just tracks changes in code.
2. In addition SQL, which tool can help you access databases?
Answer: b. ORM
Explanation: An ORM (Object-Relational Mapping) tool lets you interact with a database using objects
in code instead of writing raw SQL queries.
3. What does the following statement do?
var d = new Date();
Answer: b. Assigns the current local time
Explanation: Creating a new Date object without arguments sets it to the current local date and time.
4. Which of the following statements best describes Node.js?
Answer: b. A server-side platform built on Chrome’s JavaScript engine
Explanation: Node.js allows running JavaScript outside the browser, on the server. It uses Google
Chrome’s V8 engine.
5. When defining a hyperlink, which attribute is used to specify the destination address?
Answer: a. href
Explanation: The href (hyperlink reference) attribute specifies the URL destination of an <a> link.
6. Which tag CANNOT be used as a container for text?
Answer: a. <br>
Explanation: <br> is a line-break tag. It is empty (self-closing) and cannot contain text.
7. Select all of the following which are proper ways to add a property to a custom object.
Answer: a, b
Explanation:
• Car.prototype.color = "red"; Correct way, adds property to all objects of type Car.
• this.color = "red"; Correct way, assigns property in the constructor.
8. Which form control can be used to accept only numbers in a form?
Answer: a. Number box
Explanation: <input type="number"> restricts input to numeric values only.
9. Which of the following are functions of a package manager?
, Answer: a, b, c
Explanation: A package manager can:
• Install/uninstall software packages.
• Keep track of versions and dependencies.
• Distribute pre-packaged applications.
10. Which element defines a caption for the element?
Answer: c. <caption>
Explanation: The <caption> tag in HTML defines a title for a table.
11. Which of the following frameworks and libraries are used for front-end?
Answer: a. ReactJS, b. Angular
Explanation: Both ReactJS and Angular are front-end JavaScript frameworks used to build user
interfaces.
12. When a user tries to login to a website, he/she gets an authentication failure error. Who do you
think can fix this?
Answer: c. Full-stack developer
Explanation: Authentication involves both front-end (UI) and back-end (server, database). A full-stack
developer handles both, so they can fix it.
13. What is the <br> tag used for?
Answer: a. To add a line break
Explanation:
The <br> tag in HTML inserts a line break in the text. Unlike <p> or <div>, it doesn’t create extra spacing,
just a new line. It’s an empty tag (no closing tag needed).
Example:
Hello<br>World
Output:
Hello
World
14. Which of the following conditions must be met for scripting to be enabled in browsers? (Select one
or more options)
Answer: a. The user has not disabled scripting for the current browser context
b. The browser supports scripting
Explanation:
For JavaScript to work in a browser:
• a. The user must not disable it. Browsers allow disabling JavaScript for security reasons.