Operativni SiSTEMi 1

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Nolers
N
Nolers
Community Contributor
Quizzes Created: 1 | Total Attempts: 831
| Attempts: 831 | Pitanja: 200 | Updated: Mar 18, 2023
Please wait...
Question 1 / 200
0 %
0/100
Score 0/100
1. koji je ovo algoritam

Explanation

The given answer suggests that the person does not know what the FIFO algorithm is.

Submit
Please wait...
About This Quiz
Operativni Sistemi 1 - Quiz

2.
You may optionally provide this to label your report, leaderboard, or certificate.
2. Imate MMU sa relokacionim registrom. Generisana logička adresa iznosi 150, a vrednostrelokacionog registra za proces je 10000. Izračunati fizičku adresu.

Explanation

The logical address is calculated by adding the value of the relocation register to the generated logical address. In this case, the logical address is 150 and the value of the relocation register is 10000. Adding these two values together gives us a physical address of 10150.

Submit
3. Objasniti dinamičko punjenje? Ko je glani i odgovorni za dinamičko punjenje

Explanation

Dinamičko punjenje se odnosi na proces u kojem se programer bavi dodavanjem ili uklanjanjem funkcionalnosti iz aplikacije tokom izvršavanja programa. Programer je glavni i odgovorni za dinamičko punjenje jer on odlučuje koje funkcionalnosti treba dodati ili ukloniti u aplikaciji kako bi se postigao željeni rezultat. Programer može koristiti odgovarajuće tehnike i alate kako bi omogućio dinamičko punjenje u aplikaciji.

Submit
4. Sta je ovo 

Explanation

The given answer "RPC poziv udaljene procedure" is in Serbian language and it translates to "RPC call remote procedure" in English. It suggests that the question is asking about the meaning or definition of RPC (Remote Procedure Call), which is a protocol that allows a computer program to execute a subroutine or procedure in another computer or server.

Submit
5. Koju arhitekturu vidite na slici:

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.

Submit
6. U arhitekturu koju vidite na ovoj slici:

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.

Submit
7. Sta je najbolje za time sharing sisteme

Explanation

Round Robin (RR) is the best option for time sharing systems because it ensures fairness and equal distribution of resources among multiple users. In RR scheduling, each user is given a fixed time slice or quantum to use the system, and if the user does not complete their task within the time slice, it is preempted and the next user is given a chance. This prevents any single user from monopolizing the system and allows for efficient utilization of resources. Therefore, RR is the most suitable scheduling algorithm for time sharing systems.

Submit
8. U modelu na slici, kada neka od korisničkih niti pređe u stanje waiting:

Explanation

When a user thread in the model transitions to the waiting state, all other user threads from the same group continue their activities normally. This means that the waiting state of one thread does not affect the execution of other threads in the same group.

Submit
9. U strukturnoj šemi OS-a, najkvalitetniji i fundamentalni deo naziva se:

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.

Submit
10. Sta je ovo

Explanation

not-available-via-ai

Submit
11. Koju arhitekturu vidite na slici:

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.

Submit
12. Koji OS je napravio jedan od najboljih many-to-many modela:

Explanation

One of the best many-to-many models was created by OS b.

Submit
13. U multithread modela procesa, programski kod je:

Explanation

The correct answer is "Zajednički-deljiv za sve niti" (Shared-divisible for all threads). This means that the program code can be accessed and executed by multiple threads simultaneously without any issues or conflicts. It implies that the code does not have any thread-specific restrictions or limitations, and can be executed by all threads concurrently.

Submit
14. Idendifikujte koji je ovo short-term scheduler algoritam, pa ga ocenite po pitanju preemption:

Explanation

This question is asking to identify the short-term scheduler algorithm and evaluate it based on preemption. The correct answer is "Preemptive." This means that the short-term scheduler algorithm allows for preemption, which means that it can interrupt a running process before it has completed and allocate the CPU to another process. This allows for better responsiveness and prioritization of processes.

Submit
15. Sta je ovde u pitanju

Explanation

not-available-via-ai

Submit
16. U situaciji prikazanoj u jednoj grani sigurno se dogodila preemption. To je:

Explanation

In the given situation, preemption definitely occurred. This means that the execution of the current process was interrupted because its time slice expired. This allows the operating system to allocate the CPU to another process, ensuring fairness and preventing any single process from monopolizing the CPU for too long.

Submit
17. Postoje 4 uslova vezana za pojavu deadlock-a1.Mutual Exclusion2. Hold and wait3. No preemption4. Circular WaitDeadlock će se dogoditi:

Explanation

If all four conditions are simultaneously satisfied, a deadlock will occur. The four conditions are mutual exclusion, hold and wait, no preemption, and circular wait. Mutual exclusion means that only one process can use a resource at a time. Hold and wait means that a process can hold a resource while waiting for another resource. No preemption means that a resource cannot be taken away from a process until it is finished using it. Circular wait means that there is a circular chain of processes, each waiting for a resource held by the next process in the chain. If all four conditions are met, a deadlock is inevitable.

Submit
18. Sta je ovde

Explanation

The correct answer is that a context switch involves the participation of a dispatcher and a short scheduler. A context switch refers to the process of saving the current state of a process and restoring the saved state of another process. It is necessary for multitasking operating systems to efficiently switch between different processes. The dispatcher is responsible for initiating the context switch, while the short scheduler determines which process will be selected to run next. Both the dispatcher and the short scheduler play a crucial role in coordinating the context switch and ensuring smooth execution of multiple processes.

Submit
19. Model na slici je:

Explanation

The model in the picture is a many-to-one model. This means that multiple inputs are mapped to a single output. In other words, there are many possible inputs, but only one corresponding output.

Submit
20. Koji je ovo shor-term scheduler algoritam

Explanation

The correct answer is RR, which stands for Round Robin. This scheduling algorithm is a preemptive algorithm in which each process is assigned a fixed time slice or quantum. The processes are executed in a circular order, with each process getting a chance to run for its allocated time slice. 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 run. This algorithm ensures fairness by giving all processes an equal opportunity to run and is commonly used in time-sharing systems.

Submit
21. Šta vidite na ovoj slici:

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.

Submit
22. sta je ovo

Explanation

not-available-via-ai

Submit
23. Ko je najbolji prijatelj CPU i računarskog sistema

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.

Submit
24. Struktura na slici:      uglavnom služi:

Explanation

The correct answer is "za modelovanje sistema u cilju ispitivanja deadlock-a." This is because the given structure is mainly used for modeling systems in order to test for deadlocks. Deadlocks occur when two or more processes are unable to proceed because each is waiting for the other to release a resource. By modeling systems and simulating their behavior, we can identify potential deadlocks and design solutions to prevent or resolve them.

Submit
25. Najtipičniji predstavnik TS (timesharing systems)

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.

Submit
26. U osnovnom dijagramu slanja proseca, sa slike učestvuju neki od raspoređivača. To su:

Explanation

The correct answer is Short-term scheduler. In the given question, the options are different types of schedulers that participate in the sending average process. The short-term scheduler is responsible for selecting which process from the ready queue should be executed next. Therefore, it is the most appropriate option in this context.

Submit
27. Idendifikujte koji je ovo short-term scheduler algoritam, pa ga ocenite po pitanju performansi

Explanation

This answer suggests that the short-term scheduler algorithm being referred to is excellent in terms of performance.

Submit
28. Sistemski poziv predstavlja interfejs između

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.

Submit
29. Čiji je ovo many-to-many model:

Explanation

Sun Solaris je many-to-many model koji se odnosi na operativni sistem Sun Solaris. Many-to-many model se odnosi na situaciju u kojoj više entiteta može biti povezano sa više drugih entiteta. U ovom slučaju, Sun Solaris može biti instaliran na različitim platformama kao što su MS Windows, Linux, Novel-Netware, Android i Google Chrome.

Submit
30. Struktura na slici uglavnom služi

Explanation

The correct answer is "za modelovanje sistema u cilju ispitivanja deadlock-a" because the structure in the picture is mainly used for modeling systems in order to test for deadlocks. Deadlocks occur when two or more processes are unable to proceed because each is waiting for the other to release a resource. By modeling the system and analyzing its structure, it is possible to detect potential deadlocks and prevent them from occurring in real-world scenarios.

Submit
31. Analizirati straničenje. Imate veličinu stranice od 1K (1024bajta). Kolika je maksimalna interna fragmentacija za ovaj slučaj

Explanation

The maximum internal fragmentation in this case is 1023 bytes. Internal fragmentation refers to the wasted space within a memory page due to the allocation of memory in fixed-sized blocks. Since the page size is 1K (1024 bytes), if a process requires less than the full page size (1024 bytes), the remaining space within the page will be wasted and considered as internal fragmentation. In this case, if the process requires 1 byte less than the full page size, i.e., 1023 bytes, the maximum internal fragmentation will be 1023 bytes.

Submit
32. Sta je ovde u pitanju

Explanation

The correct answer states that if there is no matrix of maximum demands, then it is Deadlock detection. However, if there is a matrix of maximum demands, then it is Banker's algorithm. This suggests that the question is asking about the difference between Deadlock detection and Banker's algorithm in relation to the presence or absence of a matrix of maximum demands.

Submit
33. Na ovoj slici vidi se:

Explanation

The correct answer is "Jedini IPC mehanizam koji je pogodan za mrežni IPC" which translates to "The only IPC mechanism suitable for network IPC." This suggests that among the options provided, there is only one IPC mechanism that is appropriate for network IPC, while the others may not be suitable for this purpose.

Submit
34. Kako se štiti CPU u računarskim sistemima? Koji je hardverski uređaj najpogodniji za CPU zaštitu:

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.

Submit
35. Identifikujte koji je ovo short-term scheduler algoritam, pa ga ocenite po pitanju preemption:

Explanation

The given correct answer is "Preemptive". This means that the short-term scheduler algorithm being referred to is a preemptive algorithm. In a preemptive scheduling algorithm, the operating system can interrupt a running process and allocate the CPU to another process. This allows for better responsiveness and prioritization of processes.

Submit
36. Analizirati segmentaciju. Imate veličinu stranice od 1350 bajtova. Kolika je minimalna internafragmentacija za ovaj slučaj.

Explanation

The question is asking about the minimum internal fragmentation for a page size of 1350 bytes. Internal fragmentation refers to the unused space within a memory block allocated to a process. In this case, the page size is already equal to or smaller than the allocated memory, so there is no unused space or internal fragmentation. Therefore, the minimum internal fragmentation for this case is 0 bytes.

Submit
37. Kod TS (time-sharing systems) fundamentalni resurs koji se deli (share) je:

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.

Submit
38. MMU šema na slici naziva se

Explanation

Hierarchical paging is the correct answer because it refers to the memory management unit (MMU) scheme shown in the picture. In hierarchical paging, the virtual address space is divided into multiple levels of page tables, allowing for efficient memory management. This scheme helps in organizing and accessing the pages in a hierarchical structure, which improves the overall performance of the system.

Submit
39. Kojem OS najviše odgovara ova slika

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.

Submit
40. Kojem OS najviše odgovara ova slika

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.

Submit
41. Usituaciji na slici štiti se jedan hardverski resurs. To je:

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.

Submit
42. U situaciji na slici štiti se jedan hardverski resurs. To je:

Explanation

In the given situation, one hardware resource is being protected. This resource is the RAM memory.

Submit
43. Objasniti dinamičko punjenje? Ko je glavni i odgovorni za dinamičko punjenje

Explanation

Dinamičko punjenje se odnosi na proces u kojem se memorija ili resursi alociraju i oslobađaju tokom izvršavanja programa. Programer je glavni i odgovorni za dinamičko punjenje jer on odlučuje kada i kako će se resursi alocirati i oslobađati u programu. Programer može koristiti odgovarajuće funkcije ili metode za alociranje memorije ili resursa i osigurati da se oni pravilno koriste i oslobađaju kako bi se izbjegle curenja memorije ili prekoračenje kapaciteta.

Submit
44. ne znam sta treba ovde ali ima ponudjeno ovo Performanse : 1Zakucavanje : 5Dobar za nikoga, ni za jedan os.Priority:Performanse: 5Zakucavanje: 1

Explanation

not-available-via-ai

Submit
45. U user modu, proces koristi:

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.

Submit
46. Analizirati straničenje. slika sadrži pored straničenja jednu strukturu koja se nalazi u samomCPU, i koja služi za poboljšanje performansi koje drastično padaju uvođenjem straničenja. Tastruktura je u osnovi

Explanation

The correct answer is "asocijativna memorija". The given passage discusses page swapping and mentions that there is a structure in the CPU that helps improve performance when page swapping is introduced. This structure is described as being "asocijativna memorija" or associative memory.

Submit
47. U osnovnom dijagramu stanja procesa, sa slike uočite tranziciju running-I/O or event wait-waiting. Da li su toj tranziciji dogodio preemption:

Explanation

In the given question, the correct answer is "Sigurno ne" which translates to "Definitely not" in English. This means that in the transition from running to I/O or event wait to waiting, preemption did not occur.

Submit
48. U situaciji kao na slici u otkiravanju pojave deadlock-a je vrlo pouzdana i jednostavna:

Explanation

The given correct answer states that the detection of deadlock is very reliable and simple only if the resources contain only one instance. This means that if each resource is unique and there is only one of each resource, then it is easier to detect and resolve deadlock situations. However, if there are multiple instances of the same resource, it becomes more complex to identify and resolve deadlocks.

Submit
49. Model na slici je:

Explanation

The model in the picture is represented by the letter "d".

Submit
50. Situacija na slici predstavlja:

Explanation

The situation depicted in the image represents the best, but not the only way for a process to obtain any hardware resource. This means that there may be other methods or alternatives for a process to acquire hardware resources, but the depicted method is considered the most optimal or preferred one.

Submit
51. Koju arhitekturu vidite na ovoj slici:

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.

Submit
52. U slučaju ulaska nekih procesa u deadlock, za sistem sa deadlock detectionalgoritmom, najbolja metoda je:

Explanation

In the case of some processes entering a deadlock, the best method for a system with a deadlock detection algorithm is to perform a Roll-Back. This means that the system will backtrack and undo the actions that led to the deadlock, allowing the processes to continue execution. This approach helps to resolve the deadlock situation and restore the system to a functional state.

Submit
53. U multithread modelu procesa, globalni podaci su:

Explanation

In a multithread model of a process, global data refers to the data that can be accessed and modified by all the threads in the process. This means that the global data is shared and accessible to all the threads, allowing them to read from and write to the same data. Therefore, the correct answer is "Zajednički-deljivi za sve niti" which translates to "Shared-divisible for all threads".

Submit
54. Arhitektura na slici je idealna za razvoj ili učenje:

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.

Submit
55. Idendifikujte koji je ovo short-term scheduler algoritam, pa ga ocenite po pitanju performansi

Explanation

The given answer is "Preemptive." Preemptive scheduling is a short-term scheduler algorithm where the CPU can be taken away from a process before it has completed its execution. This algorithm allows for multitasking and ensures that high-priority processes are given immediate attention. In terms of performance, preemptive scheduling can provide better responsiveness and faster execution of critical tasks. However, it may also lead to more frequent context switches and increased overhead.

Submit
56. Šta vidite na ovoj slici:

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.

Submit
57. Koji je ovo algoritam       i kojoj liniji ili u kojim linijama koda mu je exit section:Proces Pi1: do {2: flag [i]:= true;3: turn = j; /* daje šansu drugom procesu*/4: while (flag [j] and turn = j) ;5:6: critical section7:8: flag [i] = false;9:10: remainder section11: } while (1);

Explanation

The exit section of the algorithm is at line number 8. This is because after the critical section is executed at line 6, the flag[i] is set to false at line 8, indicating that the process Pi1 has finished its critical section and is ready to allow other processes to enter.

Submit
58. Imate MMU sa relokacionim registrom. Generisana logička adresa iznosi 100, a vrednostrelokacionog registra za proces je 8000. Izračunati fizičku adresu.

Explanation

The physical address can be calculated by adding the value of the relocation register to the logical address. In this case, the logical address is 100 and the value of the relocation register is 8000. Adding these two values together gives us a physical address of 8100.

Submit
59. Šema koja u odnosu na ovu sliku, zahteva od procesa da se izjasne na samom početku korišćenja svih tj maksimalnihresursa naziva se

Explanation

The given correct answer for this question is "banker algorithm". The banker algorithm is a resource allocation and deadlock avoidance algorithm. It is used to avoid deadlock in a system by determining if a state is safe or unsafe before allocating resources to processes. It ensures that the system will not enter an unsafe state where deadlock may occur. This algorithm is based on the concept of a banker who loans resources to processes only if it can satisfy all their resource needs and still maintain a safe state.

Submit
60. NA slici vidimo i srednji i kratki rasporedjivac, najbolji kandidati za swap-out srednjeg rasporedjivaca se nalaze u i/o waiting queues

Explanation

The explanation for the given correct answer is that the answer is already stated in the question itself. The question mentions that "najbolji kandidati za swap-out srednjeg rasporedjivaca se nalaze u i/o waiting queues" which translates to "the best candidates for swapping out the medium scheduler are located in the I/O waiting queues". Therefore, the answer is already provided within the question.

Submit
61. Model na slici je kad imate situaciju:

Explanation

The correct answer is "Moderan kernel, moderna aplikacija." This is because the model in the picture represents a situation where both the kernel (the core of the operating system) and the application are modern and up-to-date.

Submit
62. Objasniti MVT. Koji algoritam za MVT ne mora da analizira sve postojede šupjine, prilikomalokacije memorije

Explanation

The first-fit algorithm for memory allocation does not need to analyze all existing holes in memory when searching for a suitable space to allocate a process. It simply starts from the beginning of the memory and allocates the process to the first hole that is large enough to accommodate it. This approach is efficient as it quickly finds a suitable space and reduces the time complexity of the allocation process.

Submit
63. U situaciji na slici jasno se vide krugovi. Na „prvi pogled", u otkiravanju pojave deadlock-a je vrlo pouzdana i jednostavna:

Explanation

The answer suggests that the detection of deadlock is very reliable and simple only if the resources contain only one instance. This means that if each resource is unique and there is only one of each resource, it becomes easier to identify and resolve deadlock situations. However, if there are multiple instances of the same resource, the detection of deadlock becomes more complex and less reliable.

Submit
64. Analizirati straničenje. Imate veličinu stranice od 2K (2048bajta). Kolika je maksimalna interna fragmentacija za ovaj slučaj

Explanation

The maximum internal fragmentation in this case is 2047 bytes because the page size is 2K (2048 bytes) and the internal fragmentation refers to the unused space within a page. Since the page size is 2048 bytes, the maximum internal fragmentation occurs when there is only 1 byte unused within the page, resulting in 2047 bytes being used.

Submit
65. Analizirati straničenje. Imate veličinu stranice od 8K (8192 bajta). Kolika je minimalna internafragmentacija za ovaj slučaj.

Explanation

The given question is asking about the minimum internal fragmentation for a page size of 8K (8192 bytes). Internal fragmentation refers to the wasted space within a memory page due to the allocation of memory in fixed-size blocks. In this case, since the page size is 8K, any allocation that is a multiple of 8K would result in zero internal fragmentation because the entire page would be utilized without any wasted space. Therefore, the correct answer is 0 bytes.

Submit
66. Koji je ovo short-term scheduler algoritam. Odrediti TQ (Time Quantum)

Explanation

The given sequence of numbers represents the burst times of different processes. The short-term scheduler algorithm in this case is the Round Robin scheduling algorithm, where each process is given a fixed time quantum (TQ) to execute. The TQ is determined based on the maximum burst time among the processes. In this case, the maximum burst time is 57, so the TQ is set to 20, which is less than the maximum burst time and allows each process to execute for a fair amount of time before being preempted and giving a chance to other processes.

Submit
67. Na slici vidite veoma bitnu strukturu OS. To je:

Explanation

The correct answer is PCB. PCB stands for Process Control Block, which is a data structure used by operating systems to store and manage information about a running process. It contains important details such as the process ID, program counter, register values, and memory allocation. The PCB is crucial for the operating system to efficiently schedule and manage processes, allowing for multitasking and resource allocation.

Submit
68. U situaciji na slici, ako učestvuje kernelski proces dispatcher njegov posao je da:

Explanation

The given correct answer states that the job of the kernel process dispatcher in the given situation is to safely stop process P0 and safely start process P1. This means that the dispatcher is responsible for ensuring that P0 is stopped without any issues and then starting P1 in a safe manner.

Submit
69. MMU šema na slici se naziva

Explanation

Hierarchical paging is the correct answer because it refers to a memory management technique where the virtual address space is divided into multiple levels of page tables. Each level of the page table represents a different level of the hierarchy, allowing for efficient memory management and address translation. This technique is commonly used in modern operating systems to effectively manage large amounts of memory and improve performance.

Submit
70. Za time sharing sisteme, kao što su UNIX/Linux, idendifikujte short-term scheduler algoritam, koji je najbolji za njih

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.

Submit
71. Koji je ovo algoritam,    i u kojoj liniji ili kojim linijama koda mu je exit section Proces Pi1: do {2:3: wait(mutex)4:5: critical section6:7: signal(mutex)8:remainder section9: }while(1)

Explanation

The correct answer is "Linija broj 7". This is because the "signal(mutex)" statement is typically used to release the mutex or semaphore, allowing other processes to access the critical section. Therefore, the exit section of the algorithm is in line 7, where the mutex is signaled.

Submit
72. Postoje 4 uslova vezana za pojavu deadlock-a1.Mutual Exclusion2. Hold and wait3. No preemption4. Circular WaitDeadlock će se dogoditi:

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.

Submit
73. Šema koja u odnosu na ovu sliku,koja na svaki zahtev prvo obavi proračun a tek onda odobrava i privremeno odbijazahtev naziva se

Explanation

The correct answer is banker algorithm. The banker algorithm is a resource allocation and deadlock avoidance algorithm used in operating systems. It ensures that the system will never enter an unsafe state where a deadlock could occur. It does this by simulating the allocation of resources to processes and checking if the system would be left in a safe state after the allocation. If not, the request for resources is denied. This algorithm is used to prevent deadlocks and ensure the efficient use of resources in a system.

Submit
74. Na ovoj slici vidi se:

Explanation

not-available-via-ai

Submit
75. OS je po pitanju alokacija i upravljanja računarskim resursima:

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.

Submit
76. U situaciji na slici, tranziciju na koju ukazuje crvena srelica izaziva:

Explanation

The correct answer is "Proces roditelj". This means that the transition indicated by the red arrow is caused by the parent process.

Submit
77. U situaciji na slici štiti se jedan hardverski resurs. To je:

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.

Submit
78. Sta resava problem kad je proces veci od fizicke memorije

Explanation

Dynamic loading resolves the problem when the process is larger than physical memory.

Submit
79. U osnovnom dijagramu stanja procesa, sa slike, process poseduje ili ne poseduje neki resurse. Konkretno u stanju ready, process ima sve osim:

Explanation

In the ready state, a process has all the resources it needs except for the CPU. This means that the process is waiting for the CPU to be available in order to start executing its instructions. The process may already have access to other resources such as RAM, files, or any other necessary data, but it cannot proceed without the CPU.

Submit
80. Na slici vidite veoma bitnu strukturu OS. Sa tom strukturom najčešde manipuliše jedan kernelski proces. To je:

Explanation

The correct answer is "Dispatcher." The given explanation states that the structure shown in the image is a very important structure in an operating system, and it is most commonly manipulated by a kernel process. The term "Dispatcher" refers to the component in an operating system that is responsible for managing the execution of processes and deciding which process will be allocated the CPU next.

Submit
81. Koju arhitekturu vidite na slici

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.

Submit
82. Koju arhitekturu vidite na ovoj slici:

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.

Submit
83. Na ovoj slici vidi se prelazak iz:

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.

Submit
84. Sledeca slika predstavlja:

Explanation

The given image represents Linked lists. Linked lists are a data structure consisting of a sequence of nodes, where each node contains data and a reference to the next node in the sequence. In the image, we can see a visual representation of linked nodes connected by arrows, indicating the linking between nodes. This data structure is commonly used to implement dynamic data structures and allows for efficient insertion and deletion of elements.

Submit
85. Model na slici je

Explanation

The model in the picture is represented by the letter "c".

Submit
86. Objasniti MVT. Koji algoritam za MVT ima najbrže pretraživanje u pogledu izbora šupljina

Explanation

First-fit is an algorithm for memory allocation that searches for the first available memory block that can accommodate a given request. It starts from the beginning of the memory and allocates the request if there is a large enough block available. This algorithm has the fastest search time in terms of selecting holes because it stops searching as soon as it finds a suitable hole. It may not always provide the most optimal solution in terms of space utilization, but it is efficient in terms of search time.

Submit
87. sta je ovo 

Explanation

The correct answer is Swapping or virtual memory (traditional form). Swapping refers to the process of moving data between the computer's RAM and the hard disk. When the RAM becomes full, the operating system can transfer less frequently used data from the RAM to the hard disk, making room for more frequently used data. This helps to optimize the usage of RAM and allows the computer to run more efficiently. Virtual memory is a technique that allows the computer to use the hard disk as an extension of the RAM, providing additional memory space when needed.

Submit
88. Koju arhitekturu vidite na ovoj slici:

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.

Submit
89. I/O se u računarskim sistemima obično štite preko:

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.

Submit
90. U osnovnom dijagramu stanja procesa, sa slike uočite tranziciju running-exit-terminated. Da li se u toj tranziciji poziva short-term scheduler:

Explanation

In the given question, the correct answer is "Obavezno" which means "mandatory" in English. This implies that in the transition from the "running" state to the "exit-terminated" state in the basic process state diagram, the short-term scheduler is always called.

Submit
91. 1. Koji je ovo algoritam,        i kakva je to TestAndSet instrukcija Deljeni podaci:boolean lock = falseProces Pi1: do {2: while(TestAndSet(lock)) ;3: critical section4: lock = false;5: remainder section6: }

Explanation

This code snippet represents a solution to the critical section problem using the TestAndSet instruction. The TestAndSet instruction is a low-level assembly or machine instruction that atomically sets a lock variable to true and returns its previous value. This ensures that only one process can enter the critical section at a time. The algorithm is partially dependent on the operating system as it relies on the availability and functionality of the TestAndSet instruction. Therefore, the correct answer is "Asemblerska tj. masinska instrukcija. Algoritam je delimični zavistan od OS."

Submit
92. U situaciji na slici učestvuju neki od kernelski procesa. To su:

Explanation

The correct answer is "Short-term scheduler I dispatcher." In the given situation, the processes involved are the short-term scheduler and dispatcher. These components are responsible for selecting and allocating processes from the ready queue to the CPU for execution. The short-term scheduler decides which process will run next, and the dispatcher is responsible for context switching and loading the selected process into the CPU.

Submit
93. Memorija se u računarskim sistemima obično štiti preko:

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.

Submit
94. Tehnika aging u short-term scheduler algortimima se koristi za:

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.

Submit
95. Kojem OS najviše odgovara ova slika

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.

Submit
96. Idendifikujte koji je ovo short-term scheduler algoritam, pa ga ocenite po pitanju preemption:

Explanation

The correct answer is "Non-preemptive." This means that the short-term scheduler algorithm does not allow preemption, which is the ability to interrupt a running process before it has completed its execution. In a non-preemptive algorithm, once a process starts running, it will continue until it voluntarily releases the CPU, such as when it finishes its execution or when it blocks for I/O.

Submit
97. Idendifikujte koji je ovo short-term scheduler algoritam, pa ga ocenite po pitanju performansi

Explanation

not-available-via-ai

Submit
98. U strukturnoj šemi računarskog sistema, OS je neposredno iznad:

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.

Submit
99. U situaciji na slici, tranziciju na koju ukazuje crvena srelica izaziva :

Explanation

The correct answer is "Samo process". Based on the given information, the red arrow indicates a transition that is caused by only a process. This suggests that the transition is not influenced or triggered by any other factor such as DMA, PIC, lack of data or resources, or lack of RAM memory.

Submit
100. U slučaju ulaska nekih procesa u deadlock, za sistem sa deadlock detectionalgoritmom, najbolja metoda je:

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.

Submit
101. Potpunu CPU izolaciju u odnosu na I/O akcije omogudavaju 2 hardverska uređaja. To su:

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.

Submit
102. Kojem OS najviše odgovara ova slika

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.

Submit
103. Sledeca slika predstavlja:

Explanation

The given image represents buddy systems. Buddy systems is a memory management technique that divides memory into fixed-size blocks called buddies. Each buddy block is a power of two in size and is allocated or deallocated in pairs to maintain efficiency. The image likely depicts the allocation and deallocation process of buddy blocks, showing how memory is divided and managed using this technique.

Submit
104. Na ovoj slici vidi se:

Explanation

not-available-via-ai

Submit
105. Analizirati straničenje. Kako poboljšati performanse koje drastično padaju uvođenjem Straničenja

Explanation

The correct answer is "koristi se TLB" because the Translation Lookaside Buffer (TLB) is a hardware cache that stores recently used virtual-to-physical address translations. By using TLB, the system can quickly access the physical memory location corresponding to a virtual memory address, improving the performance of paging. This helps to reduce the time and resources required for address translation, resulting in better overall performance when implementing paging.

Submit
106. U strukturnoj šemi računarskog sistem, OS je neposredno ispod:

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."

Submit
107. Koji je ovo algoritam,    i u kojoj liniji ili kojim linijama koda mu je entry section Proces Pi1: do {2:3: wait(mutex)4:5: critical section6:7: signal(mutex)8:remainder section9: }while(1)

Explanation

The correct answer is "Linija broj 3". This is the entry section of the algorithm because it is the first line of code executed within the do-while loop. The algorithm starts by waiting for the mutex (a synchronization mechanism), and once it is acquired, it proceeds to execute the critical section of code. Therefore, line 3 marks the beginning of the entry section where the process waits for the mutex.

Submit
108. Analizirati straničenje. Za poboljšanje performansi koje drastično padaju uvođenjem straničenja,koristi se TLB keš memorija. Osnova za TLB je

Explanation

The correct answer is "asocijativna memorija" because TLB (Translation Lookaside Buffer) is a hardware cache that stores recently used virtual-to-physical address translations. It is used to improve performance by reducing the time needed to translate virtual addresses to physical addresses. Associative memory is a type of memory that allows parallel search and retrieval of data, making it suitable for implementing TLB as it can quickly locate the required translation entry based on the virtual address. Ordinary dynamic or static memory would not provide the necessary speed and efficiency for TLB functionality.

Submit
109. U osnovnom dijagramu stanja procesa, sa slike uočite tranziciju waiting-I/O or event completion-ready. Da li se u toj tranziciji dogodio preemption:

Explanation

In the given question, the correct answer is "Sigurno ne" which translates to "Definitely not" in English. This means that in the transition from waiting-I/O or event completion to ready in the basic process state diagram, there was no preemption.

Submit
110. U situaciji na slici učestvuju ili ne sledede hardverske komponente:

Explanation

The correct answer is that both DMA and PIC are involved in the situation depicted in the image.

Submit
111. Koji je ovo algoritam,    u kojoj liniji ili u kojim linijama koda mu je entry section:Proces Pi1: boolean choosing[n];2: int number[n];3: do {4:5: choosing[i] = true; #čeka da dobije broj6: number[i] = max(number[0], number[1], …, number [n - 1])+1; 7:choosing[i] = false;8:9: for (j = 0; j < n; j++) {10: while (choosing[j]) ;11: while ((number[j] != 0) && (number[j],j) < (number[i],i))) ;12: }13: critical section14:15: number[i] = 0;16:17: remainder section18:19: } while (1);

Explanation

The correct answer is "Linije broj 9, 10, 11, 12." These lines represent the entry section of the algorithm. In line 9, there is a loop that iterates through all the processes. In line 10, it waits until the process j is not in the choosing state. In line 11, it waits until the number of process j is 0 and its number is less than the number of process i. Finally, in line 12, it represents the critical section of the algorithm where the process executes its critical task.

Submit
112. Tehnika prikazana na slici se koristi kod jednog algoritma

Explanation

The technique shown in the picture is used in the Shortest Remaining Time First (SRTF) algorithm.

Submit
113. Idendifikujte koji je ovo short-term scheduler algoritam, pa ga ocenite po pitanju performansi

Explanation

This answer suggests that the short-term scheduler algorithm mentioned in the question is "veoma slab" or very weak in terms of performance.

Submit
114. Na slici je prikazan rešnje problema "Bounded Buffer" Od tri semafora koja učestvuju u igri, samo jedan garantuje aktinostjednog jedinog procesa u kritičnoj sekciji. To je: Deljeni podacisemaphore full, empty, mutex;Initially:full = 0, empty = n, mutex = 1Producer1: do {2: …3: produce an item in nextp4: …5: wait(empty); /*buffer full*/6:7: wait(mutex); /* ulaz u kritičnu sekciju*/8: …9: add nextp to buffer10: …11: signal(mutex); /*oslobodi bafer i kritičnu sekciju*/12:13: signal(full); /*uvećaj broj popunjenih elemenata u baferu*/14: } while (1);Consumer1: do {2: wait(full) /* bafer prazan*/3: wait(mutex); /*ulaz u kritičnu sekciju*/4: …5: remove an item from buffer to nextc6: …7: signal(mutex); /*oslobodi bafer i kritičnu sekciju*/8: signal(empty); /*uvećaj broj slobodnih mesta*/9: …10: consume the item in nextc11: …12: } while (1);

Explanation

The correct answer is "mutex". In this problem, the mutex semaphore is responsible for guaranteeing the mutual exclusion of the critical section, ensuring that only one process can access it at a time. The producer and consumer processes both wait for the mutex semaphore before entering the critical section and signal it after leaving, allowing the other process to enter. This ensures that no two processes can access the critical section simultaneously, preventing any race conditions or conflicts.

Submit
115. On-line komunikacija sa sistemom:

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.

Submit
116. Deljivost memorije između različitih procesa je kod segmentacije moguda, na nivou:

Explanation

When it comes to memory sharing between different processes in segmentation, the level at which it is possible is at the segment level. In segmentation, memory is divided into segments, and each segment represents a logical unit of memory that can be shared between processes. Therefore, the correct answer is "segmenta".

Submit
117. Koji je ovo short-term scheduler algoritam. Diskutujte TQ (Time Quantum). Manji TQ

Explanation

A smaller time quantum (TQ) for the short-term scheduler algorithm can lead to a decrease in performance. This is because a smaller TQ means that the CPU will switch between processes more frequently, resulting in more overhead and less time spent on actual processing. The impact of TQ on performance can vary depending on the operating system being used. However, in general, a smaller TQ is likely to have a negative effect on performance.

Submit
118. Idendifikujte koji je ovo short-term scheduler algoritam, pa ga ocenite po pitanju preemption:

Explanation

This question is asking to identify the short-term scheduler algorithm and evaluate it in terms of preemption. The correct answer is "Non-preemptive." This means that once a process is allocated the CPU, it will continue to run until it voluntarily gives up the CPU or completes its execution. There is no preemption or forced interruption of the process by the scheduler.

Submit
119. U situaciji na slici, u tranziciji na koju ukazuje crvena strelica:

Explanation

not-available-via-ai

Submit
120. Na slici je prikazana deljivost:

Explanation

The image is showing the divisibility of a page.

Submit
121. Analizirati straničenje. Šta se dešava sa performansama uvođenjem straničenja

Explanation

Straničenje je proces u kojem se memorija deli na manje delove, nazvane stranice, kako bi se olakšalo upravljanje memorijom. Uvođenjem straničenja, performanse se smanjuju 100%. Ovo se događa jer se pristup memoriji usporava zbog dodatnih operacija koje su potrebne za upravljanje stranicama, kao što su pronalaženje i premeštanje stranica u i iz memorije. Ove dodatne operacije dovode do povećanja vremena pristupa memoriji i smanjenja ukupne brzine izvršavanja programa.

Submit
122. Diskutujte RT (Response Time). Idendifikujte koji je ovo short-term scheduler algoritam, koji je najbolji po pitanju RT

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.

Submit
123. Deljivost memorije između različitih procesa je kod straničenja je moguda, na nivou:

Explanation

The correct answer is "stranice". In the context of memory sharing between different processes, paging is a technique that divides the physical memory into fixed-size blocks called pages. Each page can be allocated to a different process, allowing for efficient memory management and sharing. Therefore, the divisibility of memory between processes is possible at the page level.

Submit
124. Analizirati segmentaciju. Imate segment od 1350 bajtova. Kolika je maksimalna internafragmentacija za ovaj slučaj

Explanation

The maximum internal fragmentation for a segment of 1350 bytes would be 1349 bytes. Internal fragmentation refers to the wasted space within a segment due to the allocation of memory in fixed-size blocks. In this case, if the segment size is 1350 bytes and the maximum internal fragmentation is 1349 bytes, it means that only 1 byte is wasted within the segment.

Submit
125. Sta je ovo

Explanation

Straničenje u dva nivoa refers to pagination in two levels, which means dividing content into two separate sections or pages. This can be useful for organizing and presenting information in a structured manner. It allows for a clearer and more organized layout, making it easier for users to navigate through the content.

Submit
126. U situaciji na slici, tranziciju na koju ukazuje srvena stralica izaziva:

Explanation

In the given situation, the red arrow indicates a transition caused by a lack of data or resources that have been awaited for a long time. This suggests that there is a delay in obtaining the necessary data or resources, which is causing the transition.

Submit
127. Na slici je prikazan rešenje problema "Bounded Buffer"Rešenje potpuno štiti sledeće deljive varijable: Deljeni podaci:struct buffer #all in structure is shared{int pool[n];int count, in, out;}Producerregion buffer when( count < n){pool[in] = nextp;in:= (in+1) % n;count++;}Consumerregion buffer when (count > 0){nextc = pool[out];out = (out+1) % n;count--;}

Explanation

The correct answer is "Pool[n], count, in, out". This is because all of these variables are declared within the shared structure "buffer". This means that they can be accessed and modified by both the Producer region and the Consumer region of the program.

Submit
128. 1. Koji je ovo algoritam,   i kojoj liniji ili u kojim linijama koda mu je EXIT section: Deljeni podaci:boolean lock = falseProces Pi1: do {2: while(TestAndSet(lock)) ;3: critical section4: lock = false;5: remainder section6: }

Explanation

The correct answer is "Linija broj 4". This is because in line 4, the lock variable is set to false, indicating that the critical section has been completed and the lock is released. This allows other processes to enter the critical section if they are not blocked by the lock.

Submit
129. 1. Koji je ovo algoritam,     i da li ima "busy waiting"Deljeni podaci:boolean lock = falseProces Pi1: do {2: while(TestAndSet(lock)) ;3: critical section4: lock = false;5: remainder section6: }

Explanation

The given code snippet represents a process Pi1 that uses a lock to enter its critical section. The TestAndSet(lock) function is used to check and set the lock value. If the lock is already set (true), the process enters a busy waiting loop until the lock becomes false. This means that the process continuously checks the lock until it can acquire it, resulting in busy waiting. Therefore, the correct answer is "Uvek ima busy waiting."

Submit
130. U situaciji na slici, tranziciju na koju ukazuje srvena stralica izaziva:

Explanation

The answer states that the transition indicated by the red arrow is definitely not preemption.

Submit
131. Na slici prikazana su 2 mehanizma:

Explanation

The correct answer is that the left mechanism is an indirect IPC (Inter-Process Communication) and the right mechanism is a direct IPC. This can be inferred from the information given in the question.

Submit
132. Instrukcija  je: boolean TestAndSet(boolean &target) {boolean rv = targettarget = truereturn rv}

Explanation

The given code snippet is implementing the TestAndSet function, which takes a boolean target as a parameter. It sets the value of target to true and returns the previous value of target. This operation is typically used in concurrent programming to achieve atomicity and mutual exclusion. The fact that the code is "Memorijski bazirana" means that it is using memory-based instructions to perform the operation. The statement "ne može se prekinuti" indicates that the operation is indivisible and cannot be interrupted by other instructions or processes.

Submit
133. Instrukcija na slici je:boolean TestAndSet(boolean &target) {boolean rv = targettarget = truereturn rv}

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".

Submit
134. Koji je ovo algoritam       i da li ima "busy waiting"Proces Pi1: do {2: flag [i]:= true;3: turn = j; /* daje šansu drugom procesu*/4: while (flag [j] and turn = j) ;5:6: critical section7:8: flag [i] = false;9:10: remainder section11: } while (1);

Explanation

The given code snippet implements a solution to the critical section problem using a flag and turn variable. The flag[i] variable indicates whether process Pi1 is in its critical section, and the turn variable gives the opportunity to the other process to enter its critical section. The while loop in line 4 checks if the other process is in its critical section and if it is its turn. If both conditions are true, the process Pi1 waits in a busy waiting state until it can enter its critical section. Therefore, the correct answer is "Uvek ima busy waiting."

Submit
135. Koji je ovo algoritam,  i koliko procesa može istovremeno da opslužujeProces Pi1: boolean choosing[n];2: int number[n];3: do {4:5: choosing[i] = true; #čeka da dobije broj6: number[i] = max(number[0], number[1], …, number [n - 1])+1; 7:choosing[i] = false;8:9: for (j = 0; j < n; j++) {10: while (choosing[j]) ;11: while ((number[j] != 0) && (number[j],j) < (number[i],i))) ;12: }13: critical section14:15: number[i] = 0;16:17: remainder section18:19: } while (1);

Explanation

The given algorithm is known as the Peterson's algorithm, which is used for mutual exclusion in concurrent programming. It allows multiple processes (n processes) to access a critical section without interference. In this algorithm, each process sets its "choosing" flag to true and assigns a number based on the maximum number assigned by other processes. It then checks if any other process is currently choosing or has a lower number, and if so, it waits. Once it enters the critical section, it sets its number to 0 and proceeds to the remainder section. Therefore, the algorithm can handle any number of processes (n processes) simultaneously.

Submit
136. Šema koja u odnosu na ovu sliku, koja odobrava svaki zahtev, a obavlja proračun u kom stanju su procesi naziva se

Explanation

The correct answer is the banker algorithm. This algorithm is used to prevent deadlock in a system by carefully allocating resources to processes. It keeps track of the available resources and the maximum resources that each process may need. Before allocating resources, the banker algorithm checks if the allocation will lead to a safe state, where all processes can eventually complete their execution. If the allocation will result in an unsafe state, the banker algorithm denies the request and avoids deadlock.

Submit
137. Koji je ovo algoritam,       koji je ovo algoritam, i dali ima "busy waiting":Proces Pi1: boolean choosing[n];2: int number[n];3: do {4:5: choosing[i] = true; #čeka da dobije broj6: number[i] = max(number[0], number[1], …, number [n - 1])+1; 7:choosing[i] = false;8:9: for (j = 0; j < n; j++) {10: while (choosing[j]) ;11: while ((number[j] != 0) && (number[j],j) < (number[i],i))) ;12: }13: critical section14:15: number[i] = 0;16:17: remainder section18:19: } while (1);

Explanation

The given algorithm is a variant of the Peterson's algorithm for mutual exclusion in a multi-process system. It uses an array of boolean variables "choosing" to indicate whether a process is currently choosing a number and an array of integer variables "number" to store the number assigned to each process. The algorithm uses busy waiting by using while loops to wait until a certain condition is met. In this case, process Pi waits until it is its turn to enter the critical section based on the values of "choosing" and "number" variables. Therefore, the correct answer is "uvek ima" (always has busy waiting).

Submit
138. Koji je ovo algoritamNeka je n = broj procesa, i m = broj resursa.Vektor raspoloživosti: Vektor dužine m. Ako je element available [j] = k, tada jek instanci resoursa Rj raspoloživo.Matrica maksimalnih zahteva: Ako je Max [i,j] = k, tada proces Pi može tražitinajviše k instanci resoursa Rj.Matrica alokacije: Ako je Allocation[i,j] = k tada je proces Pi trenutno dobio k instanci resursaRj.Matrica potreba: Ako je Need[i,j] = k, tada proces Pi može tražiti još k instanciresursa Rj da završi njegov posao.Need [i,j] = Max[i,j] - Allocation [i,j].1. Neka Work i Finish budu vektori dužine m i n, respektivno. Inicijalizacija:Work = AvailableFinish [i] = false for i - 1,3, …, n.2. Pronalaženje procesa Pi koji može da zadovolji svoje potrebe :(a) Finish [i] = false(b) Needi £ Work /*trazi manje od raspolozivih R*/Ako nema takvih procesa idi na korak 43. Work = Work + Allocationi vraća resurseFinish[i] = true (proces završio)Idi na korak 2.4. Ako je Finish [i] == true za svako i, tada je sistem u stabilnom stanju.

Explanation

The given explanation describes the banker algorithm. This algorithm is used for deadlock avoidance in resource allocation. It works by simulating the allocation of resources to processes and checking if the system reaches a safe state where no deadlock can occur. The algorithm uses matrices to represent the current state of resource allocation, maximum resource needs, and available resources. It then iteratively checks if there is a process that can be allocated resources without causing a deadlock. If all processes can be allocated resources, the system is in a stable state.

Submit
139. Idendifikujte koji je ovo short-term scheduler algoritam, pa ga mu izaberite OS za koga je on najbolji

Explanation

not-available-via-ai

Submit
140. Struktura na slici:      Kako se zove

Explanation

The correct answer is "resource allocation graph" because the question is asking for the name of the structure depicted in the image. The image is most likely showing a resource allocation graph, which is a visual representation of the allocation of resources to different processes in a system. This graph helps in identifying potential deadlocks and resource conflicts in a system.

Submit
141. U modelu na slici, kada neka od korisničkih niti pređe u stanje waiting:

Explanation

When a user thread transitions to the waiting state in the model shown in the picture, all other user threads from the same group are blocked. This means that they are unable to continue their activities until the waiting thread is unblocked and resumes its execution.

Submit
142. Na slici je prikazan rešenje problema "Reader/Writer "Rešenje je: Deljeni podacisemaphore mutex, wrt;Initiallymutex = 1, wrt = 1, readcount = 0Writer1: wait(wrt); /* no readers*/2: …3: writing is performed4: …5: signal(wrt);Reader1: wait(mutex);2: readcount++;3: if (readcount == 1) wait(wrt); /* prvi reader, čeka writer /*4: else continue /*nije prvi, ima readers*/5: signal(mutex);6: …7: reading is performed8: …9:10: wait(mutex);11: readcount--;12: if (readcount == 0)13: signal(wrt);#no readers, freeing wrt14:15: signal(mutex):

Explanation

The given solution for the "Reader/Writer" problem is a Semaphore solution. It uses semaphores to control access to the shared data. The solution involves using three semaphores: mutex, wrt, and readcount. The mutex semaphore is used to ensure mutual exclusion when updating the readcount variable. The wrt semaphore is used to ensure exclusive access to the writing process. The readcount variable is used to keep track of the number of active readers. The solution follows the reader-priority approach, allowing multiple readers to access the data simultaneously while ensuring that a writer can only access the data when there are no active readers.

Submit
143. Identifikujte koji je ovo short-term scheduler algoritam, pa ga ocenite po pitanju zakucavanja

Explanation

This answer suggests that the short-term scheduler algorithm being referred to is excellent in terms of preventing deadlock.

Submit
144. Objasniti MVT. Koji algoritmi za MVT moraju analizirati sve postojede šupjine, prilikom alokacijememorije.

Explanation

MVT stands for Memory Variable Technique, which is an algorithm used for memory allocation. The bestfit and worstfit algorithms need to analyze all existing holes (empty spaces) in the memory in order to allocate memory efficiently. The bestfit algorithm selects the smallest hole that is big enough to accommodate the process, while the worstfit algorithm selects the largest hole available. Both algorithms require analyzing all the holes in memory to make the best allocation decision.

Submit
145. Situacija sa slike je suštinski važna za jednu klasu OS. Za tu klasu OS, idendifikujte short-term scheduler algoritam, koji je najbolji za njih

Explanation

The given situation is important for an operating system class. Among the options given, the best short-term scheduler algorithm for this class of operating system would be the Priority algorithm.

Submit
146. Idendifikujte koji je ovo short-term scheduler algoritam, pa ga ocenite po pitanju preemption:

Explanation

The short-term scheduler algorithm for UNIX/Linux is usually the Completely Fair Scheduler (CFS). It is considered to have good preemption capabilities as it uses a time-sharing approach and dynamically adjusts the priority of processes based on their runtime. This allows for fair allocation of CPU time among processes and efficient handling of multitasking.

Submit
147. 1. Koji je ovo algoritam,           i koji mu je naziv Deljeni podaci:boolean lock = falseProces Pi1: do {2: while(TestAndSet(lock)) ;3: critical section4: lock = false;5: remainder section6: }

Explanation

The given code does not have a specific name or is not associated with any well-known algorithm. It is a simple code snippet that implements a basic locking mechanism using a boolean variable "lock". The process Pi1 repeatedly checks the value of "lock" using the TestAndSet function until it becomes false, enters the critical section, sets "lock" to false again, and then proceeds to the remainder section. Therefore, the correct answer is "Nema specijalno ime" which means "It does not have a special name" in Serbian.

Submit
148. Analizirati straničenje. Koje vrste fragmentacije, straničenje nema uopšte?

Explanation

Straničenje je tehnika upravljanja memorijom u kojoj se programski kod i podaci pohranjuju u stranice, a nekontinuirani blokovi. Eksterna fragmentacija se javlja kada postoje slobodni blokovi memorije između zauzetih stranica, ali nisu dovoljno veliki da bi se koristili za alociranje novih stranica. Interna fragmentacija se javlja kada se na kraju zauzete stranice koristi samo deo prostora, ostavljajući prazan prostor unutar stranice. S obzirom na to da se straničenje koristi za upravljanje memorijom, oba tipa fragmentacije mogu se pojaviti.

Submit
149. 1. Koji je ovo algoritam,   i kojoj liniji ili u kojim linijama koda mu je entry section: Deljeni podaci:boolean lock = falseProces Pi1: do {2: while(TestAndSet(lock)) ;3: critical section4: lock = false;5: remainder section6: }

Explanation

The correct answer is "Linija broj 2". This line of code uses the TestAndSet function to check if the lock variable is set to true. If it is, the process will wait in a while loop until the lock variable is set to false. This is a common technique used in algorithms for mutual exclusion, where multiple processes are trying to access a shared resource. By using the TestAndSet function, only one process at a time can enter the critical section, ensuring that the shared resource is not accessed simultaneously by multiple processes.

Submit
150. Analizirati straničenje. Imate veličinu stranice od 1K (1024bajta). Ako povedate veličinu stranice,šta se dešava sa internom fragmentacijom

Explanation

Kada se poveća veličina stranice, dolazi do povećanja internog fragmentiranja. Interno fragmentiranje se javlja kada se deo prostora u okviru stranice ne koristi potpuno. Ako se veličina stranice poveća, verovatnoća da će se deo prostora unutar stranice ostaviti neiskorišćenim takođe se povećava. To dovodi do veće količine internog fragmentiranja, što znači da se povećava.

Submit
151. Analizirati straničenje. Imate veličinu stranice od 4K (4096 bajta). Ako smanjite veličinu stranice, šta se dešava sa tabelom stranica

Explanation

Kada se smanji veličina stranice, tabela stranica se povećava. Ovo se događa zato što se manje podataka može smestiti u jednu stranicu, pa je potrebno više stranica za čuvanje istog broja podataka. Kako bi se održala konzistentnost i efikasnost sistema, tabela stranica se mora povećati kako bi pratila sve te dodatne stranice.

Submit
152. Idendifikujte koji je ovo short-term scheduler algoritam, pa ga ocenite po pitanju zakucavanja

Explanation

The given answer is "5 Odličan". This suggests that the short-term scheduler algorithm being referred to is excellent in terms of deadlock prevention or avoidance.

Submit
153. Koji je ovo short-term scheduler algoritam

Explanation

The correct answer is RR. RR stands for Round Robin, which is a short-term scheduler algorithm. In this algorithm, each process is given a fixed time quantum to execute, and if it doesn't finish within that time, it is preempted and moved to the back of the queue. This algorithm ensures fairness among processes and prevents starvation.

Submit
154. Kolekcija procesora od kojih svaki ima sopstvenu memoriju i RTC, a povezani su preko mreže predstavlja:

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.

Submit
155. Analizirati straničenje. Imate veličinu stranice od 1K (1024bajta). Ako povedate veličinu stranice,šta se dešava sa tabelom stranica.

Explanation

The correct answer is "smanjuje se" (decreases). When the page size is reduced, it means that each page can hold less data. As a result, the number of pages required to store the same amount of data will increase. Therefore, the size of the page table, which keeps track of the mapping between virtual and physical memory addresses, will also increase. Hence, the table size decreases.

Submit
156. MMU na slici naziva se:

Explanation

The correct answer is MMU sa relokacionim registrom. This refers to the memory management unit (MMU) that includes a relocation register. The relocation register is used to adjust the memory addresses generated by the CPU, allowing for the execution of programs that may be loaded into different areas of memory each time they run. This helps in implementing the concept of virtual memory and enables efficient memory management in a computer system.

Submit
157. Na slici je prikazana deljivost:

Explanation

The image is showing the divisibility of segments.

Submit
158. Objasniti overlay tehniku? U koju kategoriju spada overlay tehnika

Explanation

Overlay tehnika je tehnika koja omogućava da se više programa ili modula smesti u jednu memoriju, ali da se samo oni delovi programa koji su trenutno potrebni učitaju u radnu memoriju. Ova tehnika se koristi kako bi se smanjila potrošnja memorije i povećala efikasnost izvršavanja programa. Overlay tehnika spada u kategoriju dinamičkog punjenja, gde se programi ili moduli učitavaju u memoriju po potrebi, umesto da se učitaju u celosti odjednom.

Submit
159. Kada ukupno u zbiru imate dovoljno slobodne memorije, a ne možete da je dodelite procesukoji je tražio, to je onda:

Explanation

When you have enough free memory in total, but you cannot allocate it to the process that requested it, it is called external fragmentation. This occurs when free memory is scattered in small chunks throughout the system, making it difficult to find a contiguous block of memory that can satisfy the process's memory requirements.

Submit
160. Kod TS (time-sharing systems)???

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.

Submit
161. Diskutujte ATAT (Average Turn-Around Time). Idendifikujte short-term scheduler algoritam, koji je najbolji po pitanju ATAT

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.

Submit
162. Koji je ovo short-term scheduler algoritam

Explanation

SRTF (Shortest Remaining Time First) is the correct answer. This scheduling algorithm selects the process with the shortest remaining burst time. It ensures that the process with the smallest amount of time left to complete is given priority. This helps in minimizing the waiting time and maximizing the throughput of the system.

Submit
163. Idendifikujte koji je ovo short-term scheduler algoritam, pa ga ocenite po pitanju performansi

Explanation

The given answer states that the short-term scheduler algorithm is preemptive and its time quantum is 1. Preemptive scheduling means that the scheduler can interrupt the execution of a process before it completes and allocate the CPU to another process. A time quantum of 1 indicates that each process is allowed to execute for a maximum of 1 unit of time before being interrupted. This type of scheduling can provide fairness and responsiveness in a multi-tasking environment, but it may also result in frequent context switches and overhead.

Submit
164. Na slici je prikazan rešnje problema "Bounded Buffer" Rešenje može da opslužuje: Deljeni podacisemaphore full, empty, mutex;Initially:full = 0, empty = n, mutex = 1Producer1: do {2: …3: produce an item in nextp4: …5: wait(empty); /*buffer full*/6:7: wait(mutex); /* ulaz u kritičnu sekciju*/8: …9: add nextp to buffer10: …11: signal(mutex); /*oslobodi bafer i kritičnu sekciju*/12:13: signal(full); /*uvećaj broj popunjenih elemenata u baferu*/14: } while (1);Consumer1: do {2: wait(full) /* bafer prazan*/3: wait(mutex); /*ulaz u kritičnu sekciju*/4: …5: remove an item from buffer to nextc6: …7: signal(mutex); /*oslobodi bafer i kritičnu sekciju*/8: signal(empty); /*uvećaj broj slobodnih mesta*/9: …10: consume the item in nextc11: …12: } while (1);

Explanation

The given solution for the "Bounded Buffer" problem includes a single producer process and a single consumer process. This can be determined by analyzing the code for the producer and consumer functions. The producer process waits for the buffer to have empty space (line 5) and then adds an item to the buffer (line 9) before signaling that the buffer is full (line 13). Similarly, the consumer process waits for the buffer to have items (line 2) and then removes an item from the buffer (line 5) before signaling that the buffer has empty space (line 8). This indicates that there is only one producer and one consumer in the system.

Submit
165. Idendifikujte koji je ovo short-term scheduler algoritam, pa ga mu izaberite OS za koga je on najbolji

Explanation

The correct answer is "Za vedinu OS". This means "For most OS" in English. The explanation for this answer is that the given algorithm is suitable for most operating systems. It does not specify a particular OS, but rather suggests that the algorithm can be used effectively in a majority of operating systems.

Submit
166. Koji je ovo algoritam,Proces Pi1: do {2: flag [i]:= true;3: turn = j; /* daje šansu drugom procesu*/4: while (flag [j] and turn = j) ;5:6: critical section7:8: flag [i] = false;9:10: remainder section11: } while (1);

Explanation

The given code snippet is an implementation of the Dekker-Peterson algorithm. This algorithm is a solution to the critical section problem in concurrent programming. It ensures that only one process can enter the critical section at a time by using flags and a turn variable. The flag[i] variable is set to true when process Pi1 wants to enter the critical section, and the turn variable is used to give a chance to the other process. The while loop in line 4 ensures that the other process is not in its critical section and that it is not its turn. This algorithm provides mutual exclusion and avoids deadlock and starvation.

Submit
167. Idendifikujte koji je ovo short-term scheduler algoritam, pa ga ocenite po pitanju zakucavanja

Explanation

This answer suggests that the short-term scheduler algorithm being referred to is excellent in terms of deadlock prevention or handling.

Submit
168. 1. Koji je ovo algoritam,   i kakva je veza algoritma i OS:Deljeni podaci:boolean lock = falseProces Pi1: do {2: while(TestAndSet(lock)) ;3: critical section4: lock = false;5: remainder section6: }

Explanation

The given code snippet is implementing a basic synchronization algorithm known as TestAndSet. This algorithm is used to ensure mutual exclusion in a multi-threaded or multi-process environment. The boolean variable "lock" is used as a flag to indicate whether a critical section is currently being executed. The process Pi1 enters a while loop and continuously checks the value of "lock" using the TestAndSet function. If the lock is already set (true), the process waits until it becomes available (false). Once the lock is acquired, the process enters the critical section, performs the necessary operations, releases the lock, and proceeds to the remainder section. The algorithm itself does not depend on the operating system, but its effectiveness and behavior may be influenced by the underlying OS.

Submit
169. Na slici je prikazan rešnje problema "Bounded Buffer"Za proces potrošač, koja ili koje linije predstavljaju exit section. To je:  Deljeni podacisemaphore full, empty, mutex;Initially:full = 0, empty = n, mutex = 1Producer1: do {2: …3: produce an item in nextp4: …5: wait(empty); /*buffer full*/6:7: wait(mutex); /* ulaz u kritičnu sekciju*/8: …9: add nextp to buffer10: …11: signal(mutex); /*oslobodi bafer i kritičnu sekciju*/12:13: signal(full); /*uvećaj broj popunjenih elemenata u baferu*/14: } while (1);Consumer1: do {2: wait(full) /* bafer prazan*/3: wait(mutex); /*ulaz u kritičnu sekciju*/4: …5: remove an item from buffer to nextc6: …7: signal(mutex); /*oslobodi bafer i kritičnu sekciju*/8: signal(empty); /*uvećaj broj slobodnih mesta*/9: …10: consume the item in nextc11: …12: } while (1);

Explanation

The exit section for the consumer process in the "Bounded Buffer" problem is represented by lines 7 and 8. These lines signal the release of the buffer and the critical section, allowing other processes to access them.

Submit
170. Objasniti MVT. Od koje vrste fragmentacije pati algoritam MVT?

Explanation

MVT stands for Memory Variable Technique, which is a memory management algorithm used in operating systems. It divides the memory into fixed-size partitions and allocates each process to a partition based on its memory requirements. The algorithm suffers from external fragmentation, where free memory blocks are scattered throughout the memory, making it difficult to allocate contiguous memory to processes. This can lead to inefficient memory utilization and slower performance. Therefore, the correct answer is "od eksterne fragmentacije" (from external fragmentation).

Submit
171. Koji je ovo algoritam,    i koliko procesa može istovremeno da opslužujeProces Pi1: do {2:3: wait(mutex)4:5: critical section6:7: signal(mutex)8:remainder section9: }while(1)

Explanation

This algorithm is an example of a solution to the critical section problem using mutual exclusion. It uses a semaphore called "mutex" to control access to the critical section. The process first waits for the mutex to be available, then enters the critical section, performs its operations, signals that it has finished using the mutex, and then continues with the remainder section. The number of processes that can be simultaneously served depends on the value of "n" which is not specified in the given question. Therefore, the answer is "n procesa".

Submit
172. Kada morate procesu morate da dodelite više memorije od onoga što je tražio, to je onda

Explanation

The given correct answer is "interna fragmentacija." This refers to a situation where more memory is allocated to a process than what it actually requested. This results in wasted memory space within the allocated block, leading to inefficiency in memory utilization.

Submit
173. Na Intel procesorima, IA32arhitektura, primenjena je slededa memorijska šema:

Explanation

The correct answer is "segmentacija+straničenje u dva nivoa" which translates to "segmentation + paging in two levels" in English. This means that the IA32 architecture used on Intel processors implements both segmentation and paging mechanisms for memory management, using two levels of paging. Segmentation divides the memory into segments, while paging divides the segments into pages. This combination allows for efficient memory management and address translation.

Submit
174. U kodu sa dva procesa Pi i Pj i dva dogaĎaja A i B:semafor fleg je inicijalizovan na 0Pi PjMMA wait(flag)signal(flag) B

Explanation

The given code snippet includes a semaphore flag that is initially set to 0. In the code, both processes Pi and Pj are waiting for the flag to be signaled before proceeding. The events A and B are not explicitly defined in the code, but based on the code structure, it can be inferred that event B occurs before event A. This is because both processes are waiting for the flag to be signaled, which means event B must happen first in order for the flag to be signaled and allow the processes to continue. Therefore, event A is guaranteed to happen after event B.

Submit
175. Objekat Semafor S, sa operacijama:wait (S):while S£ 0 do no-op;S--;signal (S):S++

Explanation

The given answer states that the classic semaphore has the phenomenon of "busy waiting". Busy waiting refers to a situation where a process continuously checks for a condition to become true, instead of being blocked or put to sleep until the condition is met. In the case of a classic semaphore, when the value of the semaphore is not greater than zero, the process enters a loop and repeatedly checks the condition, causing busy waiting. Therefore, the classic semaphore exhibits the phenomenon of busy waiting.

Submit
176. Page tabela na slici

Explanation

Inverted paging is a memory management technique where instead of each process having its own page table, there is a single global page table that is shared by all processes. This allows for more efficient memory usage as the page table only needs to store mappings for the pages that are currently in use, rather than for all possible pages in each process's address space. The page table entries in inverted paging contain information about the location of the page in physical memory and the process that is currently using it. This technique is dependent on the operating system and is not used by all systems.

Submit
177. Analizirati segmentaciju. Koje vrste fragmentacije, segmentacija nema uopšte?

Explanation

The correct answer is "internu fragmentaciju". This means that the segmentation does not have internal fragmentation. Internal fragmentation refers to the wasted memory within a segment due to the allocation of larger memory blocks than required. In this case, the segmentation does not have this type of fragmentation, indicating that the memory allocation is efficient and there is no wasted space within the segments.

Submit
178. Koji je ovo algoritam       po pitanju klaseProces Pi1: do {2: flag [i]:= true;3: turn = j; /* daje šansu drugom procesu*/4: while (flag [j] and turn = j) ;5:6: critical section7:8: flag [i] = false;9:10: remainder section11: } while (1);

Explanation

The given algorithm is a pure software solution because it uses only software-based flags and variables to control access to the critical section. There are no hardware-based mechanisms or structures mentioned in the code.

Submit
179. Objasniti dinamičko punjenje? Da li dinamičko punjenje zahteva pomod operativnog sistema

Explanation

Dinamičko punjenje se odnosi na proces u kojem se resursi ili podaci učitavaju ili alociraju tokom izvršavanja programa, umesto da se unapred definišu ili rezervišu. Ovo omogućava fleksibilnost i efikasnije korišćenje resursa. Dinamičko punjenje ne zahteva pomod operativnog sistema, već je koncept koji se primenjuje na nivou programiranja i implementacije softvera.

Submit
180. sta je ovo

Explanation

The given question asks for the simpler option among the listed operating systems. The correct answer, "jednostavniji unix," suggests that Unix is simpler compared to the other options mentioned, such as Solaris, MS Windows, and Linux. However, without further context or criteria for simplicity, it is difficult to provide a comprehensive explanation.

Submit
181. Kom algoritamu odgovara ovaj slučaj:5 procesa P0 do P4;3 resoursa:A (10 instanci), B (5instanci), i C (7 instanci).Stanje sistema u trenutku T0:Allocation Max AvailableA B C A B C A B CP0 0 1 0 7 5 3 3 3 2P1 2 0 0 3 2 2P2 3 0 2 9 0 2P3 2 1 1 2 2 2P4 0 0 2 4 3 3Da li se može odobriti zahtev procesu P0 (0,2,0)?

Explanation

The banker algorithm is the correct answer because it is used to determine if a request for resources by a process can be granted without causing a deadlock. In this case, process P0 is requesting 2 instances of resource B. The banker algorithm checks if granting this request will leave the system in a safe state, where all processes can eventually complete their execution. By analyzing the current allocation, maximum, and available resources, the banker algorithm determines that the request can be granted without causing a deadlock.

Submit
182. U situaciji na slici jasno se vide krugovi. Na „prvi pogled", da li je to deadlock

Explanation

The given question states that there are circles visible in the situation depicted in the picture. It then asks whether it can be determined at first glance if it is a deadlock. The correct answer is "ne može pouzdano da se utvrdi na prvi pogled" which means that it cannot be reliably determined at first glance. This suggests that further analysis or information is needed to determine if it is indeed a deadlock.

Submit
183. Koji je ovo algoritam,    Proces Pi1: do {2:3: wait(mutex)4:5: critical section6:7: signal(mutex)8:remainder section9: }while(1)

Explanation

The given code snippet does not have a specific name or is not associated with any well-known algorithm. It is a generic code structure that includes a mutex (mutual exclusion) to control access to the critical section. After acquiring the mutex, the process enters the critical section, releases the mutex, and then proceeds to the remainder section. This code does not implement any specific synchronization algorithm like SPA, Bakery, Dekker-Peterson, or RIP algorithm. Therefore, the correct answer is "nema specijalno ime" which means "it does not have a special name" in Croatian.

Submit
184. Idendifikujte koji je ovo short-term scheduler algoritam, pa ga ocenite po pitanju zakucavanja

Explanation

This short-term scheduler algorithm is rated as "1 veoma slab" or "very weak" in terms of deadlock.

Submit
185. Slika predstavlja:

Explanation

The given answer, dynamic loading, is the most appropriate choice because it refers to the process of loading a program or module into memory during runtime, rather than during the program's compilation or startup. This allows for flexibility and efficiency in program execution, as only the necessary components are loaded when needed. Device driver, dynamic linking, and kernelski podsistem do not accurately describe the concept depicted in the image.

Submit
186. Kojem OS najviše odgovara ova slika

Explanation

not-available-via-ai

Submit
187. Analizirati straničenje. Imate veličinu stranice od 4K (4096 bajta). Ako smanjite veličinu stranice,šta se dešava sa internom fragmentacijom

Explanation

Kada smanjite veličinu stranice, smanjuje se i interna fragmentacija. Interna fragmentacija je pojava kada se deo memorije u okviru stranice ne koristi, što može dovesti do gubitka resursa. Kada se veličina stranice smanji, manje će biti prostora koji ostaje neiskorišćen unutar svake stranice, što znači da će se smanjiti i interna fragmentacija.

Submit
188. Kolekcija procesora koja pre svega deli RAM memoriju predstavlja:

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.

Submit
189.     Koji je ovo algoritam, po pitanju klaseProces Pi1: boolean choosing[n];2: int number[n];3: do {4:5: choosing[i] = true; #čeka da dobije broj6: number[i] = max(number[0], number[1], …, number [n - 1])+1; 7:choosing[i] = false;8:9: for (j = 0; j < n; j++) {10: while (choosing[j]) ;11: while ((number[j] != 0) && (number[j],j) < (number[i],i))) ;12: }13: critical section14:15: number[i] = 0;16:17: remainder section18:19: } while (1);

Explanation

The given algorithm is a pure software solution because it does not involve any hardware components or devices. It uses boolean variables, integer arrays, and loops to implement the logic. There are no mentions of physical devices or external resources being used in the algorithm. Therefore, it can be classified as a pure software solution.

Submit
190. Kom algoritamu odgovara ovaj slučaj:Pet procesaod P0 do P4;tri resursa tipaA (7 instanci), B (2 instance), i C (6 instanci).Stanje sistema u trenutku T0:Allocation Request AvailableA B C A B C A B CP0 0 1 0 0 0 0 0 0 0P1 2 0 0 2 0 2P2 3 0 3 0 0 0P3 2 1 1 1 0 0P4 0 0 2 0 0 2

Explanation

The given system state shows the allocation, request, and available resources for each process. In order to determine if there is a deadlock in the system, a deadlock detection algorithm can be used. This algorithm checks for the presence of a circular wait condition, where each process is waiting for a resource held by another process. By analyzing the resource allocation and request information, the algorithm can identify if a deadlock exists in the system. Therefore, the correct answer is "deadlock detection algorithm".

Submit
191. Na slici je prikazan rešenje problema "Reader/Writer "Linije u kodu čitaoca, gde se čitaoci sihroniše sa čitaocima su: Deljeni podacisemaphore mutex, wrt;Initiallymutex = 1, wrt = 1, readcount = 0Writer1: wait(wrt); /* no readers*/2: …3: writing is performed4: …5: signal(wrt);Reader1: wait(mutex);2: readcount++;3: if (readcount == 1) wait(wrt); /* prvi reader, čeka writer /*4: else continue /*nije prvi, ima readers*/5: signal(mutex);6: …7: reading is performed8: …9:10: wait(mutex);11: readcount--;12: if (readcount == 0)13: signal(wrt);#no readers, freeing wrt14:15: signal(mutex):

Explanation

The correct answer is "Linije 1, 5, 10, 15". These lines of code are responsible for acquiring and releasing the necessary semaphores to ensure mutual exclusion and synchronization between readers and writers. Line 1 acquires the "wrt" semaphore, ensuring that no other readers or writers can access the shared data. Line 5 releases the "wrt" semaphore after the writing is performed, allowing other readers or writers to access the shared data. Line 10 acquires the "mutex" semaphore to update the "readcount" variable. Line 15 releases the "mutex" semaphore after updating the "readcount" variable.

Submit
192. Analizirati straničenje. Od koje vrste fragmentacije pati straničenje?

Explanation

Straničenje je tehnika koja omogućava da se programi i podaci smjeste u stranice kako bi se efikasnije koristio prostor u memoriji. Od inertne fragmentacije pati straničenje, jer se javlja kada se slobodni blokovi memorije između stranica ne mogu koristiti zbog njihove male veličine. Ova fragmentacija može dovesti do gubitka memorije i smanjenja performansi sistema. Eksterna fragmentacija se odnosi na fragmentaciju prostora na disku, koja nije relevantna za straničenje.

Submit
193. Na slici je prikazan rešenje problema "Reader/Writer "Rešenje može da opslužuje: Deljeni podacisemaphore mutex, wrt;Initiallymutex = 1, wrt = 1, readcount = 0Writer1: wait(wrt); /* no readers*/2: …3: writing is performed4: …5: signal(wrt);Reader1: wait(mutex);2: readcount++;3: if (readcount == 1) wait(wrt); /* prvi reader, čeka writer /*4: else continue /*nije prvi, ima readers*/5: signal(mutex);6: …7: reading is performed8: …9:10: wait(mutex);11: readcount--;12: if (readcount == 0)13: signal(wrt);#no readers, freeing wrt14:15: signal(mutex):

Explanation

The given code implements a solution to the "Reader/Writer" problem using semaphores. In this solution, there is a shared data resource protected by a mutex semaphore and a wrt semaphore. The initial values of mutex, wrt, and readcount are set accordingly.

In the code, the writer process waits for the wrt semaphore before performing its writing operation. This ensures that there are no readers accessing the resource while the writer is writing. Once the writing is done, the writer signals the wrt semaphore to allow other processes to access the resource.

The reader process first waits for the mutex semaphore to enter the critical section. It then increments the readcount variable to keep track of the number of readers. If it is the first reader (readcount == 1), it waits for the wrt semaphore to ensure exclusive access for the writer. Otherwise, it continues reading without waiting for the writer.

After completing the reading operation, the reader process again waits for the mutex semaphore to decrement the readcount. If there are no more readers (readcount == 0), it signals the wrt semaphore to allow the writer to access the resource. Finally, the reader process signals the mutex semaphore to release the critical section.

Based on this code, it can be inferred that there is only one writer process and only one reader process allowed to access the shared resource at a time. Therefore, the correct answer is "Samo 1 proces pisac i samo 1 proces čitaoc" (Only 1 writer process and only 1 reader process).

Submit
194. Analizirati straničenje. Ako se koriste tehnike, kao što su hijerarhijsko straničenje, hashing iliinvertovane tabele stranica, šta se dešava sa veličinom tabela stranica.

Explanation

When analyzing paging, if techniques such as hierarchical paging, hashing, or inverted page tables are used, the size of the page tables decreases.

Submit
195. Kako se zove struktura na slici

Explanation

The structure in the image is called a "wait for graph." This type of graph represents the dependencies and relationships between processes or tasks in a system. It shows which processes are waiting for others to complete before they can proceed. This information is crucial for resource allocation and scheduling decisions in order to prevent deadlocks and optimize system performance.

Submit
196. MMU na slici naziv se:

Explanation

The correct answer is MVT.

Submit
197. Bit mapsLinked listBuddy Systems

Explanation

The correct answer is "algoritmi za evidenciju slobodnog prostora u memoriji" which translates to "algorithms for managing free space in memory". This answer is appropriate because bit maps, linked lists, and buddy systems are all commonly used algorithms for managing and tracking free space in computer memory. These algorithms help in efficient memory allocation and deallocation, ensuring that memory is utilized optimally.

Submit
198. U kodu, sa dva procesa Pi i Pj i dva semafora S i Q:Neka S i Q budu dva semafora inicijalizovana na 1Pi Pjwait(S); wait(Q);wait(Q); wait(S);signal(S); signal(Q);signal(Q) signal(S);

Explanation

The given code snippet shows two processes, Pi and Pj, and two semaphores, S and Q. The initial values of both semaphores are set to 1. The processes Pi and Pj both wait for semaphore S and semaphore Q. They then wait for semaphore Q and semaphore S respectively. Finally, they signal semaphore S and semaphore Q in reverse order.

Based on this code, it is possible for processes Pi and Pj to enter a deadlock situation, where both processes are waiting indefinitely for a semaphore that will never be signaled. However, it is not guaranteed that they will always enter a deadlock. It depends on the timing and execution of the processes.

Submit
199. Kolekcija procesora koja pre svega deli storage prostor predstavlja:

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.

Submit
200. Objekat Semafor S, sa operacijama:wait (S):while S 0 do no-op;S--;signal (S):S++;je:

Explanation

The given answer states that the object S is a classical semaphore and it exhibits the phenomenon of "busy waiting". Busy waiting refers to the situation where a process continuously checks the value of the semaphore in a loop until it becomes non-zero, which can consume CPU resources unnecessarily. Therefore, the classical semaphore with busy waiting implies that the process will keep checking the value of S in a loop until it is non-zero, which can result in inefficient resource utilization.

Submit
View My Results
Cancel
  • All
    All (200)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Koji je ovo algoritam
Imate MMU sa relokacionim registrom. Generisana logička adresa iznosi...
Objasniti dinamičko punjenje? Ko je glani i odgovorni za dinamičko...
Sta je ovo 
Koju arhitekturu vidite na slici:
U arhitekturu koju vidite na ovoj slici:
Sta je najbolje za time sharing sisteme
U modelu na slici, kada neka od korisničkih niti pređe u stanje...
U strukturnoj šemi OS-a, najkvalitetniji i fundamentalni deo...
Sta je ovo
Koju arhitekturu vidite na slici:
Koji OS je napravio jedan od najboljih many-to-many modela:
U multithread modela procesa, programski kod je:
Idendifikujte koji je ovo short-term scheduler algoritam, pa ga...
Sta je ovde u pitanju
U situaciji prikazanoj u jednoj grani sigurno se dogodila preemption....
Postoje 4 uslova vezana za pojavu deadlock-a1.Mutual Exclusion2. Hold...
Sta je ovde
Model na slici je:
Koji je ovo shor-term scheduler algoritam
Šta vidite na ovoj slici:
Sta je ovo
Ko je najbolji prijatelj CPU i računarskog sistema
Struktura na slici:      uglavnom služi:
Najtipičniji predstavnik TS (timesharing systems)
U osnovnom dijagramu slanja proseca, sa slike učestvuju neki od...
Idendifikujte koji je ovo short-term scheduler algoritam, pa ga...
Sistemski poziv predstavlja interfejs između
Čiji je ovo many-to-many model:
Struktura na slici uglavnom služi
Analizirati straničenje. Imate veličinu stranice od 1K (1024bajta)....
Sta je ovde u pitanju
Na ovoj slici vidi se:
Kako se štiti CPU u računarskim sistemima? Koji je hardverski...
Identifikujte koji je ovo short-term scheduler algoritam, pa ga...
Analizirati segmentaciju. Imate veličinu stranice od 1350 bajtova....
Kod TS (time-sharing systems) fundamentalni resurs koji se deli...
MMU šema na slici naziva se
Kojem OS najviše odgovara ova slika
Kojem OS najviše odgovara ova slika
Usituaciji na slici štiti se jedan hardverski resurs. To je:
U situaciji na slici štiti se jedan hardverski resurs. To je:
Objasniti dinamičko punjenje? Ko je glavni i odgovorni za dinamičko...
Ne znam sta treba ovde ali ima ponudjeno ovo Performanse :...
U user modu, proces koristi:
Analizirati straničenje. slika sadrži pored straničenja jednu...
U osnovnom dijagramu stanja procesa, sa slike uočite tranziciju...
U situaciji kao na slici u otkiravanju pojave deadlock-a je vrlo...
Model na slici je:
Situacija na slici predstavlja:
Koju arhitekturu vidite na ovoj slici:
U slučaju ulaska nekih procesa u deadlock, za sistem sa deadlock...
U multithread modelu procesa, globalni podaci su:
Arhitektura na slici je idealna za razvoj ili učenje:
Idendifikujte koji je ovo short-term scheduler algoritam, pa ga...
Šta vidite na ovoj slici:
Koji je ovo algoritam       i kojoj liniji ili u kojim...
Imate MMU sa relokacionim registrom. Generisana logička adresa iznosi...
Šema koja u odnosu na ovu sliku, zahteva od procesa da se...
NA slici vidimo i srednji i kratki rasporedjivac, najbolji kandidati...
Model na slici je kad imate situaciju:
Objasniti MVT. Koji algoritam za MVT ne mora da analizira sve...
U situaciji na slici jasno se vide krugovi. Na „prvi...
Analizirati straničenje. Imate veličinu stranice od 2K (2048bajta)....
Analizirati straničenje. Imate veličinu stranice od 8K (8192 bajta)....
Koji je ovo short-term scheduler algoritam. Odrediti TQ (Time Quantum)
Na slici vidite veoma bitnu strukturu OS. To je:
U situaciji na slici, ako učestvuje kernelski proces dispatcher...
MMU šema na slici se naziva
Za time sharing sisteme, kao što su UNIX/Linux, idendifikujte...
Koji je ovo algoritam,    i u kojoj liniji ili kojim...
Postoje 4 uslova vezana za pojavu deadlock-a1.Mutual Exclusion2. Hold...
Šema koja u odnosu na ovu sliku,koja na svaki zahtev prvo obavi...
Na ovoj slici vidi se:
OS je po pitanju alokacija i upravljanja računarskim resursima:
U situaciji na slici, tranziciju na koju ukazuje crvena srelica...
U situaciji na slici štiti se jedan hardverski resurs. To je:
Sta resava problem kad je proces veci od fizicke memorije
U osnovnom dijagramu stanja procesa, sa slike, process poseduje ili ne...
Na slici vidite veoma bitnu strukturu OS. Sa tom strukturom...
Koju arhitekturu vidite na slici
Koju arhitekturu vidite na ovoj slici:
Na ovoj slici vidi se prelazak iz:
Sledeca slika predstavlja:
Model na slici je
Objasniti MVT. Koji algoritam za MVT ima najbrže pretraživanje u...
Sta je ovo 
Koju arhitekturu vidite na ovoj slici:
I/O se u računarskim sistemima obično štite preko:
U osnovnom dijagramu stanja procesa, sa slike uočite tranziciju...
1. Koji je ovo algoritam,        i kakva je to...
U situaciji na slici učestvuju neki od kernelski procesa. To su:
Memorija se u računarskim sistemima obično štiti preko:
Tehnika aging u short-term scheduler algortimima se koristi za:
Kojem OS najviše odgovara ova slika
Idendifikujte koji je ovo short-term scheduler algoritam, pa ga...
Idendifikujte koji je ovo short-term scheduler algoritam, pa ga...
U strukturnoj šemi računarskog sistema, OS je neposredno...
U situaciji na slici, tranziciju na koju ukazuje crvena srelica...
U slučaju ulaska nekih procesa u deadlock, za sistem sa deadlock...
Potpunu CPU izolaciju u odnosu na I/O akcije omogudavaju 2 hardverska...
Kojem OS najviše odgovara ova slika
Sledeca slika predstavlja:
Na ovoj slici vidi se:
Analizirati straničenje. Kako poboljšati performanse koje...
U strukturnoj šemi računarskog sistem, OS je neposredno ispod:
Koji je ovo algoritam,    i u kojoj liniji ili kojim...
Analizirati straničenje. Za poboljšanje performansi koje...
U osnovnom dijagramu stanja procesa, sa slike uočite tranziciju...
U situaciji na slici učestvuju ili ne sledede hardverske komponente:
Koji je ovo algoritam,    u kojoj liniji ili u kojim...
Tehnika prikazana na slici se koristi kod jednog algoritma
Idendifikujte koji je ovo short-term scheduler algoritam, pa ga...
Na slici je prikazan rešnje problema "Bounded...
On-line komunikacija sa sistemom:
Deljivost memorije između različitih procesa je kod segmentacije...
Koji je ovo short-term scheduler algoritam. Diskutujte TQ (Time...
Idendifikujte koji je ovo short-term scheduler algoritam, pa ga...
U situaciji na slici, u tranziciji na koju ukazuje crvena strelica:
Na slici je prikazana deljivost:
Analizirati straničenje. Šta se dešava sa performansama...
Diskutujte RT (Response Time). Idendifikujte koji je ovo short-term...
Deljivost memorije između različitih procesa je kod straničenja je...
Analizirati segmentaciju. Imate segment od 1350 bajtova. Kolika je...
Sta je ovo
U situaciji na slici, tranziciju na koju ukazuje srvena stralica...
Na slici je prikazan rešenje problema "Bounded...
1. Koji je ovo algoritam,   i kojoj liniji ili u kojim...
1. Koji je ovo algoritam,     i da li ima "busy...
U situaciji na slici, tranziciju na koju ukazuje srvena stralica...
Na slici prikazana su 2 mehanizma:
Instrukcija  je: boolean TestAndSet(boolean &target)...
Instrukcija na slici je:boolean TestAndSet(boolean &target)...
Koji je ovo algoritam       i da li ima "busy...
Koji je ovo algoritam,  i koliko procesa može istovremeno...
Šema koja u odnosu na ovu sliku, koja odobrava svaki...
Koji je ovo algoritam,       koji je ovo...
Koji je ovo algoritamNeka je n = broj procesa, i m = broj...
Idendifikujte koji je ovo short-term scheduler algoritam, pa ga mu...
Struktura na slici:      Kako se zove
U modelu na slici, kada neka od korisničkih niti pređe u stanje...
Na slici je prikazan rešenje problema "Reader/Writer...
Identifikujte koji je ovo short-term scheduler algoritam, pa ga...
Objasniti MVT. Koji algoritmi za MVT moraju analizirati sve postojede...
Situacija sa slike je suštinski važna za jednu klasu OS. Za tu...
Idendifikujte koji je ovo short-term scheduler algoritam, pa ga...
1. Koji je ovo algoritam,           i koji mu...
Analizirati straničenje. Koje vrste fragmentacije, straničenje nema...
1. Koji je ovo algoritam,   i kojoj liniji ili u kojim...
Analizirati straničenje. Imate veličinu stranice od 1K (1024bajta)....
Analizirati straničenje. Imate veličinu stranice od 4K (4096 bajta)....
Idendifikujte koji je ovo short-term scheduler algoritam, pa ga...
Koji je ovo short-term scheduler algoritam
Kolekcija procesora od kojih svaki ima sopstvenu memoriju i RTC, a...
Analizirati straničenje. Imate veličinu stranice od 1K (1024bajta)....
MMU na slici naziva se:
Na slici je prikazana deljivost:
Objasniti overlay tehniku? U koju kategoriju spada overlay tehnika
Kada ukupno u zbiru imate dovoljno slobodne memorije, a ne možete da...
Kod TS (time-sharing systems)???
Diskutujte ATAT (Average Turn-Around Time). Idendifikujte short-term...
Koji je ovo short-term scheduler algoritam
Idendifikujte koji je ovo short-term scheduler algoritam, pa ga...
Na slici je prikazan rešnje problema "Bounded...
Idendifikujte koji je ovo short-term scheduler algoritam, pa ga mu...
Koji je ovo algoritam,Proces Pi1: do {2: flag [i]:= true;3: turn = j;...
Idendifikujte koji je ovo short-term scheduler algoritam, pa ga...
1. Koji je ovo algoritam,   i kakva je veza algoritma i...
Na slici je prikazan rešnje problema "Bounded...
Objasniti MVT. Od koje vrste fragmentacije pati algoritam MVT?
Koji je ovo algoritam,    i koliko procesa može...
Kada morate procesu morate da dodelite više memorije od onoga...
Na Intel procesorima, IA32arhitektura, primenjena je slededa...
U kodu sa dva procesa Pi i Pj i dva dogaĎaja A i B:semafor fleg je...
Objekat Semafor S, sa operacijama:wait (S):while S£ 0 do...
Page tabela na slici
Analizirati segmentaciju. Koje vrste fragmentacije, segmentacija nema...
Koji je ovo algoritam       po pitanju klaseProces Pi1:...
Objasniti dinamičko punjenje? Da li dinamičko punjenje zahteva pomod...
Sta je ovo
Kom algoritamu odgovara ovaj slučaj:5 procesa P0 do P4;3 resoursa:A...
U situaciji na slici jasno se vide krugovi. Na „prvi pogled", da...
Koji je ovo algoritam,    Proces Pi1: do {2:3:...
Idendifikujte koji je ovo short-term scheduler algoritam, pa ga...
Slika predstavlja:
Kojem OS najviše odgovara ova slika
Analizirati straničenje. Imate veličinu stranice od 4K (4096 bajta)....
Kolekcija procesora koja pre svega deli RAM memoriju predstavlja:
    Koji je ovo algoritam, po pitanju klaseProces Pi1:...
Kom algoritamu odgovara ovaj slučaj:Pet procesaod P0 do P4;tri...
Na slici je prikazan rešenje problema "Reader/Writer...
Analizirati straničenje. Od koje vrste fragmentacije pati...
Na slici je prikazan rešenje problema "Reader/Writer...
Analizirati straničenje. Ako se koriste tehnike, kao što su...
Kako se zove struktura na slici
MMU na slici naziv se:
Bit mapsLinked listBuddy Systems
U kodu, sa dva procesa Pi i Pj i dva semafora S i Q:Neka S i Q budu...
Kolekcija procesora koja pre svega deli storage prostor predstavlja:
Objekat Semafor S, sa operacijama:wait (S):while S 0 do...
Alert!

Advertisement