RCTI, SOLA, AHMEDABAD INFORMATION TECHNOLOGY DEPARTMENT SUBJECT :- Advanced Computer Programming (3320702) Assignment 1 (Unit I - Array) Define an array. Explain types of array. Give advantage and disadvantage of array. How to initialize and declare array? Declare 5 element Integer array and store value in the array. Explain array operations searching and sorting of one-dimensional array with example. Explain array operations insertion, deletion of two-dimensional array with example. Explain sscanf() and sprint() functions. Assignment 2 (Unit II - Pointer) What is pointer? Explain features of pointers. Explain void pointer with example. What is array of pointers? Explain with example. Explain dynamic memory allocation using pointers. Explain pointer to pointer with example. Assignment 3 (Unit III - Functions) What is function and its use? How to define and call function? Explain function prototype. Explain call by value and call by reference function with example. Explain recursion with example of factorial. Write a program to find out given string is Palindrome or not using user defined function. Assignment 4 (Unit IV Preprocessor Directives) Define macros and explain pre-defined macros. List macros in ctype.h file. What is preprocessor? Explain how it works. Explain directives #include and #line with one example. Explain directives #define and #undef with one example.
Assignment 5 (Unit V Structures & Unions) State the rules to initialize the structures. Give the difference between structure and union. Explain array of structure with example. Explain nesting of structure. Explain pointers to structure. Explain enumerated data types. Assignment 6 (Unit VI Files) List out various file operations in brief. State use of file functions fscanf() and fprintf() with one example. State use of file functions getc(), fgetc() and putc(), fputc() with one example. What is command line arguments and explain it with example. Write a program to merge the content of one file with another file.
Basic Electronics Assignment Assignment -1 Explain Active component and Passive component in Detail. Explain practical voltage source and ideal voltage source. Explain practical current source and ideal current source. Define passive components and explain inductor and capacitor as a passive component Define the term signal and draw following types of signals (i) Sinusoidal signal (ii) Square wave signal (iii) Triangular wave signal. Explain following test signals (i) Step signal (ii) Unit step signal. (2) State the difference between active and passive component. Explain following test signals (i) Ramp signal (ii) Unit ramp signal. (4) Define the terms (i) Amplitude (ii) Frequency (iii) Wavelength Draw the different type of Waveforms. Define the terms: I) Amplitude. II) Frequency. 3. Convert the following Current Source into Voltage Source. 4. Define Test signals Find out Wavelength if time period is 1us. List applications of PN junction diode. Assignment -2 Explain Zener Diode with its Characteristics and Zener effect. Explain the Working of the P-N junction diode in detail. Explain application of zener diode as a voltage regulator Explain π-filter in detail. Explain T-filter in detail. Why filter is required in rectifier circuit? Draw π filter arrangement used in rectifier circuit. Explain forward biasing of PN junction diode and draw V-I Characteristics of it. What is rectifier circuit? Give classification of rectifier circuit used in electronics. Explain with neat diagram the working of NPN transistor. Draw the circuit diagram of full wave bridge rectifier. Also draw input and output wave form of it. Define Rectifier. List various application of rectifier. Draw the symbols of following semiconductor devices (i) Diode (ii) PNP transistor (iii) Light Emitting Diode (LED) (iv) Zener Diode. What is forbidden energy gap? Give the value of forbidden energy for insulator, conductor and semiconductor. Why biasing is needed in transistor circuit? Draw the symbols of following Devices: I) P-N junction diode. II) Zener diode.
Assignment -3 Explain Construction and Working of P-channel FET. Write short notes on : I) NMOS inverter. II) PMOS inverter. Compare FET and BJT. Explain Transistor as a Switch. Explain working principle of SCR with two transistor analogy. Explain working of N channel JFET Explain with neat diagram transistor as a switch. Draw and explain CMOS inverter circuit. Define Transistor. List various application of Transistor. What is an amplifier circuit? Define the gain of an amplifier circuit. Assignment -4 In Hartley Oscillator, Values of Inductors are 0.4 mh and 0.3 mh while the value of Capacitor is 0.5 uf. Find the frequency of Oscillation. In Colpitt Oscillator, values of Capacitors are 2uF and 4uF while the value of Inductor is 10mH. Find the frequency of Oscillation. Explain how amplifier with positive feedback works as an Oscillator. Draw neat circuit diagram of Colpitt s Oscillator. Also write the equation of frequency of oscillations. Explain Positive feedback. Explain Negative feedback. Explain principle of damped oscillations with LC tuned circuit. Define the terms: I) Filter. II) Oscillator. Write down the requirement of Oscillator. Assignment - 5 When unknown d.c. voltage is measured with CRO the beam deflection is observed about 3.0 cm. If the vertical gain control setting was 5V/cm, find out the value of unknown d.c. voltage. Draw the block diagram of Digital Multimeter. Give difference between Analog Display and Digital Display. Write a short note on Coaxial Cable. Explain the Principle of Fiber Optic Cable and Construction of Fiber Optic Cable. State Advantages and Disadvantages of Digital Multimeter. Explain RS-232 connector. Explain RJ-45 connector and RJ-11 connector. Give comparison between analog and digital display. Explain the principle of optical fibre.
List types of connectors used in electronic practice. Give general specifications of a cable. List the applications of CRO. Give the name of connectors used in Telecommunication. Give the comparison between LED display and LCD display. List various application of C.R.O. Write down the Full Form of following: I) IGFET. II) HDMI.