Ask Experts Questions for FREE Help !
Ask
    Eeshan's Avatar
    Eeshan Posts: 1, Reputation: 1
    New Member
     
    #1

    Sep 14, 2013, 04:18 PM
    A program that behaves like a character generator protocol
    Hello,

    I am a beginner in Java. I need help in writing a program that behaves like a character generator protocol that defines a server which sends out ASCII text. The only difference here is that you send ASCII text to a file rather than onto a network connection. The most popular variation of this protocol sends 72-character lines containing printable ASCII characters. (The printable ASCII characters are those from 33 to 126 that exclude the various whitespace and control characters.) The first line contains characters 33 through 104 sorted. The second line contains characters 34 through 105. The third line contains characters 35 through 106. This continues through line 23, which contains characters 55 through 126. Lines are terminated with a carriage return (ASCII 13) and a linefeed (ASCII 10). The out put looks like this:
    !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh

    "#$%&'()*+, /0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcefghi

    #$%&'()*+, /0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghij

    $%&'()*+, /0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijk

    %&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijkl

    &'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklm

    '()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmn

    ()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmno

    )*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnop

    *+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopq

Check out some similar questions!

Goback n protocol java program [ 3 Answers ]

The Reliable Lab Introduction Computer systems (such as computer networks) are often too complex to analyze formally. Performing measurements in such systems can also be impossible due to practical reasons. It is therefore common that they are evaluated by simulation. In this lab, you will...

Generator wiring: new generator gfci breaker tripping [ 2 Answers ]

Generator wiring: I have a new honda generator. I ran 3 wires from the garage to the transfer switch in the house. When I start up and throw in the breaker on the generator, its GFCI trips immediately. It is a long run (125ft) run to the house and I used heavy wires. But I only ran 3 (blk,...

I require for a Power Plus 5000 Generator 1 generator under following specifications: [ 1 Answers ]

I require for a Power Plus 5000 Generator 1 generator under following specifications: 5000 Watts, 120V, 1 Phase, 60 Hz at 3600 RPM, 3720 RPM at no-load. Thank you, Publio

What is protocol [ 3 Answers ]

Hi! I have seen the terms like hyper text transfer protocol, tpc/ip protocol etc. Please tell me what this protocols are?


View more questions Search
 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.