Grade 12 ICT
Grade 12 ICT
Name:
2010
The Boolean function known as the majority function takes n binary inputs and outputs 1 if a
majority ( at least half ) of the inputs are 1, otherwise it outputs 0. Let us consider the case when n=
3, which is the 3 input majority function, whose inputs are A, B and C and the output is Z.
a. Give the truth table for the 3- input majority function.
b. Using Karnaugh Map derive a simple Boolean expression for the output Z in the 3- input
majority function.
c. Construct a logic circuit for the 3 input majority function using NAND gates only.
As in the above circuit, two switches S1 and 52 are installed at the bottom and the top of the staircase
to operate the lamp L. The lamp turned on by using the switch S1 at the bottom of the staircase can
be turned off by using the switch S2 at the top of the staircase. Further, the lamp turned on by using
switch S2 at the top of the staircase can also be turned off by using the switch S1 at the bottom of the
staircase. Moreover, the lamp L turned on by a switch can be turned off by the same switch.
Assume that the connections to positions X and Y of a switch in the above circuit are represented by
the truth values I and 0 respectively and the turned on and timed off states of the lamp L are
represented by the truth values I and 0 respectively.
(i) Construct a truth table to represent the functionality of the above circuit.
(ii) Derive a Boolean expression to represent the truth table obtained in section (i) above.
(iii) What is the logic gate which is equivalent to the functionality of the Boolean expression
obtained in section (ii) above?
(iv) Construct a logic circuit for the Boolean expression obtained in section (ii) above with NOT,
AND and OR gates only.
ii. Level 1 of the DFD for the above context diagram is show in Figure 2.
The applicant sent the application to the respective school. The school sends an
acknowledgement to the applicant. The school then verifies the information in the application by
checking the following.
Eligibility of applicant: By using the eligibility criteria taken from the data stire
“Eligiblility Criteria”
Registration in the electorate: By requeesting the electral list from the Election Authority
( Election Authority sends the Electroral list to the school)
Residential stutus : By requesting the confirmation of residence from the Divisional
Secreterist( Divisional Secretariat sends the confirmation of residence to the school)
After the verification of information, the applicant is informed whether the application has been
accepted or rejected which is noted in the application and stired in the data store “Applications”.
The school obtains the valid applications from the data store “Applications” and schedules the
qualified applicants for interviews. Then it calls the applicants for interviews and send the
interviews scheledule to the Education Authority. The interview schdule is stored in the data
store “Interview Schedule”
The Level 1 Data flow diagram for the above scenario with some data flow labeled as Ⓐto Ⓚ is given in
figure. Identify and write down the relevant data flows against labeled Ⓐto Ⓚ.
The National Information Technology Library (NITL) provides e-books to its users through an online system
named "Library Information Processing System (LIPS)".
A person should submit an application to NITL to become a member of the LIPS. The NITL evaluates the
application and enters it to the LIPS, if it is approved. After entering the application data, LIPS issues an
activation code to NITL which in tum passes it to the relevant person. Once the activation code is received
the person becomes a member of LIPS. A member can obtain his/her usemame and password by providing
the activation code o the UPS. A member can subsequently access e-books by entering his/her username and
the password to the LIPS.