current paper of cs401

objective part sara past papers sy tha moazz r wadar siddhu file sy

1) show the process of applying selective bit inversion on the lower ribble of following bits.10011011

2)why are interputs considered to be asynchornous and unpredictable explain..? 3)valu of SF and ZF

4) entries krni thi table main r 2 questions mjhe yad ni..

#CS401_Current_Midterm_Paper_27_June_2018mcq moaz file
Qno 1: question define direct adreesing mood
Qno 2: segment prifixs used to opcode
Qno 3: write program two values in AX and Stored DX
Qno4: how to cntrol memory block
Qno 5:coding ti mushkil c ati ni ti wo

Done Cs401

mcq moaz file

Qno 1: question define direct adreesing mood

Qno 2: segment prifixs used to opcode

Qno 3: write program two values in AX and Stored DX

Qno4: how to cntrol memory block

Qno 5:coding ti mushkil c ati ni ti wo

Total 40 marks 20 mcqs 
3 marks ke 1 short or 2 marks short 
5 marks ke 3 long
Mostly McQ is from past papers of moaaz file 
Long question 
1 Deletion of node
2 Traversing
3 Post order

#Cs401_Current_Midterm_Paper

Flags se related Mcqs thay

LONG QUESTION

Truth table se aya do values di gye thi unko

OR, AND, XOR,TEST

in k mtabik execute krna tha

Assembly language k syntax ko ASCII k syntax mn convert krna tha.

Short question main

COMPS

Ka work pucha

#Paper_2

#Cs401

Mostly mcqs from from past paper and in subjective part there was a question about Rotate right(ROR)

One was from first lecture Control Bus

One was about direction flag.

Other two I don't remember as I didn't attempt

1) If D is “35” is shift to left 2 bits the new value

  • 35
  • 70
  • 140
  • 17

 

2) 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 (Page 81)

o ACSII code of the character

3)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

 

 

4)An offset alone is not complete without

o Segment (Page 34)

o code label

o index register

o data label

 

5)The iAPX88 processor supports ___________ modes of memory access.

?5

?6

?7 (Page 35)

?8

 

 

6)The prevalent convention in most high level languages is stack clearing by the

?Caller

?Callee (Page 74)

?RET

?Stack

 

 

7)The shift logical right operation inserts

A zero at right

A zero at left (Page 52)

A one at right

A one at right

 

 

8)Which of the following flags will be affected by MOVSW?

? DF

? PF

? ZF

? No effect on flags

And yes yaad aya one question was about hooking

 

 

25 june midterm paper

 

All mcqs from past papers( waqar siddhu file)

 

what is the call instruction and intra- segment or inter sgment? 5marks

 

what is local variable and given an example  3 marks

 

write a program Alogrithm print a number in assembly language  5 marks

 

intel 8088 process the data and change the values in hexadecimal segment(  is type ka he questin tha)

  1. 1000
  2. OFFF 5 marks..

1} if D is 35 is shift to left 2 bits the new value 
35
70
140
17

2) if AX contains FFFFh ,then after the executaion of instruction "SAL ax,3 the result will be 
-3
+3
-8
+8

3) if the decimal number 35 is shiftid by two bit to left the new value will be 
35
70
140
17

4)the memory address always move from 
 Processor to memory
Memory to processor 
Memory to peripheral
Peripheral to processor

5)-----------------of the following flags will be affected by by MOVSB?
DF
ZF
PF
No effect on flag

6) foreground and background parameter will be 
32 bits
16 bits 
8 bits
4 bits

7) After the execution of SAR instruction 
The msb is replace by a 0

The msb is replaced by 1 
The msb retain its original value 
The msb is replaced by the value of CF

Mcqs was easy and from past papers..

From waqar and siddhu file and moazz file

 2 short  3 long

 

  1. Data buss and control bus
  2. Local variables are created in the storage

3 long

Let ax contain 0-15 write assembl code as stored 6 and bx is 6th…… is trh ka kuch long m

4

Who local variable are created write its instruction

  1. Bitwise manipulation

 

 

Views: 569

Discussion Forum

CS401 GDB solution

Started by Muhammad Anwar Tahseen Feb 5. 0 Replies

CS401 ASSIGNMENT 2 SOLUTION

Started by Muhammad Anwar Tahseen Jan 29. 0 Replies

CS401 Current Midterm Papers - Dec, 2018 to Jan 2019

Started by + caмe4ѕтυdιeѕ.
Last reply
by + caмe4ѕтυdιeѕ Jan 2. 2 Replies

CS 401 Assignment Solution Needed

Started by Sayyeda Shah.
Last reply
by imran @ Imran Dec 4, 2018. 1 Reply

CS401 Finalterm Papers from Sep 1st to 13th, 2018

Started by + caмe4ѕтυdιeѕ.
Last reply
by + caмe4ѕтυdιeѕ Nov 6, 2018. 5 Replies

CS401 Assign # 3 Due Date: 31st July, 2018

Started by + caмe4ѕтυdιeѕ.
Last reply
by Cute S@mra Aug 1, 2018. 3 Replies

SPONSORED LINKS

© 2019   Created by Muhammad Anwar Tahseen.   Powered by

Badges  |  Report an Issue  |  Terms of Service