We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

CS401 Final Term Papers Spring 2020 & Past Solved Papers, MCQs for Exam Preparation

 

CS401 Share Your Current Final Term Papers Spring 2020 (05 September 2020 Onward) (Questions/Pattern) & Past Papers as well here to help each other. Thanks

 

 

CS401 Solved MCQs, Short Notes, Solved Past Papers, Solved Online Quizzes, E-Books, FAQs, Short Questions Answers & More. You must view all the featured Discussions one by one in this subject group by clicking on the below link

CS401

View All Featured Discussions


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Views: 884

Replies to This Discussion

CS401 Solved MCQs, Short Notes, Solved Past Papers, Solved Online Quizzes, E-Books, FAQs, Short Questions Answers & More. You must view all the featured Discussions one by one in this subject group by clicking on the below link

CS401

View All Featured Discussions

Cs401 important topics
Interrupts, INT 1,INT 3, INT 10,INT 13, INT 14,INT 21/service 04
Programmable Interrupt Controller (PIC) and IRQ
Interrupt hooking , Unhooking Interrupt
Terminate and Stay Resident (TSR)
BIOS video services
DOS VIDEO SERVICES
Multitasking complete concept
Chapter 13 (secondary storage)
Serial communication
IDT (interrupt descriptor table)
Lecture 17

CS401 VU Current Final Term Papers Spring 2020 (10 September onward)  

*Cs401*
50 questions
40 mcqs 80% from past papers
1. In truncated file service which register read service and file attributes
2.SACS instruction works?
3.which interrupt is called scheduler.which main purpose of that.
4.which interrupt interrupt and control back to dos.write name of interrupt and service number.
5.serial port intiziltaion service number and also write attributes of it with service number those initialize them.
6.physical address btna tha
7.data movment instruction de v thi un ka btna tha k kon sy processor me use hoti hain.
8.code dia hua tha btna tha k instruction kya kam kr rhi us me.
9.code likhna tha apna name on top of screen show krny ka.
10.code likhna tha aik array ka jis me 128 elements ho har element 4 byte ka ho or har element ki value 0 ho.
Overall paper bhut easy tha..

Cs401.. McQ's in paper held at 2:30pm .. 10 September 2020

CS401 Current Papers Final term Spring 2020


CS401 current paper | 10-09-2020 | 08:00 AM

Mostly mcqs from moaaz files and5short questions of 3 number
5 long questions of 5 numbers mostly from past papers

CS401 Current Papers Final term Spring 2020


CS401 current paper | 10-09-2020

Mcqs past papers sa tha
3masks questions:
Diff between serial and parallel port communication.
How to speed up multitasking.
Ik program code aya tha for cant remember the condition.

Cs401 today paper
30 se 33 tak mcqs past papers main se the muaaz k
Baki concept base the
Relationship b/w IRQ and INT
Rotate through carry right
C and pascal convention
Al,Ah .ch ki instructions lekni thi
2 progam the jab krne hi nahi the to pare nahi

CS401 important topics

 

Interrupts, INT 1,INT 3, INT 10,INT 13, INT 14,INT 21/service 04 Programmable Interrupt Controller (PIC) and IRQ Interrupt hooking , Unhooking Interrupt Terminate and Stay Resident (TSR) BIOS video services DOS VIDEO SERVICES Multitasking complete concept Chapter 13 (secondary storage) Serial communication IDT (interrupt descriptor table)

CS401 VU Current Final Term Papers Spring 2020 (10 September onward)  

Subjectives Question and its Answers of my Final Tearm CS401 on 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.
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
Today mhr khalil paper cs401 11am
15/09/2020
Mcq from past papers
Objectives
Ibm pc ki interrupt 3mrks
Ibm PC how many input and output 5mrks
Floppy disk how store files in area?3mrks
Serial port initialize 5mrks
Assignment 3 wala code 5mrks

CS401 Current Papers Final term Spring 2020


My today CS401 paper
*********
Q41. Explain TSR. Use of Service 31?

Q42. What is downward compatibility meaning? Explain it I detail

Q43. In protected mode, why segment registers are not used by physical memory? How physical memory accessed in the absence of segment register?

Q44. Write a program that send EOI signal to PIC.

Q45. Write a program that define word size array of two elements. Calculate the sum, store the result in new variable SUM
Q46. What are SI which the process change....

I think > 70%. MCQs were from past papers.
Prepare well of all IRQs and INT.
One long Question was of these and 3 MCQs were also from IRQs and INT.
Wish u all the Best

RSS

Latest Activity

Kainat Ramzan liked +M.Tariq Malik's discussion STA100 GDB Fall 2020 Solution / Discussion
8 minutes ago
Musawar Ahmed replied to +M.Tariq Malik's discussion STA301 GDB Fall 2020 Solution & Discussion in the group STA301 Statistics and Probability
3 hours ago
Musawar Ahmed joined +M.Tariq Malik's group
3 hours ago
Mr Ak updated their profile
3 hours ago
Musawar Ahmed replied to +M.Tariq Malik's discussion CS610 Assignment No 01 Fall 2020 Solution & Discussion in the group CS610 Computer Network
3 hours ago
Musawar Ahmed joined +M.Tariq Malik's group
3 hours ago
Musawar Ahmed replied to +M.Tariq Malik's discussion CS605 Assignment No 01 Fall 2020 Solution & Discussion Due Date: 26-11-2020 in the group CS605 Software Engineering-II
3 hours ago
Musawar Ahmed replied to +M.Tariq Malik's discussion CS605 Assignment No 01 Fall 2020 Solution & Discussion Due Date: 26-11-2020 in the group CS605 Software Engineering-II
3 hours ago
Musawar Ahmed replied to +M.Tariq Malik's discussion CS605 Assignment No 01 Fall 2020 Solution & Discussion Due Date: 26-11-2020 in the group CS605 Software Engineering-II
3 hours ago
Musawar Ahmed replied to +M.Tariq Malik's discussion CS605 Assignment No 01 Fall 2020 Solution & Discussion Due Date: 26-11-2020 in the group CS605 Software Engineering-II
3 hours ago
Musawar Ahmed joined +M.Tariq Malik's group
3 hours ago
Musawar Ahmed replied to +M.Tariq Malik's discussion CS408 Assignment No 01 Fall 2020 Solution / Discussion in the group CS408 Human Computer Interaction
3 hours ago

Today Top Members 

Looking For Something? Search Here

© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.