Quiz
os 13
Crie uma conta grátis para terminar este quiz
Salve seu progresso e veja sua nota final.
Já tem uma conta? Inicie sessão
Perguntas do quiz (23)
1A(n) ____ file is a sequence of functions.
- Atext
- Bsource
- Cobject
- Dexecutable
2A(n) ____ file is a sequence of bytes organized into blocks understandable by the system's linker.
- Atext
- Bsource
- Cobject
- Dexecutable
3A(n) ____ file is a series of code sections that the loader can bring into memory and execute.
- Atext
- Bsource
- Cobject
- Dexecutable
4In an environment where several processes may open the same file at the same time, ____.
- Athe operating system typically uses only one internal table to keep track of open files
- Bthe operating system typically uses two internal tables called the system-wide and per-disk tables to keep track of open files
- Cthe operating system typically uses three internal tables called the system-wide, per-disk, and per-partition tables to keep track of open files
- Dthe operating system typically uses two internal tables called the system-wide and perprocess tables to keep track of open files
5Suppose that the operating system uses two internal tables to keep track of open files. Process A has two files open and process B has three files open. Two files are shared between the two processes. How many entries are in the per-process table of process A, the per-process table of process B, and the system-wide tables, respectively?
- A5, 5, 5
- B2, 3, 3
- C2, 3, 5
- D2, 3, 1
6A shared lock ____.
- Abehaves like a writer lock
- Bensures that a file can have only a single concurrent shared lock
- Cbehaves like a reader lock
- Dwill prevent all other processes from accessing the locked file
7An exclusive lock ____.
- Abehaves like a writer lock
- Bensures that a file can have only a single concurrent shared lock
- Cbehaves like a reader lock
- Dwill prevent all other processes from accessing the locked file
8The simplest file access method is ____.
- Asequential access
- Blogical access
- Crelative access
- Ddirect access
9A _____ is used on UNIX systems at the beginning of some files to roughly indicate the type of the file.
- Afile extension
- Bcreator name
- Chint
- Dmagic number
10Which of the following is true of the direct-access method?
- AIt is the most common mode of access.
- BIt allows programs to read and write records in no particular order.
- CFiles are made up of variable-length records.
- DIt is not a good method for accessing large amounts of data quickly.
11Which of the following is true of the tree-structured directory structure?
- AUsers cannot create their own subdirectories.
- BUsers cannot acquire permission to access the files of other users.
- CDirectories can share subdirectories and files.
- DIt is the most common directory structure.
12An acyclic-graph directory structure ____.
- Adoes not allow the sharing of files.
- Ballows the sharing of subdirectories and files.
- Cis less complicated than a simple tree-structured directory structure.
- Dis less flexible than a simple tree-structured directory structure.
13The path name /home/people/os-student/chap11.txt is an example of
- Aa relative path name
- Ban absolute path name
- Ca relative path name to the current directory of /home
- Dan invalid path name
14The UNIX file system uses which of the following consistency semantics?
- AWrites to an open file by a user are not visible immediately to other users that have the file open at the same time.
- BOnce a file is closed, the changes made to it are visible only in sessions starting later.
- CUsers are not allowed share the pointer of current location into the file.
- DWrites to an open file by a user are visible immediately to other users that have the file open at the same time.
15Which of the following is a key property of an immutable file?
- AThe file name may not be reused.
- BThe contents of the file may be altered.
- CIt is difficult to implement in a distributed system.
- DThe file name may be reused.
16Which of the following is not considered a classification of users in connection with each file?
- Aowner
- Bcurrent user
- Cgroup
- Duniverse
17______ is a secure, distributed naming mechanism.
- ALightweight directory-access protocol (LDAP)
- BDomain name system (DNS)
- CCommon internet file system (CIFS)
- DNetwork information service (NIS)
18app.exe is an example of a(n) _____.
- Abatch file
- Bobject file
- Cexecutable file
- Dtext file
19A mount point is _____.
- Aa root of the file system
- Ba location of a shared file system
- Conly appropriate for shared file systems
- Dthe location within the file structure where the file system is to be attached.
20________ is/are not considered a difficulty when considering file sharing.
- AReliability
- BMultiple users
- CConsistency semantics
- DRemote access
21Which of the following is not considered a file attribute?
- AName
- BSize
- CResolution
- DProtection
22The path name os-student/src/vm.c is an example of
- Aa relative path name
- Ban absolute path name
- Ca relative path name to the current directory of /os-student
- Dan invalid path name
23Which of the following statements regarding the client-server model is true?
- AA remote file system may be mounted.
- BThe client-server relationship is not very common with networked machines.
- CA client may only use a single server.
- DThe client and server agree on which resources will be made available by servers.
Informações
- Descrição
- Quiz sobre os 13, criado por Adam Whiteside em 24-04-2019.
- Autor
- Adam Whiteside
- Idioma
- English
- Visualizações
- 47
- Avaliação
- Ainda sem avaliações Avalie este quiz