channel 1️⃣🩵| Computing and Informatics (All Department)
Canal cerrado
2 395
Suscriptores
Sin datos24 horas
-57 días
-2230 días
Archivo de publicaciones
c) Describe the process of converting a decimal number 42 to binary?
Answer:
Successive division by 2 and recording remainders:
* 42 ÷ 2 = 21 (R: 0)
* 21 ÷ 2 = 10 (R: 1)
* 10 ÷ 2 = 5 (R: 0)
* 5 ÷ 2 = 2 (R: 1)
* 2 ÷ 2 = 1 (R: 0)
* 1 ÷ 2 = 0 (R: 1)
Result (bottom to top): 101010
---
d) Differentiate between SMP and master-slave multiprocessing?
Answer:
* SMP: All processors are equal and share system resources.
* Master-Slave: One processor (master) controls the system, while others (slaves) follow its instructions.
23 dic 2025, 10:16
a) Describe the steps involved in the execute portion of the fetch-execute cycle in the LMC.
1. Decode: The Control Unit interprets the instruction held in the Instruction Register (IR).
2. Execute: The CPU performs the required action, such as moving data between the accumulator and memory or performing arithmetic via the ALU.
---
b) Explain the difference between the MAR and MDR in the CPU-memory interaction.
* MAR (Memory Address Register): Holds the memory address of the data or instruction to be read from or written to.
* MDR (Memory Data Register): Holds the actual data or instruction being transferred to or from memory.
23 dic 2025, 10:15
56. In the ISA, the RISC, consider as ________
c. Address
---
57. ________, a technique that allows for simultaneous execution of parts, or stages, of instructions to more efficiently process instructions.
d. Pipelining
---
58. ________, Signal that causes the CPU to alter its normal flow of instruction execution.
a. Interrupts
---
59. Which of the following used to provides services as an interface between hardware and software.
b. ISA
---
60. In cache memory. A unit of transfer between storage and cache memory is ________.
b. Cache Line
---
23 dic 2025, 10:14
49. Zero-address instructions commonly use which structure?
d. Stack
50. What is a key advantage of having fewer addresses in an instruction?
c. Faster instruction fetch and execution
51. Which of the following is a key design decision when creating an instruction set?
b. Addressing modes
52. In a 0-address machine, where are operands for binary operations located?
c. Implicitly on the stack
53. Which operations reference memory in a 0-address (stack) machine?
c. PUSH and POP
54. What is the key characteristic of a 1-address machine?
c. Accumulator is both source and destination
55. In a 1-address machine, how many operands are explicit in an instruction?
b. One
---
23 dic 2025, 10:14
43. What is an instruction set?
b. The complete collection of instructions understood by a CPU
44. Which of the following best represents machine instructions for human programmers?
c. Assembly language
45. Which element of an instruction tells the CPU what operation to perform?
d. Operation code (Op code)
46. Which of the following is NOT an instruction type?
d. Data encryption
47. In a three-address instruction format, how many operands are explicitly specified?
c. Three
48. Which instruction format typically uses an accumulator as an implicit operand?
c. One-address
---
23 dic 2025, 10:14
37. Which storage is sequential access?
b. Magnetic tape
38. In the 9’s complement system, what is the complement of the decimal number 521?
a. 478
39. In base 2, which complement method is known as the diminished radix complement?
d. 1’s complement
40. Why is binary representation generally preferred over BCD in most computing applications?
c. It provides a greater range of values for the same number of bits
41. What is the decimal range of values that can be represented with 8 bits in binary format?
b. 0–255
42. How many different values can be represented using 4 bits in BCD format?
b. 10
---
23 dic 2025, 10:14
31. In polled interrupts, the CPU identifies the device by:
a. Searching through device flags
32. The major disadvantage of master-slave multiprocessing is:
b. Bottleneck at master
33. Which step occurs first in interrupt servicing?
d. Save context
34. Primary memory is:
c. Needed for CPU access
35. Flash memory is:
b. Nonvolatile
36. Disk latency is:
b. Time for sector rotation
---
23 dic 2025, 10:14
25. Which standard is used for representing alphanumeric data?
c. Unicode
26. Cache memory stores data in units called?
b. Blocks
27. A multicore processor is defined as?
c. Multiple CPUs on a single integrated circuit
28. Which multiprocessing architecture assigns all tasks through one CPU?
d. Master-slave
29. What is the main benefit of interrupts?
b. Allow CPU to avoid waiting
30. A program that handles interrupt processing is called:
c. Interrupt handler
---
23 dic 2025, 10:14
19. What is the correct order of the first two steps in the fetch cycle?
c. PC MAR, then MDR IR
20. Binary addition of 1 + 1 produces?
b. 0 carry 1
21. Converting from base 10 to base 2 is done using?
c. Repeated division by 2
22. Computers internally store all data as?
b. Binary
23. Example of bitmap image format is?
d. GIF
24. The CPU register that stores the address of the current instruction being executed is?
b. PC/IP
---
23 dic 2025, 10:13
13. Which instruction reads data from the input basket in LMC?
c. 901
14. Which instruction stops program execution in the Little Man Computer?
d. 000 (HALT)
15. Which CPU component performs calculations and comparisons?
d. ALU
16. Which register contains the address of the next instruction to be executed?
d. Program Counter
17. Which type of memory is volatile and must be refreshed thousands of times per second?
c. DRAM
18. Which memory type is used for firmware and is not expected to change during system life?
d. ROM
---
23 dic 2025, 10:13
7. Which Little Man Computer (LMC) instruction prints the value in the accumulator?
c. OUT
8. High-level languages such as those using loops and variables belong to which generation?
c. Third generation
9. Which statement best describes the key idea behind all programming languages?
d. All programs must be translated into machine code to be executed
10. In the Little Man Computer, what do the mailboxes represent?
c. Memory locations
11. In LMC, what does the operand represent in an instruction?
d. The address or data to be manipulated
12. What is the op-code for loading a value from memory into the calculator?
c. 5xx
---
23 dic 2025, 10:13
1. Which operating system introduced batch processing of programs?
b. OS/360
2. What major contribution did UNIX introduce to modern operating systems?
b. Hierarchical file system
3. Which architecture involves three computers participating in a service request?
c. Three-tier architecture
4. In client-server computing, which component typically requests services?
d. Client
5. Which is an advantage of client-server architecture?
d. Centralized services allow easier administration
6. Which generation of programming languages uses binary and is programmed with wires or switches?
d. First generation
---
23 dic 2025, 10:13
### Question 60
Which ISA generally accesses memory the least?
D) 0-address
---
### Question 61
Which project led to the development of one of the first RISC microprocessors?
A) IBM 801 project
---
### Question 62
Which early communication milestone established the foundation of the modern email format "username@hostname"?
B) Ray Tomlinson's email standard (1971)
---
### Question 63
Bitmap images use?
D) Pixels
---
### Question 64
What does it indicate when both input numbers in an addition have the same sign, but the result has a different sign?
D) Overflow occurred
---
### Question 65
Binary shift left means?
B) Multiply by 2
23 dic 2025, 09:47
### Question 50
Which optical disk technology allows rewriting?
D) CD-RW
---
### Question 51
Saving register values before servicing an interrupt is known as:
B) Context saving
---
### Question 52
Which of the following consider as nonvolatile memory and work faster than disks but more expensive.
D) Flash memory
---
### Question 53
Which organization created the first graphical windowing system for the Dynabook project?
D) Xerox PARC
---
### Question 54
In a 3-digit decimal number system using 9's complement, how is the sign of the number determined?
B) First digit 0-4 indicates positive, 5-9 indicates negative
---
### Question 55
Explain how the hybrid computing model combines both client-server and peer-to-peer concepts.
Answer: The hybrid computing model uses a centralized server for complex tasks like indexing, security, and authentication (client-server), while allowing the actual data transfer and processing to happen directly between individual nodes (peer-to-peer).
---
### Question 56
The result of converting (40) in decimal to binary:
C) 101000
---
### Question 57
JPEG uses which compression type?
D) Lossy
---
### Question 58
In the sample "Add 2 Numbers" program, which instruction stores the first number?
A) STO 99
---
### Question 59
What is a major disadvantage of peer-to-peer computing?
C) Difficult to perform centralized control of services
23 dic 2025, 09:45
Question 40: Which ISA provides the most explicit operand specification?
Answer: B) 3-address
---
Question 41: According to the von Neumann architecture, how is memory addressed?
Answer: C) Linearly by address
---
Question 42: Which tool translates assembly language into machine code?
Answer: A) Assembler
---
Question 43: In the idea of LMC. Which operation related to the given instruction: PC -> MAR, MDR -> IR
Answer: C) BRANCH
---
Question 44: Memory interleaving improves performance by:
Answer: A) Using multiple memory modules simultaneously
---
Question 45: The ratio of cache hits to total requests is known as?
Answer: A) Hit ratio
---
Question 46: Why was the CISC philosophy originally developed?
Answer: D) To make programming and compiler development easier
---
Question 47: Which instruction set architecture uses two source operands where one is also the destination?
Answer: D) 2-address
---
Question 48: What instruction type performs operations such as AND, XOR, and NOT?
Answer: A) Boolean logic instructions
---
Question 49: Explain the difference between BR, BRZ, and BRP instructions in the Little Man Computer.
Answer:
* BR (Branch Always): Unconditionally changes the Program Counter to the specified address.
* BRZ (Branch if Zero): Changes the Program Counter to the specified address only if the value in the Accumulator is zero.
* BRP (Branch if Positive): Changes the Program Counter to the specified address only if the value in the Accumulator is zero or positive (not negative).
23 dic 2025, 09:45
### Question 30
Which feature is most closely associated with RISC processors?
B) Pipelining with one-cycle execution
### Question 31
During the fetch cycle, what is the first action the Little Man performs?
A) Reads the address from the location counter
### Question 32
Explain how a 1-address machine executes arithmetic operations using the accumulator.
In a 1-address machine, the accumulator (a specialized register) implicitly holds one of the operands and the result of the operation. To perform an arithmetic operation, the instruction specifies only the memory address of the second operand. The processor fetches the value from that address, performs the operation with the value already in the accumulator, and then stores the result back into the accumulator.
### Question 33
True color uses how many bits?
B) 24
### Question 34
Overlapping the execution of multiple instructions is known as?
B) Pipelining
### Question 35
According to Google's system architecture, what is one major requirement of the search system?
A) Respond to millions of simultaneous global requests
### Question 36
Compare LCD and OLED technologies?
LCD (Liquid Crystal Display) uses a liquid crystal layer and a backlight to produce images, meaning pixels do not emit their own light and cannot achieve perfect blacks. OLED (Organic Light Emitting Diode) uses organic compounds that emit light when electricity is applied, allowing each pixel to be turned off individually for true blacks, better contrast, and thinner displays, though it is often more expensive and prone to burn-in.
### Question 37
Which addressing mode is used by the Little Man Computer (LMC)?
A) Direct
### Question 38
Which generation of programming languages introduced human-readable mnemonics translated directly to machine code?
D) Second generation
### Question 39
Binary addition of 0 + 1 produces?
D) 1
---
23 dic 2025, 09:40
Question 20
Which bus type allows simultaneous two-way communication?
D) Full-duplex
---
Question 21
What does the instruction set architecture (ISA) primarily determine?
C) Instruction format and assembly language
---
Question 22
In a 3-address machine, how are operands specified?
A) One destination and two explicit sources
---
Question 23
In the assembly listing, which instruction halts the program?
C) HLT
---
Question 24
A major problem for pipelining performance is?
A) Branch instructions
---
Question 25
In disk access time, _______ is an average time to move from one track to another.
D) Average Seek time
---
Question 26
Which of the following is a characteristic of CISC architecture?
B) Variable-length instructions
---
Question 27
_______ use comparison constructs, loops, variables, etc.
C) High level language
---
Question 28
What does RISC stand for?
C) Reduced Instruction Set Computer
---
Question 29
Which register acts as a two-way buffer during data transfers to and from memory?
A) MDR
23 dic 2025, 09:40
Question 9
In the language translation process, what is the purpose of labels in pseudo-code or assembly?
Answer: A) To mark branch targets for control flow
Question 11
RAID 1 uses:
Answer: A) Mirroring
Question 12
Which of the following is a disadvantage of RISC architecture?
Answer: C) Places greater burden on software and compilers
Question 13
A hexadecimal digit can represent values from?
Answer: C) 0-F
Question 14
Which standard used for outline graphics and fonts?
Answer: D) TrueType
Question 15
Which method enables external devices to notify the CPU?
Answer: B) Interrupts
Question 16
Inkjet printers operate by:
Answer: A) Heating and ejecting droplets
Question 17
Programmed I/O is best suited for:
Answer: B) Slow devices like keyboards
Question 18
What happens when you take the complement of a number twice using complementary arithmetic?
Answer: A) You get the original number
Question 19
In bus categorization, what is a multipoint bus also called?
Answer: A) Broadcast bus
23 dic 2025, 09:38
### Question 1
Which of the following processors is considered a modern CISC processor?
Pentium
---
### Question 2
In magnetic disk, __________ is pie-shaped part of a platter.
Sector
---
### Question 3
In the LMC, which instruction causes an unconditional branch to another mailbox?
BR (6xx)
---
### Question 4
__________ average time it takes a computer to locate data and read it.
Access time
---
### Question 5
Explain why pipelining improves CPU performance?
Pipelining improves CPU performance by allowing multiple instructions to be processed simultaneously in different stages. Instead of waiting for one instruction to finish its entire cycle (fetch, decode, execute) before starting the next, the CPU can begin working on subsequent instructions as soon as the previous one moves to the next stage, thereby increasing the overall instruction throughput.
---
### Question 6
A __________ is a collection of components linked together and organized in such a way as to be recognizable as a single unit.
System
---
### Question 7
The DMA controller needs which information?
Starting address, block size, R/W command
---
### Question 8
What is the main disadvantage of using BCD (Binary Coded Decimal) over conventional binary representation?
BCD requires more bits to represent the same numeric range
---
### Question 9
In the language translation process, what is the purpose of labels in pseudo-code or assembly?
To mark branch targets for control flow
---
### Question 10
What does CISC stand for?
Complex Instruction Set Computer
23 dic 2025, 09:36
