CS401 Current FinalTerm Paper 24 February 2018 | FALL 2017 |
Today’s cs401 paper
Q:Following instructions are taken from the program ‘printing string and keyboard wait using BIOS services ‘describe which task will be performed by each of these institutions?
Start
Mov ah,0x10
Mov al,03
Mov bl ,01
Q:in assembly language programming ,which service is used for setting VESA video mode?also mention the status of concern registers b4 and after the service execution.
Q:what are the important ‘command codes’ in request header of device driver?
Q:writer the corresponding assembly language for the given code
If(al>bl)AND (bl>cl)
{
Dx=1
}
Q:how many bytes are used to make the structure of process control block in assembly language programming?what do these bytes store?
Q:what will happen when we execute the following instructions?
MOV DX,MSG
MOV AH, 9
INT 02x1
Q:write the assembly language instructions that are used to save and restore the of flag register from the stack.
Q:differentiate b/w naming conventions used in both pascal and c language for naming a function/ variable.
cs401 today's paper:
MCQs were mostly from previous papers(refer to moazz and waqar) , few short questions that i remember are:-
1. which service takes over once we turn on PC what does it do ?
2. command codes of device driver ?
3. structure of GDT ?
4. interrupt types and working with debugger ?
5. protected programming ?
with one odd question writing assembly language program
best of luck
Emoticon