Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

The user can load and execute a program but cannot copy it. This process is?(a) Execution(b) Appending(c) Reading(d) UpdatingI had been asked this question in a national level competition.My query is from File Management in section Operating Systems of Computer Fundamentals

Answer»

The CORRECT choice is (a) EXECUTION

Best explanation: Execution is a process that user can load and EXECUTE a PROGRAM but cannot copy it. Other processes are updation, changing protection, ETC.

2.

When access is granted to append or update a file to more than one user, the OS or file management system must enforce discipline. This is _________(a) Simultaneous access(b) Compaction(c) External Fragmentation(d) DivisionI had been asked this question in quiz.I'd like to ask this question from File Management in portion Operating Systems of Computer Fundamentals

Answer»

Correct CHOICE is (a) SIMULTANEOUS access

The explanation: When access is GRANTED to APPEND or update a file to more than one user, the OS or file management system must enforce discipline. It is referred as simultaneous access.

3.

Which of the following is not a part of the usage information?(a) data created(b) identity of creator(c) owner(d) last date modifiedThis question was posed to me in homework.The doubt is from File Management in portion Operating Systems of Computer Fundamentals

Answer»

Correct answer is (C) owner

The EXPLANATION is: Owner is a part of the access control INFORMATION. Other options are a part of usage information of a FILE.

4.

Which of the following isn’t a part of the file directory?(a) Attributes(b) Protocol(c) Location(d) OwnershipI had been asked this question in a job interview.My question is taken from File Management in division Operating Systems of Computer Fundamentals

Answer»

Correct OPTION is (B) Protocol

Easy explanation: File DIRECTORY CONTAINS important information LIKE: Attributes, Location and Ownership.

5.

Allocated size of a file comes under?(a) basic information(b) address information(c) access control information(d) usage informationThis question was posed to me in unit test.The query is from File Management topic in chapter Operating Systems of Computer Fundamentals

Answer»

Correct option is (b) address information

The explanation: ALLOCATED SIZE comes under the address information of a FILE. Address information consists of volume, STARTING address, size used and size allocated.

6.

___________ itself is a file owned by the operating system(a) Logical file(b) Record(c) Database(d) DirectoryI have been asked this question in a national level competition.This intriguing question comes from File Management in section Operating Systems of Computer Fundamentals

Answer» CORRECT answer is (d) Directory

Easiest EXPLANATION: Directory is the file owned by the OPERATING SYSTEM. File directory contains various IMPORTANT information.
7.

Which of the following is not an appropriate criterion for file organisation?(a) Larger access time(b) ease of update(c) simple maintenance(d) economy of storageThe question was posed to me in quiz.Question is taken from File Management topic in division Operating Systems of Computer Fundamentals

Answer»

Right option is (a) LARGER ACCESS time

Best EXPLANATION: The answer is Larger access time. The access time should be SHORT. It is an IMPORTANT criteria for file organisation.

8.

__________________ refers to the logical structuring of records.(a) Physical organisation(b) Logical organisation(c) Structural organisation(d) File organisationI got this question in quiz.Query is from File Management in division Operating Systems of Computer Fundamentals

Answer» RIGHT choice is (d) FILE organisation

The explanation: File organisation refers to the logical STRUCTURING of RECORDS. It is determined bi the way in which files are accessed.
9.

Records are treated as a unit.(a) True(b) FalseThe question was asked during an interview for a job.My question is taken from File Management in chapter Operating Systems of Computer Fundamentals

Answer»

The correct choice is (a) TRUE

Explanation: The STATEMENT is true. Records are a collection of related FIELDS. They are treated as a unit.

10.

A basic element of data in a file.(a) Memory(b) Record(c) Field(d) ValueI have been asked this question in an online quiz.This key question is from File Management topic in section Operating Systems of Computer Fundamentals

Answer»

Right OPTION is (c) Field

Explanation: Fields are the basic ELEMENTS of DATA in a file. e.g. student’s last name. It contains a SINGLE VALUE.

11.

____________ is one or more physically contiguous pages.(a) Slab(b) Cache(c) Object(d) AllocatorThe question was asked in examination.This interesting question is from Virtual Memory topic in division Operating Systems of Computer Fundamentals

Answer» RIGHT option is (a) Slab

To explain I would say: Slab is one or more PHYSICALLY contiguous pages. CACHE CONSISTS of one or more slabs.
12.

A process is busy swapping pages in and out.(a) Thrashing(b) Compaction(c) External Fragmentation(d) DivisionI had been asked this question in quiz.My question comes from Virtual Memory topic in section Operating Systems of Computer Fundamentals

Answer» CORRECT answer is (a) THRASHING

The BEST I can EXPLAIN: Thrashing is the term used whenever a process is BUSY swapping pages in and put.
13.

Any program, no matter how small, occupies an entire partition.This is called _____________(a) fragmentation(b) prior fragmentation(c) internal fragmentation(d) external fragmentationThe question was asked in an interview for job.Enquiry is from Virtual Memory in portion Operating Systems of Computer Fundamentals

Answer»

Correct answer is (c) internal FRAGMENTATION

To EXPLAIN: It is CALLED as internal fragmentation. Main MEMORY use is inefficient.Any PROGRAM, no matter how small, occupies an entire partition.This is called internal fragmentation.

14.

A process selects a replacement frame from the set of all frames.(a) Local replacement(b) Global replacement(c) Block replacement(d) Module replacementI got this question in an interview.My question is based upon Virtual Memory topic in portion Operating Systems of Computer Fundamentals

Answer»

Correct answer is (b) Global REPLACEMENT

To elaborate: Global replacement process selects a replacement frame from the SET of all FRAMES; ONE process can TAKE a frame from another.

15.

An allocation that uses a proportional allocation scheme using priorities rather than size.(a) Priority allocation(b) File allocation(c) Preference allocation(d) Simple allocationI got this question during an interview for a job.Question is taken from Virtual Memory topic in chapter Operating Systems of Computer Fundamentals

Answer»

The correct OPTION is (a) PRIORITY ALLOCATION

Explanation: Priority allocation uses a proportional allocation scheme USING priorities rather than SIZE.

16.

LRU stands for?(a) Least Recently used(b) Less Recently used(c) Least Recurrently used(d) Least Randomly usedThe question was posed to me in examination.This intriguing question comes from Virtual Memory topic in division Operating Systems of Computer Fundamentals

Answer»

The correct answer is (a) Least Recently USED

Easy explanation: LRU STANDS for Least Recently used. LRU is least recently used. It REPLACES page with the smallest COUNT.

17.

COW stands for?(a) Copy over write(b) Convert over write(c) Count over write(d) Copy over writeThis question was posed to me in my homework.My enquiry is from Virtual Memory in portion Operating Systems of Computer Fundamentals

Answer»

The correct CHOICE is (d) Copy over write

The best I can explain: COW STANDS for Copy over write. COW allows both PARENT and child PROCESSES to share the same pages initially.

18.

Virtual Memory can be implemented via __________(a) Demand Paging(b) Logical paging(c) Structural way(d) Simple divisionThe question was posed to me at a job interview.The origin of the question is Virtual Memory in division Operating Systems of Computer Fundamentals

Answer» CORRECT answer is (a) DEMAND Paging

The EXPLANATION is: Demand paging can implement VIRTUAL memory. Another way is demand segmentation.
19.

Logical Address space can be larger than physical address space.(a) True(b) FalseI have been asked this question during an interview.I would like to ask this question from Virtual Memory in division Operating Systems of Computer Fundamentals

Answer»

Right choice is (a) True

For explanation: The statement is true. Since, a part of the program needs to be in memory for the process of execution, the LOGICAL space can therefore be much LARGER than the physical address space.

20.

Separation of user logical memory and physical memory is ___________(a) Memory control(b) Memory management(c) Memory sharing(d) Virtual memoryThis question was addressed to me during an interview for a job.My question comes from Virtual Memory topic in chapter Operating Systems of Computer Fundamentals

Answer»

The correct option is (d) VIRTUAL memory

Best explanation: The separation of USER LOGICAL memory and physical memory is called virtual memory. Only part of the program NEEDS to be in memory for execution.

21.

_______ searches for smallest block.The fragment left behind is small as possible.(a) best fit(b) first fit(c) next fit(d) last fitThe question was posed to me in an online quiz.The doubt is from Memory Management topic in portion Operating Systems of Computer Fundamentals

Answer»

The CORRECT option is (a) best fit

Easy EXPLANATION: Best fit searches for the smallest BLOCK. The fragment LEFT BEHIND is as small as possible.

22.

__________ is used to shift processes so they are contiguous and all free memory is in one block.(a) Fragmentation(b) Compaction(c) External Fragmentation(d) DivisionThis question was posed to me in exam.Origin of the question is Memory Management topic in section Operating Systems of Computer Fundamentals

Answer»

Correct ANSWER is (b) Compaction

To explain I WOULD say: Use compaction to shift processes so they are contiguous and all free memory is in ONE BLOCK.

23.

Any program, no matter how small, occupies an entire partition.This is called ____________(a) fragmentation(b) prior fragmentation(c) internal fragmentation(d) external fragmentationI had been asked this question in an international level competition.Question is taken from Memory Management in portion Operating Systems of Computer Fundamentals

Answer»

Correct choice is (c) internal FRAGMENTATION

The BEST explanation: It is called as internal fragmentation. Main memory use is inefficient.Any program, no matter how small, OCCUPIES an ENTIRE partition.This is called internal fragmentation.

24.

A set of overlapping divisions in the main memory are called _______(a) Partitions(b) Divisions(c) Blocks(d) ModulesI had been asked this question in an online interview.Query is from Memory Management topic in division Operating Systems of Computer Fundamentals

Answer»

The correct CHOICE is (a) Partitions

Explanation: Partition MAIN memory into a SET of non overlapping regions CALLED partitions. Partitions can be of equal or unequal sizes.

25.

FTP stands for?(a) File Text Protocol(b) File Transfer Protocol(c) Firm Transfer Protocol(d) File Transplant ProtocolThe question was posed to me in an interview for internship.My doubt is from Memory Management topic in division Operating Systems of Computer Fundamentals

Answer»

The correct choice is (b) File Transfer Protocol

For explanation: FTP STANDS for File Transfer Protocol. It is a TYPE of internet service use for the TRANSMISSION of files.

26.

An executing process must be loaded entirely in main memory. What kind of a memory organization is this?(a) Physical(b) Logical(c) Structural(d) SimpleThis question was addressed to me during an internship interview.I'm obligated to ask this question of Memory Management in portion Operating Systems of Computer Fundamentals

Answer»

Right ANSWER is (d) Simple

For explanation: This is simple MEMORY ORGANISATION. An executing process MUST be loaded entirely in main memory (if OVERLAYS are not used).

27.

Secondary memory is the long term store for programs and data while main memory holds program and data currently in use. What kind of an organization is this?(a) Physical(b) Logical(c) Structural(d) SimpleThis question was posed to me in an interview for internship.My doubt is from Memory Management topic in division Operating Systems of Computer Fundamentals

Answer»

Right answer is (a) Physical

Best explanation: The SECONDARY memory is the LONG term store for programs and data while MAIN memory HOLDS program and data currently in use. This is a physical organization.

28.

Memory organization in which users write programs in modules with different characteristics.(a) Physical(b) Logical(c) Structural(d) SimpleThe question was posed to me by my college professor while I was bunking the class.My question comes from Memory Management in section Operating Systems of Computer Fundamentals

Answer» RIGHT choice is (B) Logical

The explanation is: The answer is Logical. To handle user programs PROPERLY, the operating system and the hardware should support a basic form of MODULE to provide PROTECTION and sharing.
29.

An HTML file is a text file containing small markup tags.(a) True(b) FalseThe question was posed to me at a job interview.The query is from Memory Management in chapter Operating Systems of Computer Fundamentals

Answer»
30.

A task carried out by the OS and hardware to accommodate multiple processes in main memory.(a) Memory control(b) Memory management(c) Memory sharing(d) Memory usageI had been asked this question during an online exam.I'd like to ask this question from Memory Management topic in portion Operating Systems of Computer Fundamentals

Answer»

Right ANSWER is (b) Memory management

For explanation I would say: Memory management is CARRIED out by the OS and hardware to ACCOMMODATE multiple processes in main memory.

31.

A method used to force one thread to wait for another thread to finish.(a) join()(b) connect()(c) combine()(d) concat()The question was posed to me in an internship interview.The doubt is from Multithreading topic in portion Operating Systems of Computer Fundamentals

Answer»

The CORRECT OPTION is (a) join()

Explanation: The answer is join(). We can use the join() method to FORCE one thread to WAIT for another thread to FINISH.

32.

A thread becomes non runnable when?(a) Its stop method is invoked(b) Its sleep method is invoked(c) Its finish method is invoked(d) Its init method is invokedThe question was asked in an international level competition.I would like to ask this question from Multithreading topic in chapter Operating Systems of Computer Fundamentals

Answer» CORRECT ANSWER is (B) Its sleep method is invoked

To explain: A thread becomes Not Runnable when ONE of these events occurs:

•Its sleep method is invoked.

•The thread calls the wait method to wait for a SPECIFIC condition to be satisfied.

•The thread is blocking on I/O.
33.

A method used to temporarily release time for other threads.(a) yield()(b) set()(c) release()(d) start()I have been asked this question in an interview for job.My question comes from Multithreading in section Operating Systems of Computer Fundamentals

Answer»

Correct option is (a) YIELD()

EASY explanation: We can use the yield() method to TEMPORARILY release TIME for other threads. It is static by DEFAULT.

34.

An interface that is implemented while using threads.(a) java.lang.Run(b) java.lang.Runnable(c) java.lang.Thread(d) java.lang.ThreadsThis question was addressed to me in homework.Asked question is from Multithreading topic in section Operating Systems of Computer Fundamentals

Answer»

Correct ANSWER is (B) java.lang.Runnable

Easy EXPLANATION: java.lang.Runnable is correct. Any THREAD CLASS implements runnable.

35.

A method that must be overridden while extending threads.(a) run()(b) start()(c) stop()(d) paint()I have been asked this question during an interview for a job.My question comes from Multithreading topic in division Operating Systems of Computer Fundamentals

Answer»

Correct ANSWER is (a) RUN()

The explanation is: run()METHOD must be overridden (It is similar to MAIN method of sequential program).

36.

Java extension used in threads?(a) java.lang.Thread(b) java.language.Thread(c) java.lang.Threads(d) java.ThreadThis question was addressed to me in final exam.Asked question is from Multithreading topic in section Operating Systems of Computer Fundamentals

Answer» CORRECT CHOICE is (a) java.lang.Thread

The best I can explain: java.lang.Thread is the CLASS that is EXTENDED if any user wants to extend threads.
37.

Both client and server release _________ connection after a page has been transferred.(a) IP(b) TCP(c) Hyperlink(d) NetworkI have been asked this question in quiz.I'd like to ask this question from Multithreading in portion Operating Systems of Computer Fundamentals

Answer» RIGHT answer is (b) TCP

Best explanation: The answer is TCP. TCP stands for Transmission Control Protocol. Servers RECEIVE REQUESTS from clients.
38.

A single sequential flow of control within a program is ________(a) Process(b) Task(c) Thread(d) StructureThis question was posed to me in my homework.My question is based upon Multithreading in portion Operating Systems of Computer Fundamentals

Answer»

Right OPTION is (c) THREAD

To explain: A thread is a sequential flow of control within a PROGRAM. Single-threaded program can HANDLE one task at any time.

39.

Multiprocessing allows single processor to run several concurrent threads.(a) True(b) FalseI had been asked this question during an internship interview.My question is from Multithreading topic in portion Operating Systems of Computer Fundamentals

Answer»

Right choice is (a) True

Easy explanation: The statement is false. Multitasking ALLOWS SINGLE PROCESSOR to run SEVERAL CONCURRENT threads.

40.

Multithreading is also called as ____________(a) Concurrency(b) Simultaneity(c) Crosscurrent(d) RecurrentI had been asked this question in class test.I need to ask this question from Multithreading in chapter Operating Systems of Computer Fundamentals

Answer»

Right CHOICE is (a) Concurrency

The best I can EXPLAIN: Concurrency is OFTEN used in place of MULTITHREADING. Multitasking allows multiple threads to run at a time.

41.

The technique that increases the system’s productivity.(a) multiprogramming(b) multitasking(c) multiprocessing(d) single-programmingThe question was posed to me in an online interview.This is a very interesting question from Multiprogramming topic in portion Operating Systems of Computer Fundamentals

Answer» CORRECT option is (a) MULTIPROGRAMMING

To explain I would say: Multiprogramming increases the PRODUCTIVITY. By increasing the CPU utilization other DEVICES’s utilization is also increased.
42.

Multiprogramming is mainly accomplished by:(a) os(b) software(c) hardware(d) programI got this question in exam.I need to ask this question from Multiprogramming in division Operating Systems of Computer Fundamentals

Answer»

Right option is (a) os

Explanation: The OS is MAINLY RESPONSIBLE for MULTIPROGRAMMING. The hardware PROVIDES the specific circuitry that may be USED by the operating system.

43.

A technique that allows more than one program to be ready for execution and provides the ability to switch from one process to another.(a) multitasking(b) multiprocessing(c) multitasking(d) multiprogrammingThe question was posed to me in a national level competition.Origin of the question is Multiprogramming topic in division Operating Systems of Computer Fundamentals

Answer»

Right CHOICE is (d) multiprogramming

The best explanation: Multiprogramming is the concept implemented for EXECUTION and PROVIDES the ability to SWITCH from one task to the other.

44.

What does ‘b’ represent in a processor wait ratio?(a) input ratio(b) output ratio(c) average time(d) average I/O timeThis question was addressed to me in an online quiz.This intriguing question originated from Multiprogramming topic in chapter Operating Systems of Computer Fundamentals

Answer»

Correct CHOICE is (d) average I/O time

To explain I WOULD say: It represents the average I/O time. Average execution time with SINGLE PROGRAMMING is given by E.

45.

Processor wait ratio is given by ________(a) w=b/e+b(b) w=b/e-b(c) #=b/e-b(d) #=b/e+bThis question was addressed to me in a national level competition.I want to ask this question from Multiprogramming topic in portion Operating Systems of Computer Fundamentals

Answer»

Correct option is (B) W=b/e-b

The explanation: Processor wait RATIO is REPRESENTED by w. It is given by :

w=b/b+e.

46.

The wait fraction is represented by __________(a) w(b) #(c) Q(d) &This question was posed to me in unit test.Question is taken from Multiprogramming in division Operating Systems of Computer Fundamentals

Answer»

Right option is (a) w

To explain: Wait fraction of a PROCESSOR is represented by w. It is also KNOWN as the processor wait RATIO.

47.

This cycle, of going through __________ states of running and input/output, may be repeated over and over until the job is completed.(a) evaluation(b) process(c) program(d) dataThis question was posed to me in a national level competition.My question is based upon Multiprogramming in chapter Operating Systems of Computer Fundamentals

Answer»

Right answer is (B) process

For explanation I would say: The answer is process STATES. The CYCLE of going through process states can be repeated over and over again until the job is completed or the process gets aborted.

48.

What is responsible for creating a process from a program?(a) OS(b) Web(c) Internet(d) FirewallThis question was posed to me in an interview for internship.Question is taken from Multiprogramming in section Operating Systems of Computer Fundamentals

Answer» RIGHT choice is (a) OS

For explanation: OS is responsible for creating a process from a program. OS STANDS for operating system. A process is CREATED in order to be executed by using COMPUTER FACILITIES.
49.

A program is an active entity.(a) True(b) FalseI have been asked this question in exam.Enquiry is from Multiprogramming topic in division Operating Systems of Computer Fundamentals

Answer»

The CORRECT OPTION is (B) False

Best explanation: The statement is false. A program is not an ACTIVE entity. It is completely PASSIVE.

50.

A __________is a set of instructions which is prepared to perform a specific assignment if executed by a computer.(a) Browser(b) Internet(c) Program(d) CodeThis question was posed to me in quiz.The query is from Multiprogramming in portion Operating Systems of Computer Fundamentals

Answer»

Right CHOICE is (c) Program

For explanation: A set of MEANINGFUL INSTRUCTIONS is called a program. A program is basically DESIGNED to PERFORM any function assigned to it.