Explore topic-wise MCQs in Technical Programming.

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

1.

Windows displays various options to shutdown. Which is suitable at the end ofday?

A. shut down
B. restart
C. sleep
D. hibernate
Answer» B. restart
2.

When a peripheral device needs immediate attention from the operating system, it generatesa(n)

A. interrupt
B. spool
C. stack
D. page file
Answer» B. spool
3.

.... is the layer of a computer system between the hardware and the user program

A. operating environment
B. operating system
C. system environment
D. none of these
Answer» C. system environment
4.

Oncetext has been cut to the clipboard, you can .....that text into another document

A. paste
B. copy
C. transfer
D. none of the above
Answer» B. copy
5.

Which of the following is an essential file ofa MS-DOS boot disk?

A. command.com
B. start.com
C. tree.com
D. ver.com
Answer» B. start.com
6.

In Windows,start button is used to

A. run applications
B. device setting
C. turn off the system
D. all of above
Answer» E.
7.

Which command is used to undelete a bunch of files withextension .doc that you have just deleted?

A. undelete
B. undelete/all
C. undelete *.doc
D. all of above
Answer» D. all of above
8.

The ...operating system was initially created in the early 1970s at AT and T's Bell Labs

A. linux
B. dos
C. unix
D. gnu
Answer» D. gnu
9.

Which mode loadsminimal set of drivers when starting Windows?

A. safe mode
B. normal mode
C. vga mode
D. network support mode
Answer» B. normal mode
10.

Which one is notoperating system?

A. p11
B. os/2
C. windows
D. unix
Answer» B. os/2
11.

Linux isa(n) ... operating system

A. open source
B. microsoft
C. windows
D. mac
Answer» B. microsoft
12.

What program runs first aftercomputer is booted and loading GUI?

A. desktop manager
B. file manager
C. windows explorer
D. authentication
Answer» E.
13.

Which of the following windows versionsupport64 bit processor?

A. windows 98
B. windows 2000
C. windows xp
D. windows 95
Answer» D. windows 95
14.

If the displayed system time and dateis wrong, you can reset it using

A. write
B. calendar
C. write file
D. control panel
Answer» E.
15.

When a page fault occurs, the state of the interrupted process is

A. disrupted
B. invalid
C. saved
D. none of the mentioned
Answer» D. none of the mentioned
16.

Transient operating system code is code that

A. is not easily accessible
B. comes and goes as needed
C. stays in the memory always
D. never enters the memory space
Answer» C. stays in the memory always
17.

What is Waiting time?

A. the total time in the blocked and waiting queues
B. the total time spent in the ready queue
C. the total time spent in the running queue
D. the total time from the completion till the submission of a process
Answer» C. the total time spent in the running queue
18.

The segment of code in which the process may change common variables, update tables, write into files is known as

A. program
B. critical section
C. non – critical section
D. synchronizing
Answer» C. non – critical section
19.

Which of the following calls never returns an error?

A. getpid
B. fork
C. ioctl
D. open
Answer» B. fork
20.

The process of dividing a disk into sectors that the disk controller can read and write, before a disk can store data is known as

A. partitioning
B. swap space creation
C. low-level formatting
D. none of the mentioned
Answer» D. none of the mentioned
21.

Semaphore is a/an                to solve the critical section problem.

A. hardware for a system
B. special program for a system
C. integer variable
D. none of the mentioned
Answer» D. none of the mentioned
22.

The One to One model allows

A. increased concurrency
B. decreased concurrency
C. increased or decreased concurrency
D. concurrency equivalent to other models
Answer» B. decreased concurrency
23.

In the              algorithm, the disk arm starts at one end of the disk and moves toward the other end, servicing requests till the other end of the disk. At the other end, the direction is reversed and servicing continues.

A. look
B. scan
C. c-scan
D. c-look
Answer» C. c-scan
24.

Time taken in memory access through PTBR is

A. extended by a factor of 3
B. extended by a factor of 2
C. slowed by a factor of 3
D. slowed by a factor of 2
Answer» E.
25.

The switching of the CPU from one process or thread to another is called

A. process switch
B. task switch
C. context switch
D. all of the mentioned
Answer» E.
26.

Processor which is complex and expensive to produce

A. risc
B. epic
C. cisc
D. multi-core
Answer» D. multi-core
27.

Which of the following condition(s) is/are required for a deadlock to be possible?

A. mutual exclusion
B. a process may hold allocated resources while awaiting
C. no resource can be forcibly removed from a process
D. All of the mentioned
Answer» E.
28.

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» E.
29.

The                    determines the cause of the interrupt, performs the necessary processing and executes a return from the interrupt instruction to return the CPU to the execution state prior to the interrupt.

A. interrupt request line
B. device driver
C. interrupt handler
D. all of the mentioned
Answer» D. all of the mentioned
30.

In polling

A. busy – wait cycles wait for i/o from device
B. interrupt handler receives interrupts
C. interrupt-request line is triggered by i/o device
D. all of the mentioned
Answer» B. interrupt handler receives interrupts
31.

Whenever a process needs I/O to or from a disk it issues a

A. system call to the cpu
B. system call to the operating system
C. a special procedure
D. all of the mentioned
Answer» C. a special procedure
32.

From the following, which is not a common file permission?

A. Write
B. Execute
C. Stop
D. Read
Answer» D. Read
33.

A                  is a full duplex connection between a device driver and a user level process.

A. bus
B. i/o operation
C. stream
D. flow
Answer» D. flow
34.

The data structure for a sector typically contains

A. header
B. data area
C. trailer
D. all of the mentioned
Answer» E.
35.

An I/O bound program will typically have

A. a few very short cpu bursts
B. many very short i/o bursts
C. many very short cpu bursts
D. a few very short i/o bursts
Answer» D. a few very short i/o bursts
36.

To                to a safe state, the system needs to keep more information about the states of processes.

A. abort the process
B. roll back the process
C. queue the process
D. none of the mentioned
Answer» C. queue the process
37.

A collection of instructions that performs a single logical function is called

A. only one process can be active at a time within the monitor
B. n number of processes can be active at a time within the monitor (n being greater than 1)
C. the queue has only one process in it at a time
D. all of the mentioned
Answer» B. n number of processes can be active at a time within the monitor (n being greater than 1)
38.

When a process blocks the receipt of certain signals?

A. the signals are delivered
B. the signals are not delivered
C. the signals are received until they are unblocked
D. the signals are received by the process once they are delivered
Answer» B. the signals are not delivered
39.

Which of the following system calls does not return control to the calling point, on termination?

A. fork
B. exec
C. ioctl
D. longjmp
Answer» C. ioctl
40.

The              register is written by the host to send output.

A. status
B. control
C. data in
D. data out
Answer» E.
41.

In the following cases non – preemptive scheduling occurs?

A. when a process switches from the running state to the ready state
B. when a process goes from the running state to the waiting state
C. when a process switches from the waiting state to the ready state
D. all of the mentioned
Answer» C. when a process switches from the waiting state to the ready state
42.

The minimum number of page frames that must be allocated to a running process in a virtual memory environment is determined by

A. the instruction set architecture
B. page size
C. physical memory size
D. number of processes in memory
Answer» B. page size
43.

Each entry in a translation lookaside buffer (TLB) consists of

A. key
B. value
C. bit value
D. constant
Answer» B. value
44.

What is Dynamic loading?

A. loading multiple routines dynamically
B. loading a routine only when it is called
C. loading multiple routines randomly
D. none of the mentioned
Answer» C. loading multiple routines randomly
45.

The wait operation of the semaphore basically works on the basic                system call.

A. stop()
B. block()
C. hold()
D. wait()
Answer» C. hold()
46.

If no cycle exists in the resource allocation graph

A. then the system will not be in a safe state
B. then the system will be in a safe state
C. all of the mentioned
D. none of the mentioned
Answer» C. all of the mentioned
47.

The                calls certain procedures on remote systems and is used to perform synchronous or asynchronous interactions between systems.

A. procedure
B. rpc
C. message oriented
D. db
Answer» C. message oriented
48.

A plug and play storage device that simply plugs in the port of a computer is

A. flash drive
B. compact disk
C. hard disk
D. cd
Answer» B. compact disk
49.

A disk that has a boot partition is called a

A. start disk
B. end disk
C. boot disk
D. all of the mentioned
Answer» D. all of the mentioned
50.

What is Inter process communication?

A. allows processes to communicate and synchronize their actions when using the same address space
B. allows processes to communicate and synchronize their actions without using the same address space
C. allows the processes to only synchronize their actions without communication
D. none of the mentioned
Answer» C. allows the processes to only synchronize their actions without communication