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
Document preview thumbnail
Preview 3 out of 24 pages
Exam (elaborations)

Computer Engineering 3

Document preview thumbnail
Preview 3 out of 24 pages

Computer Engineering 3

Content preview

1. Which of the following is a type of machine language?

A. Assembly Language

B. High-Level Language

C. Binary Code

D. Pseudocode

Answer: C) Binary Code

Rationale: Machine language consists of binary code, which is the lowest-level

programming language directly understood by the computer’s hardware.




2. Which of the following operations is used in a stack?

A. enqueue

B. pop

C. insert

D. search

Answer: B) pop

Rationale: A stack operates on a Last In First Out (LIFO) principle, where the "pop"

operation removes the top element from the stack.




3. Which of the following is NOT a valid C++ data type?

A. int

,B. float

C. character

D. bool

Answer: C) character

Rationale: The correct data type for characters in C++ is char, not character.




4. What is the role of the Control Unit (CU) in the CPU?

A. To perform arithmetic operations

B. To store data

C. To control the execution of instructions

D. To communicate with peripheral devices

Answer: C) To control the execution of instructions

Rationale: The Control Unit (CU) manages and coordinates the execution of instructions

in the CPU.




5. Which of the following is a feature of a modern RISC (Reduced Instruction Set

Computing) architecture?

A. Complex instructions

B. Few instructions per cycle

C. Complex addressing modes

D. Multiple execution units for each instruction

Answer: B) Few instructions per cycle

, Rationale: RISC architecture aims for simplicity by using a small set of instructions,

with each instruction executing in a single cycle.




6. Which of the following is a non-blocking operation in a multithreaded environment?

A. Mutex

B. Semaphore

C. Lock

D. Signal

Answer: D) Signal

Rationale: Signals are non-blocking operations in multithreading, allowing a thread to

inform another of an event without requiring it to wait.




7. In which type of memory is data permanently stored, even when the system is

powered off?

A. RAM

B. ROM

C. Cache

D. Registers

Answer: B) ROM

Rationale: ROM is non-volatile memory that retains data even when the system is

powered off.




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

Document information

Uploaded on
March 16, 2025
Number of pages
24
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$10.99

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

Seller avatar
douglasmugwe82
5.0
(1)
Sold
2
Followers
0
Items
4239
Last sold
11 months ago



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