The More I Help Others To Succeed, The More I Succeed

CS401 Current Finalterm Papers Fall 2020-2021 and Past Solved Papers

Final Term Current Papers 128
CS601 Update Finalterm Solved Past Papers

CS401 Current Finalterm Papers Fall 2020-2021 and Past Solved Papers

CS401 Current Finalterm Papers Fall 2020-2021 and Past Solved Papers

On This Page, I Have Current Final Term Past Papers. Mostly 50% Or Above Papers Comes From Current Past Papers. We Provide You All Books Past Papers. We Are Working On The Website Day By Day To Provide You Better Solution Files For Your Exams. Current Past Papers Page See Below!
Download And Share Current Past Papers From Here.
Points To Be Noted! These Papers Have Been Solved By Students Up To Their Best Knowledge, But If You Find Any Mistake In The Solution Please Contact Us. Your Instructions Can Help Us To Improve Solution Files. Never Shy To Contact Us. We Provide You A Link Through You Can Contact With Us.

CS401 Current Finalterm Papers Fall 2020-2021 and Past Solved Papers # CS401 Current Finalterm Papers Fall 2020-2021 and Past Solved Papers # CS401 Current Finalterm Papers Fall 2020-2021 and Past Solved Papers # CS401 Current Finalterm Papers Fall 2020-2021 and Past Solved Papers # CS401 Current Finalterm Papers Fall 2020-2021 and Past Solved Papers # CS401 Current Finalterm Papers Fall 2020-2021 and Past Solved Papers

CS401 Current Finalterm Papers Fall 2020-2021 and Past Solved Papers
CS401 Current Finalterm Papers Fall 2020-2021 and Past Solved Papers

#CS401 Final Term Current Paper FALL 2020-21
27-FEB-2021
9:30 am paper
Esc by hooking code..Attribute of changing video service to information about font color…
Which service is used with int 13 for rea data write data and gatting data…
Difference between 16bit and 32bit DIV
Mcqs past papers or handouts sy ay thy

CS401 Current Finalterm Papers Fall 2020 | 01-03-2021 | 11:30 AM

Cs401
1-3-2021
11:30
Mcqs sary past ppr sy aye thy waqar ki file sy.
Program bnana tha jismn A ko 5 time show krwana tha.
Ek multitasking ka swal tha sath program bnana tha.
Differenciate between hooking and unhooking
Baqi assembly code likhny thy.
Little bit easy and mushkil.

CS401 Current Finalterm Papers Fall 2020 || 07-03-2021 | 09:30 AM

CS401 9:30

Esc by hooking code..
Attribute of changing video service to information about font color…
Which service is used with int 13 for rea data write data and gatting data…
Difference between 16bit and 32bit DIV, Can we speedup multi-tasking if yes explain?

cs401 current paper 12-Sep-2020
Q) Format of DOS input buffer:
Answer:-
Offset Size Description
00 1 maximum characters buffer can hold
01 1 number of chars from last input which may be recalled OR number of characters actually read, excluding CR
02 n actual characters read, including the final carriage return
Q) Describe MOVS instructions


Answer:- (Page 92) MOVS MOVS transfers a byte or word from the source location DS:SI to the destination ES:DI and updates SI and DI to point to the next locations. MOVS is used to move a block of memory. The DF is important in the case of overlapping blocks.
Q) How interrupts are handled in protected mode & IDTR.
Answer:- (Page 182)


Handling interrupts in protected mode is also different. Instead of the IVT at physical address 0 there is the IDT
(interrupt descriptor table) located at physical address stored in IDTR, a special purpose register. The IDTR is
also a 48bit register similar in structure to the GDTR and loaded with another special instruction LGDT.

CS401 Current Finalterm Papers Fall 2020-2021 and Past Solved Papers


Q) VESA service “INT 10 – VESA – Get SuperVGA Information” uses which registers to return the result?
Answer:- (Page 180) To return the result,
“INT 10 – VESA – Get SuperVGA Information” uses: Return: AL = 4Fh if function supported AH = status
INT 10 – VESA – Get SuperVGA Infromation
AX = 4F00h
ES:DI -> buffer for SuperVGA information
Return:
AL = 4Fh if function supported
AH = status
Q) define interrupt INT 0*80


Answer:-
int 0x80 ; multitasking kernel interrupt
Q)Define HOOKING And Unhooking
HOOKING AN INTERRUPT
To hook an interrupt we change the vector corresponding to that interrupt. As soon as the interrupt vector changes, that interrupt will be routed to the new handler. By hooking this interrupt a debugger can get control after every instruction and display the registers etc
Unhooking Interrupt


We now add the interrupt restoring part to our program. This code resets the interrupt vector to the value it had before the start of our program.
Q) How interrupts are handled in protected mode.
Answer:-
Handling interrupts in protected mode is also different. Instead of the IVT at physical address 0 there is the IDT (interrupt descriptor table) located at physical address stored in IDTR, a special purpose register. The IDTR is also a 48bit register similar in structure to the GDTR and loaded with another special instruction LGDT.
Q) INT 14 READ OPERATION from SERIAL PORT


Answer:-
The BIOS INT 14 provides serial port services. We will use a mix of BIOS services and direct port access for our example. A major limitation in using BIOS is that it does not allows interrupt driven data transfer, i.e. we are interrupted whenever a byte is ready to be read or a byte can be transferred since the previous transmission has completed. To achieve this we have to resort to direct port access. Important BIOS services regarding the serial port
INT 14 – SERIAL – READ CHARACTER FROM PORT
AH = 02h
DX = port number (00h-03h)
Return:


AH = line status
AL = received character if AH bit 7 clear
Q) What is EAX
AX register is extended 32 bit register is renamed as EAX
Q) Define multitasking, its environment and conditions
Answer:-
Multitasking:
*A multitasking environment allows applications to be constructed as a set of independent tasks, each with a separate thread of execution and its own set of system resources. The inter-task communication facilities allow these tasks to synchronize and coordinate their activity.
*Multitasking provides the fundamental mechanism for an application to control and react to multiple, discrete real-world events and is therefore essential for many real-time applications.


*Multitasking creates the appearance of many threads of execution running concurrently when, in fact, the kernel interleaves their execution on the basis of a scheduling algorithm. This also leads to efficient utilization of the CPU time and is essential for many embedded applications where processors are limited in computing speed due to cost, power, silicon area and other constraints.
To realize such a system, the following major functional conditions are to be carried out.
A.Process Management
• interrupt handling
• Task scheduling and dispatch
• create/delete, suspend/resume task
• manage scheduling information – priority, scheduling policy, etc
B.Inter-process Communication and Synchronization


• Code, data and device sharing
• Synchronization, coordination and data exchange mechanisms
• Deadlock and Live-lock detection
C.Memory Management
• Dynamic memory allocation
• Memory locking
• Services for file creation, deletion, reposition and protection
D.Input/Output Management
• Handles request and release functions and read, write functions for a variety of peripherals
Q) write a program add 10 numbers using register + offset addressing mode in assembly language

CS401 Current Finalterm Papers Fall 2020-2021 and Past Solved Papers

CS401 Current Finalterm Papers Fall 2020-2021 and Past Solved Papers

CS401 Current Finalterm Papers Fall 2020-2021 and Past Solved Papers

For More Current Papers Details

Leave a Reply

Your email address will not be published. Required fields are marked *

Be silent and let your success shout