NEW
Font size
WorksheetsFinal Exam in Platform Technologies
Total questions: 75
Worksheet time: 38mins
What type of architecture is implemented in the online banking system?
Peer-to-Peer
Client-Server
Distributed Ledger
Cloud-based
Which is a key characteristic of the client-server architecture used in the online banking system?
No central control
Centralized data management
Offline client operation
Fully decentralized
What is the main advantage for the bank using the client-server architecture?
Easy scalability and maintenance
Eliminates server dependency
Clients work without network
Fully decentralized control
Which is a disadvantage of the client-server architecture?
High cost of servers
Lack of central data storage
Difficult client configuration
No security concerns
Which client-server model is used in the e-commerce platform described?
2-Tier
3-Tier
Peer-to-Peer
Single-Tier
Why is 3-tier preferred over 2-tier?
Better separation of concerns and scalability
Lower development cost
No database needed
Faster execution
Which component handles business logic?
Client
Application Server
Database Server
Router
Which component stores customer and product data?
Client
Application Server
Database Server
Web Browser
What is the main difference from client-server?
Central server exists
Fully decentralized
No network required
Only one client
What is a disadvantage of peer-to-peer?
High server cost
Security and reliability issues
Easy management
Central control
Why might a university prefer client-server for larger projects?
Easier centralized data management
Lower hardware cost
Offline clients
No network required
Which tool is most suitable?
Flowchart / network diagram
Spreadsheet
Text editor
Command-line
Why is visualization important?
Identify communication paths & bottlenecks
Replace servers easily
Remove clients
Implement P2P
How can visualization assist scalability planning?
Identify where additional servers are needed
Remove clients
Reduce database size
Eliminate network
How does a 3-tier architecture improve security?
Database is not directly accessible
Clients bypass logic
Network not required
Servers offline
Which is an example of immediate addressing?
MOV AX, 5
MOV AX, [BX]
MOV AX, BX
MOV [SI], AX
Which is direct addressing?
MOV AX, 1234h
MOV AX, [1234h]
MOV AX, BX
MOV [SI], AX
Which is register addressing?
MOV AX, 5
MOV AX, BX
MOV AX, [BX]
MOV [1234h], AX
Which is register indirect addressing?
MOV AX, 5
MOV AX, [BX]
MOV AX, BX
MOV AX, [1234h]
Which is an advantage of using addressing modes?
Efficient memory access
Increases code size
Slows program
Reduces flexibility
Which addressing mode allows easy array access?
Immediate
Register
Indexed
Direct
What does the base-plus-index mode do?
Adds a constant to register
Computes effective address using base + index
Moves data directly
Stores only constants
Which mode is commonly used for loops in assembly?
Register
Register indirect
Immediate
Indexed
Which addressing mode is fastest?
Direct
Immediate
Register
Base-plus-index
Why are addressing modes important in assembly programming?
Reduce memory access and improve performance
Remove need for registers
Increase program size
Replace compiler
Which issue does the file system handle?
Data storage, retrieval, and security
Network routing
CPU scheduling
Client-server communication
Which attribute is typically stored for a file?
File name
File size
Creation/modification date
All of the above
Which operation can be performed on file attributes?
Read
Write
Modify
All of the above
Why maintain directories?
Organize files for easy access
Increase CPU usage
Reduce memory
Avoid networks
Which is a method for disk free space management?
Bit vector
Contiguous allocation
Linked allocation
All of the above
Advantage of maintaining directories?
Better organization and faster access
Slower file retrieval
Increases disk fragmentation
Reduces security
Which is a disadvantage of file systems?
Data redundancy
Security issues
Management overhead
All of the above
Which operation is needed to delete a file?
Remove entry from directory
Update file table
Free disk blocks
All of the above
Which operation is needed to read a file?
Locate file in directory
Access disk blocks
Load into memory
All of the above
Which operation is needed to write a file?
Allocate disk space
Update directory
Write data to disk
All of the above
Which type of directory structure allows easy hierarchical organization?
Single-level
Two-level
Tree-structured
None
What type of computing is being used in the weather simulation program?
Sequential computing
Parallel computing
Cloud computing
Distributed computing
Which memory architecture is suitable for the weather simulation program?
Shared memory
Distributed memory
Both shared and distributed memory
Cache-only memory
What is a key advantage of parallel computing?
Slower execution
Reduced performance
Faster computation and efficiency
Increased sequential processing
Which parallel programming model divides tasks among processors?
Single-threaded model
Multithreading
SIMD or MIMD models
Assembly programming
Why is designing parallel programs challenging?
No compilers exist
Synchronization and data dependency issues
Limited hardware availability
Lack of programming languages
What is an example of a parallel programming approach?
OpenMP
HTML
CSS
Python GUI
Which design consideration is important in parallel programs?
Task decomposition
Single-thread execution
Ignore data dependencies
Avoid memory access
How does parallel computing improve performance?
Reduces the number of processors
Allows simultaneous task execution
Slows down data processing
Uses only one memory location
Which is a disadvantage of parallel computing?
Complex synchronization
Slower execution always
Uses less memory
Simpler program logic
What does SIMD stand for in parallel computing?
Single Instruction Multiple Data
Single Instruction Multiple Devices
Sequential Instruction Multiple Data
Single Instance Multi Device
Why are examples of parallel computing important for learning?
Demonstrate concepts in practice
Replace sequential computing
Reduce memory requirements
Avoid synchronization
What is a process in this context?
A running instance of a program
A storage device
A network connection
A file
Which is a characteristic of a process?
Has its own state, program counter, and resources
Cannot be interrupted
Always sequential
Only one exists in memory
What is the state of a process waiting for I/O?
Running
Ready
Waiting / Blocked
Terminated
Which operation occurs during context switching?
Saving CPU state of current process and loading next
Deleting files
Allocating memory only
Processing graphics
Which scheduling algorithm gives each process a fixed time slice?
First-Come-First-Serve (FCFS)
Round Robin (RR)
Priority Scheduling
Shortest Job First (SJF)
What is an advantage of process management?
Efficient CPU utilization and multitasking
Reduces memory only
Eliminates need for OS
Avoids parallel computing
What is a disadvantage of process management?
Overhead from context switching
Slower CPU clock
Reduced file size
Increases network latency
Which state is a process in before CPU execution?
Running
Ready
Waiting
Terminated
What does process scheduling aim to achieve?
Efficient CPU allocation
Reduce disk space
Increase network traffic
Avoid memory allocation
Which operation is necessary when a process terminates?
Free resources
Context switch
Save network state
Disk formatting
Why is context switching necessary?
Switch CPU from one process to another
Delete files automatically
Allocate network resources
Reduce memory usage
Which is a real-world example of process management?
OS running multiple applications
Writing assembly code
Building hardware circuits
Compressing files
Which scheduling algorithm selects the process with the shortest burst time?
First-Come, First-Served (FCFS)
Shortest Job Next (SJN)
Round Robin (RR)
Priority Scheduling
Which scheduling algorithm is represented by FCFS?
Round Robin
Shortest Job First (SJF)
Priority Scheduling
First Come First Serve
How does process management benefit multitasking?
Allows multiple processes to share CPU efficiently
Avoids disk usage
Eliminates the need for OS
Simplifies memory structure
Which is a characteristic of RISC?
Simple instructions, fixed-length
Complex instructions, variable length
Fewer registers
Large instruction set
What is an advantage of RISC?
Faster execution due to simpler instructions
Supports complex operations in single instruction
Larger instruction set
Slower pipelines
What is a disadvantage of RISC?
More memory usage due to more instructions
Complex decoding
High CPU cycles per instruction
Limited scalability
Which is a characteristic of CISC?
Complex instructions, variable length
Simple instructions, fixed-length
Fewer registers
Large instruction set
What is an advantage of CISC?
Fewer instructions per program
Faster clock cycles per instruction
Simpler decoding
More pipeline stages
What is a disadvantage of CISC?
Complex hardware design
Limited instruction set
Poor memory access
Cannot execute loops
How does RISC improve CPU performance?
Simplified instruction set allows pipelining
Uses more memory per instruction
Reduces register usage
Complicates decoding
Which CPU design is best for embedded systems needing high-speed pipelines?
RISC
CISC
Both equally
None
Which CPU design is preferable for general-purpose desktops?
CISC
RISC
Both equally
None
What is the main reason for RISC’s simpler instruction set?
Faster execution and easier pipelining
Reduce memory capacity
Complex hardware implementation
Slow instruction cycles
How does CISC reduce program memory requirements?
Combines complex operations into single instructions
Uses more registers
Reduces clock cycles
Simplifies decoding
What affects CPU performance more: instruction set complexity or clock speed?
Both affect performance
Only clock speed
Only instruction set
Neither
Why do modern processors often use hybrid RISC-CISC designs?
To combine performance and compatibility
To simplify memory
To reduce instruction count
To eliminate pipelines
