Complete IIT AIEEE ICSE ISC PMT help forum
This is a free help Forum for Indian Students.
Complete IIT AIEEE ICSE ISC PMT help forum
This is a free help Forum for Indian Students.
Complete IIT AIEEE ICSE ISC PMT help forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Complete IIT AIEEE ICSE ISC PMT help forum

Complete help forum for students preparing for icse iit aieee cbse pmt and other related exams.Stay updated about all 2011 exams.
 
HomeHome  PortalPortal  SearchSearch  Latest imagesLatest images  RegisterRegister  Log in  India NewsIndia News  
Keywords
computer prelim RESULT physics ICSE 2004 question science papers 2009 2007 YEAR CLASS 2010 CASE UNION 2006 paper graph SELECT
Latest topics
» Nitration of aniline - IIT JEE 2018 Advanced - solved
isc practicals EmptyFri Jun 08, 2018 2:34 am by adianadiadi

» Diamagnetic - Paramagnetic - Ni(CO)4, [Ni(CN)4]2- and [NiCl4
isc practicals EmptyFri Apr 06, 2018 1:05 am by adianadiadi

» IIT JEE chemistry solved interactive question paper
isc practicals EmptySun Oct 29, 2017 12:11 pm by adianadiadi

» IIT JEE 2015 SOLVED QUESTION PAPER
isc practicals EmptyWed Oct 19, 2016 1:44 pm by adianadiadi

» IIT JEE chemistry solved questions
isc practicals EmptySat Jul 18, 2015 6:15 pm by adianadiadi

» General Description of Chinese Market for Foaming Agent ADC
isc practicals EmptyFri May 09, 2014 2:09 pm by happybaicaitou

» How to get Lowest Cost MBBS Admission?
isc practicals EmptyMon Feb 24, 2014 6:39 pm by MENTOR 2014

»  girl boy vashikaran specialist agori baba ji +91-9461165
isc practicals EmptyTue Jan 21, 2014 6:00 pm by krshastri

»  STRONG LOST LOVE SPELL +91-9461165176
isc practicals EmptyTue Jan 21, 2014 6:00 pm by krshastri

Top posters
abhas
isc practicals Vote_lcapisc practicals Voting_barisc practicals Vote_rcap 
Anu..i luv icse...:)
isc practicals Vote_lcapisc practicals Voting_barisc practicals Vote_rcap 
G-7
isc practicals Vote_lcapisc practicals Voting_barisc practicals Vote_rcap 
siya
isc practicals Vote_lcapisc practicals Voting_barisc practicals Vote_rcap 
Candy
isc practicals Vote_lcapisc practicals Voting_barisc practicals Vote_rcap 
jOhNy
isc practicals Vote_lcapisc practicals Voting_barisc practicals Vote_rcap 
Apurva
isc practicals Vote_lcapisc practicals Voting_barisc practicals Vote_rcap 
WinRrule
isc practicals Vote_lcapisc practicals Voting_barisc practicals Vote_rcap 
ambili
isc practicals Vote_lcapisc practicals Voting_barisc practicals Vote_rcap 
saif
isc practicals Vote_lcapisc practicals Voting_barisc practicals Vote_rcap 



Search if you can't find it here

isc practicals

View previous topic View next topic Go down
AuthorMessage
desert564




isc practicals Vide
PostSubject: isc practicals isc practicals EmptySun Aug 29, 2010 3:27 pm

The computer department of the Agency of International Espionage is trying to
decode intercepted messages. The agency’s spies have determined that the
enemy encodes messages by first converting all characters to their ASCII
values and then reversing the string.
For example, consider A_z (the underscore is just to highlight the space). The
ASCII values of A. <space>, z are 65, 32, 122 respectively. Concatenate them
to get 6532122, then reverse this to get 2212356 as the code message.
Write a program which reads a coded message and decodes it. The coded
message will not exceed 200 characters. It will contain only alphabets (A ….
Z, and a ….z) and spaces. ASCII values of A …Z are 65 ...90 and those of a
…z are 97 …122. Test your program for the following data and some random
data.
SAMPLE DATA:
INPUT;
Encode message:
2 3 1 2 1 7 9 8 6 2 3 1 0 1 9 9 5 0 1 8 7 2 3 7 9 2 31 0 1 8 1 1 7 9 2 7
OUTPUT:
THE DECODED MESSAGE: H ave a N ice D ay
* * *
INPUT;
Encode message:
2 3 5 1 10 1 1 5 0 1 7 8 2 3 5 1 1 1 2 1 7 9 9 1 1 8 0 1 5 6 2 3 4 0 1 6 1 1 7 1 1 4
1 1 4 8
OUTPUT:
THE DECODED MESSAGE: T ruth A lways W ins
* * *
( * should be capital letters)
Back to top Go down

isc practicals

View previous topic View next topic Back to top
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Complete IIT AIEEE ICSE ISC PMT help forum :: ISC :: ISC 2010 [Class xii] :: Computer-