Skip to main content

Defining the problem


  • Before spending time trying to solve a programming problem, it is essential that your first understand the problem to be solved.
    • read, read, read
    • ask questions
    • clarify anything you are not sure of
    • try writing the problem in your own words
    • produce an input processing output chart
  • Designing a solution
    • Once the problem is understood, the next step is to design a solution for the problem
    • This usually involves breaking the problem into smaller pieces and producing an algorithm for each piece.
    • An algorithm is a step by step process that needs to be followed in order to solve a problem.
  • Testing the design
    • Once the solution has been designed, it is important to check that the deigned solution actually solves the problem
    • This involves performing a desk check of each algorithm.
    • A desk check may involve using test input data and working through each algorithm using this test input.
  • Implementing the solution
  • Testing the solution
    • Once the solution has been written the new program needs to be tested
    • A bank of test input should be used to test every conceivable input into the program
    • The test result should be recorded and appropriately documented.
  • Documenting the solution
    • Of extreme importance is the proper documentation of program you produce
    • Program documentation may consist of source code comments user manuals, installation guides etc
    • Proper documentation is important because it assists other people in understanding and using your program.

Comments

Popular posts from this blog

3 Channels Audio Splitter Amplifier Circuit Diagram using TL084

This is the schematic diagram of 3 channels audio splitter amplifier circuit which built using op-amp IC TL084. The 3 channels amplifier output distribution applies a single TL084.   3 Channels Audio Splitter Amplifier Circuit Diagram The very first step is to capacitive coupling having a p. 1.0 ~ electrolytic capacitor. The entries are railways Vee Y2 or 4.5 V. This enables working with an individual 9V power source. A voltage gain of 10 (1 M?/100 Kohm) is obtained in the first stage, as well as the other three floors are connected as a unity gain voltage followers. Every single output stage drives independently through an amplifier output 50 pF capacitor towards the resistance of 5.1 k ohm load. The response range is flat from 10 Hz to 30 kHz.

RF amplifier protection

RF amplifier protection I have developed the protection circuit for the EB104 amplifier I am working on, after I finally had some time to design and test a few models. The main requirements have been: - protection in case of high temperature; - protection in case of high SWR; - protection in case of wrong output filter selection; - simple design (i’m a fan of the whole K.I.S.S. rule of thought), able to work in strong electromagnetic fields, reliable, inexpensive. Because i will be using the same directional coupler i have used in the SWR meter (the one made on PCB) wich is directly influenced by the signal frequency, and because i want full HF coverage, i cannot just measure the reflected signal and make a circuit cut the amplifier when it goes over a limit; on 28Mhz the coupler generates roughly 4 times more voltage that let’s say in 7Mhz. So a system that compares direct and reflected signal and triggers when the latter is percentually too high was needed, therefore an operational a...

Simple Automatic Street Light

There have been lot of problems in street lights. Major problem in some places is every evening a person has to come and switch ON the street light and it should be again switched off in morning. Yes, this may not be the situation in everywhere but exists in many places. So this problem can be overcome by using a simple circuit. Below shown circuit will be automatically switched ON and OFF during night and morning times respectively. Circuit diagram : Simple Automatic street light Circuit Diagram In above circuit R1 can be used to adjust the sensitivity. And the working of the circuit is very simple. The LDR will have very low resistance during day time so the transistor Q1 will be in OFF condition. And during night time the resistance will be very high so automatically the transistor Q1 will be ON. The Q1 is PNP transistor and the emitter of Q1 is given to base of Q2. So the Q2 transistor will be ON only if the transistor Q1 is ON. The TRIAC is used in the circuit to make is circ...