CS609 – System Programming: Midterm Important MCQs (261 Solved Questions)
Computer Science • Read every solved MCQ with its verified answer key directly on this page. Free, no login required.
All 664 Midterm Packs · CS609 Course Page · CS609 Subjective Pack (40 Q&As)
-
In keyboard status byte bit no. 2 and 3 are used for ctrl and alt keys respectively. which of the following condition is used to check that Ctrl + Alt keys are pressed. Where: unsigned char far * scr = (unsigned char far *)(0x00400017);
Topic: Core Midterm Concepts
- if (((*scr)&8)==8)
- if (((*scr)&2)==2)
- if (((*scr)&12)==12) ✓ Correct answer
- if (((*scr)&4)==4)
-
If printer is _____ then printer sends back the ACK signal to the printer interface
Topic: Core Midterm Concepts
- None of the given
- Out of paper
- idle ✓ Correct answer
- busy
-
Hardware Interrupts are __________.
Topic: Core Midterm Concepts
- Non-Preemptive ✓ Correct answer
- Preemptive
- None of Given
- Both Preemptive and Non-Preemptive
-
In case of synchronous communication a timing signal is required to identify the start and end of a bit.
Topic: Core Midterm Concepts
- False
- True ✓ Correct answer
-
DSR stands for __________ .
Topic: Core Midterm Concepts
- Data set ready ✓ Correct answer
- None of the given
- Data service ready
- Data stock ready
-
_________ is used to identify the cause of interrupt.
Topic: Core Midterm Concepts
- AC Register
- Interrupt ID Register ✓ Correct answer
- PC Register
- None of All These
-
The PPI acts as an interface between the CPU and a parallel ________ .
Topic: Core Midterm Concepts
- BUS
- None of Given
- I/O device ✓ Correct answer
- CPU
-
Interrupt _____ is empty; we can use its vector as a flag.
Topic: Core Midterm Concepts
- 15H
- 13H
- 9H
- 65H ✓ Correct answer
-
Interrupt ______ is used to get or set the time.
Topic: Core Midterm Concepts
- 3AH
- 0AH
- 1AH ✓ Correct answer
- 2AH
-
BIOS support _____________UARTS as COM ports.
Topic: Core Midterm Concepts
- 6
- 2
- 4 ✓ Correct answer
- 3
-
NMI Stand for
Topic: Core Midterm Concepts
- Non Multitude Interrupt
- None of Given
- Non Maskable Interrupt ✓ Correct answer
- Non Maskable Instruction
-
In ____________each byte is needed to be encapsulated in start and end.
Topic: Core Midterm Concepts
- None of given
- Asynchronous communication ✓ Correct answer
- Synchronous communication
- Both
-
Parameters in interrupts are passed through _________ .
Topic: Core Midterm Concepts
- Registers ✓ Correct answer
- None of the given options
- Stack
- Array
-
If we want to produce the grave voice from speaker phone then we have to load the ____ divisor values at Port ___.
Topic: Core Midterm Concepts
- High 0x42 ✓ Correct answer
- Low 0x42
- High 0x22
- Low 0x22
-
DTE is ____________.
Topic: Core Midterm Concepts
- Data terminal equipment ✓ Correct answer
- Dual terminal equipment
- None of the given.
- Data transmitting equipment
-
The interval timer can operate in _______ modes.
Topic: Core Midterm Concepts
- Five
- Six ✓ Correct answer
- Seven
- Four
-
The bit number _______ of the coprocessor control word is the interrupt enable flag.
Topic: Core Midterm Concepts
- 8
- 7 ✓ Correct answer
- 9
- 6
-
In self test mode the output of the UART is routed to its input.
Topic: Core Midterm Concepts
- True ✓ Correct answer
- False
-
The service number is usually placed in the ________ register.
Topic: Core Midterm Concepts
- AX
- AH ✓ Correct answer
- CL
- AL
-
The keyboard makes use of interrupt number _______ for its input operations.
Topic: Core Midterm Concepts
- 12
- 10
- 11
- 9 ✓ Correct answer
-
The following command “outportb (0x61,inportb(0x61) | 3);” will ________ .
Topic: Core Midterm Concepts
- Turn off the speaker
- None of the above
- Toggle the speaker
- Turn on the speaker ✓ Correct answer
-
DMA is an abbreviation for _____________.
Topic: Core Midterm Concepts
- Distributed Memory Access
- Direct Memory Access ✓ Correct answer
- Data Managed Access
- Dual Memory Access
-
______ is Disk interrupt.
Topic: Core Midterm Concepts
- 10H
- 14H
- 13H ✓ Correct answer
- 11H
-
There are __________ kinds of serial communication.
Topic: Core Midterm Concepts
- 4
- 3
- 5
- 2 ✓ Correct answer
-
________ store the base address for LPT1.
Topic: Core Midterm Concepts
- 40:1AH 8
- 40:08H ✓ Correct answer
- 40:02H
- 40:00H
-
The amount of memory above conventional memory (extended memory) can be determined using the service _______.
Topic: Core Midterm Concepts
- 16H/88H
- 21H/88H
- 15H/88H ✓ Correct answer
- 17H/88H
-
The output on the monitor is controlled by a controller called __________within the PC.
Topic: Core Midterm Concepts
- Ram controller
- Video controller ✓ Correct answer
- None of the given
- Bus controller
-
The keyboard input character scan code is received at ___ port.
Topic: Core Midterm Concepts
- 62H
- 60H ✓ Correct answer
- 61H
- 63H
-
To store each character in keyboard buffer ____ bytes are required.
Topic: Core Midterm Concepts
- 4
- 6
- 8
- 2 ✓ Correct answer
-
Lower two bytes of any Far address contains______address
Topic: Core Midterm Concepts
- NULL
- both segment and offset
- segment
- offset ✓ Correct answer
-
The BIOS interrupt ________ can be used to configure RTC.
Topic: Core Midterm Concepts
- 4AH
- 2AH
- 1AH ✓ Correct answer
- 3AH
-
BPB stands for _________.
Topic: Core Midterm Concepts
- BIOS parameter block ✓ Correct answer
- BIOS partition block
- Base processing block
- BIOS processing block
-
______ is used to set time.
Topic: Core Midterm Concepts
- 1A/05H
- 1A/04H
- 1A/03H ✓ Correct answer
- 1A/02H
-
Communication between keyboard and keyboard controller is :
Topic: Core Midterm Concepts
- Asynchronous serial
- Parallel communication
- Synchronous serial ✓ Correct answer
- Multiple serial
-
By cascading two DMAs ____ bits can be transferred.
Topic: Core Midterm Concepts
- 32
- 16 ✓ Correct answer
- 8
- 4
-
______ interrupt is used to read time from Real Time Clock.
Topic: Core Midterm Concepts
- 1A/04H
- 1A/03H
- 1A/05H
- 1A/02H ✓ Correct answer
-
We have set the bit No. 7 of IMR(Interrupt Mask Register) to unmask the Interrupt so that interrupt _____ can occur at ____ line.
Topic: Core Midterm Concepts
- 0x6, IRQ 2
- 0xf ,IRQ 7 ✓ Correct answer
- 0xa, IRQ 6
- 0x8, IRQ 5
-
The ______ register of Real Time Clock is used to enable interrupt on various events like alarm time and time-up duration.
Topic: Core Midterm Concepts
- Status Register A
- Status Register C
- Status Register B ✓ Correct answer
- Status Register D
-
The service _______ is called the keyboard hook service
Topic: Core Midterm Concepts
- 15H/4FFH
- 15H/4FH ✓ Correct answer
- 16H/4AH
- 15H/4EH
-
DCE is
Topic: Core Midterm Concepts
- Data Communication Equipment ✓ Correct answer
- Dual Communication Equipment
- Data Clearing Equipment
- Data Control Equipment
-
Display device (Monitor) performs
Topic: Core Midterm Concepts
- Isolated I/O
- Memory mapped I/O ✓ Correct answer
- Event-driven I/O
- Both Memory mapped and Isolated I/O
-
At IRQ 7 Interrupt # ___ is used.
Topic: Core Midterm Concepts
- 0x0C
- 0x0B
- 0x0A
- 0x0F ✓ Correct answer
-
If we are at address F000:0000H, then we are supposed to invoke interrupt (s) for .
Topic: Core Midterm Concepts
- LPT1
- BIOS ✓ Correct answer
- COM4
- LPT3
-
In order to produce the sound from PC internal Speaker we have to load the___bit divisor value at the ___port.
Topic: Core Midterm Concepts
- 16, 0x42 ✓ Correct answer
- 64, 0x32
- 32, 0x22
- 8, 0x21
-
A code 0xFA on the port 60H (Keyboard Interface) indicates that the byte has been received .
Topic: Core Midterm Concepts
- With acknowledgement
- Properly ✓ Correct answer
- Duplicate values
- With Errors
-
The address of partition block on hard disk is ___________________________.
Topic: Core Midterm Concepts
- head # =0, track# = 0 and sector # = 1
- head # =1, track# = 0 and sector # = 1 ✓ Correct answer
- head # =0, track# = 0 and sector # = 0
- head # =1, track# = 1 and sector # = 1
-
An I/O device cannot be directly connected to the buses so they generally require a __________ to be placed between the CPU and I/O device.
Topic: Core Midterm Concepts
- Data Bus
- I/O Bus
- Pipeline
- Controller ✓ Correct answer
-
In the context of keyboard interface mean Typematic rate will be sent in next byte.
Topic: Core Midterm Concepts
- 0xE5
- 0xFF
- 0xF3 ✓ Correct answer
- 0xED
-
The registers Flags, __________ are pushed on execution of INT instruction and executions branches to the interrupt procedure
Topic: Core Midterm Concepts
- DS and SP
- CS and SP
- IP and DS
- CS and IP ✓ Correct answer
-
In interrupt interception with software interrupts, the original interrupt can be invoked ______
Topic: Core Midterm Concepts
- At the end of ISR
- In the middle of ISR
- Anywhere in ISR ✓ Correct answer
- At the start of ISR
-
To change the behavior of an interrupt, we have to use function;
Topic: Core Midterm Concepts
- Changevect()
- Setvect() ✓ Correct answer
- Getvect()
- Keep()
-
NMI (Non maskable Interrupt) is used by ______ .
Topic: Core Midterm Concepts
- COM ports
- ALU circuitry which performs division ✓ Correct answer
- LPT ports
- Keyboard and timer
-
Frequency of clock signal measures the speed of the______________
Topic: Core Midterm Concepts
- Address Bus
- RAM
- BIOS
- CPU ✓ Correct answer
-
Select correct Top down approach sequence of layered approach followed for system programming.
Topic: Core Midterm Concepts
- DOS -> Bios -> Hardware ✓ Correct answer
- Systems programming is the study of techniques that facilitates the acquisition of ______ from input devices.
- Bios -> DOS -> Hardware
- Hardware -> Bios -> DOS
-
Standard PC operates in two modes in terms of memory which are
Topic: Core Midterm Concepts
- Base mode and Memory Mode
- None of the given
- Real mode and protected mode ✓ Correct answer
- Real mode and Extended Mode
-
There are two main types of interrupts namely _________________.
Topic: Core Midterm Concepts
- PC based and Window based
- None of the given
- Hardware interrupts and Software interrupts ✓ Correct answer
- Hardware based and Kernal based
-
A single interrupt controller can arbitrate among ____ different devices.
Topic: Core Midterm Concepts
- 8 ✓ Correct answer
- 4
- 6
- 10
-
__________is used to control the printer via the BIOS
Topic: Core Midterm Concepts
- Int 17H ✓ Correct answer
- Int 16H
- Int 19H
- Int 18H
-
_____ bit is cleared to indicate the low nibble is being sent.
Topic: Core Midterm Concepts
- D1
- D3
- D2
- D4 ✓ Correct answer
-
PPI stands for
Topic: Core Midterm Concepts
- None of the given
- Port Programmable interface
- Parallel Programmable interface
- Programmable Peripheral Interface ✓ Correct answer
-
_______ is LED control byte.
Topic: Core Midterm Concepts
- 0xFF
- 0xEE
- 0xED ✓ Correct answer
- 0xFD
-
The Function of I/O controller is to provide ____________.
Topic: Core Midterm Concepts
- All of given ✓ Correct answer
- Buffering
- I/O control signals
- Error Correction and Detection
-
To set the interrupt vector means is to change the double word sized interrupt vector within the IVT.
Topic: Core Midterm Concepts
- False
- True ✓ Correct answer
-
The bit ______ of Line control register in UART, if cleared will indicate that DLL is the data register.
Topic: Core Midterm Concepts
- 3
- 1
- 5
- 7 ✓ Correct answer
-
_________ used to determine the amount of conventional memory interfaced with the processor in kilobytes.
Topic: Core Midterm Concepts
- INT 10 H
- INT 12 H ✓ Correct answer
- INT 11 H
- INT 13 H 16
-
The ________function initialize the COM port whose number is passed as parameter using BIOS services.
Topic: Core Midterm Concepts
- Recievechar()
- Initializecom()
- Initialize() ✓ Correct answer
- None of these option
-
____whenever received indicates the start of communication and ______ whenever received indicates a temporary pause in the communication.
Topic: Core Midterm Concepts
- XOFF & XON
- XON & XOFF ✓ Correct answer
- XON & YOFF
- YON & XOFF
-
________ is a device incorporated into the PC to update time even if the computer is off.
Topic: Core Midterm Concepts
- ROM
- Clock
- Real time clock ✓ Correct answer
- Clock counter
-
If the processor is 386 then the bit of the EFLAGS register will not be set.
Topic: Core Midterm Concepts
- 18th ✓ Correct answer
- 12th
- 20th
- 24th
-
The printer interface uses the
Topic: Core Midterm Concepts
- IRQ 7 ✓ Correct answer
- IRQ 2
- IRQ 1
- IRQ 6
-
Timer interrupt is a _________.
Topic: Core Midterm Concepts
- None of These
- Hardware Interrupt ✓ Correct answer
- Software Interrupt
- Both of these
-
Register can be used to divide frequency is _________
Topic: Core Midterm Concepts
- Counter Register ✓ Correct answer
- Accumulator Register
- Control Register
- None of these
-
LPTs can be swapped.
Topic: Core Midterm Concepts
- True ✓ Correct answer
- False
-
PPI is used to perform parallel communication
Topic: Core Midterm Concepts
- True ✓ Correct answer
- False
-
Counter register can be used to divide clock signal.
Topic: Core Midterm Concepts
- True ✓ Correct answer
- False 7
-
IVT is a table containing ______ byte entries each of which is a far address of an interrupt service routine.
Topic: Core Midterm Concepts
- 8
- 16 10
- 4 ✓ Correct answer
- 2
-
Each paragraph in keep function is ____ bytes in size.
Topic: Core Midterm Concepts
- 32
- 8
- 4
- 16 ✓ Correct answer
-
Interrupt 9 usually reads the _________ from keyboard.
Topic: Core Midterm Concepts
- Both ASCII and Scan code
- Scan code ✓ Correct answer
- ASCII code
- None of the above
-
The________ function uses the COM port number to receive a byte from the COM port using BIOS services.
Topic: Core Midterm Concepts
- receivechar() ✓ Correct answer
- recievebyte()
- initialize ()
- receive()
-
There are two type of communication synchronous and Anti Synchronous
Topic: Core Midterm Concepts
- False ✓ Correct answer
- True
-
In interrupt 17H, if DX register contains zero, then I/O will be performed on ______.
Topic: Core Midterm Concepts
- LPT4
- LPT3
- LPT1 ✓ Correct answer
- LPT0
-
Bit number_________________________of port 64H status register used for input buffer full
Topic: Core Midterm Concepts
- 0
- 2
- 3
- 1 ✓ Correct answer
-
Every ISR (Interrupt Service Routine) should check service number in perform the function accordingly
Topic: Core Midterm Concepts
- CH
- CL
- AL
- AH ✓ Correct answer
-
Logical view of organized data is called
Topic: Core Midterm Concepts
- Structure
- File ✓ Correct answer
- Code
- Information
-
Graphic adapter is a(n) ________________.
Topic: Core Midterm Concepts
- Memory
- Processor
- Software
- I/O controller ✓ Correct answer
-
Timer interrupt approximately occurs __________ times every second.
Topic: Core Midterm Concepts
- 18.0
- 12.8
- 10.8
- 18.2 ✓ Correct answer
-
Which port is known as Data Port______
Topic: Core Midterm Concepts
- 61H
- 69H 4
- 60H ✓ Correct answer
- 64H
-
Standard PC can have _____ PPI.
Topic: Core Midterm Concepts
- 4 ✓ Correct answer
- 16
- 1
- 8
-
The baud rate is set in accordance with the divisor value loaded within the UART internal registers base +0 and base +1.
Topic: Core Midterm Concepts
- TRUE ✓ Correct answer
- FALSE
-
The BIOS interrupt 0x1AH can be used to configure real time clock
Topic: Core Midterm Concepts
- True ✓ Correct answer
- False
-
IRQ1 is used by the ____________________interface.
Topic: Core Midterm Concepts
- Mouse
- Keyboard ✓ Correct answer
- Scanner
- Camera
-
All Interval Timer channels are bits wide.
Topic: Core Midterm Concepts
- 16 ✓ Correct answer
- 8
- 32
- 4
-
If bit rate in asynchronous serial communication is 9600, then bits are sampled after every seconds.
Topic: Core Midterm Concepts
- 1/96
- 1/9600 ✓ Correct answer
- 9600
- 96
-
In Real Time Clock, the status is used to specify the date time formats.
Topic: Core Midterm Concepts
- Register E
- Register D
- Register B ✓ Correct answer
- Register C
-
BIOS data area starts from __________.
Topic: Core Midterm Concepts
- 40:FFH
- 40:1EH
- 40:00H ✓ Correct answer
- 40:3DH
-
Interrupt 65H is used ____________.
Topic: Core Midterm Concepts
- both by DOS and BIOS
- neither by DOS nor by BIOS ✓ Correct answer
- by BIOS
- by DOS
-
Operating system information is in a special block on disk which is called _.
Topic: Core Midterm Concepts
- OS Block
- Boot Block ✓ Correct answer
- Secondary Block
- Interrupt Block
-
DB25 connector is used to connect _.
Topic: Core Midterm Concepts
- Mobile
- PPI ✓ Correct answer
- CPU
- Address Bus
-
Interrupt number 8 is invoked by ____________.
Topic: Core Midterm Concepts
- DOS
- None of the given
- Hardware ✓ Correct answer
- BIOS
-
In Self-Test mode of UART, the output of UART is______its input
Topic: Core Midterm Concepts
- Different form
- Disconnected from
- Interchanged
- Routed back to ✓ Correct answer
-
UART is abbreviation for _.
Topic: Core Midterm Concepts
- Uniform Asynchronous Receiver Transmitter
- Universal Asynchronous Receiver Transmitter ✓ Correct answer
- Unity Asynchronous Receiver Transmitter
- Used Asynchronous Receiver Transmitter
-
Bit number ___ of port 64H Keyboard Status Register indicate status of Time-Out error during output
Topic: Core Midterm Concepts
- 6 ✓ Correct answer
- 4
-
What is output of the following program; #include<DOS.H. Union REGS regs; Void main(void) { Regs.h.al=0x99
Topic: Core Midterm Concepts
- 0099
- 9900
- 00
- 99 ✓ Correct answer
-
A software interrupt does not require
Topic: Core Midterm Concepts
- Memory
- An Entry in IVT
- EOI(End of Interrupt) ✓ Correct answer
- Interrupt number
-
Bit no. _of EFLAG is used for alignment check.
Topic: Core Midterm Concepts
- 14
- 18 ✓ Correct answer
- 12
- 15
-
The bit of line control register in UART, if set, indicates that the DLL and DLM will act as the device driver register.
Topic: Core Midterm Concepts
- 7 ✓ Correct answer
- 1
- 3
- 5
-
Keyboard buffer is ___ bytes in size
Topic: Core Midterm Concepts
- 32 ✓ Correct answer
- 8
-
How many Interrupts can be addressed via Interrupt Vector Table?
Topic: Core Midterm Concepts
- 4
- 512
- 1024
- 256 ✓ Correct answer
-
when getting system information through interrupt 11H, it places the returned information in register
Topic: Core Midterm Concepts
- CX
- BX
- DX
- AX ✓ Correct answer
-
The BIOS data area in memory starts at the address of
Topic: Core Midterm Concepts
- 0030:0000
- 0050:0000
- 0040:0000 ✓ Correct answer
- 0020:0000
-
The Segment Address of IVT is fixed at _____.
Topic: Core Midterm Concepts
- 000FH
- 0001H
- 000AH
- 0000H ✓ Correct answer
-
Timer interrupt is invoked by means of ____________.
Topic: Core Midterm Concepts
- Operating System Call
- Hardware and Software
- Software
- Hardware ✓ Correct answer
-
Keyboard buffer works like a data structure.
Topic: Core Midterm Concepts
- Queue
- Stack
- Linked List
- Circular Queue ✓ Correct answer
-
The capacity of keyboard buffer is :
Topic: Core Midterm Concepts
- 16 characters ✓ Correct answer
- 8 characters
- 32 character
- 32 characters
-
Systems programming is the study of techniques that facilitates the acquisition of ______ from input devices.
Topic: Core Midterm Concepts
- Information
- Data ✓ Correct answer
-
The register which is not available in the UART device is ____________________
Topic: Core Midterm Concepts
- Interrupt Focus Register ✓ Correct answer
- Receiver Buffer Register
- Line Status Register
- Interrupt ID Register
-
There are differences in mechanism of invocation of interrupt and event driven procedures.
Topic: Core Midterm Concepts
- Yes
- No ✓ Correct answer
-
Total No. of bytes that can be stored in Keyboard Buffer is____.
Topic: Core Midterm Concepts
- 16
- 64
- 128
- 32 ✓ Correct answer
-
In counter register bit no. 3 changes its value between 0 and 1 with in ____clock cycles
Topic: Core Midterm Concepts
- 16 ✓ Correct answer
- 2
- 4
- 1
-
Getting interrupt vector refers to the operation which is used to read the _________ address stored with in vector.
Topic: Core Midterm Concepts
- High
- None of the given options
- Far ✓ Correct answer
- Near
-
The device which requires timing signal is called ___
Topic: Core Midterm Concepts
- Synchronous ✓ Correct answer
- Asynchronous
-
keep() function has ___ parameters while exit() function has ___ parameters
Topic: Core Midterm Concepts
- 2, 1 ✓ Correct answer
- 0, 2
-
While performing programmed I/O on the printer using BIOS service, we must check ______ of Status Byte to see if printer is busy or not.
Topic: Core Midterm Concepts
- Fourth Bit
- Tenth Bit
- Least Significant Bit
- Most Significant Bit ✓ Correct answer
-
A compiled TSR program has extension.
Topic: Core Midterm Concepts
- .XLS
- .C
- .Doc
- .COM ✓ Correct answer
-
In text mode, screen has limit to print ________ alphabets shown on screen simultaneously.
Topic: Core Midterm Concepts
- 2200
- 1800
- 2000 ✓ Correct answer
- 1500
-
To access disk interrupt ______ and its service _______ are used
Topic: Core Midterm Concepts
- 13H, 12H
- 09H , 3H
- 13H , 3H ✓ Correct answer
- 12H , 3H
-
Which of the following register is used, if you want to block access of any Hardware.
Topic: Core Midterm Concepts
- IMR ✓ Correct answer
- None of the given
- ISR
- IRR
-
RemoveDirectory() function takes ______parameter(s)
Topic: Core Midterm Concepts
- 1 ✓ Correct answer
- 3
- 2
- 4
-
In Unicode format, ______ number of characters can be encoded.
Topic: Core Midterm Concepts
- 65,536 ✓ Correct answer
- 256
- 128
- 1,024
-
The return type of create file() function is.
Topic: Core Midterm Concepts
- A handle to an open file or INVALID_HANDLE_VALUE ✓ Correct answer
- INVALID_HANDLE_VALUE
- Always handle to run open file object
- NULL
-
deleteFile() function takes _____ parameter.
Topic: Core Midterm Concepts
- 1 ✓ Correct answer
- 4
- 2
- 3
-
Set currentDirectory() function takes ______ parameter(s)
Topic: Core Midterm Concepts
- 1 ✓ Correct answer
- 2
- 4
- 3
-
Which of the following tasks is not performed by the operating system.
Topic: Core Midterm Concepts
- Hardware repairing ✓ Correct answer
- Memory Management
- Multitasking
- File Management
-
Windows operating system allows us to run a huge process in a small memory space due to
Topic: Core Midterm Concepts
- Efficient primary memory management
- Flexibility naming scheme for resources
- High processing speed of processor
- Virtual memory management ✓ Correct answer
-
To provide an interface between the user and computer, a system is required which is called_______
Topic: Core Midterm Concepts
- Both application and customized software
- Customized software
- Operating system ✓ Correct answer
- Application software
-
Windows operating system provides a naming scheme for the resources which allows maximum character only
Topic: Core Midterm Concepts
- 155
- 255 ✓ Correct answer
- 55
- 16
-
DOS was a _______ operating system.
Topic: Core Midterm Concepts
- Command line ✓ Correct answer
- Multitasking
- Real time
- GUI based
-
Which operating system was offered by Microsoft that was used prior to windows
Topic: Core Midterm Concepts
- Solaris
- Dos ✓ Correct answer
- UNIX
- LINUX
-
Which version of windows is used for mobile devices
Topic: Core Midterm Concepts
- Windows CE ✓ Correct answer
- Windows server
- Windows vista
- Windows ME
-
Using _____ commands can be issued to the system through icons, buttons, shortcuts, sound etc.
Topic: Core Midterm Concepts
- Command only
- Menu-driven interface only
- Result- driven interface 3
- Graphical user interface ✓ Correct answer
-
Which statement is incorrect about open source software?
Topic: Core Midterm Concepts
- It is publicly available
- Source code is freely available
- Paid license is required for it use ✓ Correct answer
- Changes can be made by the general public
-
Example of a closed source software is _______
Topic: Core Midterm Concepts
- Fedora
- Chrome browser
- Linux
- Windows OS ✓ Correct answer
-
DWORD data type represents ______
Topic: Core Midterm Concepts
- 32 bit unsigned integer ✓ Correct answer
- 16 bit signed integer
- 16 bit unsigned integer
- 32 bit signed integer
-
A software or application can access any windows object ______
Topic: Core Midterm Concepts
- Directly
- Not directly nor through API
- Directly and through API as well
- Through API only ✓ Correct answer
-
Windows datatype LPTSTR
Topic: Core Midterm Concepts
- Long pointer to TSTR ✓ Correct answer
- Long pointer to STR
- Last pointer to string
- Last pointer to TSTR
-
Each windows API has a _____ number of parameters.
Topic: Core Midterm Concepts
- Variable ✓ Correct answer
- Fixed
- Two
- Four
-
Which statement is true about a multi- threading process?
Topic: Core Midterm Concepts
- A thread has only one process
- A process has one or more threads ✓ Correct answer
- A thread can be created without process
- A process has only one thread
-
Windows operating system keeps _____ version of each API
Topic: Core Midterm Concepts
- Interpreted
- Complied
- One
- Two ✓ Correct answer
-
Which statement is true about open () function in C?
Topic: Core Midterm Concepts
- It opens the file only existing
- It opens the file only reading
- It opens the file only writing
- It opens the existing file and does not create it ✓ Correct answer
-
fopen() function in C returns ____ if the file is not successfully opened
Topic: Core Midterm Concepts
- Neither NULL nor Zero
- Point to a file
- Zero value
- NULL ✓ Correct answer
-
Open file objects using C library functions are identified by _____
Topic: Core Midterm Concepts
- Handle
- Both buffer and handle
- Buffer
- Pointer to a file structure ✓ Correct answer
-
The return type of malloc() function in C can be ______.
Topic: Core Midterm Concepts
- A array
- Pointer to allocate space or NULL ✓ Correct answer
- NULL only
- Linked list
-
UDF stands for
Topic: Core Midterm Concepts
- Universal disk file
- Universal driven file
- Universal driven format
- Universal disk format ✓ Correct answer
-
Which option is not related to the NT file system
Topic: Core Midterm Concepts
- Compression
- File size limitation ✓ Correct answer
- Encryption
- Fault tolerance
-
Which feature of NTFS related to data security?
Topic: Core Midterm Concepts
- Encryption ✓ Correct answer
- Compression
- Large file name mechanism
- File allocation table
-
Keeping in view the support for huge file size, which file system is more favorable?
Topic: Core Midterm Concepts
- FAT8
- NTFS ✓ Correct answer
- FAT16
- FAT32
-
NTFS stand for ______
Topic: Core Midterm Concepts
- New technology file system ✓ Correct answer
- New trend file system
- New trend for system
- New technology for system
-
Which special symbol can be used in windows filename?
Topic: Core Midterm Concepts
- Underscore ✓ Correct answer
- Backward slash
- Pipe
- Forward slash
-
The path name of a remote resource of server starts with ____ symbol.
Topic: Core Midterm Concepts
- Pipe
- Forward slash
- Double back slash ✓ Correct answer
- Black slash
-
In the windows file system, which symbol can be used as a path separator?
Topic: Core Midterm Concepts
- Pipe symbol
- Both forward and backward ✓ Correct answer
- Back slash only
- Forward slash only
-
The file extension usually contains _____ characters.
Topic: Core Midterm Concepts
- 5 to 8
- 2 to 4 ✓ Correct answer
- 1 to 3
- 1 to 2
-
The name of windows API used for opening and creating a new file is
Topic: Core Midterm Concepts
- CreateFile() ✓ Correct answer
- OpenFile()
- CreateopenFile()
- ReopenFile() 9
-
In FILE_SHARE_READ mode, the file is shared for ______
Topic: Core Midterm Concepts
- Concurrent read by multiple process ✓ Correct answer
- Concurrent read by single process
- Concurrent read and write by a single process
- Concurrent read and write by multiple process
-
In the createfile() function, if the same name file already exists when the attributes, create, Always is used to
Topic: Core Midterm Concepts
- Over write an existing file ✓ Correct answer
- Delete the existing file
- Delete the existing file and create a new file
- Create an existing file
-
In the createFile() function, which statement is true about open-existing attribute if the file does not exist.
Topic: Core Midterm Concepts
- It will fail to open the new file ✓ Correct answer
- It will create a new file
- It will open some other file insteated of specified file
- It will create an existing file
-
The windows API ______ used to read data from a file and store it in a buffer.
Topic: Core Midterm Concepts
- ReadFile() ✓ Correct answer
- Create File()
- Copy file()
- Write file()
-
If we want to read 1000 bytes from a file with ReadFile() function but there are actually only 400 bytes in a file then _______
Topic: Core Midterm Concepts
- Read operation will fail
- Exception will be thrown
- 1000 bytes will be read
- 400 bytes will be read ✓ Correct answer
-
The windows API _______ is used to write data from a buffer and store it in a file
Topic: Core Midterm Concepts
- Copy file
- Create file
- WriteFile() ✓ Correct answer
- Read file
-
It an invalid file handle is passed as a parameter to the closeFile() function, then it will return _____
Topic: Core Midterm Concepts
- 1
- Empty string
- False value ✓ Correct answer
- File handle
-
The latest version of windows supports _______ standard.
Topic: Core Midterm Concepts
- ASCII
- Unicode
- Both ASCII and Unicode ✓ Correct answer
- Scan codes
-
TCHAR is a/ an _______ type variable.
Topic: Core Midterm Concepts
- ASCII
- Unicode
- Both ASCII and Unicode
- Generic ✓ Correct answer
-
_stprintf() is a/ an ______ c library function.
Topic: Core Midterm Concepts
- Unicode
- ASCII
- Both ASCII and Unicode ✓ Correct answer
- Generic
-
_tcscmp() is _____ function to compare the string
Topic: Core Midterm Concepts
- Not a generic
- A Unicode
- A generic ✓ Correct answer
- An ASCII
-
Developing generic code needs extra effort but provides maximum ____
Topic: Core Midterm Concepts
- Chance of errors
- Flexibility ✓ Correct answer
- Productivity
- User-friendly look
-
What is the return value of GetlastError() function?
Topic: Core Midterm Concepts
- It takes input message from user and returns
- It returns error code for last error ✓ Correct answer
- It return a formatted message for last error
- It return error message for the last error
-
There are _____number of standard I/O devices in a windows system.
Topic: Core Midterm Concepts
- Four
- Two
- Three ✓ Correct answer
- Five
-
On execution, GetStdHandle(DWORD nStdHandle) will return a valid handle in case of __________.
Topic: Core Midterm Concepts
- None of the given options
- Failure
- Passing invalid parameters
- Success ✓ Correct answer
-
We use MoveFileEx() to ____ the existing file
Topic: Core Midterm Concepts
- Copy
- Delete
- Rename
- Over write ✓ Correct answer
-
Which of the following API is used for copying a file?
Topic: Core Midterm Concepts
- CopyFile(LPCTSTR lpExistingFileName,LPCTSTR lpNewFileName, bool bfailExists);
- Char CopyFile(LPCTSTR lpExistingFileName,LPCTSTR lpNewFileName, bool bfailExists);
- String CopyFile(LPCTSTR lpExistingFileName,LPCTSTR lpNewFileName, bool bfailExists);
- Bool CopyFile(LPCTSTR lpExistingFileName,LPCTSTR lpNewFileName, bool bfailExists); ✓ Correct answer
-
Return type of GetcurrentDirectory() function is ()
Topic: Core Midterm Concepts
- DWORD ✓ Correct answer
- String
- Bool
- Int
-
setFilepointer() function takes _____ parameter(s)
Topic: Core Midterm Concepts
- 3
- 2
- 5
- 4 ✓ Correct answer
-
PLONG is a _____
Topic: Core Midterm Concepts
- Variable
- String
- Pointer to a long variable ✓ Correct answer
- Pointer to a string
-
Return type of setFilePointerEx() is _____
Topic: Core Midterm Concepts
- Word
- DWORD
- String
- Bool ✓ Correct answer
-
There are ______ components of a LARGE integer
Topic: Core Midterm Concepts
- 2 ✓ Correct answer
- 5
- 3
- 4
-
In the overlapped structure the data type of Offset and OffsetHigh is ______.
Topic: Core Midterm Concepts
- DWORD ✓ Correct answer
- WORD
- BOOL
- INT 20
-
Return types of getfilesizeEx() is _____
Topic: Core Midterm Concepts
- Int
- DWORD
- Char
- Bool ✓ Correct answer
-
To reduce the filesize we use _____ windows API.
Topic: Core Midterm Concepts
- SetEndOfFile() ✓ Correct answer
- Changefilesize()
- setfileEx()
- Setfilesize()
-
File size can be obtained using the ______ windows API.
Topic: Core Midterm Concepts
- FileSize()
- FileSizeExGet()
- GetFileSizwEx()
- GetFileSize() ✓ Correct answer
-
The number of arguments required for Findclose()API is ____
Topic: Core Midterm Concepts
- 2
- 0
- 1 ✓ Correct answer
- 3
-
The field ftLastAccessTime in a WIN32-FIND-DATA structure is used to represent a time when a file was ______ time accessed
Topic: Core Midterm Concepts
- Closing
- Second ;last
- First 22
- Last ✓ Correct answer
-
GetFileAttribute() API need ____ argument(s) to return the attributes of a file or directory
Topic: Core Midterm Concepts
- 2
- 3
- 1 ✓ Correct answer
- 0
-
compareFileTime() API returns _____ if both the file time are equal
Topic: Core Midterm Concepts
- 2
- 1
- -1
- 0 ✓ Correct answer
-
SetFileTime() function takes a total of arguments.
Topic: Core Midterm Concepts
- 4 ✓ Correct answer
- 5
- 2
- 3
-
The fseek() C library function uses _____ bit file position
Topic: Core Midterm Concepts
- 64
- 16
- 32 ✓ Correct answer
- 8
-
In MicrosoftUNIX library, all I/O function are named with _____ prefix.
Topic: Core Midterm Concepts
- Semicolon
- Colon
- Dot
- Underscore ✓ Correct answer
-
The read operation does not conflict with the _____
Topic: Core Midterm Concepts
- Existing exclusive lock
- Existing shared lock ✓ Correct answer
- Write operation
- Remove operation
-
If process-A has a shared lock on a file, and process-B tries to read without a shared lock then the read attempt will _____
Topic: Core Midterm Concepts
- Return exception
- Fail
- Return a shared lock 25
- Succeed ✓ Correct answer
-
Information about _____ is not present in the registry file.
Topic: Core Midterm Concepts
- Processor
- Power supply ✓ Correct answer
- Chipset
- Memory
-
______information is present in the registry HKEY_CURRENT_CONFIG.
Topic: Core Midterm Concepts
- Display size
- Display resolution ✓ Correct answer
- Process make
- Memory amount
-
The registry HKEY_CURRENT_USER does not contain ____ information.
Topic: Core Midterm Concepts
- System fonts ✓ Correct answer
- Printers
- Environment variable
- Application preferences
-
The registry HKEY_LOCAL_MACHINE stores _____ information about the machine
Topic: Core Midterm Concepts
- Physical ✓ Correct answer
- Private 26
- Protected
- Logical
-
The RegOpenKeyEx() function opens a named____
Topic: Core Midterm Concepts
- Key
- Instance
- List
- Sub key ✓ Correct answer
-
The function RegCreateKeyEx() ha ____ parameters.
Topic: Core Midterm Concepts
- 6
- 8
- 7
- 9 ✓ Correct answer
-
RegSetvalueEx() function is used to set the data of a ____ value.
Topic: Core Midterm Concepts
- Static
- Named ✓ Correct answer
- Fixed
- Final
-
SEH is not supported through_______
Topic: Core Midterm Concepts
- Run time support
- Compiler supported language extensions
- Windows registry ✓ Correct answer
- Windows function
-
Programs can raise their own exception using the____ function
Topic: Core Midterm Concepts
- BuildException
- RaiseException ✓ Correct answer
- Createexception
- GenException
-
RaiseException has _____ parameters.
Topic: Core Midterm Concepts
- 4 ✓ Correct answer
- 2
- 3
- 5
-
____ function is used within the termination handle to check how the try block is terminated
Topic: Core Midterm Concepts
- Abnormal termination ✓ Correct answer
- Check termination
- Check termination()
- Check handle()
-
C ++ execution handling is implemented using____
Topic: Core Midterm Concepts
- SEH ✓ Correct answer
- ESH
- SCH
- ECH
-
A filter function ____ the type of n exception.
Topic: Core Midterm Concepts
- Evaluates
- Identifies ✓ Correct answer
- Exclude
- Restrick
-
The _____ exception are enabled with the help of controlfp() function
Topic: Core Midterm Concepts
- Integer
- String
- Floating point ✓ Correct answer
- Mutex
-
Int 14H __________ can be used to receive a byte.
Topic: Core Midterm Concepts
- Service # 0
- None of the given options
- Service # 2 ✓ Correct answer
- Service # 1
-
In RS-232C Standard (Serial Communication) data is received through line.
Topic: Core Midterm Concepts
- DTR
- TxD
- DSR
- RxD ✓ Correct answer
-
Parallel communication is not economically feasible for __________.
Topic: Core Midterm Concepts
- Small distances
- Large distances ✓ Correct answer
- Very large distances
- Medium distances
-
Sector no. is stored in register when interrupt 13H/3H is invoked.
Topic: Core Midterm Concepts
- CH
- DH
- DL
- CL ✓ Correct answer
-
The scan code from keyboard presses and releases are stored in ------- register
Topic: Core Midterm Concepts
- AL ✓ Correct answer
- AH
- CL
- CH
-
Interrupt Vector Table (IVT) in short is a _______ bytes sized table.
Topic: Core Midterm Concepts
- 1024 ✓ Correct answer
- 4096
- 2048
- 3072
-
Only ________ ports are important from programming point of view.
Topic: Core Midterm Concepts
- 72 and 73H
- 70 and 72H
- 70 and 71H ✓ Correct answer
- 71 and 72H
-
Command register is an _____ bit register
Topic: Core Midterm Concepts
- 4
- 32 11
- 16
- 8 ✓ Correct answer
-
BIOS DO NOT support ______.
Topic: Core Midterm Concepts
- LPT3
- LPT2
- LPT1
- LPT4 ✓ Correct answer
-
The tail value of the keyboard indicates the of the buffer.
Topic: Core Midterm Concepts
- Middle
- Start ✓ Correct answer
- Tail
- End
-
Starting address of Interrupt Vector Table (IVT) in main memory is .
Topic: Core Midterm Concepts
- 64
- 0 ✓ Correct answer
- 32
- 84
-
BIOS function 1Ah/06h is used to set .
Topic: Core Midterm Concepts
- Alarm ✓ Correct answer
- Date
- Time
- Data
-
Information about pending interrupts is held by .
Topic: Core Midterm Concepts
- Interrupt Required Register
- Interrupt Service Register
- Interrupt Request Register ✓ Correct answer
- Interrupt Service Register
-
In interval timer, the port used for channel 0 is .
Topic: Core Midterm Concepts
- 41H
- 42H
- 40H ✓ Correct answer
- 43H
-
The total size of Far Address is
Topic: Core Midterm Concepts
- 2 bytes
- 4 bytes ✓ Correct answer
- 16 bytes
- 8 bytes
-
__________notifies the end of interrupt (EOI) to the programmable interrupt controller?
Topic: Core Midterm Concepts
- Programmer ✓ Correct answer
- Operating system
- User
- Microprocessor
-
While invoking initialize()function to initialize COM ports, the port number must be placed in register.
Topic: Core Midterm Concepts
- DX ✓ Correct answer
- CX
- BX
- AX
-
The Keyboard HOOK Service is always called by interrupt_____after acquiring the scan code from keyboard port.
Topic: Core Midterm Concepts
- 9H ✓ Correct answer
- 21H
- 10H
- 8H
-
The input frequency used by the interval timer is the signal generated by the clock.
Topic: Core Midterm Concepts
- CPKL
- PCLK ✓ Correct answer
- ICP
- CL
-
The Keyboard Buffer is a memory area reserved in the
Topic: Core Midterm Concepts
- Kernel
- BOS Data Area
- BIOS Data Area ✓ Correct answer
- Register
-
Bit number of port 64H of keyboard status register is used for parity error checking.
Topic: Core Midterm Concepts
- 6
- 5
- 7 ✓ Correct answer
- 4
-
In the Context of COM ports, a______of the input and output bytes is maintained within the UART to facilitate more efficient
Topic: Core Midterm Concepts
- Array
- Linked List
- Queue ✓ Correct answer
- Stack
-
POST BIOS routine is executed when system _
Topic: Core Midterm Concepts
- Delete
- Boots up ✓ Correct answer
- Hibernate
- Sleep
-
The standard PC has---------- cascaded DMAs
Topic: Core Midterm Concepts
- 2 ✓ Correct answer
- 8
- 4
- 3
-
Maximum number of interrupts in a standard PC is
Topic: Core Midterm Concepts
- 64
- 512
- 256 ✓ Correct answer
- 128
-
Keyboard Status Byte is located at the address
Topic: Core Midterm Concepts
- 0040:0000H
- 0040:0013H
- 0040:0015H
- 0040:0017H ✓ Correct answer
-
If keyboard buffer is empty the head and tail points at the same location.
Topic: Core Midterm Concepts
- False
- True ✓ Correct answer
-
If CPUID instruction is not present then the processor can be a
Topic: Core Midterm Concepts
- 286 processor
- 486 processor ✓ Correct answer
- 386 processor
- All of the above
-
Keyboard uses port ____ as status port.
Topic: Core Midterm Concepts
- 64H ✓ Correct answer
- 66H
- 69H
- 67H
-
The data structure that is maintained by the DOS in the boot block of each drive is known as:
Topic: Core Midterm Concepts
- FCB
- RDB
- BPB ✓ Correct answer
- DPB
-
DMA Request register can be used to simulate a DMA request through software in case of ___.
Topic: Core Midterm Concepts
- Memory to I/O transfer
- Memory to memory transfer ✓ Correct answer
- None of the given
- Memory to O/I transfer
-
Last ___ bytes of data part in partitioning table are the partition table signature.
Topic: Core Midterm Concepts
- 8
- 4
- 2 ✓ Correct answer
- 6
-
Bit no. ___ of mode register in DMA determines the direction of a transfer.
Topic: Core Midterm Concepts
- 3
- 2
- 4
- 5 ✓ Correct answer
-
LBA address can be used in place of the ___ address.
Topic: Core Midterm Concepts
- Temporary
- Primary
- CHS ✓ Correct answer
- Permanent
-
The function biosdisk() can be used to read or write a ____.
Topic: Core Midterm Concepts
- Physical block ✓ Correct answer
- Both physical and logical
- Logical block
- Analytical
-
___ are the longitudinal division of the disk.
Topic: Core Midterm Concepts
- Sectors ✓ Correct answer
- None of the given
- Blocks
- Tracks
-
___ will specify if the DMA transfer will happen as a single transfer, block transfer or demand transfer.
Topic: Core Midterm Concepts
- DMA Mode register ✓ Correct answer
- DMA Mask register
- DMA Command Register
- DMA Request register
-
___ is relative address with respect to the start of logical Drive.
Topic: Core Midterm Concepts
- LBA
- CHS
- None of the given
- LSN ✓ Correct answer
-
Each addressable unit has a unique combination of sec#, head# and track# as its ___ address.
Topic: Core Midterm Concepts
- Both Physical and Logical
- Physical ✓ Correct answer
- Logical
- Analytical
-
The value ___ of partition table signature indicate that the code part contains valid executable code.
Topic: Core Midterm Concepts
- AA33
- AA22
- AA44
- AA55 ✓ Correct answer
-
In interrupt vector table, if we are at address 0000:03FBH, this represent interrupt number;
Topic: Core Midterm Concepts
- EF
- FF
- EE
- FE ✓ Correct answer
-
Int86() has ________ parameters.
Topic: Core Midterm Concepts
- 2
- 0
- 1
- 3 ✓ Correct answer
-
if the following function, keep(1, 1000);
Topic: Core Midterm Concepts
- is called in the TSR program, it means that ________ No. of bytes are reserved in the memory.
- 16000 ✓ Correct answer
- 8000
- 32000
-
UART is a device used for ______ serial communication.
Topic: Core Midterm Concepts
- Synchronous
- Asynchronous ✓ Correct answer
-
The UART device uses _______ for error detection.
Topic: Core Midterm Concepts
- Parity Bit ✓ Correct answer
- Checksum
- LRC Check
- CRC Check
-
REGS is a ___________.
Topic: Core Midterm Concepts
- Interrupt
- Union ✓ Correct answer
- Service
- Struct
-
There are _____ number of hardware interrupts in interrupt vector table.
Topic: Core Midterm Concepts
- 24
- 16 ✓ Correct answer
- 8
- 32
-
All the modes of Interval Timer have different ______ wave pattern according to the need of the application.
Topic: Core Midterm Concepts
- Square ✓ Correct answer
- Trigonal
- Haphazard
- Sine
-
INT _______ service 0 can be used to set the line parameters of the UART or COM port.
Topic: Core Midterm Concepts
- 15H
- 14H ✓ Correct answer
- 13H
- None of the given options
-
MBR partition table can have _______ entries at maximum.
Topic: Core Midterm Concepts
- 4 ✓ Correct answer
- 3
- 2
- 1