Saturday, February 26, 2011

ISC 2011- Solved Computer Application Practical Programs



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 Solution: CLICK HERE

For Complete Solutions along with variable description and algorithm: CLICK HERE

2010 To 2018 Complete 9 Years Papers With Solutions: CLICK HERE

49 comments:

  1. really easy paper this tym....:):)

    ReplyDelete
  2. sir attempting all questions n the practical is compulsary or any choice is given?

    ReplyDelete
  3. sir can you please solve the isc 2011 computer science theory and practical papers and post it............................................

    ReplyDelete
  4. ISC 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.

    ReplyDelete
  5. Sir 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

    ReplyDelete
  6. Sorry for the late. My next post will be on this program Just wait for another two days.

    ReplyDelete
  7. please 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').

    ReplyDelete
  8. if(ch >90 && ch< 97)
    {
    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

    ReplyDelete
    Replies
    1. 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.

      Delete
  9. please sir tell in viva which type of ques are asked
    my practcal is on 24th

    ReplyDelete
    Replies
    1. It depends on the program. Normally the questions are based on the program.

      Delete
    2. sir this year are chANCES OF DATE RELATED PRGRMS TO COME

      Delete
    3. Since you will get three questions, it is possible

      Delete
  10. how do we write algorithm in programs??????
    pls tell the key things....

    ReplyDelete
    Replies
    1. Algorithm is the structure of a program, not the executable codes. Write the sequences of the program in your own language step wise.

      Delete
  11. sir plz can u tell expected questions to come in isc computer practical 2012

    ReplyDelete
    Replies
    1. I have already posted expected programs but please go through all type programs of the previous years.

      Delete
  12. Can you please tell me for ISC 2012 computer practical what kind of java programs i should practice related to string?

    Please reply

    ReplyDelete
    Replies
    1. Please go through the previous year practical papers. Similar type of programs are expected.

      Delete
  13. Sir please tell me what does .trim() function means here what this function will do in taking text?

    text=br.readLine().trim();

    ReplyDelete
    Replies
    1. 'trim()' is a function of String class which eliminates the leading or trailing space from the entered value, if any.

      Delete
  14. Can I know what is important for ISC 2012?

    ReplyDelete
  15. how do we use valueOf in java??????
    pls tell the syntax......

    ReplyDelete
    Replies
    1. valueOf() is a static function of String class which takes any primitive value as argument and convert it into string object.

      int a=10;
      String s=String.valueOf(a)
      Now 's' is "10";

      Delete
  16. sir,I am a beginner in java.
    wanted 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?

    ReplyDelete
  17. Sir could this program be a shorter version of what you did I made it... Is it correct?

    import 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();


    }
    }
    }

    ReplyDelete
    Replies
    1. great prog bro...works fine and is shorter by LOTS

      Delete
  18. Where's 2009 solved practical paper?

    ReplyDelete
    Replies
    1. 2009 question paper is not available in net, if anyone can send it, I will solve the paper.

      Delete
  19. Dhananjoy Chakraborty Sir , which programs should i practice for 2013 exam whic will be on this monday ?

    ReplyDelete
  20. sir can we expect 2d array nd date prorgrams this year??

    ReplyDelete
  21. What type of question can come for 2014 computer practical exam ?

    ReplyDelete
  22. Sir
    is 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 ?

    ReplyDelete
    Replies
    1. Normally marks will not be deducted.

      Delete
    2. Thank you soo much sir.
      Now i am a bit relieved.

      Delete

Subscribe via email

Enter your email address:

Delivered by FeedBurner