Home About Contact
vustudents.org
Connect with Facebook



CS401 CS401 Computer Architecture and Assembly Language Programming

Download/upload Video Lectures, Handouts, Helping Materials, Assignments Solution, Online Quizzes, GDB, Past Papers, Solved Papers and more….
Reply
  #1  
Old 12-01-2011, 08:47 PM
lubna lolo's Avatar
Senior Member
 
Join Date: Nov 2011
Posts: 325
Default cs401 midterm past papers

Subjective
Paper no.1
1. Which flag affected by often and operator
2. explain divide overflow error.
3. for what purpose "INT4" is reserved.
4. Double working of Exchange instruction with help of an example.
5. What is the difference between LES and LDS intruction.


1. Two form of Moves introduction
2. Describe push & pop with help of example
3. How value of Ip Register is Paper copy forum vu thirty nine dot com saved & updated when call . instruction executed.
4. AX = 0x3412, BX=0x7856, CX= 0x1CAB, Sp=0x100
Give contents of AX, BX,CX,SP
After creating instruction push AX, Push BX, cHG, AX,CX, POP CX

5. Explain Divide over Flows Error.
6. How many parameters a subroution can receive through stack.


20 mcq's 20 theroy questions
mcqs most of are from past papers

questions are
what is push and pop exaplin with example 3marks
how the string instruction is used in the block of memory 3
affected flag of AND operation 2marks
how to cnvert the 3dimentional memory in 1 dimentional memory

write the scas instruction 5marks

1. In instruction ADC the operands can be
o Two register only
o Two register and one memory location
o CF and two other operands
o ZF and two other operands

2. After the execution of instruction “RET”
o SP is incremented by 2
o SP is decremented by 2
o SP is incremented by 1
o SP is decremented by 1

3. The extended ASCII has
o 64 characters
o 128 characters
o 256 characters
o 502 characters

4. The second byte in the word designated for screen location holds
o The dimension of the screen
o Character position on the screen
o Character color on the screen
o ACSII code of the character

5. REP will always
o Incremented CX by 1
o Incremented CX by 2
o Decremented CX by 1
o Decremented CX by 2

6. The routine that executes in response to an INT instruction is called
o ISR
o IRS
o ISP
o IRT

7. The iAPX888 architecture consists of _______ register.
o 12
o 14
o 16
o 18

8. In the instruction “CMP AX,BX” the contents of
o AX are changed
o BX are changed
o CX are changed
o Flag register are changed

9. All the addressing mechanisms iniAPX88 return a number called ______ address.
o effective
o faulty
o indirect
o direct

10. The execution of the instruction “mov word [ES: DI], 0x0720”
o will clear next character on screen
o will print “20” at top left of the screen
o will print “20” at top right of the screen
o will move DI at location 0720 on the screen

11. “mov byte [num1],5” is _______ instruction.
o legal
o illegal
o stack based
o memory indirect

12. MOV instruction transfers a byte or word from which of the following source location.
o DSI
o ES:SI
o ESI
o DS:SI

13. The execution of the instruction “mov word [ES: 0], 0x0741” will print “A” on the screen, color of the character will be
o Black
o White
o Red
o Blue

14. If AX contains FFFFh, then after execution of instruction “SAL ax, 3”, the result will be
o -3
o +3
o -8
o +8

15. If the decimal number “35” is shifted by two bit to left, the new value will be
o 35
o 70
o 140
o 17

16. While using STOBS, if DF=1 then
o The value of SI will be incremented by one
o The value of SI will be incremented by two
o The value of SI will be decremented by one
o The value of SI will be decremented by two

17. After the execution of STOSW, the CX will be
o Decremented by 1
o Decremented by 2
o Incremented by 1
o Incremented by 2

18. The memory address always move from
o processor to memory
o memory to processor
o memory to peripheral
o peripheral to processor

19. An offset alone is not complete without
o segment
o code label
o index register
o data label

20. Code Segment is associated to _______ register by default.
o IP
o SS
o BP
o CX

21. Write down the procedure to clear the selective bit. (Marks: 2)

22. Why REP prefix is generally not used with LODS instruction? (Marks: 2)

23. What is difference between REPE and REPNE? (Marks: 3)

24. Describe Push and Pop with the help of an example. (Marks: 3)

25. Explain all characteristics of SCAS instruction. (Marks: 5)

26. Describe Local Variable? (Marks: 5)

1. Two form of Moves introduction
2. Describe push & pop with help of example
3. How value of Ip Register is Paper copy forum vu thirty nine dot com saved & updated when call . instruction executed.
4. AX = 0x3412, BX=0x7856, CX= 0x1CAB, Sp=0x100
Give contents of AX, BX,CX,SP
After creating instruction push AX, Push BX, cHG, AX,CX, POP CX

5. Explain Divide over Flows Error.
6. How many parameter a subroution can recieve through stack
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
cs401 past papers 2010,2009 lubna lolo CS401 0 12-01-2011 08:27 PM
cs401 past mid papers 2010 lubna lolo CS401 0 12-01-2011 08:18 PM
cs401 new midterm fall 2011 papers lubna lolo CS401 0 12-01-2011 08:16 PM
cs401 midterm papers 2011 fall*** lubna lolo CS401 0 12-01-2011 08:04 PM
cs615 past papers with solution midterm lubna lolo CS615 0 12-01-2011 01:36 PM


All times are GMT +5. The time now is 03:17 PM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

 

Gravatar as Default Avatar by 1e2.it