Category: Other Circuits

C program to find the Shortest path for a given graph

Under Category : Other Circuits

OUTPUT: enter the cost matrix : 0 1 4 2 0 0 0 0 2 3 0 0 0 3 0 0 0 0 0 5 0 0 0 0 0 enter number of paths : 4 enter possible paths : 1 2 4 5 0 1 2 5 0 0 1 4 5 0 [...]

Read More »

Java applet program for handling mouse events

Under Category : Other Circuits

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 [...]

Read More »

LED or Lamp Pulsar Circuit

Under Category : Other Circuits

Astonishing effect 4.5V supply This circuit operates a LED in pulsing mode, i.e. the LED goes from off state, lights up gradually, then dims gradually, etc. This operation mode is obtained by a triangular wave generator formed by two op-amps contained in a very cheap 8 pin DIL case IC. Q1 ensures current buffering, in [...]

Read More »

Java applet program that allows the user to draw lines, rectangles and ovals

Under Category : Other Circuits

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 import java.awt.*; import java.applet.*; /* <applet code="Sujith" width=200 height=200> </applet> */ public class Sujith extends Applet { public void paint(Graphics g) { for(int i=0;i<=250;i++) { Color c1=new Color(35-i,55-i,110-i); g.setColor(c1); g.drawRect(250+i,250+i,100+i,100+i); g.drawOval(100+i,100+i,50+i,50+i); g.drawLine(50+i,20+i,10+i,10+i); } } } [...]

Read More »

Program for Deadlock detection algorithm

Under Category : Other Circuits

INPUT: enter total no. of processes : 4 enter claim matrix : 0 1 0 0 1 0 0 1 0 1 0 0 0 0 1 1 0 1 0 1 enter allocation matrix : 1 0 1 1 0 1 1 0 0 0 0 0 0 1 0 0 0 0 0 [...]

Read More »

C program for Round Robin CPU Scheduling Algorithm

Under Category : Other Circuits

INPUT : enter the process name : aaa enter the processing time : 4 enter the process name : bbb enter the processing time : 3 enter the process name : ccc enter the processing time : 2 enter the process name : ddd enter the processing time : 5 enter the process name : [...]

Read More »

Circuit Troubleshooting

Under Category : Other Circuits

Short notes about Circuit troubleshooting. – Check the circuit for mechanical failures, like disconnected wire, broken vias on the board, and connections between two adjacent vias which are not to be connected. – You should compare values of components and their connections with values and connections between components on the schematic. – Measuring DC voltages [...]

Read More »