Program Number 1 of ISC 2011 on displaying number in word
Write a program to input a natural number less than 1000 and display it in words. Test your program on the sample data and some random data.
Sample input and output of the program
Input: 29
Output: TWENTY NINE
Input: 17001
Output: OUT OF RANGE
Input: 119
Output: ONE HUNDRED AND NINETEEN
Input: 500
Output: FIVE HUNDRED
For Solution: CLICK HERE
Program Number 2 of ISC 2011-encryption of message
Encryption is a technique of coding messages to maintain their secrecy. A String array of size ‘n’ where ‘n’ is greater than 1 and less than 10, stores single sentences (each sentence ends with a full stop) in each row of the array.
Write a program to accept the size of the array. Display an appropriate message if the size is not satisfying the given condition. Define a string array of the inputted size and fill it with sentences row-wise. Change the sentence of the odd rows with an encryption of two characters ahead of the original character. Also change the sentence of the even rows by storing the sentence in reverse order. Display the encrypted sentences as per the sample data given below.
Test your program on the sample data and some random data.
Input: n=4
IT IS CLOUDY.
IT MAY RAIN.
THE WEATHER IS FINE.
IT IS COOL.
Output:
KV KU ENQWFA.
RAIN MAY IT.
VJG YGCVJGT KU HKPG.
COOL IS IT.
Input: n=13
Output: INVALID ENTRY
For Solution: CLICK HERE
Program Number 3 of ISC 2011 on displaying day number
Design a program which accepts your date of birth in dd mm yyyy format. Check whether the date entered is valid or not. If it is valid, display “VALID DATE”, also compute and display the day number of the year for the date of birth. If it is invalid, display “INVALID DATE” and then terminate the program.
Testing of the program
Input: Enter your date of birth in dd mm yyyy format
05
01
2010
Output: VALID DATE
5
Input: Enter your date of birth in dd mm yyyy format
03
04
2010
Output: VALID DATE
93
Input: Enter your date of birth in dd mm yyyy format
34
06
2010
Output: INVALID DATE
For Complete Solutions along with variable description and algorithm: CLICK HERE
2010 To 2018 Complete 9 Years Papers With Solutions: CLICK HERE
2010 To 2018 Complete 9 Years Papers With Solutions: CLICK HERE
really easy paper this tym....:):)
ReplyDeletesir attempting all questions n the practical is compulsary or any choice is given?
ReplyDeleteYou will get choice.
ReplyDeletesir can you please solve the isc 2011 computer science theory and practical papers and post it............................................
ReplyDeleteISC practical paper of 2011 has been posted in this site earlier. Please search. Post the theory paper in this site, I will solve the paper.
ReplyDeleteSir please solve problem number 3 of ISC 2006 it will be of great help to me. The problem with protection code in an Operating System
ReplyDeleteSorry for the late. My next post will be on this program Just wait for another two days.
ReplyDeleteplease tell me how to make program of circular decoding i.e. when "AbZ" is entered, it returns "bCa".It converts the case as well as increases the letter by one( to 'a' in case of 'z').
ReplyDeletePlease check today's post.
ReplyDeleteif(ch >90 && ch< 97)
ReplyDelete{
ch=(char)((64+ch-90));
}
else if(ch >122)
{
ch=(char)((96+ch-122));
}
}
SIR IM UNABLE TO UNDERSTND WHY U HAVA CHKD THAT IF CHARACTER LIES BETWEEN 90 AND 97 AND GREATER THAN 122 WHICH TYPE OF CHRACTERS LIE B/W 90 AND 97 AND ABOVE 122
Characters are shifted in forward direction here in this program so after shifting it may exceed the range of alphabet. That's why the checking is done and the character is changed in circular manner.
Deleteplease sir tell in viva which type of ques are asked
ReplyDeletemy practcal is on 24th
It depends on the program. Normally the questions are based on the program.
Deletesir this year are chANCES OF DATE RELATED PRGRMS TO COME
DeleteSince you will get three questions, it is possible
Deletehow do we write algorithm in programs??????
ReplyDeletepls tell the key things....
Algorithm is the structure of a program, not the executable codes. Write the sequences of the program in your own language step wise.
Deletesir plz can u tell expected questions to come in isc computer practical 2012
ReplyDeleteI have already posted expected programs but please go through all type programs of the previous years.
DeleteCan you please tell me for ISC 2012 computer practical what kind of java programs i should practice related to string?
ReplyDeletePlease reply
Please go through the previous year practical papers. Similar type of programs are expected.
DeleteOk thank you
DeleteSir please tell me what does .trim() function means here what this function will do in taking text?
ReplyDeletetext=br.readLine().trim();
'trim()' is a function of String class which eliminates the leading or trailing space from the entered value, if any.
DeleteCan I know what is important for ISC 2012?
ReplyDeleteI have posted earlier
Deletehow do we use valueOf in java??????
ReplyDeletepls tell the syntax......
valueOf() is a static function of String class which takes any primitive value as argument and convert it into string object.
Deleteint a=10;
String s=String.valueOf(a)
Now 's' is "10";
sir,I am a beginner in java.
ReplyDeletewanted to know whether the past year papers will help me build any base?
I also wanted to know whether there are any tutorials for java on the net?
This comment has been removed by the author.
DeletePlease follow this blog site.
DeleteSir could this program be a shorter version of what you did I made it... Is it correct?
ReplyDeleteimport java.util.Scanner;
import java.io.*;
public class Q1_2011
{
public static void main()
{
Scanner ob= new Scanner(System.in);
String[] a = {"ONE","TWO","THREE","FOUR","FIVE","SIX","SEVEN","EIGHT","NINE","TEN","ELEVEN","TWELVE","THIRTEEN","FOURTEEN","FIFTEEN","SIXTEEN","SEVENTEEN","EIGHTEEN","NINETEEN","TWENTY","THIRTY","FOURTY","FIFTY","SIXTY","SEVENTY","EIGHTY","NINETY"};
System.out.println("Enter amount:");
int amt = ob.nextInt();
int rev = amt/100;
amt=amt-(rev*100);
if(rev!=0)
{
System.out.print(a[rev-1]+" HUNDRED");
}
else
{
System.out.print("");
rev=amt/10;
amt=amt-(rev*10);
if(rev!=0)
{
if(amt!=0&&rev!=1)
{
System.out.print(a[rev+17]+" "+a[amt-1]);
}
else if(rev==1)
{
System.out.print(a[amt+9]);
}
else
{
System.out.print("");
}
}
}
rev=amt/10;
amt=amt-(rev*10);
if(rev!=0)
{
if(amt!=0&&rev!=1)
{
System.out.print(" AND "+a[rev+17]+" "+a[amt-1]);
}
else if(rev==1)
{
System.out.print(" AND "+a[amt+9]);
}
else
{
System.out.print("");
}
System.out.println();
}
}
}
great prog bro...works fine and is shorter by LOTS
DeleteWhere's 2009 solved practical paper?
ReplyDelete2009 question paper is not available in net, if anyone can send it, I will solve the paper.
DeleteDhananjoy Chakraborty Sir , which programs should i practice for 2013 exam whic will be on this monday ?
ReplyDeleteGo through string class programs.
DeleteSir
Deletecan we expect a date related program this year ..??
Don't think so.
Deletesir can we expect 2d array nd date prorgrams this year??
ReplyDelete2d array program is expected.
DeleteWhat type of question can come for 2014 computer practical exam ?
ReplyDeleteAlready posted in this site.
DeleteThank you sir.
DeleteSir
ReplyDeleteis it fine if we don't write the question number in the answer paper ?
I am a bit worried..
Do they cut marks for that ?
Normally marks will not be deducted.
DeleteThank you soo much sir.
DeleteNow i am a bit relieved.
Sir can u tell imp for 2019
ReplyDeleteWill be published on December - January
Delete