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 Follow the New Added Discussions at Your Mail Address?

+ 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: 2018

.

+ 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彡 ❤️ posted discussions
17 minutes ago
Aqsa batool liked Aqsa batool's profile
35 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + M.Tariq Malik's discussion Moazz Files For Mid Term Past Papers
53 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + M.Tariq Malik's discussion Moazz Files For Final Term Past Papers
53 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + M.Tariq Malik's discussion Waqar Files For Final Term Past Papers
53 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + M.Tariq Malik's discussion Zoology Mid Term Past Papers
53 minutes ago
+¢αяєℓєѕѕ gιяℓ liked ٹمبکٹو's discussion محبّت اور دل - عشق مجازی
53 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + M.Tariq Malik's discussion Zoology Final Term Papers
53 minutes ago
+¢αяєℓєѕѕ gιяℓ liked Sana Sunny ツ's discussion ~~~,,,Sana Sunny Poetry,,,~~~
53 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + M.Tariq Malik's discussion BIO, ZOO, CHE, BIF, BT, VU Codes - BIO Tech Final Term Past Papers
53 minutes ago
+¢αяєℓєѕѕ gιяℓ liked مخلص's discussion Oppo Reno Ace. Tip Toward Balance.
53 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + "J ɨ y ą ⋆'s discussion Hona chahy tha.......
53 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + "J ɨ y ą ⋆'s discussion Mohabat
53 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + Iuuoɔǝut +'s discussion conventional banking Thesis
53 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + Iuuoɔǝut +'s discussion conventional banking Thesis
53 minutes ago
+¢αяєℓєѕѕ gιяℓ liked Ahmer Rajpoot's discussion MCM101Assignment No 01 Fall 2019 Solution & Discussion
53 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + M.Tariq Malik's discussion BIO, BT, STA, CHE VU Codes - BIO Tech Mid Term Past Papers
53 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + M.Tariq Malik's discussion Waqar Files For Mid Term Past Papers
53 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + ! ! ! ! ! ! ! ! ! ! ! ! ! ! !'s discussion Hamesha sath rehne ki aadat kuch nahin hoti
53 minutes ago
+¢αяєℓєѕѕ gιяℓ liked + M.Tariq Malik's discussion VU All Handouts Power Point Slides ( Handouts PPTs)
53 minutes ago

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

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