{"id":47437,"date":"2024-02-09T10:08:36","date_gmt":"2024-02-09T04:38:36","guid":{"rendered":"https:\/\/www.aplustopper.com\/?p=47437"},"modified":"2024-02-09T13:16:25","modified_gmt":"2024-02-09T07:46:25","slug":"isc-class-12-computer-science-previous-year-question-papers-solved-2010","status":"publish","type":"post","link":"https:\/\/www.aplustopper.com\/isc-class-12-computer-science-previous-year-question-papers-solved-2010\/","title":{"rendered":"ISC Computer Science Question Paper 2010 Solved for Class 12"},"content":{"rendered":"

ISC Computer Science Previous Year Question Paper 2010 Solved for Class 12<\/h2>\n

Maximum Marks: 70
\nTime allowed: 3 hours<\/p>\n

Part – I<\/strong>
\nAnswer all questions<\/strong><\/p>\n

While answering questions in this Part, indicate briefly your working and reasoning, wherever required.<\/p>\n

Question 1.
\n(a) If X = A’BC + AB’C + ABC + A’BC’ then find the value of X when A = 1; B = 0; C = 1 [2]
\n(b) Verify if, P. (~ P + Q’) = (P = > Q) using truth table. [2]
\n(c) Draw the logic circuit of NOR and NAND gate only. [2]
\n(d) Convert the following function into its Canonical sum of products form: [2]
\nF(X, Y, Z) = \u03a3(0, 1, 5, 7).
\n(e) Show that dual of P’QR’ + PQ’R + P’Q’R is equal to the complement of: [2]
\nPQ’R + Q. (P’R’+PR’)
\nAnswer:
\n\"ISC
\n\"ISC<\/p>\n

Question 2.
\n(a) State the difference between an Interface and a Class. [2]
\n(b) Convert the following infix notation to postfix notation: [2]
\n(A + B) \/ C * (D + E)
\n(c) A character array B[7] [6] has a base address 1046 at 0, 0. Calculate the address at B[2] [3] if the array is stored Column Major wise. Each character requires tw o bytes of storage. [2]
\n(d) State the use of exceptional handling. Name the two types of exceptions. [2]
\n(e) (i) What is the worst-case complexity of the follow ing code segment: [2]<\/p>\n

for (int i = 0; i < N; i++)\r\n{\r\nsequence of statements\r\n}\r\nfor (int j=0 ; j < M; j++)\r\n{ sequence of statements\r\n}<\/pre>\n

(ii) How would the complexity change if the second loop went to N instead of M?
\nAnswer:
\n(a) (i) Class can be extends in another class.
\n(ii) Interface is implemented in another class.<\/p>\n

(b) (A + B) \/ (C * (D + E))
\n= (AB +) \/ (C * (DE +))
\n= (AB +) \/ (CDE + *)
\n= AB + CDE + *\/<\/p>\n

(c) B + W [(I – LBR) + M (J – LBC)]
\n= 1046 + 2 [(2 – 0) + 7(3 – 0)]
\n= 1046 + 2(2 + 21)
\n= 1046 + 2(23)
\n= 1046 + 46
\n= 1092<\/p>\n

(d) Exception: It refers to some contradictory or unusal situation which can be encountered while executing a program.
\n(i) IO Exception
\n(ii) Array out of Bound Exception<\/p>\n

(e) (i) for (i = 0; i < N ; i + +) This loop gets executed N times thus take time C1 * N
\nfor (i = 0; j < M ; j ++) This loop gets executed M times thus take time C2 * M
\nTotal Time = C1 * N + C2 * M = 0 (N + M)
\n(ii) It becomes = O(2N)<\/p>\n

Question 3.
\n(a) The following functions numbers (int) and numbers1 (int) are a part of some class. Answer the questions given below showing the dry run\/working:<\/p>\n

public void numbers (int n) \r\n{\r\nif (n > 0)\r\n{\r\nSystem.out. print(n + \" \" );\r\nnumbers (n-2);\r\nSystem.out.print(n + \" \");\r\n}\r\n}\r\npublic String numbers1 (int n)\r\n{\r\nif (n < = 0)\r\nreturn \" \";\r\nreturn numbersl(n-1) + n + \" \";\r\n}<\/pre>\n

(i) What will be the output of the function numbers (int n) when n = 5? [2]
\n(ii) What will the function numbersl (int n) return when n = 6? [2]
\n(iii) State in one line what is the function numbersl (int) doing apart from recursion? [1]
\n(b) The following function is a part of some class. It sorts the array a[ ] in ascending order using insertion sort technique. There are some places in the code marked by ?1?, ?2?, ?3?, ?4?, ?5? which must be replaced by expression \/ statement so that the function works correctly.<\/p>\n

void insertsort (int a [ ])\r\n{\r\nint m = ?1?;\r\nint b, i, t;\r\nfor (i = ?2? ; i < m; i++) \r\n{ \r\nt = a[i]; \r\nb = i - I; \r\nwhile (?3? > = 0 && t < a [ b ])\r\n{\r\na[b+1] = a[b];\r\n?4?;\r\n}\r\n?5? = t;\r\n}\r\n}<\/pre>\n

(i) What is the expression or statement at ?1? [1]
\n(ii) What is the expression or statement at ?2? [1]
\n(iii) What is the expression or statement at ?3? [1]
\n(iv) What is the expression or statement at ?4? [1]
\n(v) What is the expression or statement at ?5? [1]
\nAnswer:
\n(a) (i) 5 3 1 1 3 5
\n(ii) \u201c1 2 3 4 5 6\u201d
\n(iii) It display all number from 1 to that number.
\n(b) (i) a length
\n(ii) 1
\n(iii) b
\n(iv) b = b – 1;
\n(v) a[b+1]<\/p>\n

Part – II<\/strong><\/p>\n

Answer seven questions in this part, choosing three questions from Section A, two from Section B and two from Section C.<\/p>\n

Section – A<\/strong>
\nAnswer any three questions<\/strong><\/p>\n

Question 4.
\n(a) Given F(P,Q,R,S) = \u03a3 (0, 2, 5, 7, 8, 10, 11, 13, 14, 15)
\n(i) Reduce the above expression by using 4 – Variable K-Map, showing the various groups (i.e., octal, quads and pairs). [4]
\n(ii) Draw the Logic gate diagram of the reduced expression using NAND gate only. [1]
\n(b) Given F(A, B, C, D) = (A + B + C + D). (A + B + C + D’). (A + B + C’ + D’). (A + B + C’ + D). (A + B’ + C + D’). (A + B’ + C’ + D’). (A’ + B + C + D). (A’ + B + C’ + D).
\n(i) Reduce the above expression by using 4 – Variable K-Map, showing the various groups (,i.e., octal, quads and pairs). [4]
\n(ii) Draw the Logic gate diagram of the reduced expression using NOR gate only. [1]
\nAnswer:
\n\"ISC
\n\"ISC
\n\"ISC
\n\"ISC
\n\"ISC
\n\"ISC<\/p>\n

Question 5.
\nA Government Institution intends to award a medal to a person who following criteria:
\nThe person should have been an Indian citizen and had lost his\/her completed 25 years of service.
\nOR
\nThe person must be an Indian citizen and has served the nation for a continuous period of 25 years or more but has not lost his\/her life in a war.
\nOR
\nThe person is not an Indian citizen but has taken an active part in activities for the upliftment of the nation.
\nThe inputs are:<\/p>\n\n\n\n\n\n\n
A<\/td>\nThe person is\/was an Indian citizen<\/td>\n<\/tr>\n
B<\/td>\nHas a continuous service of more than 25 years<\/td>\n<\/tr>\n
C<\/td>\nLost his\/her life in a war<\/td>\n<\/tr>\n
D<\/td>\nTaken part in activities for the upliftment of the nation<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

Output: X – Denotes eligible for Medal [1 indicates YES and 0 indicates NO in all cases]
\n(a) Draw the truth table for the inputs and outputs given above and write the POS expression for X (A, B, C, D). [5]
\n(b) Reduce X (A, B, C, D) using Karnaugh\u2019s Map. [5]
\nDraw the logic gate diagram for the reduced POS expression for X (A, B, C, D).
\nYou may use gates with two or more inputs. Assume that the variable and their complements are available as inputs.
\nAnswer:
\n\"ISC
\n\"ISC<\/p>\n

Question 6.
\n(a) What are Maxterms? Convert the following function as a product of Maxterms: [3]
\nF(P, Q, R) = (P + Q).(P’ + R)
\n(b) State whether the following expression is a Tautology or Contradiction with the help of Truth Table: [3]
\n(X\u21d4Z) . [(X\u21d2Y). (Y\u21d2Z)]
\n(c) What is Multiplexer? Draw the truth table and logic diagram of an 8 : 1 Multiplexer. [4]
\nAnswer:
\n(a) Maxterm It is a sum of all the literals (with or without the bar) within the logic system.
\nF(P, Q, R) = (P + Q). (P’ + R’)
\n= (P + Q + RR’). (P’ + QQ’ + R’)
\n= (P + Q + R).(P + Q + R’).(P’ + Q + R’) ,(P’ + Q’ + R’)
\n\"ISC
\nIt is neither Tautology nor contradiction.<\/p>\n

(c) Multiplexer: It is a combinational circuit that selects binary information from one of many input lines and directs it to a single output line.
\n\"ISC
\n\"ISC<\/p>\n

Question 7.
\n(a) Draw the circuit diagram for a 3 to 8 Decoder. [3]
\n(b) Draw the truth table for a Half Adder. Also, derive a POS expression for the Half Adder and draw its logic circuit. [3]
\n(c) Simplify the following expression and also draw the circuit\/gate for the reduced expression.
\n[Show the stepwise working along with the laws used.] [4]
\nF = X.(Y + Z.(X.Y + X.Z)’)
\nAnswer:
\n\"ISC
\n\"ISC
\n\"ISC<\/p>\n

Section – B<\/strong>
\nAnswer any two questions<\/strong><\/p>\n