• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 3 fuera de 20 páginas
Resumen

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

Document preview thumbnail
Vista previa 3 fuera de 20 páginas

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.

Vista previa del contenido

,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.

Información del documento

Subido en
4 de septiembre de 2025
Número de páginas
20
Escrito en
2024/2025
Tipo
Resumen
$10.89

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Vendido
0
Seguidores
0
Artículos
8
Última venta
-



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes