Syllabus Comp 12
Syllabus Comp 12
There will be two papers in the subject: half and full adders. majority circuit etc.,
Paper I: Theory........... 3 hours .... 70 marks SOP and POS representation; Maxterms &
Minterms, Canonical and Cardinal
Paper II: Practical ....... . 3 hours ... .30 marks
representation, reduction using · Karnaugh
PAPER I -THEORY - 70 MARKS maps and Boolean algebra.
SECTION A
2. Computer Hardware
1. Boolean Algebra
(a) Elementary logic gates (NOT, AND, OR,
~opositional logic, well formed formulae, NAND, NOR, XOR, XNOR) and their use in
truth values and interpretation of well formed circuits.
formulae (wft), truth tables, satisfiable,
unsatisfiable and valid formulae. Equivalence (b) Applications of Boolean algebra and logic
laws and their use in simplifying wffs. gates to half adders, fulJ adders, encoders,
decoders, multiplexers, NANO, NOR as
Propositional variables; the common logical universal gates.
connectives · (~ (not)(negation), A
(and)(conjunction), V (or)(disjunction), ~ Show the co"espondence between Boolean
(implication). ¢:? {hiconditional); definition methods and the co"esponding switching
of a well-formed formula (wjj); · circuits or gates. Show that NAND and NOR
'representation of simple word problems as gates are universal by converting some circuits
wjf (this can be used for motivation); the to purely NAND or NOR gates.
values true and false; inte1pretation of a wff;
truth tables; satisfiable, unsatisfiable and SECTIONB
validformuiae.
· The programming element in the syllabus (Sections B
_/quivalence laws: commu_(ativiff of A. V,· and C) is 3:imed at algorithmic·problem solving and
(lSsociqtivity r>f II. v,· distrilfutivity; De not merely .r ote learning of Jaya syntax. The Java
Morgan •s laws; law of implication (p ~ q = version used should be 5.0 or later. .For prognunming,
~p V q); law of biconditional ((p ¢=> q) = the students.c.an use any text editor and the javac and
(p ~ q) A (q ~ p)); identity (p = p); law of java programs or any other development
negation (~ (~p) = p); law of excluded environment: for example, BlueJ, Eclipse, NetBeans
middle (p ~p = true); law of contradiction etc. BlueJ is strongly recommended for ·its simplicity,
(pA-p = false); tautology and ·contingency ease of use and because it is very well suited for an
simplification rules for A. V. Converse, 'objects first' approach.
inverse and contra positive. Chain rule, 3. Implementation of algorithms to solve
Modus po_nens. problems
(b) Binary valued quantities; basic postulates The students are required to do lab assignments
./ of Boolean algebra; operations AND, OR and in the computer lab concurrently with the
NOT; truth tables. lectures. Programming assignments shouJd be
done such that each major topic is covered in at
( c) Basic theorems of Boolean algebra least one assignment. Assignment problems
/ (e.g. duality, idempotence, coID:Mutati~ity, should be designed so that they are sufficiently
associativity, distributivity, operations with 0 challenging. Students must do algorithm design,
and 1, complements, absorption, inv?lu~on); address correctness issues, implement and
De Morgan's theorem and its appbcations; execute the algorithm in Java and debug where
reducing Boolean expressions to sum of necessary.
products and product of sums forms;
Self explanatory.
Kamaugh maps (up to four variables).
Verify the laws of Boolean algebra using
truth tables. Inputs, outputs for circuits like
268
4. Programming in Java (Review of Class XI methods (number problems, finding roots of
Sections B and C) algebraic equations etc.).
Note that items 4 to 13 should be introduced _10. Arrays, Strings
almost simultaneously along with classes and Structured data types - arrays (single and multi-
their definitions. dimensional), address calculations, strings.
. While reviewing, ensure that new higher order Example algorithms that use structured data types
problems are solved using these constructs. (e.g. searching, finding maximum/minimum,
sorting techniques, solving systems of linear
5. Objects equations, substring, concatenation, length,
(a) Objects as data (attributes) + behaviour access to char in string, etc.).
(methods); object as an instance of a class. Storing many data elements of the same type
Constructors. requires structured data types - like arrays.
(b) Analysis of some real-world programming Access in arrays is constant time and does not
examples in terms of objects and classes. depend on the number of elements. Address
calculation (row major and column major),
(c) Basic input/output using Scanner and Printer Sorting techniques (bubble, selection, insertion).
classes from JDK; input/output exceptions. Structured data types can be defined by classes -
Tokens in an input stream, concept of . String. Introduce the Java library String class
whitespace, extracting tokens from an input and the basic operations on strings (accessing
stream (String Tokenizer class). individual characters, various substring
6. Primitive values, Wrapper classes, Types and operations, concatenation, replacement, index of
casting operations). The class StringBuffer should be
·introduced for those applications that involve
· ·· · int, short, long, heavy manipulation ofstrings.
nding . .
C9 n~ ~\uati on_ _ .
~ -",V ~ ~fa~ '..__,.,~
Candidates will be required · to submit a work file
containing the practical work related to programming • The computers should have a minimum of
assignments done during the year. 1 GB RAM and a P IV or higher processor. The
done 10 marks basic requirement is that it should run the
Programming assignments
(Internal operating system and Java programming system
throughout the year
(Java compiler, Java runtime environment, Java
Evaluation
assignments done 5 marks development environment) at acceptable speeds.
Programming
throu hout the ear Visitin Examiner • Good Quality printers.
Terminal Evaluation Software:
Solution to programming problem on 15 Marks
• Any suitable Operating System can be used.
the computer
• JDK 6 or later.
Marks should be given for choice of algorithm and
implementation strategy, documentation, correct • Documentation for the JDK version being used.
output on known inputs mentioned in the question • A suitable text editor. A development
paper, correct output for unknown inputs available environment with a debugger is preferred
only to the examiner. (e.g. BlueJ, Eclipse, NetBeans). BlueJ is
NOTE: recommended for its ease of use and simplicity.
Algorithm should be expressed clearly using any
standard scheme such as a pseudo code.