Skip to main content

Solved CS609 Current Papers Questions Shared by Dazzling Bobby



1)     Write Keyboard writing protocol?

Keyboard writing Protocol
·         • Wait till input buffer is full
·         • Write on buffer
·         • Wait till output buffer is full
·         • Check the acknowledgement byte
·         • Repeat the process if it was previously unsuccessful.
2)     Steps involve in LPT1 and LPT2 ?

Swapping LPTs
Direct Parallel Port Programming
unsigned int far * lpt = (unsigned int far *) 0x00400008 ;
unsigned int temp;
temp=*(lpt);
*lpt=*(lpt + 1);
*(lpt + 1)=temp;
The LPTs can be swapped i.e LPT1 can be made LPT2 and vice versa for LPT2. This can
be accomplished simply by swapping their addresses in the BIOS data area as shown in
the slide above.
Explain null modem? 5 marks
if data is to transferred from one computer to another computer through some media which can carry digital signal then modem can be eliminated and A UART can be interconnected on both the computers. Such arrangement is called a NULL modem.
3) How to send data to keyboard?
Similarly some data (as control information) can be send to the keyboard. The processor will write on the port 60H. The device driver will check the OBF( output buffer full bit of port 64H which remains set as long as the byte is not received by the keyboard. On receipt of the byte from the port 60H the keyboard device write a code 0xFA on the port 60H to indicate that the byte has been received properly.

Describe the purpose of 12h interrupt and 88h? 3Marks
Int 12H is used to determine the amount of conventional memory interfaced with the processor in kilobytes. The amount of memory above conventional memory (extended memory) can be determined using the service 15H/88H.
3: In flow control what is the working of D4?
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.
STATUS REGISTER C of RTC.   MARKS 5
The lower 4 bits of this register stores a code indicating the frequency with which the RTC hardware interrupt can interrupt the processor. The next field is used to specify the time frequency i.e. the frequency with the time is sampled and hence updated. The most significant bit indicates that after time sampling if the time has been updated in to the 64 byte RAM or not.
Q4: What is the purpose of Interrupt ID register in UART? 3 marks
Once an interrupt occurs it may be required to identify the case of the interrupt. This register is used to identify the cause of the interrupt.
What are the usages of coprocessor control word in coprocessor while testing for coprocessor? 3 marks
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.
((( inport((*lpt) +1)) & 0x80) == 0x80)
Condition will check whether the printing port is idle or not. see page #97 for more detail.

3) In LPT1 BIOS what is the meaning of " inportb*(base +1)& 0x80);?
In direct parallel port programming it indicate to print a file. While loop terminate when the file ends.
In case of printer the (base +1) is the printer status port. it will tell if its busy or not...


unsigned int far * lpt = (unsigned int far *)0x00400008 Direct parallel port programming LPTs swapping
Here we are accessing the base register address of LPT1 that is on the 40 segment 08 offset
for more info check page # 91,92 of handbook

which command before changing the typematic and LEDS? 3 marks.
0xF3 for typematic and 0xED for LED

3: In flow control what is the working of D4?
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 1. What is the purpose of service 1 and 2 of 14h  2marks
BIOS support for COM ports
INT#14H
SERVICE#1 = output characters
SERVICE#2 = read in characters
q2  WHAT are DTE AND DCE MARKS 2
RS232C is a standard for physical dimension of the connector interconnecting a DTE(Data  terminal equipment) and DCE (Data communication equipment).
Q3 HOW DONE DATA RECEPTION AND DATA RETRIEVAL IN RS232C  MARKS 3
Data is received through the RxD line. Data is send through the TxD line. DTR (data terminal ready) indicates that the data terminal is live and kicking. DSR(data set ready) indicates that the data set is live. Whenever the sender can send data it sends the signal RTS( Request to send) if as a result the receiver is free and can receive data it send the sender an acknowledge through CTS( clear to send) indicating that its clear to send now.

Q3: What is the RTC? 3 marks
-RTC REAL TIME CLOCK   MARKS 3
Real time clock is a device incorporated into the PC to update time even if the computer is off. It has the characteristics shown in the slide above which enables it to update time even if the computer is off.
Step to access battery powered ram. (5 Marks)
Battery Powered RAM is accessed in two steps
• Specify the Byte no. in 70H port.
• Read/write port 71H to get/set the value of specified byte.
Following slide shown a fragment of code that can be used to read or write onto any byte within the 64 byte battery powered RAM.
outport (0x70, 0);
outport (0x70, 4);
sec = inport (0x71);
outport (0x71,hrs);

what is the purpose of self-test mode in UART? 2 Marks
What is Self-test mode of UART?. 3 Marks
Moreover if a single computer is available to a developer the UART contains a self-test mode which can be used by the programmer to self-test the software. In self-test mode the output of the UART is routed to its input. So you receive what you send.

Comments

Popular posts from this blog

CS614 Quiz No.4 Shared by Princess (solved), Spring 2014

  “What means What”. The phrase refers to: Select correct option:  Meta data  External data Transformed data Internal representations Question # 2 of 10 Which of the following is NOT one of the activities of “Maintenance and Growth” phase in Kimball’s DWH development approach? Select correct option: Education Technical Education Program Support  Interface Deployment                 Question # 3 of 10 Horizontally wide data means: Select correct option: Dataset has large no. of attributes Dataset has large no. of records Dataset has attribute skews Dataset has partitioning skews                 Question # 4 of 10 Which of the following is NOT one of the top-10 mistakes that should be avoided during DWH development? Select correct option: Not interacting directly with end ...

CS614 Quiz No.4 Shared by MT Khan (Solved)

Question # 1 of 10 ( Start time: 09:04:39 PM ) Total Marks: 1 A typical cycle of implementing the change in DWH comprises of the sequence: Select correct option: Production -> QA -> Development Development-> QA -> Production(CORRECT) Development -> Production -> QA Production -> Development -> QA Question # 2 of 10 ( Start time: 09:05:16 PM ) Total Marks: 1 Vertically wide data means: Select correct option: Dataset has large no. of attributes Dataset has large no. of records(CORRECT) Dataset has attribute skews Dataset has partitioning skews Question # 3 of 10 ( Start time: 09:05:43 PM ) Total Marks: 1 In ___________ phase of kimballs approach, we identify the components needed now and in future. Select correct option: Requirement definition Architectural design Product development Analytical application development Question # 4 of 10 ( Start time: 09:06:56 PM ) Total Marks: 1 Technical architecture design supports the communicat...

CS614 Quiz No.3 Shared by Students (Solved), Spring 2014

______ index stores first value in each block in the sequential file and a pointer to the block.  Select correct option:   Dense  Sparse  B-Tree  Hash In context of data parallelism, the work done by query processor should be:  Select correct option:  Almost zero  Maximum  Pipelined  Filtered across partitions The optimizer uses a hash join to join two tables if they are joined using an equijoin and  Select correct option:   Outer table has less number of rows  Inner table has less number of rows  Cardinality of tables is equal  Large amount of data needs to be joined Bitmap index is appropriate for:  Select correct option:  Low cardinality data  High cardinality data  Clustered data  Aggregated data If a task takes “T” time units to execute on a single data item, then execution of this task on “N” data items will take __...