P5.6 Estimate the time it takes send a file that has 20000 characters using RS232-serial interfacing if the baud rate is set at 38400 bps using a 10-bit data packet.
Hi,
Assuming that each character is 8-bit long, plus one start bit and one stop bit (thus making it a total of 10-bits in a packet), the time taken is computed as:
Total_Time_taken = Time_per_bit * Number_of_bits_per_packet*Number_of_characters
Time_per_bit = (1/38400) sec
Therefore Total_Time_Taken = (1/38400)*10*20000 = 5.2083 seconds
Hope this helps
P5.6 Estimate the time it takes send a file that has 20000 characters using RS232-serial interfacing...
A device is sending out data at the rate of 1000 bps. The time required to send out a single character is: O 1 sec O 1 msec O 8 msec If the baud rate for a 16-0AM signal is 2000 baud, what is the bit rato in kbps? 12 A Mavina to another question will save this response uestion 6 elements are encoded as one signal dlement th bit roe s 24000pa, and Ce 1, the vaue of signal...
4. If an asynchronous frame is used to send ASCII characters in the form of bytes (8 bits), what is the shortest time it could take to send 1000 characters if each bit in a frame is 1 msec long? 5. Suppose an asynchronous frame holds 8 bits of data, a parity bit, and two stop bits (it could happen). Calculate the efficiency of the communication system. Suppose a synchronous frame has 16 bits of non-data in the front and...
1. How many different characters could be encoded using a six-bit code? 2. What is the numerical difference between ASCI a and ASClI 'AN if you treaj them as hexadecimal (hex) numbers? 3. The ASCII codes for the characters 'O' through '9' are what hex numbers? If an asynchronous frame is used to send ASCII characters in the form of bytes (8 bits), what is the shortest time it could take to send 1000 characters if each bit in a...
On average, a printer takes 4 mins to print a file. You send a job to the printer at 10:00am, and it appears to be the 3rd in line. Using this information answer the following (a) Suppose you have to leave for class by 10:15am. What is the probability that you wll be able to get the print out to class? (b) What is the probability that it will take between 7 and 13 mins for your file to finish...
Data communication Qs
A signal has a bandwidth frequency of 150 Hz and the highest frequency is 170 Hz. What is the lowest frequency of the signal? (just put the whole number. No decimal values. No units next to the number) A periodic signal completes one cycle in 0.04 second. What is the frequency? A sine wave completes 7200 cycles in one hour. What are its frequency and period? I: 50 Hz, II: 10 Hz, 0.1 seconds I: 25 Hz,...
A. File I/O using C library functions File I/O in C is achieved using a file pointer to access or modify files. Processing files in C is a four-step process: o Declare a file pointer. o Open the desired file using the pointer. o Read from or write to the file and finally, o Close the file. FILE is a structure defined in <stdio.h>. Files can be opened using the fopen() function. This function takes two arguments, the filename and...
In the last module you learned a formula for calculating bit rate, R = b/t, that is the number of bits divided by the time. This formula expresses the number of bits that are transmitted over a circuit in a given period of time. In practice, however, we are not only concerned with the number bits transmitted, but also with the number of data bits transmitted over a circuit. The data bits are those that the sender decides to send...
Write a C program that takes inventory data from a file and
loads a structure of up to 100 items
defined as:
struct item
{
int item_number;
char item_name[20];
char item_desc[30];
float item_price;
}
I called mine: struct item inventory[100]; (you may use any name
you wish)
I will let you decide the appropriate prompts and edit messages.
You will read the data
from the data file and store the info in an array. Assume no
more than 100 records...
check my answers for Networking I came up with these answers, can check my answers Question 1: General What data rate is needed to transmit an uncompressed 4" x 6" photograph every second with a resolution of 1200 dots per inch and 24 bits per dot (pixel)? 691,200 kb/s 28.8 kb/s 8.29 Mb/s 829 Mb/s Question 2: Layering "Layering" is commonly used in computer networks because (check all that apply): -It forces all network software to be written in āCā....
10. You are using a 16-bit timer, time are using PBCLK, an internal c r1, which has pre ock, hihh has pre-scale options of 1:1, 1.3, 1.64,and 1.256. You configured to run at 10MHz. PRESET EXT CLK COMPARATOR INT CLK Is it possible to set the preset register to a value that corresponds to a time interval of 1.70 seconds, so that the timer can count from 0 to the value and generate an interrupt? You must justify your answer....