0% found this document useful (0 votes)
995 views

ISC CS Practical Specimen Paper

The document provides instructions for a computer science practical exam. Students will be given 3 hours to complete a planning session and examination. In the exam, students must: 1) Write an algorithm and program in Java to solve one of three problems provided. 2) Document the program with comments and describe data types. 3) Print the working program and output. 4) Be interviewed about the selected problem. The three problems involve validating dates, filling a 2D array in circular fashion, and rearranging sentences alphabetically.

Uploaded by

Sayak Kolay
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
995 views

ISC CS Practical Specimen Paper

The document provides instructions for a computer science practical exam. Students will be given 3 hours to complete a planning session and examination. In the exam, students must: 1) Write an algorithm and program in Java to solve one of three problems provided. 2) Document the program with comments and describe data types. 3) Print the working program and output. 4) Be interviewed about the selected problem. The three problems involve validating dates, filling a 2D array in circular fashion, and rearranging sentences alphabetically.

Uploaded by

Sayak Kolay
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

COMPUTER SCIENCE

Paper 2
(PRACTICAL) (Reading Time : 15 minutes) (Planning Session AND Examination Session : Three Hours) ------------------------------------------------------------------------------------------------------------------------------The total time to be spent on the Planning session and the Examination session is Three hours. After completing the Planning Session, the candidate may begin with the Examination Session. A maximum of 90 minutes is permitted for the Planning Session. However, if candidates finish earlier, they are to be permitted to begin the Examination Session. (Maximum Marks : 80 ) ------------------------------------------------------------------------------------------------------------------------------As it is a practical examination the candidate is expected to do the following :
1. Write an algorithm for the selected problem. ( Algorithm should be expressed clearly using any standard scheme such as pseudo code or in steps which are simple enough to be obviously computable ) Write a program in JAVA language. The program should follow the algorithm and should be logically and syntactically correct.

[10]

2.

[20]

3.

Document the program using mnemonic names / comments, identifying and clearly describing the choice of data types and meaning of variables.

[10]

4.

Code / Type the program on the computer and get a printout ( Hard Copy ). Typically, this should be a program that compiles and runs correctly.

[10]

5.

Test run the program on the computer using the given sample data and get a printout of the output in the format specified in the problem.

[10]

6.

Viva-Voce on the Selected Problem .

[20]

------------------------------------------------------------------------------------------------------------------------------15 ISC Specimen Question Paper

Solve any one of the following Problems. Question 1 Design a program which inputs a date in six digit number format i.e. 141296 . Test the validity of the date and print the date in full form . If date is invalid then print a message as Invalid Date 1. Example : INPUT OUTPUT 2. Example : INPUT OUTPUT 3. Example : INPUT OUTPUT Question 2 Write a program to fill in a two dimensional array in a circular fashion with natural numbers from 1 to N2, given N as input. Example : if N = 4, N2 = 16, then the array will be : 1 12 11 10 Question 3 Accept a paragraph of text consisting of sentences that are terminated by either ., ,, ! or a ? followed by a space. Assume that there can be a maximum of 05 sentences in a paragraph. Design a program to perform the following : (a) Arrange the sentences in alphabetical order of words, sentence by sentence. (b) Separate the words which begin with a vowel. Sample data 1: INPUT: OUTPUT: VOWELS: HELLO ! HOW ARE YOU ? WHEN ARE YOU COMING ? HOPE TO SEE YOU SOON. HELLO ! ARE HOW YOU ? ARE COMING WHEN YOU ? HOPE SEE SOON TO YOU. ARE 2 13 16 9 3 14 15 8 4 5 6 7

: : : : : : : :

141296 14th December , 96 VALID DATE 230488 23rd April , 88 VALID DATE 300284 INVALID DATE

Sample data 2 : INPUT : OUTPUT : VOWELS: THE QUICK BROWN FOX JUMPED OVER THE LAZY DOG. BROWN DOG FOX JUMPED LAZY OVER QUICK THE THE. OVER

------------------------------------------------------------------------------------------------------------------------------16 ISC Specimen Question Paper

You might also like