Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Summary Computer Programming II – 100+ Solved MCQs for Exam Prep

Rating
-
Sold
-
Pages
20
Uploaded on
04-09-2025
Written in
2024/2025

This study guide contains 100+ multiple-choice questions and answers covering key topics in Computer Programming II. It includes concise explanations for each answer, making it ideal for exam preparation or concept review. Topics span HTML, CSS, JavaScript, DOM manipulation, software engineering principles, SDLC models, UML diagrams, front-end vs back-end development, interpreted vs compiled languages, and programming logic. Designed for quick reference, this resource supports both foundational understanding and practical application.

Show more Read less
Institution
Course

Content preview

,Explanations:

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.

Written for

Course

Document information

Uploaded on
September 4, 2025
Number of pages
20
Written in
2024/2025
Type
SUMMARY

Subjects

$10.89
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
kimkundiman

Get to know the seller

Seller avatar
kimkundiman Mindanao State University - Iligan Institute of Technology
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
8 months
Number of followers
0
Documents
8
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions