This document outlines 16 internship assignments involving writing programs (WAP) and functions to perform tasks like finding the maximum of numbers, implementing a basic calculator, calculating sums and averages of arrays, manipulating bits and bytes, and string operations such as length, reversal, and conversion. The assignments include both simple programs and functions that take parameters to work with numbers, arrays, strings, and registers through tasks like comparison, calculation, manipulation, and conversion.
Social Problems Author(s) : L. K. Frank Source: American Journal of Sociology, Jan., 1925, Vol. 30, No. 4 (Jan., 1925), Pp. 462-473 Published By: The University of Chicago Press
This document outlines 16 internship assignments involving writing programs (WAP) and functions to perform tasks like finding the maximum of numbers, implementing a basic calculator, calculating sums and averages of arrays, manipulating bits and bytes, and string operations such as length, reversal, and conversion. The assignments include both simple programs and functions that take parameters to work with numbers, arrays, strings, and registers through tasks like comparison, calculation, manipulation, and conversion.
This document outlines 16 internship assignments involving writing programs (WAP) and functions to perform tasks like finding the maximum of numbers, implementing a basic calculator, calculating sums and averages of arrays, manipulating bits and bytes, and string operations such as length, reversal, and conversion. The assignments include both simple programs and functions that take parameters to work with numbers, arrays, strings, and registers through tasks like comparison, calculation, manipulation, and conversion.
This document outlines 16 internship assignments involving writing programs (WAP) and functions to perform tasks like finding the maximum of numbers, implementing a basic calculator, calculating sums and averages of arrays, manipulating bits and bytes, and string operations such as length, reversal, and conversion. The assignments include both simple programs and functions that take parameters to work with numbers, arrays, strings, and registers through tasks like comparison, calculation, manipulation, and conversion.
2. WAP to find Maximum of three numbers. 3. WAP to implement simple calculator. 4. WAP to find sum of digits of given number. 5. WAP to reverse the given number. 6. WAP to find SUM and AVERAGE of array elements. 7. WAP to SET, GET, CLEAR, TOGGLE bit of a given register. 8. WAP to print binary pattern of a given number using bit-wise operators 9. WAP to swap nibble of a byte. 10. Write a Function to find sum of 2 numbers. 11. Write a Function to swap two numbers using pass by reference method. 12. Write a Function to find average of array elements. 13. Write a Function to copy string. 14. Write a Function to find the length of the string. 15. Write a Function to reverse the string. 16. Write a Function to convert ASCII to INTEGER (ATOI).
Social Problems Author(s) : L. K. Frank Source: American Journal of Sociology, Jan., 1925, Vol. 30, No. 4 (Jan., 1925), Pp. 462-473 Published By: The University of Chicago Press