We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

CS609_Midterm_System Programming spring 2015 (Held On Dated 20-JUNE-2015)

Total Questions: 26 Total Marks: 40

Objective: 20 marks, Subjective 20 marks

Q.21 When we discuss flow control using RS232C. Which line is used for data transmission and reception? (2 marks)

Answer: (Page 110, 111)

RS232C is a standard for physical dimension of the connector interconnecting a DTE (Data terminal equipment) and DCE (Data communication equipment). Data is received through the RxD line. Data is send through the TxD line.

Q.22 What will be the binary value of LED status byte if the scroll lock and num lock LED on? (2 marks.)

Answer: (Page 181)

0xF3 used for type matic rate

oxED used for LEDS

Q.23 In flow control what is the working of D4? (3marks)

Answer: (page 101)

First the low nibble of the byte is sent from the sender in bit D0 to D3 of the data port. D4 bit is cleared to indicate the low nibble is being sent. The receiver will know the arrival of the low nibble when its checks BUSY bit which should be set (by the interface) on arrival.

Q.24 What are the usages of coprocessor control word in coprocessor while testing for coprocessor? (3 marks)

Answer: (page 168)

The coprocessor control word contains some control information about the coprocessor. The bit number 7 of coprocessor control word is the Interrupt Enable Flag and bit number 8 & 9 should contain 11 on initialization.

Q.25 Write an initialize function to initialize COM ports using BIOS services? (5 marks)

Answer: (page 127)

#include <dos.h>

#include <bios.h>

void initialize (unsigned int far *com)

{

outportb ( (*com)+3, inport ((*com)+3) | 0x80);

outportb ( (*com),0x80);

outportb( (*com) +1, 0x01);

outportb ( (*com)+3, 0x1b);

 

Q.26 Draw/Write structure of status registers C? (5 marks)

Answer: (page 146)

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 2009

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Attachments:

Replies to This Discussion

Interrupt enable flag IRQ7

The amount of memory above conventional memory (extended
memory) can be determined using the service 15H/88H.

Set Date 1AH/05

Other service of 14h include service #1 which is used to send a byte

Printing in the background yes allow

Printer Interface and IRQ7 

The interval timer can operate in six modes.

My today paper of cs609.
Subjective part
Q#1:

Q#2: What are the usages of coprocessor control word in coprocessor while testing for coprocessor? 2 marks
Q#3: What are the usages of coprocessor control word in coprocessor while testing for coprocessor? 3 marks
Q#4:-Explain this condition? 3 marks
unsigned int far*lpt=(unsigned int far*)0x00400008)
(((inport((*lpt)+1))&0x80)==80)

Q#5:Swapping kesy krty hain ? 5 marks
Answer:

Q#6 Draw/Write structure of status registers C? (5 marks)

MCQ’S
_______ is LED control byte.
►0xFD
►0xED Answer
►0xFF
►0xEE
The Function of I/O controller is to provide ____________.
►I/O control signals
►Buffering
►Error Correction and Detection
►All of given Answer
Standard PC can have _____ PPI.
►1
►4 (Page 84)
►8
►16
Total No. of bytes that can be stored in Keyboard Buffer is____.
►16
►32 (Page 54)
►64
►128
In self test mode the output of the UART is routed to its input
►True (Page 117)
►False
In ____________each byte is needed to be encapsulated in start and end.
►Synchronous communication
►Asynchronous communication (Page 106)
►Both
►None of given
Interrupt _____ is empty; we can use its vector as a flag.
►9H
►13H
►15H
►65H (Page 65)
Standard PC operates in two modes in terms of memory which are
►Real mode and Extended Mode
►Base mode and Memory Mode
►None of the given
►Real mode and protected mode (Page 6)
The amount of memory above conventional memory (extended memory) can be determined using the service
_______.
►15H/88H (Page 162)
►16H/88H
►17H/88H
►21H/88H
______ is Disk interrupt.
►10H
►11H
►13H (Page 42)
►14H
The BIOS interrupt ________ can be used to configure RTC.
►1AH (Page 136)
►2AH
►3AH
►4AH
Which port is known as Data Port______
►60H (Page 177)
►61H
►64H
►69H
Only ________ ports are important from programming point of view.
► 70 and 71H (Page 141)
►71 and 72H
►70 and 72H
►72 and 73H
Interrupt Vector Table (IVT) in short is a _______ bytes sized table.
►1024 (Page 10)
►2048
►3072
►4096

Remember me in your prayers.

The Function of I/O controller is to provide ____________.
►I/O control signals
►Buffering
►Error Correction and Detection
►All of given Answer

Thx for sharng ##allz. Gud luck for ur result. 

RSS

Latest Activity

彡JK彡 ❤️ replied to +¢αяєℓєѕѕ gιяℓ's discussion Iss Mien Fail Karn wali Kon C baat thi xD
10 minutes ago
彡JK彡 ❤️ replied to + "Jɨyą's discussion okey :x
12 minutes ago
彡JK彡 ❤️ replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Muhabato me li gaye kasmain
17 minutes ago
彡JK彡 ❤️ replied to + M.Tariq Malik's discussion غیر پھر غیر، درگزر کر دے - کون روکے زبان اپنوں کی
22 minutes ago
彡JK彡 ❤️ replied to 彡JK彡 ❤️'s discussion ............. ایک تلخ حقیقت..........
25 minutes ago
彡JK彡 ❤️ replied to 彡JK彡 ❤️'s discussion ............. ایک تلخ حقیقت..........
26 minutes ago
彡JK彡 ❤️ replied to +¢αяєℓєѕѕ gιяℓ's discussion Jin sey Mohabbat Ho.....
28 minutes ago
彡JK彡 ❤️ replied to + "Jɨyą's discussion Tou ho jay shairiiii XD XD
30 minutes ago
彡JK彡 ❤️ replied to +¢αяєℓєѕѕ gιяℓ's discussion xD.........................پرانی محبوبہ کے نام
37 minutes ago
彡JK彡 ❤️ replied to + ! ! nO pAnGa's discussion Read this out Loud !!!!!!!!!
40 minutes ago
彡JK彡 ❤️ replied to + Iuuoɔǝut+'s discussion STORY OF BLIND LOVE
1 hour ago
彡JK彡 ❤️ replied to 彡JK彡 ❤️'s discussion Dedicated To All Fake IDs............ :p:p
1 hour ago
彡JK彡 ❤️ replied to 彡JK彡 ❤️'s discussion Dedicated To All Fake IDs............ :p:p
1 hour ago
Laravel replied to Whispering Soul's discussion "Izat" do trfa chez hai..
1 hour ago
Laravel replied to + Iuuoɔǝut+'s discussion STORY OF BLIND LOVE
1 hour ago
彡JK彡 ❤️ replied to + M.Tariq Malik's discussion Follow the Main Forum & Study Groups New Added Discussions at Your Mail Address
1 hour ago
+ ! ! ! ! ᎠixieᎠuຮt꧂ replied to +¢αяєℓєѕѕ gιяℓ's discussion xD.........................پرانی محبوبہ کے نام
1 hour ago
+ ! ! ! ! ᎠixieᎠuຮt꧂ liked + Iuuoɔǝut+'s blog post The End Is Not Near, But If An 'Insect Apocalypse' Ever Happens, How Would We Know?
2 hours ago
+ ! ! ! ! ᎠixieᎠuຮt꧂ liked moniba hussain's blog post love
2 hours ago
+ ! ! ! ! ᎠixieᎠuຮt꧂ liked moniba hussain's blog post fun
2 hours ago

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service