0% found this document useful (0 votes)
29 views

Operating Systems Cse111

The document discusses operating systems and computer programs. It covers topics like processes, multiprocessing, multithreading, memory management, virtual memory, file organization, and file access controls. There are multiple choice questions throughout testing understanding of these concepts.

Uploaded by

nandigamtarun02
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

Operating Systems Cse111

The document discusses operating systems and computer programs. It covers topics like processes, multiprocessing, multithreading, memory management, virtual memory, file organization, and file access controls. There are multiple choice questions throughout testing understanding of these concepts.

Uploaded by

nandigamtarun02
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Operating systems

join :- https://web.telegram.org/k/#@programmingsolutionscodetantra

1. 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) Code

2. A program is an active entity.


a) True
b) False

3. What is responsible for creating a process from a program?


a) OS
b) Web
c) Internet
d) Firewall

4. 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) data

5. The wait fraction is represented by __________


a) w
b) #
c) Q
d) &

6. Processor wait ratio is given by ________


a) w=b/e+b
b) w=b/e-b
c) #=b/e-b
d) #=b/e+b

7. What does ‘b’ represent in a processor wait ratio?


a) input ratio
b) output ratio
c) average time
d) average I/O time

8. 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) multiprogramming

9. Multiprogramming is mainly accomplished by:


a) os
b) software
c) hardware
d) program

10. The technique that increases the system’s productivity.


a) multiprogramming
b) multitasking
c) multiprocessing
d) single-programming

1. Multithreading is also called as ____________


a) Concurrency
b) Simultaneity
c) Crosscurrent
d) Recurrent

2. Multiprocessing allows single processor to run several concurrent threads.


a) True
b) False

3. A single sequential flow of control within a program is ________


a) Process
b) Task
c) Thread
d) Structure

4. Both client and server release _________ connection after a page has been
transferred.
a) IP
b) TCP
c) Hyperlink
d) Network

5. Java extension used in threads?


a) java.lang.Thread
b) java.language.Thread
c) java.lang.Threads
d) java.Thread

6. A method that must be overridden while extending threads.


a) run()
b) start()
c) stop()
d) paint()

7. An interface that is implemented while using threads.


a) java.lang.Run
b) java.lang.Runnable
c) java.lang.Thread
d) java.lang.Threads

8. 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 invoked

9. A method used to temporarily release time for other threads.


a) yield()
b) set()
c) release()
d) start()

10. A method used to force one thread to wait for another thread to finish.
a) join()
b) connect()
c) combine()
d) concat()

1. 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 usage

2. An HTML file is a text file containing small markup tags.


a) True
b) False

3. 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) Simple

4. Memory organization in which users write programs in modules with different


characteristics.
a) Physical
b) Logical
c) Structural
d) Simple

5. 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) Simple

6. FTP stands for?


a) File Text Protocol
b) File Transfer Protocol
c) Firm Transfer Protocol
d) File Transplant Protocol

7. A set of overlapping divisions in the main memory are called _______


a) Partitions
b) Divisions
c) Blocks
d) Modules
8. Any program, no matter how small, occupies an entire partition. This is called
____________
a) fragmentation
b) prior fragmentation
c) internal fragmentation
d) external fragmentation

9. __________ 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) Division

10. _______ searches for smallest block. The fragment left behind is small as possible.
a) best fit
b) first fit
c) next fit
d) last fit

1. Separation of user logical memory and physical memory is ___________


a) Memory control
b) Memory management
c) Memory sharing
d) Virtual memory

2. Logical Address space can be larger than physical address space.


a) True
b) False

3. Virtual Memory can be implemented via __________


a) Demand Paging
b) Logical paging
c) Structural way
d) Simple division

4. COW stands for?


a) Control over write
b) Convert over write
c) Count over write
d) Copy over write
5. LRU stands for?
a) Least Recently used
b) Less Recently used
c) Least Recurrently used
d) Least Randomly used

6. An allocation that uses a proportional allocation scheme using priorities rather


than size.
a) Priority allocation
b) File allocation
c) Preference allocation
d) Simple allocation

7. A process selects a replacement frame from the set of all frames.


a) Local replacement
b) Global replacement
c) Block replacement
d) Module replacement

8. Any program, no matter how small, occupies an entire partition. This is called
_____________
a) fragmentation
b) prior fragmentation
c) internal fragmentation
d) external fragmentation

9. A process is busy swapping pages in and out.


a) Thrashing
b) Compaction
c) External Fragmentation
d) Division

1. A basic element of data in a file.


a) Memory
b) Record
c) Field
d) Value

2. Records are treated as a unit.


a) True
b) False
3. __________________ refers to the logical structuring of records.
a) Physical organisation
b) Logical organisation
c) Structural organisation
d) File organisation

4. 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 storage

5. ___________ itself is a file owned by the operating system


a) Logical file
b) Record
c) Database
d) Directory

6. Which of the following isn’t a part of the file directory?


a) Attributes
b) Protocol
c) Location
d) Ownership

7. Allocated size of a file comes under?


a) basic information
b) address information
c) access control information
d) usage information

8. Which of the following is not a part of the usage information?


a) data created
b) identity of creator
c) owner
d) last date modified

9. 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) Division
10. The user can load and execute a program but cannot copy it. This process is?
a) Execution
b) Appending
c) Reading
d) Updating

You might also like