[Question 3] ISC 2017 Computer Practical Paper Solved – Caesar Cipher

Question:

Caesar Cipher is an encryption technique which is implemented as ROT13 (‘rotate by 13 places’). It is a simple letter substitution cipher that replaces a letter with the letter 13 places after it in the alphabets, with the other characters remaining unchanged.

Write a program to accept a plain text of length L, where L must be greater than 3 and less than 100.

24 comments

The second if condition is to take the encoding in a cyclic manner. If the character is ‘Z’, then ‘Z’ + 13 = 90 + 13 = 103. But we want 77 which is the ASCII of ‘M’. Hence we need to subtract 26 from it. So for uppercase characters, this subtraction of 26 will take place if after adding 13, the result exceeds 90 (ASCII of ‘Z’). And for lowercase characters, this subtraction of 26 will take place if after adding 13, the result exceeds 122 (ASCII of ‘z’).

Hello sir,
In my written program and algorithm, I included code to input length and my verification was also based on the length inputted. I removed this from my typed program as soon as I noticed that it wasn’t required. The program gave perfect output and I did not change anything else in my typed program. Will I lose any marks for this?
Please reply ASAP sir as I am getting a little tensed.

Sir how much marks will deducted for not writing the comments in the program. If output has come and the hard copy has also been provided. But both the script as well as hard copy does not contain any commen lines.

I’ve strike off four pages from my answer sheet as I’ve written wrong logic, however I continue writing the logic from four page ahead, does this affect my marks however the program is correct and it produce output?
Thereby it’s hardcopy is also been attached with my answer but still I’m anxious about the deduction in my marks due to this work done in the answer sheet as I’ve prior explained you.

Sir if my written logic is different.. Not totally right but syntactically correct.. And the typed program ‘s logic on the computer is much changed from the written one…. (Output is right).. Will i lose marks in writing and algorithm also?? If so then how much?. Plz reply asap sir…

ICSE | ISC Sample Papers

In this section we will be providing you with the Sample/Guess papers of ICSE (Computer Applications) and ISC (Computer Science) which can be easily downloaded. We hope that the students will benefit from these resources.