Tuesday, May 3, 2011

Re: ::::|| VU ||:::: ``**``............CS609 Quiz............``**``

LOOK ZARMINA N CS BOY

 

 
Calculations:
240d send kerna hay....parallel port per bytes transfer nahi ho sakti kiyon data bit hi 5 free hain......jinn man say 4 bits D0-D3 data hold krain gi aur D4 acknowledge bit hay.... iss liye iss ko nibbles main break kertay hain...

aur jo data yahan D bits main store hay wo jab tranfer ho ga 2nd pc per to wo data bits per nahii jaye ga......wo wahan ki status bits ( busy....ACK....PE...SLC...ER) per receive ho ga.......inn main say ..ACK....PE...SLC...ER yeah wali bits data hold krain gi aur "busy " bit acknowledgement main use ho gi.....ok

ab 240d ko nibbles main break krain.....
02
04
00
0d. 
sab say pehlay 02 (hex) ko send kertay hain........transfer k liye binary main convert krain...iss main lower bits use krain gay......

02 = 0000 0010  

sender ki 5th bit D4 ko "0" assign krain gay......aur receiver ki 5th busy bit ko "1"....
data line D4=0 (hand shaking bit in 1st PC )
data send ker diya.....jo kuch bhi send kia wo 2nd PC per status bit per receive howa unn bits nay data ko invert kia...mean 0 ki jagah 1........... aur 1 ki jagah 0 ker diya......aur sath hi inverse bhi kiya means data flip ho gaya......aur 2nd PC nay apni acknowledge bit 1 bhi add ker di 1st PC ki 0 ki bit ki jagah per.....
 

bit added...humari added bit processing main affect nahi ho gi..me iss ko bhi seprate kerti hoon...ok .
0000 0010  = 1 000 0010

D7= 10010111   busy =1 (received on 2nd PC)

.....ok
ab iss ki shift ri8 kertay hain.....10010..yeah data ri8 per jaye ga to 111 khatum ho ga na....aur peechay wali higher bits ...

10010111>> 3 = 000 10010

.iss value ko "And" ker dain gay......
Value extraction:
00010010 & 00001111  = 00000010 = 02....mil gaya na same data......jo hum nay send kiya tha...02....ab iss k baray main sender ko batana hay k data sahi salamat receive ho gaya hay......iss k liye ab sara process ulta ho ga......ab sab data receiver (2nd PC) k data pins mean D0-D3 say sender k paas jaye ga verification k liye ......aur ab sender data apni status per receive kray ga aur apni busy pin ko 1 show kray ga...aur yeahi parity bit confirmation ho gi ....... .
 

Data line D4 = 0 (send for verification from receiver )
D4=10010000     busy  = 1 (received and verified)
 

..one nibble transferred successfully...send remaining three nibbles in such a way.......see tables given at page=118 n 119..


On Tue, May 3, 2011 at 3:30 PM, mc100200260 Zareena Parveen <mc100200260@vu.edu.pk> wrote:
pls send me idea of cs609 asigment pls

On Tue, May 3, 2011 at 5:12 AM, ~☆~SHINING STAR~☆~ <bc080402322@vu.edu.pk> wrote:
asslamalaikum-image-for-forum.gif

 

Find the attachment....
CS609...............................................AS RECIEVED....file


--
"""Don't worry if people hate you because there are many others who love and care you in the earth. But be worried if ALLAH hates you because there is no other who loves and cares you in akhirat."""
 
 
"...SUBHANALLAHI WABI HAMDIHI...SUBHANALLAH IL AZEEM..."
~*~$H!N!NG $T@R~*~

--
For study materials, past papers and assignments,
Join VU School at www.VusCool.com
and www.VUGuys.com
CoooL Virtual University Students Google Group.
To post to this group, send email to coool_vu_students@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/coool_vu_students?hl=en

--
For study materials, past papers and assignments,
Join VU School at www.VusCool.com
and www.VUGuys.com
CoooL Virtual University Students Google Group.
To post to this group, send email to coool_vu_students@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/coool_vu_students?hl=en



--
"""Don't worry if people hate you because there are many others who love and care you in the earth. But be worried if ALLAH hates you because there is no other who loves and cares you in akhirat."""
 
 
"...SUBHANALLAHI WABI HAMDIHI...SUBHANALLAH IL AZEEM..."
~*~$H!N!NG $T@R~*~

--
For study materials, past papers and assignments,
Join VU School at www.VusCool.com
and www.VUGuys.com
CoooL Virtual University Students Google Group.
To post to this group, send email to coool_vu_students@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/coool_vu_students?hl=en

No comments:

Post a Comment