Assignment 1 (CSA)

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Issue Date: 20/03/2024

Submission Date: 08/04/2024

GULZAR GROUP OF INSTITUTES


DEPARTMENT OF COMPUTER APPLICATIONS

Assignment-1
Subject: Computer System Architecture Subject Code: UGCA1908

Branch/Semester: BCA/2nd Marks:10

Q.1 Design a logical circuit to implement electronic eyes using NOT gate. use a light-dependent resistor
(LDR) as the light sensor. The circuit will produce an output signal indicating the presence or absence of
light. When light falls on the LDR, its resistance decreases, causing the output voltage to drop. The NOT
gate will invert this signal, so the output will be high (logic 1) in darkness and low (logic 0) in bright light.

Q.2 Build a logical circuit to implement door security system using AND gate. Use two push buttons as
inputs and connect them to an AND gate. Connect an LED to the output of the AND gate. The LED will
only light up when both buttons are pressed simultaneously, simulating a door security system.

Q.3 Develop a logical circuit to implement light control system using OR gate. Connect two light-
dependent resistors (LDRs) to the inputs of an OR gate. Connect an LED to the output of the OR gate.
The LED should light up if light falls on either one of the LDRs, showing a simple light control system.

Q.4 Create a logical circuit to implement simple code lock using using XOR gate. Use four push buttons
as inputs, and connect them to an XOR gate. Connect an LED to the output of the XOR gate. The LED
should light up only when an odd number of buttons are pressed, creating a basic code lock.

Q.5 Design a logical circuit to implement traffic light control system using AND gate. Use three AND
gates to simulate a traffic light system. Connect each gate to a switch representing the presence of
vehicles on three different roads. Use LEDs to represent the traffic lights (Red, Yellow, Green).Simulate
the traffic light changes based on the inputs from the switches.

Q.6 Build a logical circuit to implement burglar alarm system using OR gate. Connect multiple
door/window switches to an OR gate. Connect a buzzer or LED to the output of the OR gate. The buzzer
or LED should be activated if any of the doors or windows are opened, simulating a basic burglar alarm
system.

Q.7 Create a logical circuit to implement Light sensor system using XOR gate. Connect two LDRs (Light
Dependent Resistors) to the inputs of an XOR gate. Connect an LED to the output of the XOR gate. The
LED should light up only when one of the LDRs detects light, demonstrating a simple light-sensing circuit.

Q.8 Create a logical circuit to implement water level indicator using NOT gate. Use a NOT gate along
with a water sensor. Connect the water sensor to the input of the NOT gate. Connect an LED to the
output of the NOT gate. The LED should light up when the water level is below the sensor, indicating a
low water level.
Issue Date: 20/03/2024
Submission Date: 08/04/2024

Q.9 Create a logical circuit to implement Biometric Door Lock system using NAND gate. Use a NAND gate
with two inputs and a switch as one input. Connect an LED to the output of the NAND gate. Connect a
second switch as the second input of the NAND gate. The LED should only light up when both switches
are pressed simultaneously, simulating a basic biometric door lock.

Q.10 Build a logical circuit to implement temperature controller system using AND gate. Set a threshold
temperature using a potentiometer. Use an AND gate to compare the current temperature with the
threshold. Connect an LED or a fan to the output of the AND gate to indicate when the temperature
exceeds the threshold.

Q.11 Create a logical circuit to implement 3-input majority Voter circuit using NAND gate. Connect three
toggle switches as inputs (A, B, C).Use three NAND gates to implement a majority voter circuit. Connect
the outputs of the NAND gates to an LED or buzzer. The LED or buzzer should activate only when at least
two of the switches are in the ON position.

Q.12 Create a logical circuit to implement LED binary counter using AND and OR gates. Use four toggle
switches as inputs representing four binary digits (A, B, C, D).Use four AND gates to combine the toggles'
states. Connect the outputs of the AND gates to an OR gate. Connect the output of the OR gate to a
binary counter made of LEDs. Observe the binary counter changing its state as you toggle the switches.

You might also like