aglasem.com
Schools Admission Mock Test Playground
ClassChoose class
StateSelect state

ISC Class 12 Specimen Paper 2021 Computer Science Paper 2

Download the ISC Class 12 Specimen Paper 2021 Computer Science Paper 2 PDF for free at AglaSem. Designed as per the latest ISC Class 12 exam pattern and marking scheme, this sample paper lets you practise likely questions, manage time and self-assess before the exam. More Detail
ISC Class 12 Specimen Paper 2021 Computer Science Paper 2 - Page 1 of 4

Finished viewing? Save it for later —

Download ISC Class 12 Specimen Paper 2021 Computer Science Paper 2 (PDF · 4 pages)
Downloaded 9 times

About ISC Class 12 Specimen Paper 2021 Computer Science Paper 2

ISC Class 12 Specimen Paper 2021 Computer Science Paper 2 is available here for free download. Published by CISCE for Class 12, this sample paper can be viewed online or downloaded as a PDF (4 pages). Candidates preparing for Class 12 can use ISC Class 12 Specimen Paper 2021 Computer Science Paper 2 to understand the exam pattern, the type of questions asked, and the overall difficulty level.

Frequently Asked Questions

How can I download ISC Class 12 Specimen Paper 2021 Computer Science Paper 2?

Open this page and click the Download button to save ISC Class 12 Specimen Paper 2021 Computer Science Paper 2 as a PDF. It is completely free on AglaSem Docs.

Is ISC Class 12 Specimen Paper 2021 Computer Science Paper 2 free to download?

Yes. ISC Class 12 Specimen Paper 2021 Computer Science Paper 2 can be viewed online and downloaded as a PDF free of cost on AglaSem Docs.

How many pages does ISC Class 12 Specimen Paper 2021 Computer Science Paper 2 have?

ISC Class 12 Specimen Paper 2021 Computer Science Paper 2 contains 4 pages, which you can read online or download together as a single PDF.

Where can I find more Class 12 study material?

You can find more Class 12 question papers, sample papers, syllabus, and answer keys on AglaSem Docs.

ISC Class 12 Specimen Paper 2021 Computer Science Paper 2 – Text

Read the full text of this sample paper below — useful to quickly search, copy and reference the content online without downloading the PDF.

📄 View text version (4 pages)

Page 1

COMPUTER SCIENCE
Paper – 2
(PRACTICAL)
(Maximum Marks: 30)
Time allowed:
Day 1 - Planning session: 90 minutes
Day 2 - Examination session: 90 minutes
(On Day 1, candidates are allowed additional 15 minutes for only reading the paper.
They must NOT start writing during this time.)
This paper consists of three problems from which candidates are required to attempt
any one problem.
----------------------------------------------------------------------------------------------------------------------
Candidates are expected to do the following:

A. During Planning Session on Day 1:
1. Write an algorithm for the selected problem. [3marks]
(Algorithm should be expressed clearly using any standard scheme such as
pseudo code or in steps which are simple enough to be obviously computable.)
2. Write a program in JAVA language. The program should follow the algorithm [7marks]
and should be logically and syntactically correct. Document the program using
mnemonic names / comments, identifying and clearly describing the choice of
data types and meaning of variables.
Note: At the end of this session, the candidates must hand over the Answer Scripts,
along with their Question Papers, to the Supervising Examiner. These Answer
Scripts and the Question Papers will be handed over to the candidates on the
day of the Examination Session.

B. During Examination Session on Day 2:
1. Code / Type the program on the computer and get a printout (hard copy). [2marks]
Typically, this should be a program that compiles and runs correctly.
2. Test run the program on the computer using the given sample data and get a [3marks]
printout of the output in the format specified in the problem.
Note: The candidates must not carry any stationery items such as pen / pencil / eraser
to the Computer Laboratory for this session.

-------------------------------------------------------------------------------------------------------------------
This Paper consists of 4 printed pages

Page 2

Solve any one of the following Problems.

Question 1
Design a program which takes two integer parameters namely number of the day
( between 1 and 366 ) and the year ( in 4 digits ) as inputs and displays the date i.e. day, month
and year.
Also find the corresponding date exactly after (N) days of the present date by accepting the
value of (N) from the use, where the value of (N) is in the limit ( 1 <= N <= 100 )
INPUT: DAY NUMBER : 233
YEAR : 2020
DATE AFTER : 17

20TH. AUGUST 2020
DATE AFTER 17 DAYS :
6TH. SEPTEMBER 2020

INPUT: DAY NUMBER : 360
YEAR : 2020
DATE AFTER : 45

25TH. DECEMBER 2020
DATE AFTER 45 DAYS :
8TH. FEBRUARY 2021

2

Page 3

Question 2
Write a program to accept a sentence which may be terminated by either ‘.’ , ‘?’ or ‘!’
only. The words are to be separated by a single blank space and are in lower case.
Perform the following tasks:
(a) Check for the validity of the accepted sentence and for the terminating character.

(b) Arrange the words contained in the sentence according to the size of the words in
ascending order. If two words are of the same length then the first occurring
comes first. The sentence should begin with a capital alphabet in both the cases
i.e. Input and Output.

(c) Display both the sentences separately with each sentence beginning with a capital
alphabet.

INPUT: the lines are printed in reverse order.

The lines are printed in reverse order.
In the are lines order printed reverse.

INPUT: print the sentence in ascending order.

Print the sentence in ascending order.
In the print order sentence ascending.

INPUT: i love my country.

I love my country.
I my love country.

-----------------------------------------------------------------------------------------------------------------------
3
Turn over

Page 4

Question 3
A MOBIUS function M(N) returns the value -1 or 0 or 1 for a natural number (N) by
the following conditions are defined :
When,
M(N) =1 if N=1.
M(N) =0 if any prime factor of N is contained more than once.
M ( N ) = ( -1 ) P if N is the product of ‘P’ distinct prime factors.
Write a program to accept a positive natural number (N) and display the MOBIUS result
with proper message.
INPUT: 78
OUTPUT: 78 = 2 x 3 x 13
NUMBER OF DISTINCT PRIME FACTORS = 3
M(78) = -1
INPUT: 34
OUTPUT: 34 = 2 x 17
NUMBER OF DISTINCT PRIME FACTORS = 2
M(34) = 1
INPUT: 12
OUTPUT: 12 = 2 x 2 x 3
DUPLICATE PRIME FACTORS
M(12) = 0
Sample 4
INPUT: 1
OUTPUT: 1 = 1
NO PRIME FACTORS
M(1) = 1

In addition to the above, the practical file of the candidate containing the practical work
related to programming assignments done during the year will be evaluated as follows:

• Programming assignments done throughout the year (by the teacher) [10marks]
• Programming assignments done throughout the year (by the Visiting Examiner) [5marks]

4

Document Details

Board / OrgCISCE
ExamClass 12
TypeSample Paper
Pages4
Languageenglish
Updated22 Jul 2026

More from CISCE

Class 10 Class 11 Class 12 Class 9