20-11-2021
20-11-2021
20-11-2021
(OR)
2. a) For the following circuit find i0 (use source transformation). 5M
1 of 4
UNIT-II
(OR)
4. a) For the following circuit, determine the voltages at the nodes 1, 2, and 5M
3.
2 of 4
b) For the following circuit, using mesh analysis find the currents i1 , i2 5M
and i3.
UNIT-III
5. a) In the series circuit of R=10 ohms and C=40 µF has an applied voltage 5M
v(t)=500 cos (2500t-20o) volts. Find the current i.
b) In a series circuit of R=ohms and L=0.03 H , the current lags the 5M
voltage by 80o . Determine the frequency of the source and the
complex impedance Z of the circuit.
(OR)
6. a) The total current entering the parallel circuit shown in figure is given 5M
by IT = 18∠45o . Determine the potential difference between points A
and B.
3 of 4
UNIT-IV
UNIT-V
UNIT-VI
11. a) Explain the working principle of 3-point starter with a neat sketch. 5M
b) Derive the expression for torque developed by DC Motor 5M
(OR)
12. a) Explain the various speed control methods of DC Motors. 5M
b) Explain the principle operation of DC Motor? 5M
4 of 4
AR20
CODE: 20ESI102 SET-1
ADITYA INSTITUTE OF TECHNOLOGY AND MANAGEMENT, TEKKALI
(AUTONOMOUS)
I B.Tech I Semester Supplementary Examinations, November-2021
PROGRAMMING FOR PROBLEM SOLVING
(Common to ME, CSE & IT)
UNIT-II
3. a) Write a C program to generate and print the numbers between 100 and 200 5M
which are divisible by 3 but not divisible by 4
b) Explain if-else statement and nested if-else statement with syntaxes and 5M
suitable examples.
(OR)
4. a) Write a C program to illustrate switch and if-else statements. 5M
b) Write a C program to perform arithmetical operations using switch case. 5M
UNIT-III
1 of 2
UNIT-IV
7. a) Write program for finding the GCD among two numbers using recursion 5M
b) Explain various types of functions supported by C language? Give example 5M
for each of the C function.
(OR)
8. a) What is meant by recursion? What are its uses? How it is implemented? 5M
Explain with example.
b) Write a C program using the concept of functions to swap the values of 5M
variables without using third variable
UNIT-V
11. a) Explain the following functions in files: (i) fseek( ) (ii) ftell( ) (iii) rewind( 5M
) (iv) fopen( ) (v) fclose( )
b) Write a program in C to reverse the contents of a file using random access 5M
file mode
(OR)
12. a) Write a program that changes every lowercase character of data file into 5M
uppercase and vice versa
b) Explain the following with example: (i) fprintf( ) (ii) fscanf 5M
( ) (iii) fgets( ) (iv) feof( ) (v) rewind( )
2 of 2