This section includes 7 InterviewSolutions, each offering curated multiple-choice questions to sharpen your Current Affairs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
When the event for which a thread is blocked occurs?(a) thread moves to the ready queue(b) thread remains blocked(c) thread completes(d) a new thread is provided |
|
Answer» Right choice is (a) thread moves to the ready queue The explanation is: None. |
|
| 2. |
Which of the following system calls transforms executable binary file into a process?(a) fork(b) exec(c) ioctl(d) longjmp |
|
Answer» The correct choice is (b) exec For explanation: None. |
|
| 3. |
The usual effect of abnormal termination of a program is ____________(a) core dump file generation(b) system crash(c) program switch(d) signal destruction |
|
Answer» Right choice is (a) core dump file generation Best explanation: None. |
|
| 4. |
In the Many to Many models when a thread performs a blocking system call ___________(a) other threads are strictly prohibited from running(b) other threads are allowed to run(c) other threads only from other processes are allowed to run(d) none of the mentioned |
|
Answer» Correct option is (b) other threads are allowed to run The best explanation: None. |
|
| 5. |
The jacketing technique is used to ___________(a) convert a blocking system call into non blocking system call(b) create a new thread(c) communicate between threads(d) terminate a thread |
|
Answer» Right choice is (a) convert a blocking system call into non blocking system call Best explanation: None. |
|
| 6. |
Which one of the following is not a valid state of a thread?(a) running(b) parsing(c) ready(d) blocked |
|
Answer» The correct choice is (b) parsing Explanation: None. |
|
| 7. |
Termination of the process terminates ___________(a) first thread of the process(b) first two threads of the process(c) all threads within the process(d) no thread within the process |
|
Answer» Right choice is (c) all threads within the process Easy explanation - None. |
|
| 8. |
For system protection, a process should access _____________(a) all the resources(b) only those resources for which it has authorization(c) few resources but authorization is not required(d) all of the mentioned |
|
Answer» Correct answer is (b) only those resources for which it has authorization The best explanation: None. |
|
| 9. |
If one thread opens a file with read privileges then ___________(a) other threads in the another process can also read from that file(b) other threads in the same process can also read from that file(c) any other thread can not read from that file(d) all of the mentioned |
|
Answer» Right answer is (b) other threads in the same process can also read from that file The best explanation: None. |
|
| 10. |
_______ is an approach to restricting system access to authorized users.(a) Role-based access control(b) Process-based access control(c) Job-based access control(d) None of the mentioned |
|
Answer» Correct option is (a) Role-based access control Explanation: None. |
|
| 11. |
In domain structure what is Access-right equal to?(a) Access-right = object-name, rights-set(b) Access-right = read-name, write-set(c) Access-right = read-name, execute-set(d) Access-right = object-name, execute-set |
|
Answer» Correct choice is (a) Access-right = object-name, rights-set Best explanation: None. |
|
| 12. |
What is meaning of right-set?(a) It is a subset consist of read and write(b) It is a subset of all valid operations that can be performed on the object(c) It is a subset consist of read, write and execute(d) None of the mentioned |
|
Answer» Right option is (b) It is a subset of all valid operations that can be performed on the object Best explanation: None. |
|
| 13. |
The direct access method is based on a ______ model of a file, as _____ allow random access to any file block.(a) magnetic tape, magnetic tapes(b) tape, tapes(c) disk, disks(d) all of the mentioned |
|
Answer» Right choice is (c) disk, disks The best I can explain: None. |
|
| 14. |
What is indexing and what are the different kinds of indexing? |
|
Answer» Indexing is a technique for determining how quickly specific data can be found. Types: 1. Binary search style indexing 2. B-Tree indexing 3. Inverted list indexing 4. Memory resident table 5. Table indexing |
|
| 15. |
In ___________ writes, the data is stored in the cache.(a) Asynchronous(b) Regular(c) Synchronous(d) Irregular |
|
Answer» Correct answer is (a) Asynchronous Best explanation: None. |
|
| 16. |
What is Domain?(a) Domain = Set of all objects(b) It is a collection of protection policies(c) Domain= set of access-rights(d) None of the mentioned |
|
Answer» The correct option is (c) Domain= set of access-rights The explanation: None. |
|
| 17. |
When an attempt is to make a machine or network resource unavailable to its intended users, the attack is called _____________(a) denial-of-service attack(b) slow read attack(c) spoofed attack(d) starvation attack |
|
Answer» Correct answer is (a) denial-of-service attack Easy explanation - None. |
|
| 18. |
The code segment that misuses its environment is called a _____________(a) internal thief(b) trojan horse(c) code stacker(d) none of the mentioned |
|
Answer» The correct option is (b) trojan horse The explanation: None. |
|
| 19. |
A file control block contains the information about ____________(a) file ownership(b) file permissions(c) location of file contents(d) all of the mentioned |
|
Answer» The correct answer is (d) all of the mentioned The explanation is: None. |
|
| 20. |
In the Many to Many model true concurrency cannot be gained because ___________(a) the kernel can schedule only one thread at a time(b) there are too many threads to handle(c) it is hard to map threads with each other(d) none of the mentioned |
|
Answer» The correct answer is (a) the kernel can schedule only one thread at a time Best explanation: None. |
|
| 21. |
Which table contains the information about each mounted volume?(a) mount table(b) system-wide open-file table(c) per-process open-file table(d) all of the mentioned |
|
Answer» Correct choice is (d) all of the mentioned Best explanation: None. |
|
| 22. |
Some directory information is kept in main memory or cache to ___________(a) fill up the cache(b) increase free space in secondary storage(c) decrease free space in secondary storage(d) speed up access |
|
Answer» Correct answer is (d) speed up access The best explanation: None. |
|
| 23. |
What is the preferred way of encryption?(a) pre shared secret key(b) using key distribution center (KDC)(c) public key-encryption(d) symmetric key |
|
Answer» Right choice is (c) public key-encryption For explanation: Pre Shared key can be compromised and either party can be suspected. Likewise KDC or symmetric key can have breach which are undesirable. Public and private key encryption is a known industry standard. |
|
| 24. |
What does the access matrix represent?(a) Rows-Domains, Columns-Objects(b) Rows-Objects, Columns-Domains(c) Rows-Access List, Columns-Domains(d) Rows-Domains, Columns-Access list |
|
Answer» The correct option is (a) Rows-Domains, Columns-Objects Explanation: None. |
|
| 25. |
The data structure used for file directory is called ____________(a) mount table(b) hash table(c) file table(d) process table |
|
Answer» The correct option is (b) hash table The explanation: None. |
|
| 26. |
Who can add new rights and remove some rights?(a) copy(b) transfer(c) limited copy(d) owner |
|
Answer» Correct option is (d) owner Best explanation: None. |
|
| 27. |
What are the three copyrights?(a) copy(b) transfer(c) limited copy(d) all of the mentioned |
|
Answer» The correct choice is (d) all of the mentioned The best explanation: None. |
|
| 28. |
When is the Many to One model at an advantage?(a) When the program does not need multithreading(b) When the program has to be multi-threaded(c) When there is a single processor(d) None of the mentioned |
|
Answer» Right answer is (a) When the program does not need multithreading Best explanation: None. |
|
| 29. |
The index contains ____________(a) names of all contents of file(b) pointers to each page(c) pointers to the various blocks(d) all of the mentioned |
|
Answer» Right choice is (c) pointers to the various blocks The explanation: None. |
|
| 30. |
A relative block number is an index relative to ____________(a) the beginning of the file(b) the end of the file(c) the last written position in file(d) none of the mentioned |
|
Answer» Correct choice is (a) the beginning of the file The best I can explain: None. |
|
| 31. |
What is not a role of encryption?(a) It is used to protect data from unauthorized access during transmission(b) It is used to ensure user authentication(c) It is used to ensure data integrity(d) It is used to ensure data corruption doesn’t happens |
|
Answer» Correct answer is (d) It is used to ensure data corruption doesn’t happens To explain: Encryption doesn’t have error correction or detection facility thus cannot be used to safeguard from data corruption. |
|
| 32. |
What are the three additional operations to change the contents of the access-matrix?(a) copy(b) Owner(c) control(d) all of the mentioned |
|
Answer» The correct answer is (d) all of the mentioned The best explanation: None. |
|
| 33. |
Which two rights allow a process to change the entries in a column?(a) copy and transfer(b) copy and owner(c) owner and transfer(d) deny and copy |
|
Answer» Right answer is (a) copy and transfer Explanation: None. |
|
| 34. |
Which of the following is the drawback of the One to One Model?(a) increased concurrency provided by this model(b) decreased concurrency provided by this model(c) creating so many threads at once can crash the system(d) creating a user thread requires creating the corresponding kernel thread |
|
Answer» Right option is (d) creating a user thread requires creating the corresponding kernel thread To explain I would say: None. |
|
| 35. |
What is a Phantom Deadlock? |
|
Answer» In distributed deadlock detection, the delay in propagating local information might cause the deadlock detection algorithms to identify deadlocks that do not really exist. Such situations are called phantom deadlocks and they lead to unnecessary aborts. |
|
| 36. |
What is the correct way the segmentation program address is stored?(a) name, offset(b) start, stop(c) access, rights(d) offset, rights |
|
Answer» Right option is (a) name, offset To explain: OS can retrieve the real address via looking for the table then making a simple calculation: address of the name + offset. |
|
| 37. |
What is the principle of least privilege?(a) Less privileges provide difficulty in executing admin tasks(b) Users can get temporary high privilege access(c) Users should be given just enough privileges to perform their tasks(d) None of the mentioned |
|
Answer» Right option is (c) Users should be given just enough privileges to perform their tasks The explanation is: None. |
|
| 38. |
What is the main objective of protection?(a) Ensure all objects are protected individually(b) Objects have different priority and thus different levels of protection(c) Ensure that each object is accessed correctly and only by allowed processes(d) None of the mentioned |
|
Answer» Right answer is (c) Ensure that each object is accessed correctly and only by allowed processes The explanation: None. |
|
| 39. |
What is cipher-block chaining?(a) Data is logically ‘ANDed’ with previous block(b) Data is logically ‘ORed’ with previous block(c) Data is logically ‘XORed’ with previous block(d) None of the mentioned |
|
Answer» The correct choice is (c) Data is logically ‘XORed’ with previous block Explanation: None. |
|
| 40. |
Which is an unsolvable problem in access-matrix?(a) Owner override(b) Brute force(c) Access denied(d) Confinement |
|
Answer» Right answer is (d) Confinement To explain: None. |
|
| 41. |
Which of the following objects require protection?(a) CPU(b) Printers(c) Motherboard(d) All of the mentioned |
|
Answer» Right choice is (b) Printers Best explanation: None. |
|
| 42. |
A fork system call will fail if ______________(a) the previously executed statement is also a fork call(b) the limit on the maximum number of processes in the system would be executed(c) the limit on the minimum number of processes that can be under execution by a single user would be executed(d) all of the mentioned |
|
Answer» The correct choice is (b) the limit on the maximum number of processes in the system would be executed The explanation: None. |
|
| 43. |
In the One to One model when a thread makes a blocking system call ___________(a) other threads are strictly prohibited from running(b) other threads are allowed to run(c) other threads only from other processes are allowed to run(d) none of the mentioned |
|
Answer» Right option is (b) other threads are allowed to run To explain: None. |
|
| 44. |
To control access the three bits used in UNIX are represented by _____________(a) r(b) w(c) x(d) all of the mentioned |
|
Answer» Right option is (d) all of the mentioned The best explanation: None. |
|
| 45. |
In UNIX, groups can be created and modified by?(a) superuser(b) any user(c) a programmer only(d) the people in the group only |
|
Answer» Correct choice is (a) superuser The best explanation: None. |
|
| 46. |
Which of the following is not a stream cipher?(a) Two fish(b) RC5(c) RC4(d) TBONE |
|
Answer» Right choice is (d) TBONE Best explanation: None. |
|
| 47. |
Which one of the following is a process that uses the spawn mechanism to revage the system performance?(a) worm(b) trojan(c) threat(d) virus |
|
Answer» Correct option is (a) worm To explain: None. |
|
| 48. |
The internal code of any software that will set of a malicious function when specified conditions are met, is called _____________(a) logic bomb(b) trap door(c) code stacker(d) none of the mentioned |
|
Answer» The correct answer is (a) logic bomb To explain: None. |
|
| 49. |
MD5 produces __________ bits hash data.(a) 128(b) 150(c) 160(d) 112 |
|
Answer» Correct choice is (a) 128 Best explanation: None. |
|
| 50. |
Which is not an example of state information?(a) Mounting information(b) Description of HDD space(c) Session keys(d) Lock status |
|
Answer» Right answer is (b) Description of HDD space The best I can explain: None. |
|