php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CS401 Computer Architecture and Asembly Current paper fall 2010 december 1
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
[FONT=&quot]CS401 MIDTERM FALL2010 [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]One screen location corresponds to a[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Byte[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Word[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Double byte[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Double word[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]After the execution of “PUSH AX” statement [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]AX register will reside on the stack[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]A copy of AX will go on the stack[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]The value of AX disappear after moving on stack[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Stack will send an acceptance message[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]physical address of the stack is obtained by[/FONT]
[FONT=&quot]SS:SP combination[/FONT]
[FONT=&quot]SS:SI combination [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]SS:SP combination[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]ES:BP combination[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]ES:SP combination[/FONT]
[FONT=&quot]If the address of memory location Num1 is 0117 and its content is 0005 then after execution of the instruction “ mov bx, Num1” bx will contain[/FONT]
[FONT=&quot]0005 [/FONT]
[FONT=&quot]0117 [/FONT]
[FONT=&quot]Num1 [/FONT]
[FONT=&quot]1701[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]In STOS instruction, the implied source will always be in[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]AL[/FONT][FONT=&quot] or AX registers[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]DL or DX registers[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]BL or BX registers[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]CL or CX registers[/FONT]
[FONT=&quot]The shift logical right operation inserts [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]A zero at right [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]A zero at left[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]A one at right[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]A one at right[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]R[/FONT][FONT=&quot]E[/FONT][FONT=&quot]P will always[/FONT]
[FONT=&quot]I[/FONT][FONT=&quot]n[/FONT][FONT=&quot]c[/FONT][FONT=&quot]r[/FONT][FONT=&quot]e[/FONT][FONT=&quot]m[/FONT][FONT=&quot]e[/FONT][FONT=&quot]n[/FONT][FONT=&quot]t CX by 1[/FONT][FONT=&quot][/FONT]
[FONT=&quot]I[/FONT][FONT=&quot]n[/FONT][FONT=&quot]c[/FONT][FONT=&quot]r[/FONT][FONT=&quot]e[/FONT][FONT=&quot]m[/FONT][FONT=&quot]e[/FONT][FONT=&quot]n[/FONT][FONT=&quot]t CX by 2[/FONT][FONT=&quot][/FONT]
[FONT=&quot]D[/FONT][FONT=&quot]e[/FONT][FONT=&quot]c[/FONT][FONT=&quot]r[/FONT][FONT=&quot]e[/FONT][FONT=&quot]m[/FONT][FONT=&quot]e[/FONT][FONT=&quot]n[/FONT][FONT=&quot]t CX by 1[/FONT][FONT=&quot][/FONT]
[FONT=&quot]D[/FONT][FONT=&quot]e[/FONT][FONT=&quot]c[/FONT][FONT=&quot]r[/FONT][FONT=&quot]e[/FONT][FONT=&quot]m[/FONT][FONT=&quot]e[/FONT][FONT=&quot]n[/FONT][FONT=&quot]t CX by 2[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]When an item is pushed on the decrementing stack, the top of the stack is[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]First decremented and then element copied on to the stack[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]First incremented and then element copied on to the stack[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Decremented after the element copied on to the stack[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Incremented after the element copied on to the stack[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]assembly the CX register is used normally as a ______________register. [/FONT]
[FONT=&quot]source[/FONT]
[FONT=&quot]counter[/FONT]
[FONT=&quot]index[/FONT]
[FONT=&quot]pointer[/FONT]
[FONT=&quot]Which is the unidirectional bus ?[/FONT]
[FONT=&quot](I) Control Bus[/FONT]
[FONT=&quot](II) Data Bus[/FONT]
[FONT=&quot](III) Address Bus[/FONT]
[FONT=&quot]I only[/FONT]
[FONT=&quot]II only[/FONT]
[FONT=&quot]III only[/FONT]
[FONT=&quot]I and II only[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]T[/FONT][FONT=&quot]h[/FONT][FONT=&quot]e basic function of SCAS instruction is to[/FONT]
[FONT=&quot]Compare[/FONT]
[FONT=&quot]S[/FONT][FONT=&quot]can[/FONT][FONT=&quot][/FONT]
[FONT=&quot]S[/FONT][FONT=&quot]o[/FONT][FONT=&quot]rt[/FONT][FONT=&quot][/FONT]
[FONT=&quot]M[/FONT][FONT=&quot]o[/FONT][FONT=&quot]v[/FONT][FONT=&quot]e data[/FONT][FONT=&quot][/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]_______ register holds the address of next instruction is to be executed[/FONT]
[FONT=&quot]Base pointer[/FONT]
[FONT=&quot]Code segment[/FONT]
[FONT=&quot]Source index[/FONT]
[FONT=&quot]Program counter[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]JC and JNC test the ____________ flag.[/FONT]
[FONT=&quot]carry[/FONT]
[FONT=&quot]parity[/FONT]
[FONT=&quot]zero[/FONT]
[FONT=&quot]sign[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]A[/FONT][FONT=&quot]f[/FONT][FONT=&quot]te[/FONT][FONT=&quot]r the execution of REP instruction CX will be decremented then which of the following flags will be affected?[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]CF[/FONT][FONT=&quot][/FONT]
[FONT=&quot]OF[/FONT]
[FONT=&quot]DF[/FONT][FONT=&quot][/FONT]
[FONT=&quot]N[/FONT][FONT=&quot]o flags will be affected[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]In string manipulation whenever an instruction needs a memory source, which of the following will hold the pointer to it?[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]ES: DI[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]ES: BP[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]DS:BP[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]DS:SI[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]which bit sets the character "blinking" on the screen?[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]5[/FONT]
[FONT=&quot]6[/FONT]
[FONT=&quot]7[/FONT]
[FONT=&quot]8[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]If we want to divide a signed number by 2, this operation can better be accomplished by[/FONT]
[FONT=&quot]SHR [/FONT]
[FONT=&quot]SAR[/FONT]
[FONT=&quot]SHL [/FONT]
[FONT=&quot]SAL[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]A[/FONT][FONT=&quot]f[/FONT][FONT=&quot]te[/FONT][FONT=&quot]r the execution of STOSWB,the CX wil be……..[/FONT]
[FONT=&quot]I[/FONT][FONT=&quot]n[/FONT][FONT=&quot]c[/FONT][FONT=&quot]r[/FONT][FONT=&quot]e[/FONT][FONT=&quot]m[/FONT][FONT=&quot]e[/FONT][FONT=&quot]n[/FONT][FONT=&quot]te[/FONT][FONT=&quot]d by 1[/FONT]
[FONT=&quot]Inc[/FONT][FONT=&quot]r[/FONT][FONT=&quot]ement[/FONT][FONT=&quot]e[/FONT][FONT=&quot]d by 2[/FONT]
[FONT=&quot]Decremented by 1[/FONT]
[FONT=&quot]Decremented by 2[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Each screen location corresponds to a word, the lower byte of this word contains ____[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]The character code[/FONT]
[FONT=&quot]The attribute byte[/FONT]
[FONT=&quot]The parameters[/FONT]
[FONT=&quot]The dimensions[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT][FONT=&quot]In a video memory, each screen location corresponds to [/FONT]
[FONT=&quot]One byte[/FONT]
[FONT=&quot]Two bytes[/FONT]
[FONT=&quot]Four bytes[/FONT]
[FONT=&quot]Eight bytes[/FONT]
[FONT=&quot] [/FONT][FONT=&quot]Q.[/FONT]
[FONT=&quot]Number2: [/FONT]
[FONT=&quot]IF DF=0 what its represent and IF DF=1 what its represent ?[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Q.[/FONT]
[FONT=&quot]Relation between RET and CALL is dependent or independent.[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Q.[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Write all steps of algorithm for printing number 352.[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Q.[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]When the instruction "push ax" is executed in decrementing stack how the value of SP will change[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Q.[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]What is wrong with this program?[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]

[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]

[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Q.[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Explain MUL instruction in both cases (i) if the source operand is byte (ii) if the source operand is a word?[/FONT]
[FONT=&quot] [/FONT]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Final Term Current Paper MKT501 Marketing Management 12 August 2010 viki 1 3,407 08-20-2020, 08:12 PM
Last Post: Johnnieaunders
  All Current Finalterm Papers Solved & Unsolved Held On 10 August 2010 viki 18 11,772 05-14-2012, 02:24 AM
Last Post: malik zani
  All Current Finalterm Papers Solved & Unsolved Held On 7 & 8 August 2010 viki 4 5,475 01-22-2012, 10:14 PM
Last Post: malika malik
  Final Term Current Paper CS101 Introduction to Computing 12 August 2010 viki 3 4,131 01-03-2012, 05:20 PM
Last Post: Muhammad Shahid hiraj
  Sta301 current paper 14 feb 2011 for fall 2010 Xpert 5 5,316 11-21-2011, 04:21 PM
Last Post: mahira
  current paperz of 9th class samia azhar 0 2,896 11-20-2011, 06:18 PM
Last Post: samia azhar
  Final Term Paper Current MTH101- Calculus And Analytical Geometry 10 August 2010 viki 6 6,405 11-03-2011, 10:59 PM
Last Post: rabeel
  mkt610 paper 18-7-2011 nisreenjodhpur 0 3,727 07-19-2011, 01:39 AM
Last Post: nisreenjodhpur
  Final Term Current CS401 Computer Architecture and Assembly Language 10 August 2010 viki 2 4,140 07-07-2011, 11:28 PM
Last Post: Xpert
  CS401 Final Paper kazim 1 3,192 06-09-2011, 02:47 AM
Last Post: sumaira kharal

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support