Operativni SiSTEMi 1(Prvi Kolokvijum)

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 Stojanovicn88
S
Stojanovicn88
Community Contributor
Quizzes Created: 2 | Total Attempts: 3,088
| Attempts: 1,726
SettingsSettings
Please wait...
  • 1/237 питања

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

Please wait...


Quiz Preview

  • 2. 

    Šta vidite na ovoj slici:

    • Real-time OS

    • PIC ciklus

    • Time-sharing OS

    • Multiprograming

    • DMA ciklus

    Correct Answer
    A. Multiprograming
    Explanation
    The correct answer is "Multiprograming." Multiprogramming is a technique used in operating systems where multiple programs are loaded into the computer's memory and executed concurrently. This allows for efficient utilization of the CPU by switching between different programs, thereby increasing overall system throughput. It is different from time-sharing, where CPU time is shared among multiple users, and real-time OS, which guarantees timely response to critical tasks. The other options, PIC cycle and DMA cycle, are unrelated to the concept of multiprogramming.

    Rate this question:

  • 3. 

    Ko je najbolji prijatelj CPU i  računarskog sistema:

    • Keš memorija

    • Flash memorija

    • Cooler

    • MDA

    • Network card

    • Mouse

    • Timer

    • Hard disk

    Correct Answer
    A. Timer
    Explanation
    A timer is the best friend of a CPU and computer system because it helps in managing and coordinating various tasks and operations. It allows the system to keep track of time and schedule processes accordingly. Timers are essential in controlling the execution of instructions, synchronizing events, and maintaining system stability. They ensure that processes are executed in a timely manner and prevent resource conflicts. Without a timer, the CPU and computer system would struggle to function efficiently and effectively.

    Rate this question:

  • 4. 

    Model na slici je:

    • Many-to-one

    • One-to-one

    • Many-to-many

    • Ne može da se zaključi

    Correct Answer
    A. Many-to-one
    Explanation
    The model in the picture represents a many-to-one relationship. This means that multiple entities from one side can be associated with a single entity on the other side. It is not a one-to-one relationship because it allows for multiple entities on one side to be linked to a single entity on the other side. It is also not a many-to-many relationship because it does not allow for multiple entities on both sides to be linked together. Therefore, based on the information provided, the model can be concluded to be a many-to-one relationship.

    Rate this question:

  • 5. 

    Analizirati straničenje imate veličinu od 2K(2048 bajta). Kolika je maksimalna interna fragmentacija za ovaj slučaj:

    • 1023 bajta

    • 2048 bajta

    • 1024 bajta

    • 2047 bajta

    Correct Answer
    A. 2047 bajta
    Explanation
    The maximum internal fragmentation for this case is 2047 bytes. Internal fragmentation occurs when the allocated memory is larger than the actual data that needs to be stored. In this case, since the page size is 2048 bytes and the allocated memory is 2047 bytes, there will be 1 byte of internal fragmentation. This means that out of the 2048 bytes allocated, only 2047 bytes are effectively used to store data, while 1 byte remains unused.

    Rate this question:

  • 6. 

    Imate MMU sa relokacionim registrom. Generisana logička adresa iznosi 150, a vrednost relokacionog registra za proces je 10000. Izračunati fizičku adresu:

    Correct Answer
    10150
    Explanation
    The given question states that there is an MMU with a relocation register. The logical address generated is 150, and the value of the relocation register for the process is 10000. To calculate the physical address, we add the logical address and the value of the relocation register: 150 + 10000 = 10150.

    Rate this question:

  • 7. 

    Analizirati straničenje. Imate veličinu stranice od 8K(8192 bajta). Kolika je minimalna interna fragmentacija za ovaj slučaj:

    • 511 bajtova

    • 512 bajtova

    • 1023 bajta

    • 0 bajta

    • 1024 bajta

    Correct Answer
    A. 0 bajta
    Explanation
    The minimum internal fragmentation for this case is 0 bytes because the page size (8K or 8192 bytes) is evenly divisible by all the given sizes (511, 512, 1023, 0, and 1024 bytes). Therefore, there will be no wasted space or internal fragmentation in any of these cases.

    Rate this question:

  • 8. 

    Koju arhitekturu vidite na slici:

    • Microkernel

    • Distribuiranu

    • Client/server

    • Slojevitu

    • Monolitnu

    Correct Answer
    A. Slojevitu
    Explanation
    The correct answer is "Slojevitu" (Layered). In a layered architecture, the system is divided into multiple layers, with each layer performing a specific set of functions. Each layer interacts with the layer above and below it, providing a modular and organized structure. This allows for easier maintenance, scalability, and flexibility as changes can be made to individual layers without affecting the entire system.

    Rate this question:

  • 9. 

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

    • Timer

    • Keš memorija

    • Flash memorija

    • DMA

    • Network card

    Correct Answer
    A. Timer
    Explanation
    A timer is a hardware device that can be used to protect the CPU in computer systems. It helps in managing and controlling the execution of tasks by setting time limits for different processes. By using a timer, the CPU can be protected from excessive workload or from being overwhelmed by multiple tasks running simultaneously. The timer ensures that each task is given a fair amount of time to execute, preventing any one task from monopolizing the CPU's resources. Therefore, a timer is the most suitable hardware device for CPU protection.

    Rate this question:

  • 10. 

    Koju arhitekturu vidite na ovoj slici:

    • Client/server

    • Time sharing 

    • Cloud computing

    • Distributed systems

    • Cluster

    Correct Answer
    A. Client/server
    Explanation
    The correct answer is "Client/server". This is because the image depicts a system architecture in which a central server is connected to multiple client devices. In a client/server architecture, the server provides resources and services to the clients, who request and utilize these resources. This architecture allows for centralized control and management of data and applications, with clients accessing and interacting with the server to perform tasks.

    Rate this question:

  • 11. 

    Kojem OS najviše odgovara ova slika:

    • UNIX/LInux

    • Google Chrome

    • DOS

    • Novell netware

    • MS Windows

    Correct Answer
    A. DOS
    Explanation
    The given image is most suitable for the DOS operating system. DOS (Disk Operating System) is a command-line based operating system that was widely used in the early days of personal computers. It is known for its simplicity and compatibility with older hardware. The image might depict a command prompt or a DOS application, which would be familiar to users of DOS.

    Rate this question:

  • 12. 

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

    • Hard disk

    • Mrežna kartica

    • RAM 

    • I/O systems

    • CPU

    Correct Answer
    A. RAM 
    Explanation
    In the given situation, the hardware resource being protected is the RAM. 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 or restarted. Protecting the RAM is important as it ensures that the data stored in it is not corrupted or accessed by unauthorized entities, thereby maintaining the integrity and security of the system.

    Rate this question:

  • 13. 

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

    • RAM memorija

    • Mrežna kartica

    • CPU

    • I/O systems

    • Hard disk

    Correct Answer
    A. RAM memorija
    Explanation
    The correct answer is RAM memorija. In the given situation, one hardware resource is being protected. RAM (Random Access Memory) is a type of computer memory that is used to store data that is being actively used by the computer's operating system, software, and processes. It is a volatile memory, meaning that its contents are lost when the computer is powered off or restarted. Protecting the RAM ensures the integrity and availability of the data stored in it, preventing unauthorized access or corruption.

    Rate this question:

  • 14. 

    Arhitektura na slici je idalna za razvoj ili učenje:

    • C++ i Java

    • Aplikativnog softvera

    • Operativnih sistema

    • Sistemskog softvera

    • Device drivers

    • Google Chrome

    Correct Answer
    A. Operativnih sistema
    Explanation
    The architecture in the picture is ideal for the development or learning of operating systems.

    Rate this question:

  • 15. 

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

    • Hardvera

    • Sistemskog softvera

    • Aplikativnog softvera

    • Mrežnog sloja

    • Kernelskog sloja

    Correct Answer
    A. Hardvera
    Explanation
    In the hierarchy of a computer system, the operating system (OS) is located directly above the hardware. The hardware refers to the physical components of the computer system, such as the processor, memory, and storage devices. The operating system acts as an intermediary between the hardware and the other software components of the system, providing an interface for the user to interact with the hardware and managing the resources of the system. Therefore, the correct answer is "Hardvera."

    Rate this question:

  • 16. 

    U arhitekturi koju vidite na ovoj slici:

    • Sloj M može koristiti samo sopstvene usluge

    • Sloj M može tražiti uslugu bilo kog sloja

    • Sloj M može tražiti uslugu samo slojeva ispod sebe (M-1,...)

    • Sloj M može tražiti uslugu samo slojeva iznad seb (M-1,...)

    Correct Answer
    A. Sloj M može tražiti uslugu samo slojeva ispod sebe (M-1,...)
    Explanation
    The correct answer is that "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, which are labeled as M-1 and so on. This indicates a hierarchical relationship between the layers, where each layer can only access the services provided by the layers below it.

    Rate this question:

  • 17. 

    U multithread modelu procesa, globalni podaci su:

    • Zajednički deljivi za sve niti

    • Unikatni-nedeljivi za svaku nit pojedinačno

    • Zajednički-deljivi samo za pojedine niti

    • Deljivost zavisi od OS

    Correct Answer
    A. Zajednički deljivi za sve niti
    Explanation
    In the multithread model of a process, global data is shared among all threads. This means that all threads within the process can access and modify the same global data. This allows for communication and coordination between threads, as they can share information and work together on a common task.

    Rate this question:

  • 18. 

    Analizirati segmentaciju. Imate veličinu stranice od 1350 bajtova. Kolika je minimalna interna fragmentacija za ovaj slučaj.

    • 511 bajtova

    • 512 bajtova 

    • 1023 bajta

    • 0 bajta

    • 1024 bajta

    Correct Answer
    A. 0 bajta
    Explanation
    The correct answer is 0 bytes because internal fragmentation refers to the wasted space within a memory block due to the allocation of larger blocks than necessary. In this case, since the page size is 1350 bytes and there is no wasted space within a block, the internal fragmentation is zero bytes.

    Rate this question:

  • 19. 

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

    • 512 bajtova

    • 1024 bajta

    • 1023 bajta

    • 0 bajta 

    • 511 bajtova

    Correct Answer
    A. 1023 bajta
    Explanation
    The maximum internal fragmentation in this case is 1023 bytes. Internal fragmentation refers to the unused space within a page due to the allocation of memory in fixed-size pages. Since the page size is 1K (1024 bytes), the maximum internal fragmentation occurs when only 1 byte is allocated within the page, leaving 1023 bytes unused.

    Rate this question:

  • 20. 

    Kojem OS najviše odgovara ova slika:

    • Novell netware

    • DOS 

    • UNIX/Linux

    • Sun Solaris

    • MS Windows(NT based)

    Correct Answer
    A. MS Windows(NT based)
    Explanation
    The image is most suitable for MS Windows (NT based) because it is a screenshot of the Windows operating system interface. The layout and design of the windows, icons, and taskbar match the visual style of Windows NT. The other options, Novell Netware, DOS, UNIX/Linux, and Sun Solaris, do not have the same graphical user interface as shown in the image.

    Rate this question:

  • 21. 

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

    • Short-term scheduler

    • Long-term scheduler

    • Medium-term scheduler

    • Svi

    • Nijedan

    Correct Answer
    A. Short-term scheduler
    Explanation
    The correct answer is Short-term scheduler. In the basic process scheduling diagram, the short-term scheduler is involved in the process. The short-term scheduler is responsible for selecting which process from the ready queue will be executed next by the CPU. It makes decisions based on factors such as process priority, time quantum, and CPU utilization. The long-term scheduler is responsible for selecting which processes should be brought into the ready queue from the job queue, while the medium-term scheduler is responsible for swapping processes in and out of main memory.

    Rate this question:

  • 22. 

    Deadlock će se dogoditi:

    • Ako je ispunjen bar jedan od 4 uslova

    • Ako su istovremeno ispunjena bar 3 od 4 uslova

    • Ako su istovremeno ispunjena sva 4 uslova

    • Ako su istovremeno ispunjena bar 2 od 4 uslova

    Correct Answer
    A. Ako su istovremeno ispunjena sva 4 uslova
    Explanation
    If all four conditions are simultaneously fulfilled, a deadlock will occur.

    Rate this question:

  • 23. 

    MMU šema na slici se naziva:

    • Hierarcical paging

    • Paging

    • Inverted paging

    • Hash paging

    Correct Answer
    A. Hierarcical paging
    Explanation
    Hierarchical paging is the correct answer because the MMU (Memory Management Unit) shown in the image is using a hierarchical paging structure. In hierarchical paging, the virtual address space is divided into multiple levels of page tables, allowing for efficient mapping of virtual addresses to physical addresses. This approach helps in managing large address spaces by reducing the size of page tables and improving memory access times.

    Rate this question:

  • 24. 

    Objasniti dinamičko punjenje? Ko je glavni i odgovorni za dinamičko punjenje:

    • Kratki raspoređivači

    • Programer

    • Drugi raspoređivači

    • Operativni sistem

    Correct Answer
    A. Programer
    Explanation
    Dinamičko punjenje se odnosi na proces u kojem se programski kod ili resursi učitavaju u memoriju tokom izvršavanja programa, umesto da se unapred učitavaju i zauzimaju prostor u memoriji. Programer je odgovoran za dinamičko punjenje jer on određuje koje delove programa će se učitavati dinamički i kako će se tačno izvršavati. On odlučuje koje module će se učitavati samo kada su potrebni i kako će se oni koristiti u programu.

    Rate this question:

  • 25. 

    U user modu,proces korisiti:

    • Bilo koje resurse sistema

    • Samo CPU

    • Samo RAM

    • Samo 2 resursa:CPU i RAM

    • Samo 2 resursa:CPU i datoteke

    • Samo 3 resursa:CPU, RAM i datoteke

    Correct Answer
    A. Samo 2 resursa:CPU i RAM
    Explanation
    The correct answer is "Samo 2 resursa: CPU i RAM" (Only 2 resources: CPU and RAM). This means that the user module or process utilizes only the CPU and RAM resources of the system. It does not use any other resources such as files or any specific resource mentioned in the options.

    Rate this question:

  • 26. 

    Kakva je to TestAndSet instrukcija kod datog algoritma:

    • C naredba

    • Asemblerska tj. mašinska instrukcija. Algoritam je delimično zavistan od OS

    • Java naredba 

    • C++ naredba

    • Zavisi od OS

    Correct Answer
    A. Asemblerska tj. mašinska instrukcija. Algoritam je delimično zavistan od OS
    Explanation
    The correct answer is "Asemblerska tj. mašinska instrukcija. Algoritam je delimično zavistan od OS." This means that the TestAndSet instruction is an assembly or machine instruction and the algorithm partially depends on the operating system. This suggests that the TestAndSet instruction is a low-level instruction that interacts directly with the hardware and may have different implementations depending on the underlying operating system.

    Rate this question:

  • 27. 

    Algoritam na slici je rešenje problema:

    • "Reader/Writer"

    • Read

    • Write

    • Execute

    Correct Answer
    A. "Reader/Writer"
    Explanation
    The algorithm depicted in the image is a solution to the "Reader/Writer" problem. This problem involves multiple processes accessing a shared resource, where readers can access the resource simultaneously, but writers must have exclusive access. The algorithm likely provides a mechanism for coordinating and managing access to the shared resource, ensuring that readers and writers can access it in a controlled and synchronized manner.

    Rate this question:

  • 28. 

    Da li se može odobriti zahtev procesu P0(0,2,0):

    • Može

    • Ne može

    Correct Answer
    A. Može
    Explanation
    The given answer "Može" suggests that the request from process P0(0,2,0) can be granted. However, without any context or additional information about the request and the process, it is difficult to provide a specific explanation for this answer. It is possible that the process P0(0,2,0) meets the necessary conditions or requirements to have its request approved, but without more information, it is not possible to determine the exact reason for this answer.

    Rate this question:

  • 29. 

    Na slici vidite veoma bitnu strukturu OS. To je:

    • PCS

    • PMS

    • PCB

    • PCA

    • PCM

    Correct Answer
    A. PCB
    Explanation
    The correct answer is PCB because in the given options, PCB stands for Process Control Block, which is a data structure used by operating systems to store information about a running process. It contains important details such as the process ID, program counter, and memory allocation. This structure plays a crucial role in managing and controlling processes in an operating system.

    Rate this question:

  • 30. 

    U situaciji prikazanoj u jednoj grani sigurno se dogodio preemption. To je:

    • Prva grana(I/O reguest)

    • Druga grana(time slice expired)

    • Treća grana(fork a child)

    • Četvrta grana(wait for an interrupt)

    • Nijedna grana ne odgovara

    • Događa se u svakoj grani

    • Na slici se vidi samo kratki raspoređivač

    Correct Answer
    A. Druga grana(time slice expired)
    Explanation
    In the given situation, the correct answer is the second branch, "time slice expired." This is because preemption refers to the act of temporarily interrupting a task to allow other tasks to execute. In this case, when the time slice for a task expires, it means that the task has consumed its allotted time and needs to be preempted to allow another task to run. Therefore, the occurrence of preemption can be attributed to the second branch, "time slice expired."

    Rate this question:

  • 31. 

    U kojoj liniji ili u kojim linijama koda je exit section datog algoritma:

    • Linija broj 1

    • Linija broj 1 i 2

    • Linija broj 3

    • Linije broj 1,2 i 3

    • Linija broj 8

    Correct Answer
    A. Linija broj 8
    Explanation
    The correct answer is "Linija broj 8" because the question asks for the line or lines of code where the "exit section" of the given algorithm is located. Since the "exit section" is typically the last part of an algorithm where the program terminates or exits, it is reasonable to assume that it would be located in the last line of the code, which is line number 8.

    Rate this question:

  • 32. 

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

    • First-fit

    • Best-fit

    • Worst-fit

    Correct Answer
    A. First-fit
    Explanation
    The first-fit algorithm for memory allocation is the fastest in terms of searching for available holes. It starts searching from the beginning of the memory and allocates the first hole that is large enough to accommodate the process. This algorithm is efficient as it minimizes the time taken to search for a suitable hole, making it faster compared to best-fit and worst-fit algorithms.

    Rate this question:

  • 33. 

    Koju arhitekturu vidite na ovoj slici:

    • Monolitnu

    • Slojevitu

    • Mikrokernel

    • Client/server

    • Distribuiranu

    Correct Answer
    A. Slojevitu
    Explanation
    The architecture seen in the picture is a layered architecture. This type of architecture is characterized by dividing the system into distinct layers, with each layer having a specific responsibility and interacting with adjacent layers in a hierarchical manner. This allows for modular design, separation of concerns, and ease of maintenance and scalability.

    Rate this question:

  • 34. 

    Šta vidite na ovoj slici:

    • DMA ciklus

    • PIC ciklus

    • Time-sharing OS

    • Real-time OS

    • Multiprograming

    • Multi-mode operations

    Correct Answer
    A. Multiprograming
    Explanation
    The correct answer is Multiprograming. This term refers to the ability of a computer operating system to execute multiple programs concurrently by dividing the CPU time between them. It allows for efficient utilization of system resources and improves overall performance.

    Rate this question:

  • 35. 

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

    • Zavisi od OS

    • Preemptive

    • Ne može da se odredi

    • Non-preemptive

    • Uslovno preemptive

    Correct Answer
    A. Preemptive
    Explanation
    This question is asking to identify the short-term scheduler algorithm and evaluate it in terms of preemption. The correct answer is "Preemptive." This means that the short-term scheduler algorithm used in this case allows for preemption, which means that it can interrupt a running process and allocate the CPU to another process. This allows for better multitasking and responsiveness in the operating system.

    Rate this question:

  • 36. 

    Od tri semafora koja učestvuju u igri, samo jedan garantuje aktivnost jednog jedinog procesa.To je:

    • Full 

    • Empty

    • Mutex

    • Nijedan od njih

    Correct Answer
    A. Mutex
    Explanation
    Mutex stands for mutual exclusion and is a synchronization object used to control access to a shared resource in a multi-threaded or multi-process environment. It ensures that only one process or thread can access the shared resource at a time, preventing conflicts and ensuring data integrity. In this context, the question is asking which semaphore guarantees the activity of a single process, and the correct answer is mutex.

    Rate this question:

  • 37. 

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

    • Obična dinamička memorija

    • Asocijativna memorija

    • Obična statička memorija

    Correct Answer
    A. Asocijativna memorija
    Explanation
    The TLB (Translation Lookaside Buffer) is used to improve performance by reducing the impact of paging. It is a cache that stores recently used virtual-to-physical address translations. The TLB is typically implemented using associative memory, which allows for fast lookups by searching for a match across all entries simultaneously. This associative memory allows for efficient retrieval of translations, leading to improved performance compared to using ordinary dynamic or static memory for TLB implementation.

    Rate this question:

  • 38. 

    Analizirati segmentaciju. Imate segment od 1350 bajtova. Kolika je maksimalna interna fragmentacija za ovaj slučaj.

    • 0 bajta

    • 511 bajtova

    • 512 bajtova

    • 1350 bajta

    • 1349 bajta

    Correct Answer
    A. 1349 bajta
    Explanation
    The maximum internal fragmentation for this case is 1349 bytes. Internal fragmentation refers to the wasted space within a segment due to the allocation of larger memory blocks than necessary. In this case, since the segment size is 1350 bytes, the maximum internal fragmentation occurs when only 1 byte is left unused within the segment. Therefore, the maximum internal fragmentation is 1349 bytes.

    Rate this question:

  • 39. 

    Koju arhitekturu vidite na slici:

    • Cluster

    • Client/server

    • Cloud computing

    • Time sharing

    • Paralelna(SMP-UMA)

    • Paralelna(NUMA)

    • Distributed systems

    Correct Answer
    A. Cluster
    Explanation
    The architecture depicted in the image is a cluster. A cluster is a group of interconnected computers or servers that work together to perform tasks or provide services. In a cluster, each computer or server, known as a node, has its own processing power and memory, and they communicate and coordinate with each other to achieve high availability, fault tolerance, and scalability. Clusters are commonly used in environments where high performance and reliability are required, such as web servers, databases, and scientific computing.

    Rate this question:

  • 40. 

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

    • Kernel

    • MMU

    • Device driver

    • TCP/IP

    • Interrupt routine

    Correct Answer
    A. Kernel
    Explanation
    The correct answer is "Kernel". In a structured OS diagram, the kernel is the most essential and fundamental part. It is responsible for managing the system's resources, such as memory, CPU, and input/output devices. The kernel acts as a bridge between the hardware and software components of the operating system, providing essential services and functionalities to other parts of the OS. Without the kernel, the operating system cannot function properly.

    Rate this question:

  • 41. 

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

    • Istovremeno i resource allocator i resource manager

    • Samo resource allocator

    • Samo resource manager

    • Na nekim sistemima resource alloactor a na nekim resource manager

    Correct Answer
    A. Istovremeno i resource allocator i resource manager
    Explanation
    The correct answer is "Istovremeno i resource allocator i resource manager". This means that the operating system is both a resource allocator and a resource manager. This implies that the operating system is responsible for allocating and managing computer resources efficiently. It not only assigns resources to different processes but also ensures their optimal utilization and coordination.

    Rate this question:

  • 42. 

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

    • Bezbedno zaustavi P0

    • Bezbedno startuje P1

    • Izabere P1 iz ready queue

    • Bezbedno zaustavi P0, bezbedno startuje P1

    • Bezbedno zaustavi P0, izabere P1, bezbedno startuje P1

    • Nema aktivnosti na ovoj slici

    Correct Answer
    A. Bezbedno zaustavi P0, bezbedno startuje P1
    Explanation
    In the given situation, if the kernel process dispatcher is involved, its job is to safely stop P0 and safely start P1.

    Rate this question:

  • 43. 

    Objasniti dinamičko punjenje? Ko je glavni i odgovorni za dinamičko punjenje:

    • Dugi raspoređivač

    • Kratki raspoređivač

    • Programer

    • Operativni sistem

    Correct Answer
    A. Programer
    Explanation
    Dinamičko punjenje se odnosi na proces u kojem se memorija ili resursi alociraju i dealociraju tokom izvršavanja programa. Programer je glavni i odgovorni za dinamičko punjenje jer on odlučuje kada i kako će se alocirati i dealocirati memorija ili resursi u programu. Programer može koristiti odgovarajuće funkcije ili operacije za upravljanje dinamičkim punjenjem u programu kako bi efikasno koristio raspoložive resurse.

    Rate this question:

  • 44. 

    Objasniti MVT. Koji algoritam za MVT ne mora da analizira sve postojeće šupljine, prilikom alokacije memorije.

    • Best-fit

    • Worst-fit

    • First-fit

    Correct Answer
    A. First-fit
    Explanation
    The first-fit algorithm for memory allocation does not need to analyze all existing holes when allocating memory. It simply searches for the first hole that is large enough to accommodate the requested memory size and allocates it. This algorithm is efficient as it reduces the time complexity of searching for the appropriate hole, but it may lead to fragmentation as it does not consider the best or worst fit for memory allocation.

    Rate this question:

  • 45. 

    Kod TS(Time-sharing systems) fundamentalni resurs koji se deli(share) je:

    • DMA

    • PIC

    • RAM

    • CPU time

    • Network

    Correct Answer
    A. CPU time
    Explanation
    The correct answer is CPU time. In time-sharing systems, CPU time is the fundamental resource that is shared among multiple users. Time-sharing allows multiple users to simultaneously access and use the CPU, dividing its processing power among different tasks or processes. This ensures efficient utilization of the CPU and allows multiple users to perform their tasks concurrently.

    Rate this question:

  • 46. 

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

    • CPU

    • RAM 

    • Hard disk

    • Mrežna kartica

    • I/O systems

    • Flash memorija

    Correct Answer
    A. RAM 
    Explanation
    In the given situation, the hardware resource being protected is RAM. RAM stands for Random Access Memory, which is a type of computer memory that allows data to be read from or written to in almost the same amount of time regardless of the physical location of data inside the memory. It is a crucial hardware component that stores data that is actively being used by the computer's operating system, software applications, and processes. Protecting RAM ensures the smooth functioning of the computer system and prevents data loss or corruption.

    Rate this question:

  • 47. 

    Čiji je ovo many-to-many model

    • MS Windows

    • Linux 

    • Novell-Netware

    • Sun Solaris

    • Android

    • Google Chrome

    Correct Answer
    A. Sun Solaris
    Explanation
    Sun Solaris je operativni sistem koji je razvio Sun Microsystems (sada deo Oracle korporacije). Ovaj operativni sistem koristi many-to-many model, što znači da omogućava više korisnika da pristupe i koriste resurse sistema istovremeno. Ova karakteristika je bitna za sisteme koji podržavaju veliki broj korisnika, kao što su serveri i mrežni uređaji. Ostali navedeni operativni sistemi ne koriste many-to-many model, već koriste druge modele za upravljanje pristupom i korišćenjem resursa.

    Rate this question:

  • 48. 

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

    • Sve druge korisničke niti iz iste grupe nastavljaju aktivnosti normalno

    • Sve druge korisničke niti iz iste grupe su blokirane

    • Samo slične niti iz iste grupe su blokirane

    • Ne može da se zaključi

    Correct Answer
    A. Sve druge korisničke niti iz iste grupe nastavljaju aktivnosti normalno
    Explanation
    In the given model, when one of the user threads 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 activities of other threads in the same group.

    Rate this question:

  • 49. 

    U multithread modelu procesa, programski kod je:

    • Zajednički-deljiv za sve niti

    • Unikatan-nedeljiv za svaku nit pojedinačno

    • Zajednički-deljiv samo za pojedine niti

    • Deljivost zavisi od OS

    Correct Answer
    A. Zajednički-deljiv za sve niti
    Explanation
    In the multithread model of a process, the program code is shared and accessible by all threads. This means that all threads can access and execute the same code simultaneously. Therefore, the program code is "zajednički-deljiv" (shared-divisible) for all threads. Each thread does not have its own unique code, but rather they all share the same code.

    Rate this question:

Quiz Review Timeline (Updated): Mar 22, 2023 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 22, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Sep 30, 2019
    Quiz Created by
    Stojanovicn88
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.