Program Number 1
Write a program to accept a date in the string format dd/mm/yyyy and accept
the name of the day on 1st of January of the corresponding year. Find the day for the given date.
Example: INPUT
Date : 5/7/2002
Day on 1st January of that year.
OUTPUT
Day on 5/7/2001 : THURSDAY
Codes of this program already posted in this blog.
Program Number 2
The input in this problem will consists of a number of lines of English text consisting of the letters of the English alphabet, the punctuation marks (‘) apostrophe, (.) full stop, (,) comma, (;)semicolon, (:) colon and white space characters (blank, newline). Your task is to print the word of the text in reverse order without a punctuation marks other than blanks.
For example consider the following input text:
This is a sample piece of text to illustrate this problem. If you are smart you
will solve this right.
The corresponding output would read as:
right this solve will you smart are you If problem this illustrate to text of piece
The first line of input contains a single integer N ( < = 20 ), indicating the
number of lines in the input. This is followed by N lines of input text. Each line should accept a maximum of 80characters.
except blanks illustrated above.
Test your program for the following data and some random data.
SAMPLE DATA
INPUT:
2
Emotions, controlled and directed to work, is character.
By Swami Vivekananda.
OUTPUT:
Vivekananda Swami by character is work to directed and controlled Emotions.
INPUT:
1
Do not judge a book by its cover.
OUTPUT
cover its by book a judge not Do.
Codes of this program already posted.
ISC 2019 English Paper II Suggestions (New Syllabus): CLICK HERE
Program Number 3
A unique-digit integer is a positive integer (without leading zeros) with no
duplicates digits. For example 7, 135, 214 are all unique-digit integers whereas 33,
3121, 300 are not.
Given two positive integers m and n, where m < n, write a program to determine how many unique-digit integers are there in the range between m and n (both
inclusive) and output them.
The input contains two positive integers m and n. Assume m < 30000 and n <
30000. You are to output the number of unique-digit integers in the specified
range along with their values in the format specified below:
SAMPLE DATA:
INPUT:
m = 100
n = 120
OUTPUT:
THE UNIQUE-DIGIT INTEGERS ARE:
102, 103, 104, 105, 106, 107, 108, 109, 120.
FREQUENCY OF UNIQUE-DIGIT INTEGERS IS : 9
INPUT:
m = 2500
n = 2550
OUTPUT:
THE UNIQUE-DIGIT INTEGERS ARE:
2501, 2503, 2504, 2506, 2507, 2508, 2509, 2510, 2513, 2514, 2516, 2517,
2518, 2517, 2530, 2519, 2530, 2531, 2534, 2536, 2537, 2538, 2539, 2540,
2541, 2543, 2546, 2547, 2548, 2549.
FREQUENCY OF UNIQUE-DIGIT INTEGERS IS: 28.
Codes of this program is in this blog.
Related Posts:
ISC Computer Practical Programs - 2006
ISC Computer Practical Paper - 2008
ISC 2010 Computer Practical
ISC 2011 Computer Practical solved paper
please provide the solution to isc prac 2002 ques on rearranging the array with highest in middle second highest to right and so on.
ReplyDeletePlease check the latest post.
ReplyDeleteplz check your program isc 2007 q1 during input
ReplyDeleteI think you have got the answer.
Deletewhere is 2007 practical solution
ReplyDeleteClick on the hyperlinks and you will get the solutions.
Delete