• ¿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 24 páginas
Examen

Computer Engineering 5

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

Computer Engineering 5

Vista previa del contenido

1. Which of the following is used to ensure data integrity in database systems?

A. Indexing

B. Hashing

C. Transactions

D. Clustering

Answer: C) Transactions

Rationale: Transactions in databases help ensure that data remains consistent and

reliable through operations like commit and rollback.




2. In the C programming language, which of the following is used to define a constant?

A. const

B. variable

C. define

D. constant

Answer: A) const

Rationale: The const keyword is used in C to declare a constant whose value cannot be

changed during program execution.




3. The term "Cache" in computer architecture refers to:

A. A primary storage medium

,B. A temporary storage for frequently accessed data

C. A method for encrypting data

D. A secondary storage for backup purposes

Answer: B) A temporary storage for frequently accessed data

Rationale: Cache memory is a small, fast storage that holds frequently accessed data to

improve performance.




4. Which of the following is an example of a language used for web development?

A. Assembly

B. JavaScript

C. C++

D. COBOL

Answer: B) JavaScript

Rationale: JavaScript is commonly used for client-side scripting in web development.




5. In a database, a "primary key" is used to:

A. Index data for faster search

B. Uniquely identify a record

C. Provide a backup of the database

D. Relate tables together

Answer: B) Uniquely identify a record

, Rationale: A primary key uniquely identifies each record in a database table and

ensures that there are no duplicate entries.




6. What is the time complexity of binary search in the worst case?

A. O(n)

B. O(n log n)

C. O(log n)

D. O(1)

Answer: C) O(log n)

Rationale: Binary search works by dividing the search space in half at each step,

leading to a logarithmic time complexity of O(log n).




7. Which of the following is an example of a non-volatile memory?

A. RAM

B. Register

C. ROM

D. Cache

Answer: C) ROM

Rationale: ROM (Read-Only Memory) is non-volatile, meaning it retains its data even

when the power is turned off.




8. Which of the following is not a type of operating system?

Información del documento

Subido en
16 de marzo de 2025
Número de páginas
24
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$10.99

¿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

Seller avatar
douglasmugwe82
5.0
(1)
Vendido
2
Seguidores
0
Artículos
4215
Última venta
1 año hace



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