Q1.If CWR=9B H , the counter operation is ANSWER: load LSB Q2.___ is used to disable (Mask) or enable (Unmask) individual interrupt request inputs. ANSWER:IMR Q3.Control words and status information from the microprocessor to PIC and from PIC to microprocessor respectively, are transferred through tRead more
Q1.If CWR=9B H , the counter operation is
ANSWER:load LSB
Q2.___ is used to disable (Mask) or enable (Unmask) individual interrupt request inputs.
ANSWER:IMR
Q3.Control words and status information from the microprocessor to PIC and from PIC to microprocessor respectively, are transferred through the
ANSWER: DATA BUS BUFFER
Q4.With respect to 8255 Programmable Peripheral Interface (PPI), which of the following statement(s) are correct?
1. Mode 0: Any port can be used as input/output ports.
2. Mode 1: Both Port A and B can be used as input/output ports.
3. Mode 2: Port B can be used either in Mode 0 or Mode 1.
ANSWER: ALL
Q5.In 8255, under the I/O mode of operation we have __ modes. Under which mode will have the following features
i) A 5 bit control port is available.
ii) Three I/O lines are available at Port C.
ANSWER: 2 MODE 2
Q6.Which of these register’s contents are used for auto-initialization (internally)?
Current Word Register
Current address Register
Base Address Register
command Register
ANSWER: Base Address Register
Q7.Which of the following is a type of DMA transfer?
Now that your browser knows the IP address of the server, it needs to find a way to pass this request all the way to the server. There’s a lot of stuff that needs to be managed for smooth communication between browser and server. There’s something called an OSI (Open System Interconnection) model thRead more
Now that your browser knows the IP address of the server, it needs to find a way to pass this request all the way to the server.
There’s a lot of stuff that needs to be managed for smooth communication between browser and server.
There’s something called an OSI (Open System Interconnection) model that standardizes communication between different computing machines .
It describes the flow of information from one computer to another. It defines seven layers, and the interplay of these layers magically brings, for example, facebook[dot]com from the server to your machine. At both ends (client and server), these layers are followed, but there is a difference in the flow of which layer kicks in first. When your browser sends the request, communication starts at the application layer and goes down to the physical layer—whereas in the server, while receiving the request, it would start at the physical layer, going up.
Application layer: consists of protocols that directly interact with the end user. A protocol defines how different applications across machines communicate with each other. If you are requesting a web page, HTTP (Hyper Text Transfer Protocol) will handle it, and if you are sending an email, SMTP (Simple Mail Transfer Protocol) will handle it. So in the case of Facebook[dot]com, your browser generates a HTTP request. Don’t confuse the browser as part of the application layer. The role of application layers comes in when your browser creates a HTTP request. This HTTP request is part of the application layer.
Presentation layer: Depending on your request (image, video, text, GIF, etc.), this layer converts and presents the data in readable format. In the case of Facebook[dot]com, when your machine received it, the presentation layer would kick in to render it as a HTML page.
Session layer: responsible for establishing, maintaining, and terminating the session between devices. For example, when you are doing video chat, the time you enter into the chat to the time you leave it is one complete session, given there were no interruptions during that interval. However, in the case of Facebook[dot]com, HTTP uses lower layer protocol, instead of session layer protocols.
Transport layer: takes care of the reliability, safety and security of the path taken between the request and response. Here, the transportation, delivery and assembling of data takes place. When you are requesting Facebook[dot]com, essentially, you are not sending any data, but the role of this layer is more evident when you receive the data. The data your machine receives comes divided into packets with a sequence number assigned to each packet, called data payloads. This layer makes sure that you have received all packets and reassembles them in order.
Network layer: This organizes and routes the data. It also decides which transfer protocols to use. So in the case of Facebook[dot]com, the best path to route the data between your machine and web server is determined by the IP (Internet Protocol).
Data link layer: In this layer, data is broken down into pieces. So when the server sends Facebook[dot]com, it doesn’t send the entire page all at once; rather, the data link layer segments it, encapsulates it and transmits it as packets (data payloads) through the physical layer. It is not necessary that the packets be delivered directly to your machine. It may travel from network to network, passing through many machines before reaching you. So in this case, IP addresses with all of these hops are translated to hardware addresses, at the data link layer.
Physical layer: The physical layer deals with the actual connectivity between your machine and the server. The hardware and signaling and encoding mechanisms required to form the actual connection are defined at this layer, and the data received from the server is in the form of raw bits.
Find the value of CS,RD,WR,A1,A0 for 8253 to perform following: Load Counter 2 Read counter 1 Write Mode word Read …
DOWNLOAD THE BELOW ATTACHMENT FOR REFERENCE:
DOWNLOAD THE BELOW ATTACHMENT FOR REFERENCE:
See lessElaborate which pins are responsible for counter 0,1 and 2 selection in 8253
D7 D6 D5 D4 D3 D2 D1 D0 SC1 SC0 RW1 RW0 M2 M1 M0 BCD D7 D6 SC1 SC0 0 0 SELECT COUNTER 0 0 1 SELECT COUNTER 1 1 0 SELECT COUNTER 2
D7 D6 D5 D4 D3 D2 D1 D0
D7 D6
Q1.If CWR=9B H , the counter operation is load LSB load MSB Counter latch Q2.___ is used to disable (Mask) …
Q1.If CWR=9B H , the counter operation is ANSWER: load LSB Q2.___ is used to disable (Mask) or enable (Unmask) individual interrupt request inputs. ANSWER:IMR Q3.Control words and status information from the microprocessor to PIC and from PIC to microprocessor respectively, are transferred through tRead more
Q1.If CWR=9B H , the counter operation is
ANSWER: load LSB
Q2.___ is used to disable (Mask) or enable (Unmask) individual interrupt request inputs.
ANSWER:IMR
Q3.Control words and status information from the microprocessor to PIC and from PIC to microprocessor respectively, are transferred through the
ANSWER: DATA BUS BUFFER
Q4.With respect to 8255 Programmable Peripheral Interface (PPI), which of the following statement(s) are correct?
1. Mode 0: Any port can be used as input/output ports.
2. Mode 1: Both Port A and B can be used as input/output ports.
3. Mode 2: Port B can be used either in Mode 0 or Mode 1.
ANSWER: ALL
Q5.In 8255, under the I/O mode of operation we have __ modes. Under which mode will have the following features
i) A 5 bit control port is available.
ii) Three I/O lines are available at Port C.
ANSWER: 2 MODE 2
Q6.Which of these register’s contents are used for auto-initialization (internally)?
Current Word Register
Current address Register
Base Address Register
command Register
ANSWER: Base Address Register
Q7.Which of the following is a type of DMA transfer?
Memory Read
Memory Write
Transfer verification
All the above
ANSWER: ALL
See lessThe value of CWR for BSR MODE for setting PC4 is 02 03 09 04
09
09
See lessThe value of CWR in mode 0 for Port A = Input port, Port B = not used, Port CU …
98
98
See lessIf someone wants to open a facebook page, how OSI model will work using its different layers?
Now that your browser knows the IP address of the server, it needs to find a way to pass this request all the way to the server. There’s a lot of stuff that needs to be managed for smooth communication between browser and server. There’s something called an OSI (Open System Interconnection) model thRead more
Now that your browser knows the IP address of the server, it needs to find a way to pass this request all the way to the server.
There’s a lot of stuff that needs to be managed for smooth communication between browser and server.
There’s something called an OSI (Open System Interconnection) model that standardizes communication between different computing machines .
It describes the flow of information from one computer to another. It defines seven layers, and the interplay of these layers magically brings, for example, facebook[dot]com from the server to your machine. At both ends (client and server), these layers are followed, but there is a difference in the flow of which layer kicks in first. When your browser sends the request, communication starts at the application layer and goes down to the physical layer—whereas in the server, while receiving the request, it would start at the physical layer, going up.
Application layer: consists of protocols that directly interact with the end user. A protocol defines how different applications across machines communicate with each other. If you are requesting a web page, HTTP (Hyper Text Transfer Protocol) will handle it, and if you are sending an email, SMTP (Simple Mail Transfer Protocol) will handle it. So in the case of Facebook[dot]com, your browser generates a HTTP request. Don’t confuse the browser as part of the application layer. The role of application layers comes in when your browser creates a HTTP request. This HTTP request is part of the application layer.
Presentation layer: Depending on your request (image, video, text, GIF, etc.), this layer converts and presents the data in readable format. In the case of Facebook[dot]com, when your machine received it, the presentation layer would kick in to render it as a HTML page.
Session layer: responsible for establishing, maintaining, and terminating the session between devices. For example, when you are doing video chat, the time you enter into the chat to the time you leave it is one complete session, given there were no interruptions during that interval. However, in the case of Facebook[dot]com, HTTP uses lower layer protocol, instead of session layer protocols.
Transport layer: takes care of the reliability, safety and security of the path taken between the request and response. Here, the transportation, delivery and assembling of data takes place. When you are requesting Facebook[dot]com, essentially, you are not sending any data, but the role of this layer is more evident when you receive the data. The data your machine receives comes divided into packets with a sequence number assigned to each packet, called data payloads. This layer makes sure that you have received all packets and reassembles them in order.
Network layer: This organizes and routes the data. It also decides which transfer protocols to use. So in the case of Facebook[dot]com, the best path to route the data between your machine and web server is determined by the IP (Internet Protocol).
Data link layer: In this layer, data is broken down into pieces. So when the server sends Facebook[dot]com, it doesn’t send the entire page all at once; rather, the data link layer segments it, encapsulates it and transmits it as packets (data payloads) through the physical layer. It is not necessary that the packets be delivered directly to your machine. It may travel from network to network, passing through many machines before reaching you. So in this case, IP addresses with all of these hops are translated to hardware addresses, at the data link layer.
Physical layer: The physical layer deals with the actual connectivity between your machine and the server. The hardware and signaling and encoding mechanisms required to form the actual connection are defined at this layer, and the data received from the server is in the form of raw bits.
See less