Os2 PrVI KolokVIjum VIŠer

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 Nikolastosevski
N
Nikolastosevski
Community Contributor
Quizzes Created: 1 | Total Attempts: 1,350
| Attempts: 1,350 | Pitanja: 189
Please wait...

Question 1 / 189
0 %
0/100
Score 0/100
1. Linux distribuciju čine: Izaberite jedan odgovor:

Explanation

A Linux distribution consists of the Linux kernel, system software, user applications, and software for installation.

Submit
Please wait...
About This Quiz
Os2 PrVI KolokVIjum VIer - Quiz

2. Lunux kernel je modularan: Izaberite jedan odgovor:

Explanation

The correct answer is "da" (yes). The explanation for this is that the Linux kernel is indeed modular. This means that it is designed in a way that allows for the addition or removal of specific functionalities through the use of loadable kernel modules. These modules can be dynamically loaded and unloaded without the need to restart the entire system, providing flexibility and allowing for customization based on specific requirements.

Submit
3. Sistemski poziv read ima sintaksu number = read (fd, buffer, count) pri čemu je parametar buffer: Izaberite jedan odgovor:

Explanation

The parameter "buffer" in the read system call syntax is the memory address of the buffer that the process has received for reading.

Submit
4. U arhitekturi UNIX operativnog sistema sa 3 nivoa, prvi i najniži nivo predstavlja: Izaberite jedan odgovor:

Explanation

In the architecture of a UNIX operating system with 3 levels, the first and lowest level represents the hardware level. This means that at this level, the operating system interacts directly with the hardware components of the computer, such as the processor, memory, and input/output devices. The hardware level is responsible for managing and controlling the physical resources of the computer.

Submit
5. Linux je OS sa: Izaberite jedan odgovor:

Explanation

The correct answer is "otvorenim izvornim kodom i uglavnom je besplatan" which means "it is open source and mostly free". This means that Linux is a operating system that allows users to access and modify its source code freely, and it is generally available to use without any cost.

Submit
6. Operator za blok primitive < predstavlja: Izaberite jedan odgovor:

Explanation

The correct answer is "redirekciju ulaza." The "<" operator is used for input redirection in programming. It allows the program to take input from a file or another source instead of the standard input. This can be useful when the program needs to read data from a specific file or when automating input from another program.

Submit
7. UNIX je pre svega: Izaberite jedan odgovor:

Explanation

UNIX is a multi-task, multi-user operating system. This means that it is capable of running multiple tasks or processes simultaneously, allowing users to execute multiple programs or commands at the same time. Additionally, it supports multiple users accessing the system concurrently, enabling them to share resources and work on different tasks simultaneously.

Submit
8. Za alokaciju i pronalaženje blokova u kešu koristi se hash algoritam. Matematička funkcija koja se najčešće koristi za ovaj algoritam, kod baferskog keša je: Izaberite jedan odgovor:

Explanation

The correct answer is "moduo". In the context of cache allocation and block retrieval, a hash algorithm is used. The most commonly used mathematical function for this algorithm in cache is the modulus operator (%), which calculates the remainder of a division operation. This function helps in distributing the data evenly across the cache blocks by mapping the memory addresses to specific cache locations.

Submit
9. OS UNIX se piše na: Izaberite jedan odgovor:

Explanation

The correct answer is "visokom programskom jeziku" which translates to "high-level programming language" in English. This suggests that the operating system UNIX is written in a high-level programming language rather than in assembler or machine language.

Submit
10. Deskriptor datoteke koji ima vrednost 2 predstavlja: Izaberite jedan odgovor:

Explanation

The correct answer is stderr (standardni izlaz za greške). This descriptor represents the standard output for errors.

Submit
11. Za baferski keš važe pravila: Izaberite jedan odgovor:

Explanation

Za baferski keš važe pravila: to je kernelska memorija i nije vidljiva za programera. This statement means that the buffer cache is a type of memory called "kernelska memorija" and it is not visible to the programmer.

Submit
12. Imate inode strukturu sa sledećim stepenima indirekcije . Veličina sistemskog bloka je 1K. Kolika je maksimalna veličina datoteke koja može da se adresirati sa direktnim pointerima: Izaberite jedan odgovor:

Explanation

The maximum size of a file that can be addressed with direct pointers can be calculated by multiplying the number of direct pointers by the size of the system block. In this case, since the inode structure has a single level of indirection and the size of the system block is 1K, the maximum size of the file that can be addressed with direct pointers is 10K.

Submit
13. Imate inode strukturu sa sledećim stepenima indirekcije . Veličina sistemskog bloka je 4K. Kolika je maksimalna veličina datoteke koja može da se adresirati sa direktnim pointerima: Izaberite jedan odgovor:

Explanation

The maximum size of a file that can be addressed with direct pointers is 40K.

Submit
14. U komandi $ls /etc rezultat listanja direktorijuma ide na: Izaberite jedan odgovor:

Explanation

The command "ls /etc" is used to list the contents of the "/etc" directory. The result of this command is displayed on the screen. Therefore, the answer "ekran" (screen) is correct.

Submit
15. Savremeni format izvšnih datoteka na Linux OS se naziva: Izaberite jedan odgovor:

Explanation

ELF (Executable and Linkable Format) is the modern executable file format used in Linux operating systems. It is a standard file format for executables, object code, shared libraries, and core dumps. The ELF format provides flexibility, extensibility, and portability for different architectures. It allows for dynamic linking, which enables the use of shared libraries, and supports different file types such as executables, object files, and relocatable files. ELF files can be executed directly by the operating system or loaded into memory by a loader program.

Submit
16. Koji od sistemskih poziva ne pripada grupi: Izaberite jedan odgovor:

Explanation

The correct answer is "fork". Fork is not a system call that belongs to the group. System calls like close, read, write, and open are used for file operations, while fork is used for creating a new process by duplicating the existing process.

Submit
17. Lunux kerneli podržavaju: Izaberite jedan odgovor:

Explanation

The correct answer is "veliki broj računarsku arhitektura (gotovo sve)". This means that the Linux kernel supports a wide range of computer architectures, almost all of them.

Submit
18. Za baferski keš važe pravila: Izaberite jedan odgovor:

Explanation

Za baferski keš važe pravila da je to kernelska memorija i da nije vidljiva za programera.

Submit
19. Operator za blok primitive < deluje na: Izaberite jedan odgovor:

Explanation

The operator za blok primitive

Submit
20. U arhitekturi UNIX operativnog sistema sa 3 nivoa, drugi ili srednji nivo predstavlja: Izaberite jedan odgovor:

Explanation

The correct answer is "kernelski nivo." In the architecture of the UNIX operating system with 3 levels, the second or middle level represents the kernel level. The kernel is the core component of the operating system that manages the system's resources and provides essential services for the other layers. It interacts directly with the hardware and handles tasks such as memory management, process scheduling, and device drivers. The kernel level is responsible for maintaining the overall stability and functionality of the operating system.

Submit
21. Koji od sistemskih poziva ne pripada grupi: Izaberite jedan odgovor:

Explanation

The correct answer is "fork". Fork is not a system call, but rather a function used for creating a new process in Unix-like operating systems. System calls are used by programs to request services from the operating system, such as opening or closing files, reading or writing data, and managing processes.

Submit
22. U arhitekturi UNIX operativnog sistema sa 3 nivoa, treći i najviši nivo predstavlja: Izaberite jedan odgovor:

Explanation

In the architecture of a UNIX operating system with 3 levels, the third and highest level is the user level. This level is where the user interacts with the system and runs applications. It is responsible for providing a user-friendly interface and managing user processes. The user level is separate from the kernel level, which handles low-level tasks and interacts directly with the hardware. The network level is not the highest level in this architecture, as it is responsible for managing network communications. The hardware level is also not the highest level, as it refers to the physical components of the system.

Submit
23. Od originalnog proizvođača UNIX OS-a, najdominantnija verzija je: Izaberite jedan odgovor:

Explanation

UNIX System V is the most dominant version of UNIX OS from the original manufacturer.

Submit
24. Operator za blok primitive 2> deluje na: Izaberite jedan odgovor:

Explanation

The "2>" operator in this context is used to redirect the standard error output. In Unix-like systems, file descriptors are used to represent input, output, and error streams. The number 2 represents the file descriptor for standard error. By using the "2>" operator, any output generated by the command will be redirected to the standard error stream, which is typically displayed as error messages. Therefore, the correct answer is "stderr (standardni izlaz za greške)".

Submit
25. Deskriptor datoteke koji ima vrednost 0 predstavlja: Izaberite jedan odgovor:

Explanation

The descriptor of a file with a value of 0 represents the standard input.

Submit
26. Dva centralna koncepta u arhitekturi UNIX kernela predstavljaju: Izaberite jedan odgovor:

Explanation

The correct answer is "procesi i datoteke". In the architecture of a UNIX kernel, the two central concepts are processes and files. Processes represent running programs and files represent the stored data. These concepts are fundamental to the functioning of the UNIX operating system, as processes manage the execution of programs and files provide a means of storing and accessing data.

Submit
27. Sistemski poziv open ima sintaksu fd = open (pathname, flags, modes) pri čemu je parametar pathname: Izaberite jedan odgovor:

Explanation

The parameter "pathname" in the system call "open" refers to the full name of the file including all its branches or directories. This means that it includes the complete path from the root directory to the specific file. The "open" system call is used to open a file in the operating system, and the parameter "pathname" helps specify the exact file location.

Submit
28. Od brojnih američkih univerziteta koji su razvijali UNIX, najdominantniji uticaj i najveći doprinos dao je: Izaberite jedan odgovor:

Explanation

Berkeley je dao najdominantniji uticaj i najveći doprinos razvoju UNIX sistema.

Submit
29. Originalni proizvođač UNIX OS-a je: Izaberite jedan odgovor:

Explanation

AT&T is the original manufacturer of the UNIX operating system. They developed it in the 1960s and 1970s at the Bell Labs research center. UNIX was initially used for internal purposes within AT&T, but it gained popularity and was eventually licensed to other companies. Today, UNIX has evolved into various versions, including Linux, and is widely used in server systems and embedded devices.

Submit
30. Operator za blok primitive 1> deluje na:  Izaberite jedan odgovor:

Explanation

The operator "1>" is used to redirect the standard output (stdout) of a command to a file. This means that any output generated by the command will be written to the specified file instead of being displayed on the terminal. Therefore, the correct answer is stdout (standardni izlaz).

Submit
31. Operator za blok primitive > predstavlja: Izaberite jedan odgovor:

Explanation

The correct answer is "redirekciju izlaza." This is because the ">" operator in programming languages is commonly used to redirect the output of a command or program to a file or another location. It allows the user to specify where the output should be directed, such as a text file or another program.

Submit
32. Operator za blok primitive 2> predstavlja: Izaberite jedan odgovor:

Explanation

The ">" operator in this context represents the redirection of the standard output for errors. This means that any error messages generated by the program will be redirected to a specified location instead of being displayed on the standard output.

Submit
33. Koji od sistemsih poziva ne pripada grupi: Izaberite jedan odgovor:

Explanation

The correct answer is "fork". The other options (close, open, write, read) are all system calls that are used to perform various operations on files or I/O streams. However, "fork" is not a system call related to file or I/O operations. Instead, it is a system call used to create a new process by duplicating the existing process.

Submit
34. Da bi ste videli atribute datoteke na UNIX OS, upotrebićete sledeći sistemski poziv: Izaberite jedan odgovor:

Explanation

To view the attributes of a file on a UNIX OS, you would use the system call "stat" or "fstat". This system call allows you to retrieve information such as the file size, permissions, ownership, and timestamps of a file. The "chmod" command is used to change the permissions of a file, "chown" is used to change the ownership of a file, "chdir" is used to change the current directory, and "chroot" is used to change the root directory for a process.

Submit
35. Operator za blok primitive > deluje na:  Izaberite jedan odgovor:

Explanation

The operator za blok primitive ">" is used to redirect the output of a command to a file or another command. In this case, it is specifically referring to redirecting the standard output (stdout) of a command. Therefore, the correct answer is stdout (standardni izlaz).

Submit
36. Sistemski poziv write ima sintaksu number = write ( fd, buffer, count) pri čemu je parametar buffer: Izaberite jedan odgovor:

Explanation

The parameter "buffer" in the write system call syntax refers to the memory address of the buffer that the process received to write into the file.

Submit
37. Deskriptor datoteke koji ima vrednost 1 predstavlja: Izaberite jedan odgovor:

Explanation

The descriptor of a file with a value of 1 represents the standard output, which is the default destination for the output of a program. This means that any data written to this descriptor will be displayed on the screen or redirected to another file or device as specified by the user.

Submit
38. U komandi $ls /tmp/a* I wc l na ekranu se vide: Izaberite jedan odgovor:

Explanation

The command "ls /tmp/a*" lists all the files in the /tmp directory that start with "a". The "wc -l" command counts the number of lines in the output of the previous command. Therefore, the output will only show the number of files in the /tmp directory that start with "a".

Submit
39. Da bi ste aktivirali modul Lunux kernela, po pitanju restartovanja Linux OS: Izaberite jedan odgovor:

Explanation

In order to activate a module in the Linux kernel, you do not need to restart Linux. Restarting Linux is not necessary for activating a module.

Submit
40. Operator za blok primitive 1> predstavlja: Izaberite jedan odgovor:

Explanation

The correct answer is "redirekciju izlaza." This operator ">" is used for redirecting the output of a command to a file or another command. It allows the output to be saved in a file or used as input for another command.

Submit
41. Koji od datih sistemskih poziva omogućava završetak procesa na na UNIX OS: Izaberite jedan odgovor:

Explanation

The correct answer is "exit." The exit system call allows a process to terminate and return an exit status to the parent process. When a process calls the exit system call, it releases all its resources and terminates. The exit status can be used by the parent process to determine the outcome of the terminated process.

Submit
42. Baferski keš, kešira sledeće: Izaberite jedan odgovor:

Explanation

The correct answer is "blokove na disku, tj delove datoteka." This is because the term "Baferski keš" refers to a cache memory that stores blocks of data from disk files. These blocks are accessed more frequently, so they are stored in the cache to improve the system's performance by reducing the time it takes to access the disk. Therefore, the correct answer refers to blocks on the disk, which are parts of files.

Submit
43. Da bi ste promenili / (root direktorijum) na UNIX OS, upotrebićete sledeći sistemski poziv: Izaberite jedan odgovor:

Explanation

The correct answer is chroot. To change the root directory on a UNIX OS, the chroot command is used. This command allows the user to run a process or a command with a different root directory, effectively isolating it from the rest of the system. This can be useful for security purposes or when testing software in a controlled environment.

Submit
44. Da bi ste promenili tekući direktorijum na UNIX OS, upotrebićete sledeći sistemski poziv: Izaberite jedan odgovor:

Explanation

To change the current directory in UNIX OS, the correct system call to use is "chdir". This system call allows the user to navigate to a different directory within the file system. The "chroot" system call is used to change the root directory for the current process, "chown" is used to change the ownership of a file or directory, and "chmod" is used to change the permissions of a file or directory.

Submit
45. Koliko blokova čita algoritam breada: Izaberite jedan odgovor:

Explanation

The algorithm of Breadth-First Search (BFS) reads one or two blocks. This is because BFS explores all the vertices at the current level before moving to the next level. Therefore, it reads one block for the current level and potentially reads an additional block for the next level if there are any adjacent vertices.

Submit
46. U algoritmu iput dešava se postavljanje inode strukture u slobodnu listu: Izaberite jedan odgovor:

Explanation

The correct answer is "da". This means that the algorithm for placing the inode structure in the free list is applicable. However, without further context or information about the algorithm or the specific operating system, it is difficult to provide a more detailed explanation.

Submit
47. U algoritmu iput dešava se fizičko brisanje datoteke Izaberite jedan odgovor:

Explanation

The explanation for the given correct answer is that the algorithm allows for the physical deletion of a file.

Submit
48. Sistemski poziv close ima sintaksu close(fd) pri čemu je parametar fd: Izaberite jedan odgovor:

Explanation

The system call "close" has the syntax "close(fd)" where the parameter "fd" represents the file descriptor of the file being closed.

Submit
49. Imate datoteke /tmp/a.a i /tmp/b.b koje niko nije otvarao. Proces obavi sledeću sekvencu sistemskih poziva fd1=open(/tmp/a.a, O_RDONLY,0) fd2=open(/tmp/a.a, O_RDWR,0) fd3=open(/tmp/b.b, O_WRONLY,0) count1=read(fd1, buffer,200) count2=read(fd2, buffer,100) count3=read(fd3, buffer,300) Odrediti pomeraj offset za sledeće čitanje iz datoteke /tmp/b.b za desktriptor fd3 Izaberite jedan odgovor:

Explanation

The offset for the next read from the file /tmp/b.b for file descriptor fd3 is 300. This is because the process has already performed the system call "open(/tmp/b.b, O_WRONLY,0)" to open the file with write-only access. Since no other operations have been performed on this file descriptor, the current offset is 0. The next read operation will start reading from the offset of 0 and read 300 bytes from the file. Therefore, the offset for the next read will be 300.

Submit
50. U konstrukciji command >/tmp/a.a, ulaz za komandu je: Izaberite jedan odgovor:

Explanation

The correct answer is "tastatura" because the command "> /tmp/a.a" is a redirection command in which the output of the command is redirected to a file named "/tmp/a.a". In this case, the input for the command is coming from the keyboard, hence the answer is "tastatura" which means "keyboard" in Serbian.

Submit
51. Imate ciklus upisa u pogodak u kešu. Ako je zahtev za upis označen kao sinhroni I/O, gde ide upis: Izaberite jedan odgovor:

Explanation

The correct answer is "i u keš i na disk". When a write request is marked as synchronous I/O, it means that the data must be written to both the cache and the disk before the operation is considered complete. This ensures that the data is safely stored in both locations, providing redundancy and preventing data loss in case of a failure.

Submit
52. Sistemski poziv open ima sintaksu fd = open (pathname, flags, modes) pri čemu parametar flags određuje: Izaberite jedan odgovor:

Explanation

The parameter "flags" in the "open" system call determines whether the file is being opened for reading or writing.

Submit
53. U komandi $ls /bin/b* | wc l na ekranu se vide: Izaberite jedan odgovor:

Explanation

The command "ls /bin/b* | wc l" lists all the files in the /bin directory that start with "b" and then pipes the output to the "wc" command with the "l" option. The "wc" command counts the number of lines in the output, which in this case represents the number of files in the /bin directory that start with "b". Therefore, the output will only display the count of files that meet the specified criteria.

Submit
54. Multi user OS UNIX je pre svega: Izaberite jedan odgovor:

Explanation

UNIX is primarily known as a time-sharing operating system because it allows multiple users to access and use the system simultaneously. Time-sharing refers to the ability of the operating system to allocate resources such as CPU time, memory, and peripherals among multiple users or processes. This allows users to interact with the system and run programs concurrently, making UNIX a multi-user operating system.

Submit
55. Sistemski poziv read ima sintaksu number = read (fd, buffer, count) pri čemu je parametar count: Izaberite jedan odgovor:

Explanation

The parameter "count" in the read system call syntax represents the number of bytes that are being read from the file.

Submit
56. Koji od datih sistemskih poziva ne pripada grupi: Izaberite jedan odgovor:

Explanation

The correct answer is "wait" because the other options (read, close, open, write) are all system calls that are used to perform input/output operations on files or devices. However, "wait" is not a system call but rather a function used for process synchronization, specifically for a parent process to wait for its child process to terminate.

Submit
57. Sistem datoteka pristupa datotekama tj diskovima na dva načina ili pristupa. Koji način ne prolazi keš mehanizam: Izaberite jedan odgovor:

Explanation

The correct answer is "neobrađeni (raw)". This is because the cache mechanism is not bypassed when accessing files or disks in the buffered or block mode, but it is bypassed when accessing them in the raw mode.

Submit
58. Sistemski poziv read ima sintaksu number = read (fd, buffer, count) pri čemu je parametar number: Izaberite jedan odgovor:

Explanation

The parameter "number" in the given system call read represents the number of bytes that have been read from the file.

Submit
59. Imate baferski keš od 16 blokova, sa 4 hash liste po modulu 4. U koju listu se smešta blok na disku sa adresom 333: Izaberite jedan odgovor:

Explanation

The given question states that there is a buffer cache with 16 blocks and 4 hash lists modulo 4. The block on the disk with address 333 will be stored in hash 1 modulo 4.

Submit
60. Konverzija imena datoteke u inode strukturu obavlja algoritam: Izaberite jedan odgovor:

Explanation

The correct answer is "namei". The namei algorithm is responsible for converting a file name into an inode structure. It is used in file systems to locate and access files based on their names.

Submit
61. Koja od kernel tabela ne pripada grupi: Izaberite jedan odgovor:

Explanation

The in-core inode table does not belong to the group of kernel tables. The other options (PT, u-area, PPRT, and RT) are all kernel tables that are used in various operating systems. However, the in-core inode table is not a commonly used kernel table and is not typically found in operating systems.

Submit
62. Operator za blok primitive I predstavlja: Izaberite jedan odgovor:

Explanation

The correct answer is "komandni pipeline". A command pipeline is a sequence of commands where the output of one command is used as the input for the next command. This allows for the chaining of multiple commands together to perform complex tasks. It is a powerful feature in command-line interfaces that enables the efficient processing and manipulation of data.

Submit
63. Sistem datoteka pristupa datotekama tj diskovima na dva načina ili pristupa. Koji način prolazi kroz keš mehanizam: Izaberite jedan odgovor:

Explanation

The correct answer is "baferisani ili blokovski." This is because the question is asking about the two methods or approaches to accessing files or disks through the cache mechanism. The term "baferisani ili blokovski" refers to buffered or block-based access, which involves reading or writing data in blocks or chunks rather than individually. This method allows for more efficient and faster access to data by utilizing the cache memory to store and retrieve larger amounts of data at once.

Submit
64. Da bi ste napravili direktorijum, upotrebićete sistemski poziv: Izaberite jedan odgovor:

Explanation

To create a directory, the correct system call to use is "mknod". This system call is used to create special files, including directories, in Unix-like operating systems. It is responsible for creating the directory and assigning it the necessary permissions and attributes. The other options listed, such as "namei", "open", and "create", are not specific system calls for creating directories.

Submit
65. Da bi ste napravili FIFO datoteku, upotrebićete sistemski poziv: Izaberite jedan odgovor:

Explanation

To create a FIFO file, the system call "mknod" is used. This system call is used to create special files, including FIFO files. Therefore, selecting "mknod" as the answer is correct in this context.

Submit
66. Koji od sistemskih poziva ne pripada grupi: Izaberite jedan odgovor:

Explanation

The correct answer is "read" because the other system calls listed (wait, exec, fork, exit) are all related to process management and control, while "read" is a system call used for reading data from a file or input device.

Submit
67. Da bi ste promenili vlasništvo datoteke na UNIX OS, upotrebićete sledeći sistemski poziv: Izaberite jedan odgovor:

Explanation

To change the ownership of a file on a UNIX OS, the correct system call to use is "chown". This command allows the user to change the owner of a file to a specific user or group. The "chmod" command is used to change the permissions of a file, "chdir" is used to change the current working directory, and "chroot" is used to change the root directory for a specific process.

Submit
68. Generacija BSD UNIX sistema koja nosi oznaku FreeBSD odnosi se na: Izaberite jedan odgovor:

Explanation

The FreeBSD generation of the BSD UNIX system is specifically designed for PC computers using the IA 32 architecture. This means that it is compatible with personal computers running on Intel and AMD processors, which are commonly used in the PC market. It is not designed for RISC machines, PDP machines, or VAX machines.

Submit
69. Koji od sistemskih poziva ne iz pripada grupi: Izaberite jedan odgovor:

Explanation

The correct answer is "read." The other system calls listed (wait, exec, fork, exit) are all related to process management and control in a computer system. The "read" system call is used to read data from a file or input device, which is not directly related to process management.

Submit
70. Kako iget algoritam utiče na broj referenci u in-core inode strukturi: Izaberite jedan odgovor:

Explanation

The correct answer is "uvećava za 1". This means that the algorithm increases the number of references in the in-core inode structure by 1.

Submit
71. Sistemski poziv write ima sintaksu number = write ( fd, buffer, count) pri čemu je parametar number: Izaberite jedan odgovor:

Explanation

The parameter "number" in the given syntax of the write system call refers to the number of bytes that were just written using the write system call.

Submit
72. Potpuna informacija o bloku u baferskom kešu, nalazi se u: Izaberite jedan odgovor:

Explanation

The complete information about the block in the buffer cache is located in the buffer cache header.

Submit
73. Imate baferski keš od 16 blokova, sa 4 hash liste po modulu 4. U koju listu se smešta blok na disku sa adresom 1232: Izaberite jedan odgovor:

Explanation

The given question states that there is a buffer cache with 16 blocks and 4 hash lists modulo 4. The block with address 1232 is to be stored in one of these lists. Since the modulo operation divides a number by another number and returns the remainder, the address 1232 will be divided by 4 and the remainder will determine the hash list. In this case, 1232 modulo 4 equals 0, so the block will be stored in hash list 0 modulo 4.

Submit
74. Koji od sistemskih poziva kreira novi proces na UNIX OS: Izaberite jedan odgovor:

Explanation

The correct answer is "fork". In UNIX OS, the "fork" system call is used to create a new process by duplicating the existing process. The new process, called the child process, is an exact copy of the parent process, including its memory space and code. After the fork system call, both the parent and child processes continue their execution from the next instruction following the fork. The child process can then execute a different program using the "exec" system call.

Submit
75. U konstrukciji command 1>/tmp/a.a 2>/tmp/b.b, ulaz za komandu je: Izaberite jedan odgovor:

Explanation

The correct answer is "tastatura". In the given command, "command 1>/tmp/a.a 2>/tmp/b.b", the ">" symbol is used for redirecting the output of the command. "1>" redirects the standard output to the file "/tmp/a.a" and "2>" redirects the standard error to the file "/tmp/b.b". Since there is no specific file mentioned for input redirection, it means that the input for the command is coming from the keyboard, which is represented by "tastatura" in Croatian.

Submit
76. Koji od datih sistemskih poziva ne pripada grupi: Izaberite jedan odgovor:

Explanation

The correct answer is "open" because the other system calls listed (exec, wait, fork, and exit) are all related to process management and control, while "open" is a system call used for opening files or creating new files in a program.

Submit
77. U komandi $ls /etc I wc l na ekranu se vide: Izaberite jedan odgovor:

Explanation

The command "ls /etc" lists the files and directories in the /etc directory. The "wc -l" command counts the number of lines in the output. Therefore, the command "ls /etc | wc -l" will display only the number of files in the /etc directory.

Submit
78. Direktorijum je specijalna datoteka sa sledećim osobinama: Izaberite jedan odgovor:

Explanation

The correct answer is "prva dva ulaza su rezervisana". This means that the first two entries in the directory are reserved. This implies that these entries have special significance or are reserved for specific purposes. The remaining entries in the directory are not reserved and can be used for general storage or organization of files and folders.

Submit
79. Koji od datih sistemskih poziva omogućava sinhronizaciju procesa na na UNIX OS: Izaberite jedan odgovor:

Explanation

The wait system call allows for process synchronization in UNIX OS. It suspends the execution of the calling process until one of its child processes terminates. This ensures that the parent process waits for the child process to complete before continuing its execution, thereby synchronizing their activities.

Submit
80. Slobodna lista baferskog keša je povezana lista baferskih zaglavlja od: Izaberite jedan odgovor:

Explanation

The correct answer is "blokova koji se trenutno ne koriste, poređana je po LRU principu" which means that the free list of the buffer cache is a linked list of buffer headers that are currently not in use, and they are ordered according to the Least Recently Used (LRU) principle. This means that the buffers that have not been used for the longest time are placed at the end of the list, while the most recently used buffers are placed at the beginning of the list.

Submit
81. Sistemski poziv open ima sintaksu fd = open (pathname, flags, modes) pri čemu parametar fd predstavlja: Izaberite jedan odgovor:

Explanation

The parameter "fd" in the syntax "fd = open (pathname, flags, modes)" represents the file descriptor that allows the process to continue reading or writing.

Submit
82. Generacija BSD UNIX sistema koja nosi oznaku BSD 2.xx, odnosi se na: Izaberite jedan odgovor:

Explanation

The BSD 2.xx generation of the BSD UNIX system refers to the version of the system that was developed for PDP machines. PDP machines were a series of minicomputers produced by Digital Equipment Corporation (DEC) in the 1960s and 1970s. Therefore, the correct answer is PDP machines.

Submit
83. Kada brišete datoteku, algoritam ifree se poziva: Izaberite jedan odgovor:

Explanation

When deleting a file, the algorithm ifree is sometimes called.

Submit
84. Generacija UNIX sistema koja nosi oznaku SunSolaris odnosi se na: Izaberite jedan odgovor:

Explanation

The correct answer is RISC machines. The Sun Solaris generation of UNIX systems is specifically designed to run on RISC (Reduced Instruction Set Computer) machines. RISC machines use a simplified instruction set, which allows for faster and more efficient execution of instructions. Sun Solaris was originally developed by Sun Microsystems for their SPARC (Scalable Processor Architecture) RISC-based systems.

Submit
85. Koja od kernel tabela ne pripada grupi: Izaberite jedan odgovor:

Explanation

The in-core inode table is the only option that does not belong to the group of kernel tables. The other options, PT (process table), u-area, PPRT, and RT, are all kernel tables commonly used in operating systems. The in-core inode table is not a standard kernel table and is not typically used in operating systems.

Submit
86. Lunux kernelu možete pristupiti: Izaberite jedan odgovor:

Explanation

The correct answer is "isključivo preko sistemskih biblioteka" which means "exclusively through system libraries" in English. This implies that accessing the Linux kernel is only possible through system libraries and not through assembly language. Assembly language may be used in combination with system libraries, but it is not the only way to access the kernel.

Submit
87. Dat je skup kernelskih tabela: • PT (process table) • u‐area • RT (region table) • PPRT (per process region table) Ovaj skup pripada delu kernela koji se odnosi na: Izaberite jedan odgovor:

Explanation

The given set of kernel tables, including the process table, u-area, region table, and per process region table, belongs to the part of the kernel that is responsible for process control. These tables are used to manage and control the processes running on the system. They store information about the processes, their states, memory regions, and other related data. Therefore, the correct answer is "Kontrolu procesa" (Process control).

Submit
88. Da bi ste videli prava pristupa ili veličinu datoteke na UNIX OS, upotrebićete sledeći sistemski poziv: Izaberite jedan odgovor:

Explanation

The correct answer is "stat or fstat". The stat or fstat system call is used to retrieve information about a file, such as its size, permissions, and access rights, on a UNIX operating system. It allows users to view the attributes and size of a file, providing them with information about the file's properties. This system call is commonly used in programming and scripting to gather file information for various purposes.

Submit
89. Poslednje verzije Linux kernela imaju oznaku: Izaberite jedan odgovor:

Explanation

The correct answer is 3.xx. The "xx" represents the specific version number of the Linux kernel. The question is asking for the label of the latest versions of the Linux kernel, and the answer indicates that the latest versions have a version number starting with "3".

Submit
90. Imate datoteke /tmp/a.a i /tmp/b.b koje niko nije otvarao. Proces obavi sledeću sekvencu sistemskih poziva fd1=open(/tmp/a.a, O_RDONLY,0) fd2=open(/tmp/a.a, O_RDWR,0) fd3=open(/tmp/b.b, O_WRONLY,0) count1=read(fd1, buffer,200) count2=read(fd2, buffer,100) count3=read(fd3, buffer,300) Odrediti pomeraj offset za sledeće čitanje iz datoteke /tmp/a.a za desktriptor fd2 Izaberite jedan odgovor:

Explanation

The offset for the next read from the file /tmp/a.a for file descriptor fd2 would be 100. This is because the count2 variable indicates that 100 bytes were read from fd2, so the offset would be incremented by 100.

Submit
91. Imate datoteku /tmp/a.a. Proces obavi sledeću sekvencu sistemskih poziva char c; fd = open(/tmp/a.a, O_RDONLY); while ((skval = read(fd, &c, 1)) == 1) {printf("char %c\n",c) skval = lseek(fd, 1023L, 1); printf("new seek val %d \n",skval) } Koja je vredost pomeraja nakon drugog koraka while petlje Izaberite jedan odgovor:

Explanation

After the second step of the while loop, the value of the seek offset will be 2048. This is because the lseek function is used to move the file offset by 1023 bytes relative to the current position, and since the initial offset is 0, the new offset will be 1023. Then, the printf statement will print the new offset value, which is 1023. Therefore, the correct answer is 2048.

Submit
92. Početak povezane listu slobodnih blokova nalazi se u: Izaberite jedan odgovor:

Explanation

The beginning of the linked list of free blocks is located in the superblock. The superblock is a data structure that contains important information about the file system, including the location and status of free blocks. By storing the starting point of the linked list in the superblock, the file system can easily keep track of available blocks and efficiently allocate them when needed.

Submit
93. U disk inode strukturi nalaze se sve informacije o datoteci, osim jedne: To je: Izaberite jedan odgovor:

Explanation

In the given question, the correct answer is "Ime datoteke" which translates to "File name" in English. The explanation for this answer is that the inode structure of a U disk contains all the information about a file, such as its size, permissions, owner, timestamps, and other metadata. However, the file name is not stored in the inode structure. Instead, the file name is stored in the directory entry that points to the inode. Therefore, the file name is not included in the inode structure.

Submit
94. Ulazni parametar za namei algoritam je: Izaberite jedan odgovor:

Explanation

The input parameter for the namei algorithm is the full file name with all branches from the beginning.

Submit
95. Koji od datih sistemskih poziva ne pripada grupi: Izaberite jedan odgovor:

Explanation

The correct answer is "open" because all the other options (exec, wait, fork, exit) are system calls commonly used in operating systems. The "open" system call is used for opening files, which is not directly related to the system's execution or process management.

Submit
96. Operator za blok primitive I u konstrukciji command1 | command2, u odnosu na prvu komandu command1 utiče na: Izaberite jedan odgovor:

Explanation

The correct answer is "redirekciju izlaza". In the construction command1 | command2, the operator "|" is used to redirect the output of command1 to command2 as input. This means that the output of command1 becomes the input for command2. Therefore, the operator affects the redirection of the output.

Submit
97. Sintaksa za algoritam mknod je: mknod (pathname, type and permissions, dev). Ovaj algoritam: Izaberite jedan odgovor:

Explanation

The correct answer is "kreira isključivo specijalne datoteke" because the mknod algorithm is specifically used to create special files, such as device files, named pipes, or sockets. It is not used to create regular files.

Submit
98. Kada smanjujte veličinu datoteke, algoritam free se poziva: Izaberite jedan odgovor:

Explanation

When reducing the size of a file, the "free" algorithm is always called.

Submit
99. Na Linux OS za lseek važi: Izaberite jedan odgovor:

Explanation

The correct answer is that on Linux OS, lseek cannot be positioned before the beginning of the file, but it can be positioned after the end of the file.

Submit
100. Stepeni indirekcije u in-node strukturi utiču na performanse većih datoteka utiču na sledeći način: Izaberite jedan odgovor:

Explanation

Indirekcija u in-node strukturi se odnosi na korišćenje dodatnih nivoa pokazivača kako bi se omogućilo adresiranje većih datoteka. Kada se koristi indirekcija, performanse se smanjuju jer je potrebno više vremena za pristup traženim podacima. Ovo je zato što se umesto direktnog pristupa podacima, mora proći kroz više nivoa pokazivača kako bi se došlo do željenih podataka.

Submit
101. Komparirajte disk inode i in-core inode strukturu po veličini: Izaberite jedan odgovor:

Explanation

The correct answer is "veći je in‐core inode." In-core inode refers to the data structure that is stored in memory and contains information about a file, such as its permissions, size, and location on the disk. Disk inode, on the other hand, refers to the data structure that is stored on the disk and contains similar information about a file. Since the in-core inode is stored in memory, it typically takes up more space compared to the disk inode. Therefore, the in-core inode is larger in size.

Submit
102. Koliko blokova čita algoritam bread: Izaberite jedan odgovor:

Explanation

The algorithm bread reads 1 block.

Submit
103. Kako iput algoritam utiče na broj referenci u in-core inode strukturi: Izaberite jedan odgovor:

Explanation

The correct answer is "Smanjuje za 1". This means that the input algorithm decreases the number of references in the in-core inode structure by 1.

Submit
104. Imate datoteku /tmp/a.a. Proces obavi sledeću sekvencu sistemskih poziva char c; fd = open(/tmp/a.a, O_RDONLY); while ((skval = read(fd, &c, 1)) == 1) {printf("char %c\n",c) skval = lseek(fd, 1023L, 1); printf("new seek val %d \n",skval) } Koja je vredost pomeraja nakon prvog koraka while petlje Izaberite jedan odgovor:

Explanation

The value of the displacement after the first step of the while loop is 1024. This is because the lseek function is called with a displacement of 1023L and a whence value of 1 (which means to seek relative to the current position). Since the current position is at the beginning of the file, the new position will be 1024 bytes ahead.

Submit
105. Dat je skup sistemskih poziva: • open • close • read • write • lseek • stat • chmod • chown Ovaj skup pripada delu kernela koji se odnosi na: Izaberite jedan odgovor:

Explanation

The given set of system calls such as open, close, read, write, lseek, stat, chmod, and chown are all related to file operations. These system calls are used to interact with files and manipulate their properties. Therefore, the correct answer is "Sistem datoteka" which translates to "File system" in English.

Submit
106. Generacija BSD UNIX sistema koja nosi oznaku BSD 4.xx, odnosi se na: Izaberite jedan odgovor:

Explanation

The correct answer is VAX machines. The BSD 4.xx generation of the BSD UNIX system refers to the version of the operating system that was designed to run on VAX machines. VAX (Virtual Address eXtension) was a line of computers developed by Digital Equipment Corporation (DEC) in the 1970s and 1980s. BSD UNIX was initially developed at the University of California, Berkeley, and was widely used on VAX machines during that time.

Submit
107. Dat je skup kernelskih tabela: • UFDT • FT • in‐core inode table Ovaj skup pripada delu kernela koji se odnosi na: Izaberite jedan odgovor:

Explanation

The given set of kernel tables, UFDT, FT, and in-core inode table, belongs to the part of the kernel that is related to the file system. These tables are used by the kernel to manage file-related operations and maintain information about files, such as file descriptors, file tables, and in-memory representations of inodes. Therefore, the correct answer is "Sistem datoteka" which translates to "File system" in English.

Submit
108. Imate datoteke /tmp/a.a i /tmp/b.b koje niko nije otvarao. Proces obavi sledeću sekvencu sistemskih poziva fd1=open(/tmp/a.a, O_RDONLY,0) fd2=open(/tmp/a.a, O_RDWR,0) fd3=open(/tmp/b.b, O_WRONLY,0) .... close(fd3) Koliko novih ulaza u UFDT tabeli ostaje posle ove sekvence Izaberite jedan odgovor:

Explanation

After the sequence of system calls, the file descriptors fd1, fd2, and fd3 are opened. However, fd3 is closed later in the sequence. Therefore, after the sequence, there will be two new entries in the UFDT (User File Descriptor Table) remaining.

Submit
109. Algoritam bmap: Izaberite jedan odgovor:

Explanation

The correct answer is "Intezivno koristi sistem direktnih i indirektnih pointera iz inode strukture". This means that the algorithm extensively utilizes both the direct and indirect pointers from the inode structure. This suggests that the algorithm is designed to efficiently manage and access data stored in the file system by making use of both direct and indirect pointers to navigate through the file system's data structure.

Submit
110. Algoritam ifree, ukoliko superblock lista slobodnih inode struktura, nije puna, oslobođeni inode: Izaberite jedan odgovor:

Explanation

When an inode is freed in the ifree algorithm, it is returned to the superblok list. However, it is not simply appended to the end of the list. Instead, it is inserted in front of the first free entry in the list. This ensures that the freed inode is available for allocation as soon as possible, improving the efficiency of the allocation process.

Submit
111. Sistemski poziv lseek ima sintaksu position = lseek ( fd, offset, reference) pri čemu je parametar reference: Izaberite jedan odgovor:

Explanation

The parameter "reference" in the syntax of the lseek system call represents the reference point from which the offset is observed. It determines the starting point for the next read or write operation.

Submit
112. Imate datoteke /tmp/a.a i /tmp/b.b koje niko nije otvarao. Proces obavi sledeću sekvencu sistemskih poziva fd1=open(/tmp/a.a, O_RDONLY,0) fd2=open(/tmp/a.a, O_RDWR,0) fd3=open(/tmp/b.b, O_WRONLY,0) count1=read(fd1, buffer,200) count2=read(fd2, buffer,100) count3=read(fd3, buffer,300) Odrediti pomeraj offset za sledeće čitanje iz datoteke /tmp/a.a za desktriptor fd1 Izaberite jedan odgovor:

Explanation

The offset for the next read from the file /tmp/a.a for file descriptor fd1 will be 200.

Submit
113. U komandi $ls /etc 2>/tmp/b.b ukoliko se dogodi greška, poruke o grešci idu na: Izaberite jedan odgovor:

Explanation

The command "2>/tmp/b.b" is used to redirect the error messages to a file named "/tmp/b.b". So, if an error occurs while running the command "ls /etc", the error messages will be stored in the file "/tmp/b.b".

Submit
114. U arhitekturi UNIX operativnog sistema sa 3 nivoa, vezu između kerneskog i korisničkog nivoa predstavlja: Izaberite jedan odgovor:

Explanation

In the architecture of a UNIX operating system with 3 levels, the connection between the kernel level and the user level is represented by the interface of system calls. This interface allows user programs to request services from the kernel by making system calls. It acts as a bridge between the user level and the kernel level, enabling communication and interaction between the two levels of the operating system.

Submit
115. Da bi ste promenili prava pristupa datoteke na UNIX OS, upotrebićete sledeći sistemski poziv: Izaberite jedan odgovor:

Explanation

To change the access rights of a file on a UNIX OS, you would use the "chmod" system call. This system call allows you to modify the permissions of a file, such as granting or revoking read, write, and execute permissions for different users or groups. It is commonly used to control the level of access and security for files and directories on a UNIX system.

Submit
116. Algoritam free, ukoliko superblock lista slobodnih blokova struktura, nije puna, oslobođeni blok: Izaberite jedan odgovor:

Explanation

When a block is freed and the superblock list of free blocks is not full, the freed block is returned to the superblock list. However, it is not simply added to the end of the list. Instead, it is inserted in front of the first free entry in the list. This ensures that the newly freed block is easily accessible and can be allocated again efficiently.

Submit
117. Algoritam open poziva sledeću sekvencu nižih algoritama (redosled je bitan): Izaberite jedan odgovor:

Explanation

The correct answer is "namei->iget". This is the correct sequence of lower-level algorithms that are called in the "Algoritam open" function. The "namei->iget" algorithm is called after the "namei->alloc" algorithm, indicating that it is responsible for obtaining an inode for a given filename.

Submit
118. Imate ciklus upisa u pogodak u kešu. Ako je zahtev za upis označen kao asinhroni I/O, gde ide upis: Izaberite jedan odgovor:

Explanation

If the request for writing is marked as asynchronous I/O, it means that the write operation will only be performed in the cache and not on the disk. Asynchronous I/O allows the program to continue executing without waiting for the write operation to complete, which can improve performance. Therefore, the correct answer is "samo u keš" (only in the cache).

Submit
119. Dat je skup sistemskih poziva: • fork • exec • wait • exit • brk • signal Ovaj skup pripada delu kernela koji se odnosi na: Izaberite jedan odgovor:

Explanation

This set of system calls belongs to the part of the kernel that is responsible for controlling processes. The system calls fork, exec, wait, exit, brk, and signal are all related to process management and control. They allow for the creation, execution, waiting, termination, memory management, and signaling of processes within the operating system.

Submit
120. Proces traži blok broj 657. Algoritam getblk razrešava taj slučaj i pronalazi blok u kešu i blok je slobodan, nalazi se u free listi. Na osnovu toga, algoritam getblk: Izaberite jedan odgovor:

Explanation

The algorithm getblk currently returns the block from the cache to the process without reading it from the disk.

Submit
121. U konstrukciji command 1>/tmp/a.a 2>/tmp/b.b, izlaz za greške za komandu je: Izaberite jedan odgovor:

Explanation

The given command "command 1>/tmp/a.a 2>/tmp/b.b" redirects the standard output (1>) to the file /tmp/a.a and redirects the standard error (2>) to the file /tmp/b.b. Therefore, the output for errors from the command would be stored in the file /tmp/b.b.

Submit
122. Data su sledeća funkcionalna polja. Od ovih polja jedno se ne nalazi u disk inode strukturi: Izaberite jedan odgovor:

Explanation

The correct answer is "Broj referenci." In a disk inode structure, the fields typically include the owner, group, access rights, and file layout. The "Broj referenci" field refers to the number of references to the file, which is not typically included in a disk inode structure.

Submit
123. Sistemski poziv lseek ima sintaksu position = lseek ( fd, offset, reference) pri čemu je parametar offset: Izaberite jedan odgovor:

Explanation

The offset parameter in the lseek system call represents the relative byte displacement in the file. It is used to move the file pointer to a specific position within the file, allowing for random access and manipulation of the file contents.

Submit
124. U konstrukciji command >/tmp/a.a, izlaz za greške za komandu je: Izaberite jedan odgovor:

Explanation

The correct answer is "ekran" because when the command is executed, any error messages produced by the command will be displayed on the screen.

Submit
125. Inode struktura (1, 150) definisana sa 2 broja (FS_number, inode_number), ima kreiranu in-core inode strukturu, brojem referenci RC=5. Sistem poziva algoritam iput (2, 150). Odrediti broj referenci za incore inode strukturu (1, 150), posle ovog poziva: Izaberite jedan odgovor:

Explanation

After the iput algorithm is called with (2, 150) as parameters, the in-core inode structure (1, 150) will still have 5 references. The iput algorithm is used to release an in-core inode, but it does not affect the reference count of other in-core inode structures. Therefore, the number of references for the in-core inode structure (1, 150) remains the same, which is 5.

Submit
126. U konstrukciji command 1>/tmp/a.a 2>/tmp/b.b, izlaz za komandu je: Izaberite jedan odgovor:

Explanation

The given command "command 1>/tmp/a.a 2>/tmp/b.b" redirects the standard output (1>) to the file "/tmp/a.a" and the standard error (2>) to the file "/tmp/b.b". Therefore, the output for the command will be stored in the file "/tmp/a.a".

Submit
127. Parovi algoritama ialloc-ifree, alloc-free, za svoj rad koriste jednu kernelsku strukturu. To je: Izaberite jedan odgovor:

Explanation

The correct answer is Superblock. The ialloc-ifree, alloc-free algorithms use the superblock as their kernel structure. The superblock is a data structure in the file system that contains important information about the file system, such as the total number of blocks, the number of free blocks, and the location of the inode table. It is used by the file system to manage the allocation and deallocation of disk space for files and directories.

Submit
128. U komandi $ls /etc 2>/tmp/b.b rezultat listanja direktorijuma ide na: Izaberite jedan odgovor:

Explanation

The correct answer is "ekran" because the command "ls /etc" is used to list the contents of the "/etc" directory, and by default, the output of the command is displayed on the screen (ekran). The option "tastaturu" refers to the keyboard, "nije definisan" means not defined, "datoteku /tmp/b.b" means the file /tmp/b.b, "ne znam" means I don't know, and "datoteku /tmp/a.a" means the file /tmp/a.a.

Submit
129. Imate datoteke /tmp/a.a i /tmp/b.b koje niko nije otvarao. Proces obavi sledeću sekvencu sistemskih poziva fd1=open(/tmp/a.a, O_RDONLY,0) fd2=open(/tmp/a.a, O_RDWR,0) fd3=open(/tmp/b.b, O_WRONLY,0) Koliko novih ulaza u UFDT tabeli kreira ova sekvenca Izaberite jedan odgovor:

Explanation

The given sequence of system calls opens three different files: "/tmp/a.a" with read-only access, "/tmp/a.a" with read-write access, and "/tmp/b.b" with write-only access. Each open call creates a new entry in the UFDT (User File Descriptor Table), so the sequence creates three new entries in the UFDT table. Therefore, the correct answer is 3.

Submit
130. Rezultat izvršenja bmap algoritma je: Izaberite jedan odgovor:

Explanation

The correct answer is fizički blok u sistemu datoteka (physical block in the file system). This is because the bmap algorithm is used to map logical blocks to physical blocks in the file system. Therefore, the result of executing the bmap algorithm would be the physical block in the file system.

Submit
131. Koji algoritam vraća blok u slobodnu listu: Izaberite jedan odgovor:

Explanation

The correct answer is "brelse." The brelse algorithm returns a block to the free list.

Submit
132. U komandi $ls /etc 1>/tmp/b.b ukoliko se dogodi greška, poruke o grešci idu na: Izaberite jedan odgovor:

Explanation

The command "ls /etc 1>/tmp/b.b" is used to redirect the standard output of the "ls /etc" command to the file "/tmp/b.b". If an error occurs during the execution of the command, the error messages will be displayed on the screen (ekran).

Submit
133. Kada brišete datoteku, algoritam free se poziva: Izaberite jedan odgovor:

Explanation

When deleting a file, the "free" algorithm is sometimes called.

Submit
134. Algoritam ifree se poziva ponekad kada: Izaberite jedan odgovor:

Explanation

The algorithm "ifree" is called sometimes when deleting any file.

Submit
135. Operator za blok primitive I u konstrukciji command1 | command2, u odnosu na drugu komandu command2 utiče na: Izaberite jedan odgovor:

Explanation

The operator "|" in the construction "command1 | command2" is used for piping the output of command1 as input to command2. Therefore, it affects the input redirection for command2.

Submit
136. Konverzija logičkog bloka datoteke u fizički blok u sistemu datoteka, obavlja algoritam: Izaberite jedan odgovor:

Explanation

The correct answer is "bmap". In a file system, the conversion of a logical block of a file to a physical block is done by the "bmap" algorithm. This algorithm is responsible for mapping the logical addresses of a file to the corresponding physical addresses on the storage device. It determines which physical block on the disk contains the data for a particular logical block of a file. This mapping is essential for efficient storage and retrieval of data in a file system.

Submit
137. Sistemski poziv lseek ima sintaksu position = lseek ( fd, offset, reference)pri čemu je parametar position: Izaberite jedan odgovor:

Explanation

The parameter "position" in the lseek system call represents the offset where the next read or write operation will occur. It determines the position in the file where the file pointer will be moved to. This parameter specifies the new position relative to the reference point, which can be the beginning of the file, the current position, or the end of the file.

Submit
138. Imate ciklus upisa u pogodak u kešu. Ako je zahtev za upis označen kao asinhroni I/O, upis ide samo u keš, a blok se označava kao DW. Gde ide takav blok: Izaberite jedan odgovor:

Explanation

When a write request is marked as asynchronous I/O, the data block is only written to the cache and is marked as Dirty Write (DW). In this case, the block will go to the beginning of the free list. This means that it will be placed at the front of the list of available blocks to be used for future read or write operations.

Submit
139. Inode struktura (1,150) definisana sa 2 broja (FS_number, inode_number), ima kreiranu in-core inode strukturu, brojem referenci RC=5. Sistem poziva algoritam iget (2, 150). Odrediti broj referenci za in-core inode strukturu (1, 150), posle ovog poziva: Izaberite jedan odgovor:

Explanation

After the system calls the iget algorithm with the parameters (2, 150), the in-core inode structure (1, 150) will still have 5 references. This is because the iget algorithm is used to find and return an in-core inode structure based on the given file system number and inode number. It does not affect the reference count of the in-core inode structure that is already created. Therefore, the number of references for the in-core inode structure (1, 150) remains the same, which is 5.

Submit
140. Imate datoteke /tmp/a.a i /tmp/b.b koje niko nije otvarao. Proces obavi sledeću sekvencu sistemskih poziva fd1=open(/tmp/a.a, O_RDONLY,0) fd2=open(/tmp/a.a, O_RDWR,0) fd3=open(/tmp/b.b, O_WRONLY,0) .... close(fd3) Koliko novih ulaza u UFDT tabeli ostaje posle ove sekvence Izaberite jedan odgovor:

Explanation

After executing the given sequence of system calls, there will be two new entries in the UFDT (User File Descriptor Table) remaining. The process first opens the file /tmp/a.a in read-only mode, which creates a new entry in the UFDT. Then, it opens the same file /tmp/a.a again, but this time in read-write mode. This does not create a new entry in the UFDT because the file was already opened before. Finally, it opens the file /tmp/b.b in write-only mode, creating a new entry in the UFDT. After closing the file /tmp/b.b, only two new entries remain in the UFDT.

Submit
141. U algoritmu iput dešava se postavljanje inode strukture u slobodnu listu: Izaberite jedan odgovor:

Explanation

When the number of references to the inode structure decreases to 0, it is placed in the free list.

Submit
142. Imate ciklus upisa u promašaj u kešu, a koristi se do-not-write-allocate šema. Ako je zahtev za upis označen kao sinhroni I/O, gde ide upis: Izaberite jedan odgovor:

Explanation

In the given scenario, the write operation is marked as synchronous I/O, which means that the data must be written directly to the disk before the operation is considered complete. Since the system is using the do-not-write-allocate scheme, the data is not written to the cache. Therefore, the correct answer is "samo na disk" (only to the disk).

Submit
143. Proces traži blok broj 657. Algoritam getblk razrešava taj slučaj i pronalazi blok u kešu i blok nije slobodan, ne nalazi se u free listi. Na osnovu toga, algoritam getblk: Izaberite jedan odgovor:

Explanation

Based on the given information, the algorithm "getblk" finds the block in the cache and determines that it is not free and not in the free list. Therefore, it puts the process to sleep until the block is freed up. This means that the correct answer is "uspavljuje proces dok se ne oslobodi blok" which translates to "puts the process to sleep until the block is freed up".

Submit
144. U komandi $ls /etc 1>tmp/a.a rezultat listanja direktorijuma ide na:  Izaberite jedan odgovor:

Explanation

The command "ls /etc" lists the contents of the "/etc" directory. The "1>tmp/a.a" redirects the output of the command to the file "/tmp/a.a". Therefore, the result of the directory listing goes to the file "/tmp/a.a".

Submit
145. Sistemski poziv close ima sledeće dejstvo na incore-inode tabelu: Izaberite jedan odgovor:

Explanation

The "close" system call decrements the reference count of the corresponding entry in the incore-inode table. However, whether or not the entry is deleted from the incore-inode table depends on the remaining number of references.

Submit
146. Sistemski poziv read ima sintaksu number = read (fd, buffer, count) pri čemu je parametar fd: Izaberite jedan odgovor:

Explanation

The parameter "fd" in the read system call syntax refers to the file descriptor obtained from the system call open.

Submit
147. Algoritam close poziva sledeći niži algoritam: Izaberite jedan odgovor:

Explanation

The correct answer is "iput" because the given statement mentions that the algorithm "close" calls the next lower algorithm, and among the options provided, "iput" seems to be the most suitable choice as it typically refers to the process of releasing a file or device after it has been used.

Submit
148. Ukoliko je datoteka već otvorena, novi sistemski poziv open ima sledeće dejstvo na incore inode tabelu. Izaberite jedan odgovor:

Explanation

When a file is already open and a new open system call is made, it does not create a new entry in the incore inode table. Instead, it increases the reference count (RC) by 1. This means that the file already has an existing entry in the table, and the open system call simply increments the reference count to keep track of the number of processes currently using the file.

Submit
149. Koji od sistemskih poziva ne pripada grupi: Izaberite jedan odgovor:

Explanation

The correct answer is "exec". The other options (close, write, lseek, open) are all system calls that are used in programming to perform specific tasks. The "exec" system call is used to replace the current process with a new process, so it does not belong to the same group as the other system calls which manipulate file descriptors or perform file operations.

Submit
150. Algoritam free se poziva kada: Izaberite jedan odgovor:

Explanation

The correct answer is "smanjujete veličinu datoteke" which translates to "reducing the size of a file" in English. This means that when you call the "free" algorithm, you are reducing the size of a file.

Submit
151. U algoritmu iput dešava se fizičko brisanje datoteke: Izaberite jedan odgovor:

Explanation

When the number of links drops to 0, it indicates that there are no more references or connections to the file. This means that the file is no longer being used or accessed by any other files or processes. Therefore, it is safe to physically delete the file from the system.

Submit
152. Koja od navedenih tabela ne pripada grupi: Izaberite jedan odgovor:

Explanation

The correct answer is "PPRT" because all the other options are related to computer systems or data storage. "in-core inode table" refers to a data structure used in operating systems to store information about files, "FT" could refer to file transfer or file type, and "UFDT" could refer to a user file descriptor table. However, "PPRT" does not have any known meaning in the context of computer systems or data storage.

Submit
153. U konstrukciji command >/tmp/a.a, izlaz za komandu je: Izaberite jedan odgovor:

Explanation

The correct answer is "datoteka /tmp/a.a". This means that the output for the command "> /tmp/a.a" is the file /tmp/a.a. The ">" symbol is used to redirect the output of a command to a file, and in this case, the output is being redirected to the file /tmp/a.a. Therefore, the correct answer is that the output is the file /tmp/a.a.

Submit
154. Inode struktura (1, 150) definisana sa 2 broja (FS_number, inode_number), ima kreiranu in- core inode strukturu, brojem referenci RC=5. Sistem poziva algoritam iput(1, 150). Odrediti broj referenci za in-core inode strukturu (1, 150), posle ovog poziva: Izaberite jedan odgovor:

Explanation

The in-core inode structure (1, 150) initially has 5 references (RC=5). When the system calls the iput(1, 150) algorithm, it means that the in-core inode structure is being released and no longer needed. Therefore, the number of references for the in-core inode structure (1, 150) after this call will be 4.

Submit
155. Algoritam ialloc, ukoliko je superblock lista slobodnih inode struktura potpuno prazna, inode dodeljuje: Izaberite jedan odgovor:

Explanation

When the superblock list of free inode structures is completely empty, the algorithm first fills the superblock list and then assigns an inode structure from the beginning of the list.

Submit
156. Imate datoteke /tmp/a.a i /tmp/b.b koje niko nije otvarao. Proces obavi sledeću sekvencu sistemskih poziva fd1=open(/tmp/a.a, O_RDONLY,0) fd2=open(/tmp/a.a, O_RDWR,0) fd3=open(/tmp/b.b, O_WRONLY,0) Koliko novih ulaza u FT tabeli kreira ova sekvenca Izaberite jedan odgovor:

Explanation

This sequence of system calls creates 3 new entries in the file table (FT). The first call opens the file /tmp/a.a in read-only mode and creates a new entry in the FT. The second call opens the same file /tmp/a.a but in read-write mode, creating a second entry in the FT. The third call opens the file /tmp/b.b in write-only mode, creating a third entry in the FT. Therefore, the total number of new entries created in the FT by this sequence is 3.

Submit
157. Algoritam alloc, ukoliko je superblock lista slobodnih inode struktura potpuno prazna, inode dodeljuje: Izaberite jedan odgovor:

Explanation

When allocating an inode, if the superblock list of free inode structures is completely empty, the algorithm first populates the superblock list and then assigns a block from the beginning of the list.

Submit
158. Sistemski poziv write ima sintaksu number = write ( fd, buffer, count) pri čemu veza između parametara number i count: Izaberite jedan odgovor:

Explanation

The explanation for the given correct answer is that in the syntax "number = write ( fd, buffer, count)", the variable "number" represents the number of bytes that were successfully written to the file descriptor "fd" from the buffer. On the other hand, the variable "count" represents the number of bytes to be written. Therefore, in this case, "number" and "count" will always be the same because the "write" function will write the exact number of bytes specified by "count" from the buffer to the file descriptor.

Submit
159. Algoritam ialloc se poziva uvek kada: Izaberite jedan odgovor:

Explanation

The function "ialloc" is called whenever a new file is created, regardless of whether it is a special file or a regular file.

Submit
160. Inode struktura (1, 150) definisana sa 2 broja (FS_number, inode_number), ima kreiranu in-core inode strukturu, brojem referenci RC=5. Sistem poziva algoritam iget (1,150). Odrediti broj referenci za incore inode strukturu (1, 150), posle ovog poziva: Izaberite jedan odgovor:

Explanation

After the system calls the iget algorithm for the inode structure (1, 150), the number of references for the in-core inode structure (1, 150) will be 6.

Submit
161. Ukoliko datoteka postoji, krajnji efekat tj izlaz za algoritam namei je: Izaberite jedan odgovor:

Explanation

The correct answer is "zaključana in‐core inode struktura te datoteke" which means "locked in-core inode structure of that file" in English. This suggests that if the file exists, the algorithm's output will be the locked in-core inode structure of that file.

Submit
162. Stepeni indirekcije u in-node strukturi su napravljeni da bi se: Izaberite jedan odgovor:

Explanation

The correct answer is "Smanjila veličina disk inode strukture". The purpose of introducing indirect blocks in the inode structure is to reduce the size of the disk inode structure. Indirect blocks allow for storing more file data addresses in a smaller space, thereby reducing the size of the inode structure. This helps in optimizing the storage efficiency and overall performance of the file system.

Submit
163. Sistemski poziv close ima sledeće dejstvo na UFDT tabelu: Izaberite jedan odgovor:

Explanation

The correct answer is "uvek briše ulaz u UFDT, i to ulaz na koga ukazuje fd." This means that the close system call always deletes the entry in the UFDT (User File Descriptor Table), specifically the entry that fd points to.

Submit
164. Sistemski poziv read ima sintaksu number = read (fd, buffer, count) pri čemu veza između parametara number i count: Izaberite jedan odgovor:

Explanation

The explanation for the correct answer is that the "number" parameter represents the number of bytes read from the file descriptor "fd" into the buffer. The "count" parameter represents the maximum number of bytes that can be read into the buffer. Therefore, it is possible that the number of bytes read is equal to or less than the maximum number of bytes that can be read, hence "number" is equal to or less than "count".

Submit
165. Sistemski poziv close ima sledeće dejstvo na FT tabelu: Izaberite jedan odgovor:

Explanation

The correct answer states that the close system call does not always delete the entry in the FT (File Table), but only decrements the reference count. This means that closing a file does not necessarily remove it from the file table, but only decreases the number of references to that file. This is important because multiple processes or threads may have references to the same file, and closing it only reduces the count of those references without deleting the entry itself.

Submit
166. Rezultat iput algoritma, ukoliko in-core inode struktura nije bila zaključana u trenutku poziva je: Izaberite jedan odgovor:

Explanation

The correct answer is "nezaključana inode struktura sa brojem referenci smanjenim za 1." This means that if the in-core inode structure was not locked at the time of the call, it will remain unlocked and the number of references will be decreased by 1.

Submit
167. Koji algoritam kreira in-core inode strukturu: Izaberite jedan odgovor:

Explanation

The correct answer is "iget". The iget algorithm creates an in-core inode structure.

Submit
168. Ukoliko datoteka postoji, krajnji efekat tj izlaz za algoritam namei je: Izaberite jedan odgovor:

Explanation

The correct answer is "iget algoritam za njenu inode strukturu" because the given question is asking for the output or end result of the "namei" algorithm if the file exists. The "iget" algorithm is responsible for obtaining the inode structure of a file in a file system, so it is logical to assume that the output of the "namei" algorithm would be the result of the "iget" algorithm for the inode structure of the given file.

Submit
169. Sistemski poziv open ima sintaksu fd = open (pathname, flags, modes) pri čemu parametar fd smešta u: Izaberite jedan odgovor:

Explanation

The correct answer is UFDT tabelu. The given syntax "fd = open (pathname, flags, modes)" suggests that the parameter "fd" is used to store the result of the "open" system call. In this context, UFDT stands for User File Descriptor Table, which is a data structure used by the operating system to keep track of open file descriptors for a specific process. Therefore, the correct answer is UFDT tabelu.

Submit
170. Koji algoritam otpušta oslobađa in-core inode strukturu: Izaberite jedan odgovor:

Explanation

The correct answer is "iput". The iput algorithm is responsible for releasing the in-core inode structure.

Submit
171. Algoritam alloc se poziva uvek kada: Izaberite jedan odgovor:

Explanation

The "alloc" algorithm is called whenever you increase the size of a file.

Submit
172. Algoritam ialloc, ukoliko superblok lista slobodnih inode struktura, nije prazna, inode dodeljuje: Izaberite jedan odgovor:

Explanation

The correct answer is "iz superblok liste, prvi slobodan član" which means "from the superblock list, the first available member". This means that the algorithm will check if there are any free inode structures in the superblock list, and if there are, it will assign one of them to be used, and update the superblock list accordingly. This ensures that the algorithm efficiently utilizes available resources by reusing previously allocated but now free inode structures.

Submit
173. Rezultat iget algoritma, ukoliko in-core inode struktura nije bila zaključana u trenutku poziva je: Izaberite jedan odgovor:

Explanation

When the in-core inode structure is not locked at the time of the iget algorithm call, the correct answer suggests that the inode structure should be locked and the number of references should be increased by 1. This ensures that the inode structure is protected from concurrent access and the reference count is properly updated to reflect the additional reference.

Submit
174. Imate datoteku /tmp/a.a /tmp/b.b koje niko nije otvarao. Proces obavi sledeću sekvencu sistemskih poziva fd1=open(/tmp/a.a, O_RDONLY,0) fd2=open(/tmp/a.a, O_RDWR,0) fd3=open(/tmp/b.b, O_WRONLY,0) Koliko novih ulaza u incore inode tabeli kreira ova sekvenca Izaberite jedan odgovor:

Explanation

The given sequence of system calls creates 2 new entries in the incore inode table. This is because each call to the open() system call creates a new entry in the incore inode table for the corresponding file descriptor. In this case, the first call opens /tmp/a.a in read-only mode, creating one entry. The second call opens /tmp/a.a again, but this time in read-write mode, creating a second entry. Therefore, the total number of new entries created is 2.

Submit
175. Algoritam free, ukoliko je puna superblock lista slobodnih blok, oslobođeni blok: Izaberite jedan odgovor:

Explanation

The correct answer is that the algorithm first writes the entire superblock to the disk, then sets it in the list, and finally fills the block at the beginning of the superblock list. This means that the algorithm ensures that the superblock is fully updated and stored on the disk before making any changes to the superblock list.

Submit
176. Proces traži blok broj 657. Algoritam getblk razrešava taj slučaj i ne pronalazi blok u kešu, a free lista nije prazna. Na osnovu toga, algoritam getblk: Izaberite jedan odgovor:

Explanation

When the algorithm getblk does not find the requested block in the cache but the free list is not empty, it means that the block needs to be read from the disk. In this case, the algorithm does not put the process to sleep, but it replaces one block in the cache with the requested block from the disk. Therefore, the correct answer is "ne uspavljuje proces ali blok mora da se pročita sa diska, a jedan blok u kešu se zamenjuje" (it does not put the process to sleep, but the block needs to be read from the disk, and one block in the cache is replaced).

Submit
177. Sistemski poziv open ima sledeće dejstvo na UFDT tabelu. Izaberite jedan odgovor:

Explanation

The open system call always creates a new entry in the User File Descriptor Table (UFDT) and stores the file descriptor (fd) in it. This means that whenever the open system call is invoked, it will create a new entry in the UFDT and assign a file descriptor to it, allowing the program to access the file using that file descriptor.

Submit
178. Par algoritama ialloc-ifree, bavi se: Izaberite jedan odgovor:

Explanation

The algorithm ialloc-ifree is responsible for allocating and freeing inode structures on the disk.

Submit
179. Algoritam alloc, ukoliko superblock lista slobodnih blokova, nije prazna, inode dodeljuje: Izaberite jedan odgovor:

Explanation

The correct answer is "iz superblok liste, prvi slobodan član" which means that the algorithm allocates an inode from the superblock list by selecting the first available member. This suggests that the algorithm checks the superblock list for any free blocks and assigns an inode from the list if there is one available.

Submit
180. Sistemski poziv read ima sintaksu number = read (fd, buffer, count) pri čemu sistemski poziv read deluje samo na jednu od tri fundamentalne tabele. To je: Izaberite jedan odgovor:

Explanation

The correct answer is FT. The given question is asking which one of the three fundamental tables the read system call operates on. The options provided are incore inode table, FT, UFDT, and superblock. The explanation for the correct answer, FT, is that the read system call operates on the file table (FT), which is responsible for keeping track of open files in the system.

Submit
181. Imate datoteke /tmp/a.a i /tmp/b.b koje niko nije otvarao. Proces obavi sledeću sekvencu sistemskih poziva fd1=open(/tmp/a.a, O_RDONLY,0) fd2=open(/tmp/a.a, O_RDWR,0) fd3=open(/tmp/b.b, O_WRONLY,0) .... close(fd3) Koliko novih ulaza u incore inode tabeli ostaje posle ove sekvence Izaberite jedan odgovor:

Explanation

After the sequence of system calls, the file descriptor fd1 is opened with read-only access, fd2 is opened with read and write access, and fd3 is opened with write-only access. Then, fd3 is closed. Since fd3 is the only file descriptor that was opened for the file /tmp/b.b, closing it will remove the entry for that file from the incore inode table. Therefore, only 1 new entry will remain in the incore inode table after this sequence of system calls.

Submit
182. Sistemski poziv lseek ima sintaksu position = lseek ( fd, offset, reference) pri čemu je parametar position smešta u: Izaberite jedan odgovor:

Explanation

The function lseek is used to change the file offset of the open file referred to by the file descriptor 'fd'. The 'position' parameter is used to store the new file offset value. In this case, the correct answer suggests that the 'position' parameter is stored in the incore inode table, which is a data structure that contains information about the in-memory inodes of open files.

Submit
183. Par algoritama ialloc-ifree, koristi superblock listu slobodnih inode struktura, koja predstavlja: Izaberite jedan odgovor:

Explanation

The correct answer is "delimičnu listu slobodnih disk inode struktura" (partial list of free disk inode structures). This is because the algorithm ialloc-ifree uses a superblock list that contains only a partial list of free disk inode structures, not a complete list.

Submit
184. Sistemski poziv open ima sledeće dejstvo na FT tabelu. Izaberite jedan odgovor:

Explanation

The system call "open" always creates a new entry in the file table (FT) and stores the position for the next read/write operation in it.

Submit
185. Sistemski poziv open ima sintaksu fd = open (pathname, flags, modes) pri čemu početnu poziciju za čitanje/upis (offset) smešta u: Izaberite jedan odgovor:

Explanation

The correct answer is "FT tabelu". In the given syntax, the "open" system call is used to open a file and assign a file descriptor to it. The file descriptor is then stored in the File Table (FT tabelu), which is a data structure maintained by the operating system to keep track of open files. The FT table contains information such as the file descriptor, the file status flags, the file pointer, and other relevant data for each open file.

Submit
186. Algoritam ifree, ukoliko je puna superblock lista slobodnih inode struktura, oslobođeni inode: Izaberite jedan odgovor:

Explanation

When the iFree algorithm encounters a freed inode, it will only return it to the superbloc list if its inode number is smaller than the last remembered inode number. This means that the algorithm will prioritize reusing inodes that were previously freed and have smaller inode numbers, rather than inserting the freed inode at the beginning or end of the list.

Submit
187. Rezultat iget algoritma, ukoliko in-core inode struktura bila zaključana u trenutku poziva je: Izaberite jedan odgovor:

Explanation

The correct answer is "Uspavljivanje procesa koji poziva iget algoritam" (Putting the process that calls the iget algorithm to sleep). This means that if the in-core inode structure is locked at the time of the call, the process will be put to sleep until the lock is released.

Submit
188. Par algoritama alloc-free, koristi povezanu listu slobodnih blokova, koja predstavlja: Izaberite jedan odgovor:

Explanation

The correct answer is "potpunu listu slobodnih disk blokova" which translates to "a complete list of free disk blocks" in English. This means that the alloc-free algorithm uses a linked list to keep track of all the free disk blocks available for allocation.

Submit
189. Proces traži blok broj 657. Algoritam getblk razrešava taj slučaj i ne pronalazi blok u kešu, ali free lista je prazna. Na osnovu toga, algoritam getblk: Izaberite jedan odgovor:

Explanation

The algorithm getblk puts the process to sleep until any block is freed. This means that if the cache is full and the free list is empty, the process cannot find the desired block in the cache or on the disk. Therefore, it waits until any block becomes available for use, freeing up space in the cache.

Submit
View My Results

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
  • Jan 29, 2020
    Quiz Created by
    Nikolastosevski
Cancel
  • All
    All (189)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Linux distribuciju čine: Izaberite jedan odgovor:
Lunux kernel je modularan: Izaberite jedan odgovor:
Sistemski poziv read ima sintaksu ...
U arhitekturi UNIX operativnog sistema sa 3 nivoa, prvi i najniži...
Linux je OS sa: Izaberite jedan odgovor:
Operator za blok primitive < predstavlja: ...
UNIX je pre svega: Izaberite jedan odgovor:
Za alokaciju i pronalaženje blokova u kešu koristi se hash...
OS UNIX se piše na: Izaberite jedan odgovor:
Deskriptor datoteke koji ima vrednost 2 predstavlja: ...
Za baferski keš važe pravila: Izaberite jedan odgovor:
Imate inode strukturu sa sledećim stepenima indirekcije . Veličina...
Imate inode strukturu sa sledećim stepenima indirekcije . Veličina...
U komandi $ls /etc rezultat listanja direktorijuma ide na: ...
Savremeni format izvšnih datoteka na Linux OS se naziva: ...
Koji od sistemskih poziva ne pripada grupi: ...
Lunux kerneli podržavaju: Izaberite jedan odgovor:
Za baferski keš važe pravila: Izaberite jedan odgovor:
Operator za blok primitive < deluje na: Izaberite jedan odgovor:
U arhitekturi UNIX operativnog sistema sa 3 nivoa, drugi ili srednji...
Koji od sistemskih poziva ne pripada grupi: ...
U arhitekturi UNIX operativnog sistema sa 3 nivoa, treći i...
Od originalnog proizvođača UNIX OS-a, najdominantnija verzija je: ...
Operator za blok primitive 2> deluje na: ...
Deskriptor datoteke koji ima vrednost 0 predstavlja: ...
Dva centralna koncepta u arhitekturi UNIX kernela predstavljaju: ...
Sistemski poziv open ima sintaksu ...
Od brojnih američkih univerziteta koji su razvijali UNIX,...
Originalni proizvođač UNIX OS-a je: Izaberite jedan odgovor:
Operator za blok primitive 1> deluje na:  ...
Operator za blok primitive > predstavlja: ...
Operator za blok primitive 2> predstavlja: ...
Koji od sistemsih poziva ne pripada grupi: Izaberite jedan odgovor:
Da bi ste videli atribute datoteke na UNIX OS, upotrebićete sledeći...
Operator za blok primitive > deluje na:  ...
Sistemski poziv write ima sintaksu ...
Deskriptor datoteke koji ima vrednost 1 predstavlja: ...
U komandi $ls /tmp/a* I wc l na ekranu se vide: ...
Da bi ste aktivirali modul Lunux kernela, po pitanju restartovanja...
Operator za blok primitive 1> predstavlja: ...
Koji od datih sistemskih poziva omogućava završetak procesa na...
Baferski keš, kešira sledeće: ...
Da bi ste promenili / (root direktorijum) na UNIX OS, upotrebićete...
Da bi ste promenili tekući direktorijum na UNIX OS, upotrebićete...
Koliko blokova čita algoritam breada: Izaberite jedan odgovor:
U algoritmu iput dešava se postavljanje inode strukture u...
U algoritmu iput dešava se fizičko brisanje datoteke ...
Sistemski poziv close ima sintaksu ...
Imate datoteke /tmp/a.a i /tmp/b.b koje niko nije otvarao. Proces...
U konstrukciji command >/tmp/a.a, ulaz za komandu je: ...
Imate ciklus upisa u pogodak u kešu. Ako je zahtev za upis...
Sistemski poziv open ima sintaksu ...
U komandi $ls /bin/b* | wc l na ekranu se vide: ...
Multi user OS UNIX je pre svega: Izaberite jedan odgovor:
Sistemski poziv read ima sintaksu ...
Koji od datih sistemskih poziva ne pripada grupi: ...
Sistem datoteka pristupa datotekama tj diskovima na dva načina ili...
Sistemski poziv read ima sintaksu ...
Imate baferski keš od 16 blokova, sa 4 hash liste po modulu 4....
Konverzija imena datoteke u inode strukturu obavlja algoritam: ...
Koja od kernel tabela ne pripada grupi: Izaberite jedan odgovor:
Operator za blok primitive I predstavlja: Izaberite jedan odgovor:
Sistem datoteka pristupa datotekama tj diskovima na dva načina ili...
Da bi ste napravili direktorijum, upotrebićete sistemski poziv: ...
Da bi ste napravili FIFO datoteku, upotrebićete sistemski poziv: ...
Koji od sistemskih poziva ne pripada grupi: ...
Da bi ste promenili vlasništvo datoteke na UNIX OS,...
Generacija BSD UNIX sistema koja nosi oznaku FreeBSD odnosi se na: ...
Koji od sistemskih poziva ne iz pripada grupi: ...
Kako iget algoritam utiče na broj referenci u in-core inode...
Sistemski poziv write ima sintaksu ...
Potpuna informacija o bloku u baferskom kešu, nalazi se u: ...
Imate baferski keš od 16 blokova, sa 4 hash liste po modulu 4....
Koji od sistemskih poziva kreira novi proces na UNIX OS: ...
U konstrukciji command 1>/tmp/a.a 2>/tmp/b.b, ulaz za komandu...
Koji od datih sistemskih poziva ne pripada grupi: ...
U komandi $ls /etc I wc l na ekranu se vide: ...
Direktorijum je specijalna datoteka sa sledećim osobinama: ...
Koji od datih sistemskih poziva omogućava sinhronizaciju procesa na...
Slobodna lista baferskog keša je povezana lista baferskih...
Sistemski poziv open ima sintaksu ...
Generacija BSD UNIX sistema koja nosi oznaku BSD 2.xx, odnosi se na: ...
Kada brišete datoteku, algoritam ifree se poziva: ...
Generacija UNIX sistema koja nosi oznaku SunSolaris odnosi se na: ...
Koja od kernel tabela ne pripada grupi: Izaberite jedan odgovor:
Lunux kernelu možete pristupiti: Izaberite jedan odgovor:
Dat je skup kernelskih tabela: ...
Da bi ste videli prava pristupa ili veličinu datoteke na UNIX OS,...
Poslednje verzije Linux kernela imaju oznaku: ...
Imate datoteke /tmp/a.a i /tmp/b.b koje niko nije otvarao. Proces...
Imate datoteku /tmp/a.a. Proces obavi sledeću sekvencu sistemskih...
Početak povezane listu slobodnih blokova nalazi se u: ...
U disk inode strukturi nalaze se sve informacije o datoteci, osim...
Ulazni parametar za namei algoritam je: Izaberite jedan odgovor:
Koji od datih sistemskih poziva ne pripada grupi: ...
Operator za blok primitive I u konstrukciji command1 | command2, u...
Sintaksa za algoritam mknod je: mknod (pathname, type and permissions,...
Kada smanjujte veličinu datoteke, algoritam free se poziva: ...
Na Linux OS za lseek važi: Izaberite jedan odgovor:
Stepeni indirekcije u in-node strukturi utiču na performanse većih...
Komparirajte disk inode i in-core inode strukturu po veličini: ...
Koliko blokova čita algoritam bread: Izaberite jedan odgovor:
Kako iput algoritam utiče na broj referenci u in-core inode...
Imate datoteku /tmp/a.a. Proces obavi sledeću sekvencu sistemskih...
Dat je skup sistemskih poziva: ...
Generacija BSD UNIX sistema koja nosi oznaku BSD 4.xx, odnosi se na: ...
Dat je skup kernelskih tabela: ...
Imate datoteke /tmp/a.a i /tmp/b.b koje niko nije otvarao. Proces...
Algoritam bmap: Izaberite jedan odgovor:
Algoritam ifree, ukoliko superblock lista slobodnih inode struktura,...
Sistemski poziv lseek ima sintaksu ...
Imate datoteke /tmp/a.a i /tmp/b.b koje niko nije otvarao. Proces...
U komandi $ls /etc 2>/tmp/b.b ukoliko se dogodi greška,...
U arhitekturi UNIX operativnog sistema sa 3 nivoa, vezu između...
Da bi ste promenili prava pristupa datoteke na UNIX OS, upotrebićete...
Algoritam free, ukoliko superblock lista slobodnih blokova struktura,...
Algoritam open poziva sledeću sekvencu nižih algoritama (redosled je...
Imate ciklus upisa u pogodak u kešu. Ako je zahtev za upis...
Dat je skup sistemskih poziva: ...
Proces traži blok broj 657. Algoritam getblk razrešava taj...
U konstrukciji command 1>/tmp/a.a 2>/tmp/b.b, izlaz za...
Data su sledeća funkcionalna polja. Od ovih polja jedno se ne nalazi...
Sistemski poziv lseek ima sintaksu ...
U konstrukciji command >/tmp/a.a, izlaz za greške za komandu...
Inode struktura (1, 150) definisana sa 2 broja (FS_number,...
U konstrukciji command 1>/tmp/a.a 2>/tmp/b.b, izlaz za komandu...
Parovi algoritama ialloc-ifree, alloc-free, za svoj rad koriste jednu...
U komandi $ls /etc 2>/tmp/b.b rezultat listanja direktorijuma ide...
Imate datoteke /tmp/a.a i /tmp/b.b koje niko nije otvarao. Proces...
Rezultat izvršenja bmap algoritma je: ...
Koji algoritam vraća blok u slobodnu listu: ...
U komandi $ls /etc 1>/tmp/b.b ukoliko se dogodi greška,...
Kada brišete datoteku, algoritam free se poziva: ...
Algoritam ifree se poziva ponekad kada: Izaberite jedan odgovor:
Operator za blok primitive I u konstrukciji command1 | command2, u...
Konverzija logičkog bloka datoteke u fizički blok u sistemu...
Sistemski poziv lseek ima sintaksu ...
Imate ciklus upisa u pogodak u kešu. Ako je zahtev za upis...
Inode struktura (1,150) definisana sa 2 broja (FS_number,...
Imate datoteke /tmp/a.a i /tmp/b.b koje niko nije otvarao. Proces...
U algoritmu iput dešava se postavljanje inode strukture u...
Imate ciklus upisa u promašaj u kešu, a koristi se...
Proces traži blok broj 657. Algoritam getblk razrešava taj...
U komandi $ls /etc 1>tmp/a.a rezultat listanja direktorijuma ide...
Sistemski poziv close ima sledeće dejstvo na incore-inode tabelu: ...
Sistemski poziv read ima sintaksu ...
Algoritam close poziva sledeći niži algoritam: ...
Ukoliko je datoteka već otvorena, novi sistemski poziv open ima...
Koji od sistemskih poziva ne pripada grupi: ...
Algoritam free se poziva kada: Izaberite jedan odgovor:
U algoritmu iput dešava se fizičko brisanje datoteke: ...
Koja od navedenih tabela ne pripada grupi: Izaberite jedan odgovor:
U konstrukciji command >/tmp/a.a, izlaz za komandu je: ...
Inode struktura (1, 150) definisana sa 2 broja (FS_number,...
Algoritam ialloc, ukoliko je superblock lista slobodnih inode...
Imate datoteke /tmp/a.a i /tmp/b.b koje niko nije otvarao. Proces...
Algoritam alloc, ukoliko je superblock lista slobodnih inode struktura...
Sistemski poziv write ima sintaksu ...
Algoritam ialloc se poziva uvek kada: Izaberite jedan odgovor:
Inode struktura (1, 150) definisana sa 2 broja (FS_number,...
Ukoliko datoteka postoji, krajnji efekat tj izlaz za algoritam namei...
Stepeni indirekcije u in-node strukturi su napravljeni da bi se: ...
Sistemski poziv close ima sledeće dejstvo na UFDT tabelu: ...
Sistemski poziv read ima sintaksu ...
Sistemski poziv close ima sledeće dejstvo na FT tabelu: ...
Rezultat iput algoritma, ukoliko in-core inode struktura nije bila...
Koji algoritam kreira in-core inode strukturu: ...
Ukoliko datoteka postoji, krajnji efekat tj izlaz za algoritam namei...
Sistemski poziv open ima sintaksu ...
Koji algoritam otpušta oslobađa in-core inode strukturu: ...
Algoritam alloc se poziva uvek kada: Izaberite jedan odgovor:
Algoritam ialloc, ukoliko superblok lista slobodnih inode struktura,...
Rezultat iget algoritma, ukoliko in-core inode struktura nije bila...
Imate datoteku /tmp/a.a /tmp/b.b koje niko nije otvarao. Proces obavi...
Algoritam free, ukoliko je puna superblock lista slobodnih blok,...
Proces traži blok broj 657. Algoritam getblk razrešava taj...
Sistemski poziv open ima sledeće dejstvo na UFDT tabelu. ...
Par algoritama ialloc-ifree, bavi se: Izaberite jedan odgovor:
Algoritam alloc, ukoliko superblock lista slobodnih blokova, nije...
Sistemski poziv read ima sintaksu ...
Imate datoteke /tmp/a.a i /tmp/b.b koje niko nije otvarao. Proces...
Sistemski poziv lseek ima sintaksu ...
Par algoritama ialloc-ifree, koristi superblock listu slobodnih inode...
Sistemski poziv open ima sledeće dejstvo na FT tabelu. ...
Sistemski poziv open ima sintaksu ...
Algoritam ifree, ukoliko je puna superblock lista slobodnih inode...
Rezultat iget algoritma, ukoliko in-core inode struktura bila...
Par algoritama alloc-free, koristi povezanu listu slobodnih blokova,...
Proces traži blok broj 657. Algoritam getblk razrešava taj...
Alert!

Advertisement