1.
Kolekcija procesora koja pre svega deli RAM memoriju predstavlja:
Correct Answer
A. Paralelnu multi-CPU arhitekturu
Explanation
The correct answer is "Paralelnu multi-CPU arhitekturu" (Parallel multi-CPU architecture). This is because the collection of processors that primarily share RAM memory refers to a parallel multi-CPU architecture. In this type of architecture, multiple CPUs work together simultaneously to perform tasks, sharing the memory resources. This allows for increased processing power and efficiency in handling complex tasks.
2.
Sistemski poziv predstavlja interfejs između
Correct Answer
A. Procesa i kernela
Explanation
A sistemski poziv predstavlja interfejs između procesa i kernela. Kernel je jezgro operativnog sistema koje upravlja resursima i pruža osnovne funkcionalnosti, dok su procesi izvršne instance programa. Sistemski poziv omogućava procesima da komuniciraju sa kernelom i zatraže pristup resursima ili izvršenje određenih operacija koje su rezervisane za kernel. Ovo omogućava procesima da pristupe hardverskim uređajima, upravljaju memorijom ili izvrše zaštićene operacije koje su deo kernela.
3.
U user modu, proces koristi:
Correct Answer
A. Samo 2 resursa: CPU i RAM
Explanation
The correct answer is "Samo 2 resursa: CPU i RAM" because the user mode of a process only utilizes two resources, which are the CPU (Central Processing Unit) and RAM (Random Access Memory). It does not require any other system resources such as files.
4.
Ko je najbolji prijatelj CPU i računarskog sistema
Correct Answer
A. Timer
Explanation
The timer is the best friend of the CPU and computer system because it helps in managing and coordinating various tasks and processes. It ensures that different operations are executed at specific intervals, allowing for efficient and synchronized functioning of the system. The timer is responsible for maintaining the system clock, scheduling tasks, and controlling the execution of processes, making it an essential component for the smooth operation of the CPU and computer system.
5.
Potpunu CPU izolaciju u odnosu na I/O akcije omogudavaju 2 hardverska uređaja. To su:
Correct Answer
A. MDA I PIC
Explanation
The correct answer is MDA and PIC. These two hardware devices, MDA (Monochrome Display Adapter) and PIC (Programmable Interrupt Controller), provide complete CPU isolation from I/O actions. The MDA is responsible for displaying monochrome text on a screen, while the PIC manages interrupt requests from various hardware devices. Together, they ensure that the CPU can focus on processing tasks without being interrupted by I/O operations.
6.
Kod TS (time-sharing systems) fundamentalni resurs koji se deli (share) je:
Correct Answer
A. CPU time
Explanation
The correct answer is CPU time. In time-sharing systems, the fundamental resource that is shared among multiple users is the CPU time. This means that the CPU is divided and allocated to different users or processes, allowing them to take turns using the CPU for their tasks. This sharing of CPU time ensures that all users get a fair amount of processing power and allows for efficient multitasking in the system.
7.
Najtipičniji predstavnik TS (timesharing systems)
Correct Answer
A. UNIX / Linux
Explanation
UNIX/Linux is the most typical representative of timesharing systems (TS) because these operating systems were designed to allow multiple users to access and share system resources simultaneously. TS enables multiple users to interact with a single computer system at the same time, dividing the CPU time and resources among them. UNIX/Linux has been widely used in the development of TS due to its stability, multi-user support, and robust security features. It provides a secure and efficient environment for users to run their programs and share system resources, making it the most suitable option for timesharing systems.
8.
U strukturnoj šemi računarskog sistema, OS je neposredno iznad:
Correct Answer
A. Hardvera
Explanation
In the hierarchical structure of a computer system, the operating system (OS) is directly above the hardware. The hardware refers to the physical components of the computer system, such as the processor, memory, and storage devices. The OS acts as an intermediary between the hardware and the software, managing and controlling the hardware resources and providing a platform for software applications to run. Therefore, the OS is positioned immediately above the hardware in the system architecture.
9.
I/O se u računarskim sistemima obično štite preko:
Correct Answer
A. Privilegovanih I/O instrukcija
Explanation
In computer systems, I/O (Input/Output) operations are usually protected through privileged I/O instructions. Privileged instructions are instructions that can only be executed by the operating system or privileged processes, and they have higher privileges and access to system resources. By restricting the execution of I/O instructions to privileged processes, the system can ensure that only authorized processes can perform I/O operations, preventing unauthorized access or manipulation of hardware devices. This helps in maintaining the security and integrity of the system.
10.
U strukturnoj šemi OS-a, najkvalitetniji i fundamentalni deo naziva se:
Correct Answer
A. Kernel
Explanation
The kernel is the most important and fundamental part of an operating system. It is responsible for managing the system's resources, such as memory, processes, and hardware devices. Without the kernel, the operating system would not be able to function properly. It acts as a bridge between the software and hardware components of the system, allowing them to communicate and work together. The kernel also provides essential services and functions, such as memory management, process scheduling, and device driver management. Therefore, the kernel is crucial for the proper functioning and stability of an operating system.
11.
OS je po pitanju alokacija i upravljanja računarskim resursima:
Correct Answer
A. Istovremeno i resource allocator i resource manager
Explanation
The correct answer is "Istovremeno i resource allocator i resource manager." This means that the operating system (OS) performs both the functions of allocating and managing computer resources. In other words, it is responsible for distributing resources to different processes and also ensuring their efficient utilization. This includes managing memory, CPU, input/output devices, and other system resources.
12.
Kod TS (time-sharing systems)???
Correct Answer
A. Multiprograming je obavezan, on-line komunikacija je obavezna
Explanation
The correct answer states that multiprogramming is required and online communication is mandatory. This means that in Kod TS (time-sharing systems), the system must be capable of running multiple programs simultaneously and users must be able to communicate with the system in real-time.
13.
Multiprograming:
Correct Answer
A. Ne koristi se kod batching sistema, koristi se kod interaktivnih sistema
Explanation
The correct answer states that multiprogramming is not used in batching systems but is used in interactive systems. This means that multiprogramming, which allows multiple programs to run concurrently, is not suitable for systems that process tasks in batches, where programs are executed one after another. However, multiprogramming is beneficial in interactive systems where multiple users can interact with the computer simultaneously.
14.
Memorija se u računarskim sistemima obično štiti preko:
Correct Answer
A. Base i limit registra
Explanation
In computer systems, memory is typically protected using base and limit registers. These registers store the starting address (base) and the size (limit) of a memory segment. When a program accesses memory, the base and limit registers are checked to ensure that the memory access is within the allowed range. This helps prevent unauthorized access to memory and ensures the security and integrity of the system.
15.
On-line komunikacija sa sistemom:
Correct Answer
A. Nije obavezna kod batching sistema, je obavezna kod interaktivnih sistema
Explanation
Batching systems do not require online communication with the system, while interactive systems do require it. This means that in a batching system, the communication can be done offline or in batches, whereas in an interactive system, real-time communication is necessary for immediate response and interaction with the system.
16.
U kernelskom modu, proces koristi:
Correct Answer
A. Bilo koje resurse sistema koje je tražio i za koje ima pravo korištenja
Explanation
In kernel mode, the process uses any system resources that it has requested and has the right to use. This means that the process can utilize any resources of the system that it needs and has been granted access to. This includes resources such as CPU, RAM, I/O devices, and any other system resources that the process requires for its execution.
17.
Kako se štiti CPU u računarskim sistemima? Koji je hardverski uređaj najpogodniji za CPU zaštitu:
Correct Answer
A. Timer
Explanation
A timer is a hardware device that can be used to protect the CPU in computer systems. It helps in managing and controlling the execution time of various processes and tasks running on the CPU. By setting timers, the CPU can be protected from excessive usage or being overloaded with tasks, which can lead to system crashes or slowdowns. Timers can also be used for scheduling tasks and ensuring that they are executed within specific time limits, thus preventing any potential harm to the CPU.
18.
Kolekcija procesora od kojih svaki ima sopstvenu memoriju i RTC, a povezani su preko mreže predstavlja:
Correct Answer
A. Distribuiranu multi-computer arhitekturu
Explanation
The given correct answer suggests that the collection of processors, each with its own memory and RTC, connected through a network represents a distributed multi-computer architecture. This means that the processors work together in a coordinated manner to solve a problem or perform tasks, with each processor having its own memory and real-time clock. The distributed nature of this architecture allows for parallel processing and efficient utilization of resources.
19.
U strukturnoj šemi računarskog sistem, OS je neposredno ispod:
Correct Answer
A. Sistemskog softvera i aplikativnog softvera
Explanation
In a computer system's architectural diagram, the operating system (OS) is positioned directly below the system software and application software layers. This suggests that the OS acts as an intermediary between the system software and application software, providing a platform for the execution of applications and managing system resources. The OS interacts with the hardware layer to facilitate communication and control over the computer's physical components. Therefore, the correct answer is "Sistemskog softvera i aplikativnog softvera."
20.
Kolekcija procesora koja pre svega deli storage prostor predstavlja:
Correct Answer
A. Cluster arhitekturu
Explanation
The correct answer is "cluster arhitekturu". A cluster architecture refers to a collection of processors that share storage space. In this type of architecture, multiple processors work together to perform tasks, sharing resources and distributing the workload. This allows for improved performance, scalability, and fault tolerance.
21.
Diskutujte AWT (Average Waiting Time). Idendifikujte short-term scheduler algoritam, koji je najbolji po pitanju AWT
Correct Answer
A. SJF
Explanation
SJF (Shortest Job First) is the best algorithm in terms of Average Waiting Time (AWT). This algorithm selects the process with the shortest burst time first, allowing the process with the smallest job to execute first, minimizing the waiting time for other processes. By prioritizing shorter jobs, it reduces the average waiting time for all processes in the system. This algorithm is effective in reducing waiting time and improving overall system performance.
22.
Za time sharing sisteme, kao što su UNIX/Linux, idendifikujte short-term scheduler algoritam, koji je najbolji za njih
Correct Answer
A. RR
Explanation
The best short-term scheduler algorithm for time-sharing systems like UNIX/Linux is Round Robin (RR). This algorithm ensures fairness by assigning each process a fixed time slice or quantum, allowing them to execute for that duration before being preempted and giving the next process a chance to run. This helps in achieving better response time and overall system performance.
23.
Tehnika aging u short-term scheduler algortimima se koristi za:
Correct Answer
A. Smanjenje zakucavanja
Explanation
The correct answer is "smanjenje zakucavanja" which translates to "reducing deadlock" in English. This means that the technique of aging in short-term scheduler algorithms is used to minimize or prevent deadlock situations in the operating system. Deadlock refers to a situation where two or more processes are unable to proceed because each is waiting for the other to release a resource. By implementing aging, the scheduler gives priority to processes that have been waiting for a long time, reducing the chances of deadlock occurrence.
24.
Diskutujte RT (Response Time). Idendifikujte koji je ovo short-term scheduler algoritam, koji je najbolji po pitanju RT
Correct Answer
A. RR
Explanation
The correct answer is RR (Round Robin). RR is a short-term scheduler algorithm that assigns a fixed time quantum to each process in the system. This ensures fairness by allowing each process to execute for a certain amount of time before being preempted and giving other processes a chance to run. In terms of response time (RT), RR is considered the best algorithm because it provides quick response to interactive processes by allowing them to run in short bursts.
25.
Diskutujte ATAT (Average Turn-Around Time). Idendifikujte short-term scheduler algoritam, koji je najbolji po pitanju ATAT
Correct Answer
A. RR
Explanation
The correct answer is RR (Round Robin). The Round Robin scheduling algorithm is the best in terms of Average Turn-Around Time (ATAT) because it ensures fairness in the allocation of CPU time to all processes. In Round Robin, each process is given a fixed time slice or quantum, and if a process does not complete within its time slice, it is moved to the back of the queue and the next process is given a chance to execute. This prevents any single process from monopolizing the CPU and leads to a balanced distribution of CPU time among all processes, resulting in a lower average turn-around time.
26.
Postoje 4 uslova vezana za pojavu deadlock-a1.Mutual Exclusion2. Hold and wait3. No preemption4. Circular WaitDeadlock će se dogoditi:
Correct Answer
A. Ako su istovremeno ispunjena sva 4 uslova
Explanation
If all four conditions are simultaneously fulfilled, a deadlock will occur. This means that all of the following conditions must be met: mutual exclusion, hold and wait, no preemption, and circular wait.
27.
U slučaju ulaska nekih procesa u deadlock, za sistem sa deadlock detectionalgoritmom, najbolja metoda je:
Correct Answer
A. Roll-Back
Explanation
The best method in case of processes entering a deadlock in a system with a deadlock detection algorithm is to perform a Roll-Back. This means that the system will revert back to a previous state where the deadlock did not exist, allowing the processes to continue running without being stuck in the deadlock situation. This method helps to resolve the deadlock and restore the system's functionality.
28.
U slučaju uslaska nekih procesa u deadlock, sistem sa deadlock detection algoritmom uslučaju modernih računarskih sistema
Correct Answer
A. Sistem "zabija glavu u pesak"
Explanation
This answer is correct because "Sistem 'zabija glavu u pesak'" means that the system ignores or avoids dealing with deadlocks. This implies that the system does not have any mechanism to detect or resolve deadlocks, and instead chooses to ignore them. Therefore, it will never enter a deadlock state.
29.
Instrukcija na slici je:boolean TestAndSet(boolean &target) {boolean rv = targettarget = truereturn rv}
Correct Answer
A. Memorijski bazirana i ne može se prekinuti
Explanation
The given code snippet is an implementation of the TestAndSet function. It takes a boolean variable "target" as a reference parameter and returns the previous value of the target variable. The code sets the target variable to true and returns its previous value.
Based on the code, we can infer that the implementation is memory-based and cannot be interrupted. This means that once the TestAndSet function is called, it will execute atomically without any interruption from other processes or threads. Therefore, the correct answer is "Memorijski bazirana i ne može se prekinuti".
30.
Koju arhitekturu vidite na ovoj slici:
Correct Answer
A. Slojevitu
Explanation
Na slici se vidi slojevita arhitektura. Slojevita arhitektura je arhitektura softvera koja se sastoji od različitih slojeva, pri čemu svaki sloj pruža određene funkcionalnosti i komunicira samo sa susjednim slojevima. Ova arhitektura omogućava modularnost, fleksibilnost i lako održavanje softvera.
31.
Koju arhitekturu vidite na ovoj slici:
Correct Answer
A. Paralelna (SMP-UMA)
Explanation
The architecture seen in the picture is parallel (SMP-UMA) architecture. This type of architecture is characterized by multiple processors connected to a shared memory system. It allows for parallel processing of tasks and efficient sharing of resources among the processors.
32.
Koju arhitekturu vidite na ovoj slici:
Correct Answer
A. Paralelna (NUMA)
Explanation
The correct answer is "Paralelna (NUMA)". NUMA stands for Non-Uniform Memory Access, which is a type of parallel architecture where multiple processors are connected to a shared memory but have different access times to that memory. This architecture is commonly used in systems with multiple processors or cores, where each processor has its own local memory. The answer suggests that the architecture depicted in the picture is a NUMA architecture.
33.
Arhitektura na slici je idealna za razvoj ili učenje:
Correct Answer
A. Operativnih sistema
Explanation
The architecture in the picture is ideal for the development or learning of operating systems. This can be inferred because operating systems are mentioned specifically in the options, while other software or programming languages are not. The picture likely depicts components or concepts related to operating systems, making it suitable for studying or creating operating systems.
34.
Kojem OS najviše odgovara ova slika
Correct Answer
A. UNIX/Linux
Explanation
The image most likely represents a command line interface, which is commonly associated with UNIX/Linux operating systems. These operating systems are known for their robustness, security, and flexibility, making them suitable for various tasks, including server management and programming. Novell NetWare is a network operating system, DOS is a command-line operating system, Sun Solaris is a UNIX-based operating system, MS Windows (NT based) is a graphical operating system, and Google Chrome is a web browser, none of which are specifically depicted in the image.
35.
Koju arhitekturu vidite na slici
Correct Answer
A. Cluster
Explanation
The architecture seen in the picture is a cluster. A cluster is a group of interconnected computers that work together to perform a task. In a cluster, each computer, or node, has its own processing power and memory, and they communicate with each other to distribute the workload and increase performance and reliability. Clusters are commonly used in high-performance computing and large-scale data processing applications.
36.
Kojem OS najviše odgovara ova slika
Correct Answer
A. MS windows (NT based)
Explanation
The image most likely depicts a computer screen displaying the interface of an operating system. Among the given options, MS Windows (NT based) is the most suitable choice as it is a widely used operating system known for its graphical user interface. Novell NetWare is a network operating system, DOS is a command-line based operating system, UNIX/Linux and Sun Solaris are Unix-like operating systems, and Google Chrome is a web browser, not an operating system.
37.
Na ovoj slici vidi se prelazak iz:
Correct Answer
A. User mode u kernelski mod pod dejstvom SC i proces je „svestan“ te situacije
Explanation
The correct answer suggests that the transition depicted in the image is from user mode to kernel mode under the influence of a system call (SC), and the process is "aware" of this situation.
38.
U situaciji na slici štiti se jedan hardverski resurs. To je:
Correct Answer
A. RAM memorija
Explanation
The correct answer is RAM memorija. In the given situation, one hardware resource is being protected. RAM (Random Access Memory) is a type of computer memory that is used to store data that is being actively used by the computer's operating system, software, and processes. It is a volatile memory, meaning that its contents are lost when the computer is powered off. Protecting the RAM is important to ensure the stability and performance of the computer system.
39.
U situaciji na slici učestvuju ili ne sledede hardverske komponente:
Correct Answer
A. DMA učestvuje, PIC učestvuje
Explanation
The correct answer is that both DMA and PIC are involved in the situation depicted in the image.
40.
Šta vidite na ovoj slici:
Correct Answer
A. Multiprograming
Explanation
The correct answer is Multiprograming. Multiprogramming is a technique used by operating systems to allow multiple programs to run simultaneously on a computer. It involves dividing the computer's resources, such as the CPU and memory, among multiple programs, allowing them to execute concurrently. This improves the overall efficiency and utilization of the system.
41.
Na ovoj slici vidi se prelazak iz:
Correct Answer
A. User moda u kernelski mod pod dejstvom prekida i proces nije „svestan“ te situacije
Explanation
The correct answer suggests that the image depicts a transition from user mode to kernel mode under the influence of an interrupt, and the process is not aware of this situation.
42.
Kojem OS najviše odgovara ova slika
Correct Answer
A. MS windows (NT based)
Explanation
The given image is most suitable for MS Windows (NT based) operating system because the interface and design of the image appear to be consistent with the Windows operating system. The other options, such as Novell Netware, UNIX/Linux, Sun Solaris, and DOS, do not match the visual characteristics of the image.
43.
Koju arhitekturu vidite na slici:
Correct Answer
A. Slojevitu
Explanation
The architecture seen in the picture is layered architecture. Layered architecture is a design pattern where the system is divided into multiple layers, each responsible for a specific set of functionalities. Each layer interacts with the layer above and below it, following a strict hierarchy. This allows for easier maintenance, scalability, and reusability of components. In the given picture, the system is clearly divided into different layers, indicating a layered architecture.
44.
Kojem OS najviše odgovara ova slika
Correct Answer
A. DOS
45.
Šta vidite na ovoj slici:
Correct Answer
A. Multiprograming
Explanation
The correct answer is Multiprograming. Multiprogramming is a technique used by operating systems to execute multiple programs concurrently. It allows the CPU to switch between different programs, giving the illusion of parallel execution. This improves the overall efficiency and utilization of the system's resources.
46.
Koju arhitekturu vidite na slici:
Correct Answer
A. Client/server
Explanation
The correct answer is "Client/server". This architecture is depicted in the image. In a client/server architecture, the client sends requests to a server, which processes those requests and sends back the results. This architecture allows for the separation of concerns, as the client is responsible for the presentation layer and user interface, while the server handles the business logic and data storage.
47.
Kojem OS najviše odgovara ova slika
Correct Answer
A. DOS
Explanation
The given image most likely represents a command line interface, which is commonly associated with DOS (Disk Operating System). DOS is an older operating system that primarily uses a text-based interface. This is supported by the fact that UNIX/Linux and MS Windows also have command line interfaces, but Google Chrome and Novell Netware do not. Therefore, DOS is the most suitable operating system for the given image.
48.
Usituaciji na slici štiti se jedan hardverski resurs. To je:
Correct Answer
A. RAM memorija
Explanation
The correct answer is RAM memorija. In the given situation, one hardware resource is being protected. RAM (Random Access Memory) is a type of computer memory that is used to store data that is currently being used by the computer's operating system, programs, and processes. It is a volatile memory, meaning that its contents are lost when the computer is turned off or restarted. Protecting the RAM ensures that the data stored in it is not corrupted or accessed by unauthorized entities.
49.
U arhitekturu koju vidite na ovoj slici:
Correct Answer
A. Sloj M može tražiti uslugu samo slojeva ispod sebe (M-1, ....)
Explanation
The correct answer is "Sloj M može tražiti uslugu samo slojeva ispod sebe (M-1, ....)". This means that Layer M can only request services from the layers below it, denoted as M-1 and so on. It cannot request services from the layers above it or from any other layer.
50.
Na ovoj slici vidi se:
Correct Answer
A. Dualni mod rada procesa