Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

CSJM Interview Questions
Questions Answers Views Company eMail

Write an interactive c program that will encode or decode a line of text. To encode a line of text, proceed as follows: Convert each character, including blank spaces, to its ASCII equivalent. Generate a positive random integer. Add this integer to the ASCII equivalent of each character. The same random integer will be used for the entire line of text. Suppose that N1 represents the lowest permissible value in the ASCII code, and N2 represents the highest permissible value. If the number obtained in step 2 above exceeds N2, then subtract the largest possible multiple of N2 from this number, and add the remainder to N1. Hence the encoded number will always fall between N1 and N2, and will therefore always represent some ASCII character. Display the characters that correspond to the encoded ASCII values. The procedure is reversed when decoding a line of text. Be certain, however, that the same random number is used in decoding as was used in encoding.

1 11748

Post New CSJM Interview Questions


CSJM Interview Questions


Un-Answered Questions

how to comvert 120 into one hunderd twenty rupees only and vice varsa

1798


What Are Accrued Revenues And When Are They Recorded?

566


How Passive immunity is classified?

143


Explain the operation of 3φ bridge inverter for 1800 degree mode of operation with aid of relevant phase and line voltage waveforms?

599


When using oracle export/import what character set concerns might come up? How do you handle them?

299






Mathematical models using linear, dynamic, integer, or algorithm models are considered: A. Project selection criteria B. A form of expert judgment C. Project selection methods D. A form of historical information

1898


Define a binary search tree?

552


What is the use of the function 'imagetypes()'?

545


what is sas database server? : Sas-di

607


Explain Working with Time-Dependent workflow in Salesforce?

193


What are the dimensions of powerpoint slide?

94


How to Sort Strings which are given in List and display in ascending order without using java api.

3752


Is angular difficult to learn?

452


You routinely compress old log files. You now need to examine a log from two months ago. In order to view its contents without first having to decompress it, use the which utility in linux?

453


what is an alias command? : Sql dba

540