Today my paper cs401.
Timing..4:30
Short
1. In Multitasking which interrupt work as a schedular , purpose of this interrupt ...
2. Which value of Al, Ah,Dx register using int21 bye serial port....
3.What is interrupt chaining , which type JMP are used.?
4.Aik GDT Wala tha mujy yad nhi .
Long
Purpose of PIC
Write three example of data movement instructions by SUN SPARK process
cs401 Final term subjective solutions 2016 (1).docx, 50 KBAttachments:
•
CS401-FINALTERM SOLVED MCQS WITH REFERENCES BY MOAAZ.pdf, 256 KB• CS401-FINALTERM SOLVED SUBJECTIVE WITH REFERENCES BY MOAAZ.pdf, 273 KB
CS401 FinalTerm Solved MCQs & Papers Mega File by SONO.pdf, 909 KB
CS401-FINALTERM SOLVED SUBJECTIVE.pdf, 298 KB
CS401 Final Term Solved Papers 1.pdfQuick View Download
5.CS401 Final Term Solved Papers 2.pdfQuick View DownloadMy Today Paper 20.08.16
Rashid Fayyaz
Question# Question Marks
1 With the reference to DB-9 connector, wich pin is used as a ring “Indictor” 2
2 What kind of information is provided by the segment selector. 2
3 What is the proper way of initiating a breakpoint interrupt during the debugging of any program. 2
4 When does an IRQ conflict occur in a system. 2
5 In context of Disk media how many bytes are reserved for each of the following ports in 32 bytes directory format. 3
6 The processor uses I/O ports for communicating with peripheral devices, suppose processor desires to communicate with some peripheral devices. In this scenario, which instruction will be used to read or write I/O ports. 3
7 What is the functionality of CLI instruction. 3
8 In assembly language programming which service is used for getting VESA mode information? Also mention the status of concerned registers before and after the service execution. 3
9 Write and Assembly program which uses BIOS video service to display the string. “Introduction to Assembly” in the top left corner of the screen. 5
10 Write a program by making use of BIOS interput INT 10 to display your name on top left corner of the screen. 5
11 Which assembly instruction is used to clear a tap flag? Also explain the procedure to clear this flag. 5
12 At which location interrupt gate descriptor table is stored? And describe the structure of this with an example. 5
Marks 2
1. Interrupts are asynchronous what does it mean
2. Name the Standard format for sending data through serial port.
3. How local thread variable are created and accessed.
4. Write any four characteristics of SUN SPARC processor.
Marks 3
1. How local thread variable are created and accessed.
2. In 88 processor which pins are reserved for real time interrupts give their names.
3. Difference between stack clearance of pascal and C.
4. Describe these instructions.
Mov dx, buffer
Mov ah, 0x0A
Int 0x21
Marks 5
1. Explain purpos and functionality of a programmable interrupt controller.
2. Write assembly language program attribute for loading program using int 21 service.
3. Explain these instruction
Mov ax, 0x4f02
Mov bx, 0x 4117
4. Difference between single step interrupt and break point interrupt.
Here's my today paper.
95% MCQs were from moaaz file.
Subjective.
1-What is highest priority? 2 marks.
2-Where you can see IRT instead of IRET at the end of the IRS? 2 marks
3-What is the uses of Disk system? How to reset it? 2 Marks
4- Write assembly language program attribute using int 21 for program flag. 2 Marks.
5-Write the uses of REP prefix with an example? 3 Marks.
6-“Int subtract(intx, int y)” write this in assembly code. 3 Marks
7-What is triple fault? 3 Marks
8-Which flags are uneffected in mathematical operation? 3 Marks
9-Explain the term “Interrupt Hooking”.Also give example? 3+2=5 Marks
10-At which location interrupt gate descriptor table is stored? And describe the structure of this with an example. 5 Marks
11-Location screen half line from left to right.5 Marks.
12-How to read Disk system? Mention only Four attributes. 5 Marks.
MCQs File
Just prepare it 80% to 90% will be from this file
I gurantee
Attachments:
•
CS401 Mega File for Final.pdf, 755 KB
MCQ's in my exams some them are below
Motorola 68K processors have _________ 23bit general purpose registers.
a) 64 (b)8 (c)16 (d) 32
In device attribute word which of the following bit decides whether it is a character device or a block device
(a)Bit 12
(b) Bit 13
(c)Bit 14
(d) Bit 15
2) In device attribute word which of the following bit decides whether it is a character device or a block device
a)Bit 12
b)Bit 13
c) Bit 14
d) Bit 15
A 32bit address register can access upto ............................of memory so memory access has increased a lot.
a)4kb
B) 4GB
c) 6MB
d) 8TB
The thread registration code initializes the PCB and adds it to the linked list. so that which will give it a
turn?
► scheduler ► linker ► debugger ► assembler
By default CS is associated with
a)SS (B) BP (C) CX (d) IP
In 68K processors there is a ........ program counter (PC) that holds the address of currently executing
instruction
► 16bit ► 32bit ► 64bit
Attachments:
•
Computer Architecture and Assembly Language Programming - CS401 Handouts.pdf, 1.1 MB
•
CS401 (24-8-2016)
Mcq’s were totally from past moaz file.
Subjective:
1. Which processor’s instruction set allows the following instruction and describe what task will be performed by each of these instructions?
CLR (A.3)
EXG D0, D2
MOVE, B (A1), (A2)
MOVE A (2222). L, A4
2. What is the purpose of Abort?
3. The processor uses I/O ports for communicating with peripheral devices, suppose processor desires to communicate with some peripheral devices. In this scenario, which instruction will be used to read or write I/O ports.
4. What is the functionality of CLI instruction.
5. Which area of floppy disk is reserved for storing the data of stored file.
6. Describe the purpose of firmware with example.
7. What is transient program area of memory and for what purpose this area is used.
8. Fill it, using in INT 21 services to create or truncate file.
Input
AH = ??
CX = ??
DS, DX = ??
Output
CF = ??
AX = ??
9. How many bytes are used to make the structure of process. Control block in assembly language programming and what these bytes store?
10. Write any single difference and similarity between INTEL and MOTOROLA 64K processor.
11. What values are required for following registers to write a character on serial port using INT 21
AH = ?
AL = ?
DX = ?
Attachments:
0 Comments