Prashnikaप्रश्निका
Code
About
Computer ScienceClass 12

Implementation of algorithms to solve problems - ISC Class 12 Computer Science Questions with Answers, Page 2

24 past-paper questions on Implementation of algorithms to solve problems from ISC Class 12 Computer Science papers (2026-2018), newest first, in full. Questions 21-24 are on this page, 20 to a page. Tap "Show answer" under a question to see its answer. The syllabus covers Algorithm design, Program implementation in Java and Debugging.

24questions
6years
2026newest
20184 questions
1 mark · Short answerOpen: What is the statement or expression at ?5?

Fill in the blanks marked ?1?, ?2? ... so that the code works.

What is the statement or expression at ?5?
Show answer

Answer

$?5? = 10$ (i.e. $num /= 10$) - removes the last digit of num so the loop processes the next digit in the next iteration. (Verified by running the completed function: PalindromeNum(121) and PalindromeNum(1221) return true, PalindromeNum(123) returns false.)
1 mark · Short answerOpen: What is the statement or expression at ?3?

Fill in the blanks marked ?1?, ?2? ... so that the code works.

What is the statement or expression at ?3?
Show answer

Answer

$?3? = s$ (i.e. $digit = num - s$) - subtracting $s$ ($=f*10$) from num extracts the last digit of num, without using the modulus operator.
1 mark · Short answerOpen: What is the statement or expression at ?1?

Fill in the blanks marked ?1?, ?2? ... so that the code works.

What is the statement or expression at ?1?
Show answer

Answer

$?1? = 0$ - rev is initialised to 0 before the reversed digits are accumulated into it.
1 mark · Short answerOpen: What is the statement or expression at ?2?

Fill in the blanks marked ?1?, ?2? ... so that the code works.

What is the statement or expression at ?2?
Show answer

Answer

$?2? = f * 10$ (i.e. $s = f*10$) - since $f = num/10$ is num with its last digit removed (integer division), multiplying it back by 10 gives num with its last digit replaced by 0.

About Implementation of algorithms to solve problems

Implementation of algorithms to solve problems is a unit of the ISC Class 12 Computer Science syllabus.

The syllabus lists these topics: Algorithm design, Program implementation in Java and Debugging.

Prashnika has 24 past-paper questions on Implementation of algorithms to solve problems, from papers of 2018-2026, asked in 6 different years. By kind: MCQ (10), Case based (6), Short answer (5) and Program (2). They carry between 1 and 15 marks, and most are worth 1 mark.

To practise, use the paper generator, which can build a practice paper from this chapter.

Common questions

What topics are in Implementation of algorithms to solve problems in ISC Class 12 Computer Science?

The syllabus lists Algorithm design, Program implementation in Java and Debugging.

How many questions on Implementation of algorithms to solve problems are in ISC Class 12 Computer Science past papers?

Prashnika has 24 questions on Implementation of algorithms to solve problems, from papers of 2018-2026 (board, specimen, improvement and practice papers together).

What kinds of questions are asked on Implementation of algorithms to solve problems?

By kind: MCQ (10), Case based (6), Short answer (5) and Program (2).

Questions on other pages on Implementation of algorithms to solve problems