Thursday, April 21, 2011

write a program in java for thread interrupt


class MyThread1 implements Runnable {

  public void run() {
    try {
      Thread.sleep(4000);
    } catch (Exception exc) {
      System.out.println(Thread.currentThread().getName()
          + " is interrupted.");
    }
    System.out.println(Thread.currentThread().getName() + " is exiting.");
  }
}

public class ThreadInterrupt1 {
  public static void main(String args[]) throws Exception {
    Thread th1 = new Thread(new MyThread1(), "First Thread");
    Thread th2 = new Thread(new MyThread1(), "Second Thread");
    th1.start();
    Thread.sleep(2000);
    th1.interrupt();
    th2.start();
    Thread.sleep(5000);
    th2.interrupt();
  }
}

ME2256 STRENGTH OF MATERIALS LABORATORY ANNA UNIVERSITY QUESTION PAPER & QUESTION BANK


ME2256 - STRENGTH OF MATERIALS LABORATORY

1. Determine the following properties of mild steel and to study the type and character of fracture.
(a) Modulus of Elasticity
(b) Yield strength
(c) Ultimate strength.
2. Determine the following properties of mild steel and to study the type and character of fracture.
(a) Nominal breaking strength
(b) % of elongation
(c) % of reduction in Area.
3. Draw the stress strain diagram's for the mild steel.
4. Determine the shear strength of the given mild steel rod by using UTM.
5. Determine the Double shear strength of the Aluminium rod by using UTM.
6. Determine the modulus of rigidity of the mild steel by Torsional testing machine.
7. Determine the Rockwell hardness number for hard materials (take three samples).
8. Determine the Rockwell hardness number for very hard materials (take three samples).
9. Find the surface hardness of the given specimen using Brinell hardness tester.
10. Find out the modulus of elasticity of the given material in De
ection of Beams.
11. Conduct a compression test on the given helical spring and determine the shear modulus of
rigidity.
12. Conduct a compression test on the given helical spring and determine the sti ness of the
spring.
13. Determine the strain measurement using Rosette strain gauge.
14. Determine the e ect of hardening improvement in hardness of steels.
15. Determine the e ect of hardening - impact resistance of steels.
16. Find out the Tempering improvement mechanical properties comparison for unhardened spec-
imen.
17. Find out the Tempering improvement mechanical properties comparison for Quenched speci-
men.
18. Find out the Tempering improvement mechanical properties comparison for Quenched and
Tempered Specimen and Draw the comparison graph.
19. Draw the diagrams for hardened samples in microscopic examination.
20. Draw the diagrams for hardened and Tempered samples in microscopic examination.

EE2258 - LINEAR & DIGITAL INTEGRATED CIRCUITS LABORATORY ANNA UNIVERSITY QUESTION BANK & QUESTION PAPER


EE2258 - LINEAR & DIGITAL INTEGRATED CIRCUITS LABORATORY

NOTE: Questions (a) and (b) carry equal Weightage
1. (a) Verify the logic gates using IC 7400, IC 7402, and IC 7486.
(b) Design and test the performance of inverting ampli ers using IC 741. Plot the input and
output waveforms.
2. (a) Verify the logic gates using IC 7408, IC 7432, and IC 7404.
(b) Design and test the performance of non-inverting ampli er using IC 741. Plot the input
and output waveforms.
3. (a) Verify the Boolean function using logic gates for the following expression:
(i) x + x = 1
(ii) x + 1 = 1
(iii) x:x = x.
(b) Design and verify the output of di erentiator using IC 741 for a period of T = 1 ms.
4. (a) Verify the Boolean function using logic gates for the following expression:
(i) x + 0 = x
(ii) x:1 = x
(iii) x:x = 0.
(b) Design and verify the output with 1KHz frequency of integrator using IC 741. Assume
RlCF = 0:1 ms:
Plot the output voltage waveforms.
5. (a) Design a full-adder circuit and verify its truth table.
(b) Design a 4-bit gray to binary code converter and verify its truth table.
6. (a) Design a full-adder circuit and verify its truth table.
(b) Design and implement 8:1 Multiplexer using suitable IC's.
7. (a) Design a full-subtractor circuit and verify its truth table.
(b) Design and implement 1:8 demultiplexer using suitable IC's.
8. (a) Verify the adder using op-amp for the given input A and B.
(b) Design and implement (SISO) shift register using IC's and verify the truth table for a
data input serially as 1011.
9. (a) Design a Binary to gray code converter and verify the truth table.
(b) Verify the truth table of D-
ip
op experimentally.
10. (a) Design a one shot multivibrator using 555 timer with ON time 1.1ms. Plot the necessary
waveforms.
(b) Verify the truth table of JK
ip
op experimentally.
11. (a) Design and verify the output of integrator using IC 741 for a time period of 1ms.
(b) Design and verify the truth table of a circuit which generates odd parity bit for three bit
binary input.
12. (a) Design and implement 4-bit ripple up counter using IC 7476 and verify its truth table.
(b) Design and verify the truth table of a circuit which generates even parity bit for three
bit binary input.
13. (a) Design a free running multivibrator with 555 timer to obtain an output waveform of
frequency 1 KHz and duty cycle of 75%.
(b) Verify the truth table of RS
ip
op experimentally.
14. (a) What output voltage would be produced by a D/A converter whose output range is 0 to
5V for its corresponding 8 bit input binary number.
(b) Verify laws of complementarity experimentally using logic gates IC's.
15. (a) Using Analog to digital convertor, convert the given input voltage to its corresponding
digital output.
(b) Design and implement 4-bit Synchronous down counter using logic gates.
16. (a) Realize the voltage to frequency characteristics of 566 IC.
(b) Design and implement 8:1 Multiplexer using suitable IC's.
17. (a) Design and implement (PIPO) using IC's and verify the truth table for a given Input.
(b) Design the comparator using IC 741 for the given Input.
18. (a) Design and verify the truth table of a circuit which implements the following Boolean
function F(A;B;C;D) = m(0; 1; 2; 4; 5; 8; 9; 12; 13; 14) using logic gates.
(b) Implement 4 1 Multiplexer using logic gate IC's and verify its truth table.
19. (a) Design a logic circuit to convert BCD to Excess-3 code and verify the truth table exper-
imentally.
(b) Design a combinational circuit which takes 3 bit binary number as input and generates
the ones complement of the number as output.
20. (a) Design and implement BCD-7 segment display decoder using suitable IC.
(b) Verify De-Morgan's law for two bit binary number using logic gate IC's.

EC2258 LINEAR INTEGRATED CIRCUITS LABORATORY ANNA UNIVERSITY QUESTION PAPER


EC2258 LINEAR INTEGRATED CIRCUITS LABORATORY

1. (a) Design an inverting ampli er of gain 􀀀5 and an input resistance of 10k
. (35)
(b) Design a non-inverting ampli er with a gain of 10. (35)
(c) Simulate a bandpass lter using PSPICE. (30)
2. (a) Design an inverting ampli er of gain -10 and resistance equal to 10K
. (50)
(b) Simulate an instrumentation Ampli er using PSPICE. (50)
3. (a) Construct a di erential Ampli er and calculate CMRR. (75)
(b) Simulate an active lowpass lter using PSPICE for fL = 1 kHz. (25)
4. (a) Design an op-amp di erentiator that will di erentiate an input signal with fa = 100Hz
and assume fb = 10fa. (75)
(b) Simulate an active high pass lter using PSPICE for fH = 5 kHz. (25)
5. (a) Construct an integrator using op-amp and draw its output for
(i) Sine input
(ii) Square input.
(100)
6. (a) Construct a circuit using op-amp to convert a sine wave into Square wave. (75)
(b) Simulate the above circuit using PSPICE. (25)
7. (a) Construct an Astable multivibrator using op-amp. (75)
(b) Simulate monostable multivibrator using PSPICE. (25)
8. (a) Construct a phase shift oscillator using op-amp and measure the frequency of oscillator
and voltage amplitude. (75)
(b) Simulate the same using PSPICE. (25)
9. (a) Design and construct a wien bridge oscillator for a frequency of 1 KHz. (75)
(b) Simulate the above oscillator using PSPICE. (25)
10. (a) Design an astable multivibrator using 555 timer to generate a frequency of 1 kHz. Cal-
culate the duty cycle D. (75)
1
(b) Simulate the same multivibrator using PSPICE. (25)
11. (a) Design a monostable multivibrator using 555 timer to produce a pulse width of 100ms.
(75)
(b) Simulate the same using PSPICE. (25)
12. (a) Construct a PLL using IC 565 and calculate the capture range and lock range. (75)
(b) Simulate an active LPF using PSPICE for fL = 2 kHz. (25)
13. Construct a frequency multiplier using PLL. (100)
14. (a) Design a Wein bridge oscillator to generate a frequency of 2 kHz. (70)
(b) Design an inverting ampli er of gain -5 and input resistance of 10k?
. (30)
15. (a) Construct a voltage regulator using IC723. (50)
(b) Simulate an active LPF using PSPICE for fL = 1:5 kHz. (50)
16. (a) Construct an instrumentation Ampli er. (75)
(b) Simulate an active HPF using PSPICE for fH = 5kHz. (25)
17. (a) Construct an Astable multivibrator using 555 timer to generate a frequency of 2kHz.
(50)
(b) Construct an integrator using op-amp and draw its output for sine wave input.
(50)
18. (a) Construct a circuit using op-amp to convert a sine wave into a square wave. (75)
(b) Design a non-inverting ampli er with a gain of 10. (25)
19. (a) Design a free running multivibrator using IC555 to generate a frequency of 1 kHz. (75)
(b) Construct an active LPF for a lower cut-o frequency of 1 kHz. (25)
20. (a) Design and construct an active BPF with lower cut-o frequency of 1 kHz and upper
cut-o frequency of 4 kHz. (75)
(b) Simulate an active BPF for a bandwidth of 5 kHz. (25)

CS2259 MICROPROCESSORS LABORATORY ANNA UNIVERSITY Question Paper


CS2259 - MICROPROCESSORS LABORATORY

1. (a) Write a program to convert hexadecimal number to decimal number in 8085.
(b) Interface a stepper motor with 8051 Microcontroller and evaluate its performance.
2. (a) Write a program in 8085 to add two hexadecimal numbers.
(b) Use 8086 BIOS/DOS calls to convert uppercase letters to lowercase letters and vice-versa.
3. (a) Write a program in 8085 to convert ASCII to BCD.
(b) Write a program to interface 8086 with 8255.
4. (a) Write a program in 8085 to divide two hexadecimal numbers.
(b) Write a program to interface 8086 with 8253.
5. (a) Write a program in 8085 to multiply two hexadecimal numbers.
(b) Write a program to interface 8086 with 8279.
6. (a) Write a program in 8085 to convert BCD to binary.
(b) Write a program to interface 8086 with 8251.
7. (a) Write a program in 8086 to arrange a given array of numbers in ascending order.
(b) Write a program to interface ADC & DAC.
8. (a) Write a program in 8085 to nd sum of 'n' numbers.
(b) Using 8086 BIOS/DOS calls, create a le and delete the same.
9. (a) Write a program in 8086 to arrange a given array of numbers in descending order.
(b) Write a program to interface Tra c light controller.
10. (a) Write a program to display a string in a speci ed row & column using 8086 BIOS/DOS
calls.
(b) Write a program to nd the number of 0's and 1's in a number using 8085.
11. (a) Write a program to convert a decimal number to hexadecimal number.
(b) Write a program to interface 8085 with 8255.
12. (a) Write a program in 8086 to check whether a string is a palindrome.
(b) Write a program to interface 8085 with 8253.
13. (a) Write a program in 8086 to nd the GCD of two numbers.
(b) Write a program to interface 8085 with 8279.
14. (a) Write a program in 8085 to arrange a given array of numbers in ascending order.
(b) Write a program to interface a stepper motor with 8051.
15. (a) Write a program in 8085 to arrange a given array of numbers in descending order.
(b) Write a program to interface 8086 with 8279.
16. (a) Write a program in 8086 to search for a string in a given array.
(b) Write a program to interface a stepper motor with 8051.
17. (a) Write a program in 8086 to nd the number of 0's and 1's in a number.
(b) Write a program to interface 8086 with 8251.
18. (a) Write a program in 8085 to nd the LCM of two numbers.
(b) Write a program to interface ADC & DAC.
19. (a) Write a program to display a string in a speci ed row & column using 8086 BIOS/DOS
calls.
(b) Write a program in 8085 to convert BCD to ASCII.
20. (a) Write a program in 8085 to arrange a given array of numbers in descending order.
(b) Using 8086 BIOS/DOS calls, display a string in a speci ed row & column.

CE2257 Civil engineering Question paper STRENGTH OF MATERIALS LABORATORY


CE2257 STRENGTH OF MATERIALS LABORATORY

1. (a) Conduct compression test on the given concrete cube.
(b) Draw a qualitative stress-strain diagram for hardened concrete and explain the salient
points on it.
2. Conduct Tension test on the given steel rod and determine the following
(a) Allowable stress
(b) Yield stress
(c) Breaking stress
(d) Percentage reduction in cross sectional area
3. Conduct Torsion test on the given specimen and determine the following
(a) Shear modulus
(b) Polar modulus
4. State and prove Maxwell's Reciprocal theorem.
5. Conduct Tension Test on the given spring and determine the following:
(a) Modulus of rigidity
(b) Sti ness of the spring
6. Conduct compression test on the given helical spring and determine the following
(a) Shear modulus
(b) Strain Energy stored by the spring
7. Conduct Brinell's Hardness test on the given specimens.
8. (a) Conduct Rockwell's Hardness test on the given specimens.
(b) De ne
(i) Strength
(ii) Hardness
(iii) Sti ness
(iv) Stability
9. (a) Conduct a double shear test on the given specimen
(b) Conduct compression test on the given brick samples.
10. (a) Conduct IZod's Impact test on the given specimens.
(b) Conduct soundness Test on the given cement sample.
11. (a) Conduct Charny's Impact Test on the given specimens.
(b) Determine the consistency of the given cement sample.
12. (a) Determine the initial setting time for the given cement sample.
(b) Determine the speci c gravity of the given cement sample.

CE2257 Model Question paper STRENGTH OF MATERIALS LABORATORY


CE2257 STRENGTH OF MATERIALS LABORATORY


1. (a) Conduct compression test on the given mortar cube and Brick samples.
(b) Draw qualitative stress-strain curve for concrete.
2. (a) Draw stress-strain curve for a mild steel rod and explain salient points on the curve.
(b) Conduct Tension test on the given mild steel rod and determine the following.
(i) Young's modulus
(ii) yield stress
(iii) ultimate stress
(iv) percentage of reduction in cross sectional area
3. (a) What is an extemometer? Write down its uses.
(b) Conduct tension test on the given steel rod and nd the following:
(i) Modulus of Elasticity
(ii) Breaking stress
(iii) Percentage of Elongation in length
(iv) Percentage of reduction in cross sectional area
4. Conduct Torsion test on the given mild steel rod and nd modulus of rigidity of the given
specimen.
5. (a) State Maxwell's Reciprocal theorem.
(b) Determine the Young's modulus of the material of the steel beam by conducting the
de
ection test.
6. Conduct compression test on an open coiled helical spring and determine the following.
(a) Shear modules
(b) Sti ness of the spring
(c) Proof load
(d) Strain energy stoled by the spring
7. Conduct Tension test on the given helical spring and determine the following:
(a) Modules of rigidity
(b) Sti ness
(c) Strain Energy
8. De ne Hardness. Determine the Brinells Hardness number for the given specimens.
9. (a) Determine the Rockwell's Hardness number for the given specimens
(b) Conduct the compression test on the given brick samples.
10. (a) Conduct a double shear test on the given mild steel rod.
(b) Determine the Rockwell's Hardness number for the given specimens.
11. (a) Determine the impact strength of the given specimen
(b) Determine the shear strength of the given specimen.
12. (a) Determine the speci c gravity of the given cement sample.
(b) Determine the soundness of the given cement sample.
13. (a) Determine the initial setting time of the given cement.
(b) Determine compressive strength of the given mortar cube.
14. (a) Find the consistency of the given cement.
(b) Conduct Fineness test on cement.
15. Conduct a compression test on the given cylindrical concrete specimen and draw the stress-
strain curve for that specimen.
16. Determine shear modulus for the given specimen by conducting torsion test.
17. (a) Conduct Izod's impact test on the given specimen.
(b) Determine shear strength of the given mild steel rod.
18. (a) Determine impact strength of the given specimen by conducting charny's test.
(b) Conduct soundness test on cement.

CE2257 STRENGTH OF MATERIALS LABORATORY ANNA UNIVERSITY QUESTION BANK


CE2257 STRENGTH OF MATERIALS LABORATORY
1. Conduct tension test on Tor steel and determine yield stress, ultimate stress, actual stress
and normal breaking stress.
2. (a) Determine Rockwell Hardness number for the given specimens
(b) Determine the shear strength of the given specimen.
3. (a) Determine the Charpy's impact strength for the given specimens.
(b) Determine the Brinnel's Hardness number for the given specimens.
4. (a) Find the Hardness number for the given thin metal sheet.
(b) Determine the IZod impact strength for the given specimen.
5. Conduct a compression test on the given helical spring and determine the following
(a) Shear modulus
(b) Sti ness of the spring
(c) Proof load
(d) Strain energy stored at proof load.
6. Determine the Young's modulus of the material of the steel beam by conducting the de
ection
test.
7. Conduct the tension test on MS rod and determine the following values
(a) yield stress
(b) ultimate stress
(c) Breaking stress
(d) Percentage elongation
(e) Percentage reduction in cross sectional area
8. Conduct torsion test and determine the value of modulus of rigidity and maximum shear stress
in the given specimen.
9. (a) Determine the Rockwell Hardness number for the given specimen.
(b) Conduct compression test on the given Brick samples.
10. (a) Conduct double shear strength on given MS rod.
(b) Determine the Rockwell Hardness number for the given specimen.
11. Conduct a tension test on the given helical spring and determine the following:
(a) Shear modulus
(b) Sti ness of the spring
(c) Proof load
(d) Strain energy stored at proof load
12. (a) Determine the impact strength of the given specimen
(b) Determine the shear strength of the given specimen.
13. (a) Determine the speci c gravity of the given cement sample.
(b) Find the consistency of the given cement sample.
14. Conduct a compression test on the given cylindrical concrete specimen and draw the stress-
strain curve for that specimen.
15. (a) Conduct soundness test on cement.
(b) Determine the initial setting time of the given cement sample.
16. (a) Determine the neness of the given cement sample.
(b) Determine the compressive strength of the given concrete cubes.
17. Determine the modulus of rigidity of the given MS rod by conducting a torsion test.
18. (a) Conduct compression test on the given mortar cube and brick sample.
(b) Draw a qualitative stress-strain diagram for concrete.
19. (a) Determine the Young's modulus of the material of the steel beam by conducting the
de
ection test.
(b) Determine the Rockwell's Hardness number for the given specimen.
20. Conduct tension test on the given mild steel rod and determine the following:
(a) Modulus of elasticity
(b) Breaking stress
(c) Percentage of elongation in length.