Isc Practical 2025
Isc Practical 2025
QUESTION 1:
A number you say to be a goldbach number, if the number can be expressed as the addition of two
odd prime number pair. If we follow the above condition then we can find that every even number
larger than 4 is a goldbach number because it must have any pair of odd number pairs.
write a program to enter any positive even natural number ‘N’ where (1 <= n <= 50) and generate
prime twin of ‘N’
Test your program for the following data and some random data
Example 1
Input: n= 14
7, 7
Example 2
Input: n= 20
13, 7
Example 3
Input: n= 44
37, 7
31, 13
Example 4
Input: n= 25
A unique digit integer is opposite integer (without leading 0) with no duplicate digit. For example 7,
135, 214 are all unique digit integers where as 33, 3121, 300 are not
Write a program to determine how many unique digit integers are there in the range between m and
in (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 the unique digit integer in the specified range along with their values in the format
specified below:
Test your program for the following data and some random data
Example 1:
Input: m= 100
n= 120
Example 2
Input: m= 2520
n= 2529
2506, 2507, 2508, 2509, 2510, 2513, 2514, 2516, 2517, 2518, 2519
Example 3:
Input: m= 2505
n= 120