CS101 Assignment No. 1 Solution

No Comments

Question No.1 (Marks = 10)
Compare Serial and Parallel Ports. Give any five points in tabular form. 
Serial Port --------- Parallel Port

Question No.2 (Marks = 5)
Write any two situations where audio input is more beneficial than other type (text, image etc) of input approaches? 

Solution idea for q 1
• However, since the beginning of the 21st century, the parallel port has largely been replaced by the USB port, although some ancillary devices still allow for connection by both means. One key difference between a serial and parallel port is that the serial port allows for data to be transferred in from a remote device or transferred out from the hard drive to a remote device.

• Developers manufactured adapters to run SCSI devices by parallel ports. Through the evolution of parallel communication, the Universal Serial Bus (USB) and ethernet interfaces were developed, and they have effectively replaced the parallel port.

In computing, a serial port is a serial communication physical interface through which information transfers in or out one bit at a time (contrast parallel port).[1] Throughout most of the history of personal computers, data transfer through serial ports connected the computer to devices such as terminals and various peripherals.
 
While such interfaces as Ethernet, FireWire, and USB all send data as a serial stream, the term "serial port" usually identifies hardware more or less compliant to the RS-232 standard, intended to interface with a modem or with a similar communication device.
 
Modern computers without serial ports may require serial-to-USB converters to allow compatibility with RS 232 serial devices. Serial ports are still used in applications such as industrial automation systems, scientific instruments, shop till systems and some industrial and consumer products. Server computers may use a serial port as a control console for diagnostics. Network equipment (such as routers and switches) often use serial console for configuration. Serial ports are still used in these areas as they are simple, cheap and their console functions are highly standardized and widespread. A serial port requires very little supporting software from the host system.


A parallel port is a type of interface found on computers (personal and otherwise) for connecting various peripherals. In computing, a parallel port is a parallel communication physical interface. It is also known as a printer port or Centronics port. The IEEE 1284 standard defines the bi-directional version of the port, which allows the transmission and reception of data bits at the same time.

Compare Serial and Parallel Ports. Give any five points in tabular form
Serial
paralel


Works Relatively Slow
Works Relatively Fast
Male Port
Female Port
Used for Mouse, Modem, Keyboard etc.
Used mostly for Printers
Communication
Communication













Parallel ports are easy to program and faster compared to the serial ports. But main disadvantage is it needs more number of transmission lines. Because of this reason parallel ports are not used in long distance communications. Let us know the basic difference between working of parallel port and serial port. In serial ports, there will be two data lines: One transmission and one receive line. To send a data in serial port, it has to be sent one bit after another with some extra bits like start bit, stop bit and parity bit to detect errors. But in parallel port, all the 8 bits of a byte will be sent to the port at a time and a indication will be sent in another line. There will be some data lines, some control and some handshaking lines in parallel port. If three bytes of data.

01000101 10011100 10110011 is to be sent to the port, parallel port communication is faster then serial port.

Serial communication means less number of wire and it is slow, one by one bit of massege signal is send to reciever.parallel communication has so many numbers of wire & it is fast.

Serial Communications and Parallel communications both define a way of transporation of data over networks.

>  In Serial devices: transmit data bit-after-bit, serially over time. When 8 bits are received, after 8 bit-times (plus a little extra for signal synchronization), they are assembled back into a byte and delivered to the software.

> In Parallel communication: a word of some data length, say like 8 bits, travels all at once, along multiple parallel channels (one channel per bit position). At the receiver, an 8-bit byte is  received every "bit time". In effect, you have 8 serial channels transmitting and receiving data simultaneously, making it (by definition) at least 8 times faster than a single serial channel using the same transceiver technology.
::::::::::::::::::::::::::


QUESTION NO 1… IDEA Solution
Serial and parallel ports are two different types of connecting devices. They can be used to connect all sorts of peripherals like modems, mice, and printers. In this section, we will discuss the differences between serial and parallel ports.

Serial Ports:
Serial ports work by breaking up bytes into separate bits. It can only do this by using a special controller chip called the Universal Asynchronous Receiver/Transmitter (UART). If your computer has both parallel and serial ports, then the UART takes the bytes from the parallel ports and breaks them up into individual bits so they can go through a serial port. Most serial ports can transfer data at 115 kilobits per second. However, there are some super fast serial ports, like the Enhanced Serial Port (ESP) and the Super Enhanced Serial Port (Super ESP).

Parallel Ports:
If you have a printer connected to your computer, then you most likely have parallel ports in your computer system. This is because almost all printers are connected to a computer system via parallel ports. As stated above, parallel ports can transfer eight bits of data at a time. The bits are transferred side by side, in parallel fashion. Parallel ports can usually transfer data at about 50 to 100 kilobytes per second.

As you can see, this is much faster than the serial port's 115 kilobits per second.

There are three newer types of parallel ports:
1. 1. Standard Parallel Port
2. 2. Enhanced Parallel Port
3. 3. Extended Capabilities Port

Answer Question 2..

1- Any Picture and Text password is secure identity for security. But we all know that there are no same voices of people in the world. So We can use our Audio Input for a high Security.

2- We can Find and write the words through Giving audio Input (Speaking) to Computer. It is very easy for us and we can do our work without typing.
::::::::::::::::::::::::::::::;;

Another Solution:


Question No.1 (Marks = 10)

Compare Serial and Parallel Ports. Give any five points in tabular form.

Serial Port
Parallel Port
Transmits 1 Bit of Data at a time Transmit Multiple Bits of Data
Works Relatively Slow Works Relatively Fast
Male Port Female Port
Used for Mouse, Modem, Keyboard etc. Used mostly for Printers
Less Numbers of Wires are Used for
Communication Many number of Wires are Used for
Communication


Ans No.2

1- Any Picture and Text password is secure identity for security. But we all know
that there are no same voices of people in the world. So We can use our Audio
Input for a high Security.
2- We can Find and write the words through Giving audio Input (Speaking) to
Computer. It is very easy for us and we can do our work without typing.
Next PostNewer Post Previous PostOlder Post Home

0 comments

Post a Comment