PPS LAB EXTERNAL ANS
1(a) Write a program to demonstrate Arithmetic, Logical, and Bitwise operators.
NEXT PAGE!
1(b) Write a program to reverse the digits of an integer.
2(a) Write a program to print the roots of a Quadratic equation.
NEXT PAGE!
2(b) Write a program to extract digits of an integer.
3(a) Write a program to print the sum of digits of a number.
NEXT PAGE!
3(b) Write a program to check whether a number is Prime or not.
NEXT PAGE!
4(a) Write a program to print an Armstrong number.
NEXT PAGE!
4(b) Write a program to print the multiplication table for a given number.
5(a) Write a program to print Pascal’s Triangle.
5(b) Write a program to convert Binary to Decimal.
6(a) Write a program to print a Pyramid of numbers.
NEXT PAGE!
6(b) Write a program to convert Decimal to Binary.
7(a) Write a program to print the factorial of a number using recursion.
NEXT PAGE!
7(b) Write a program to find maximum and minimum values from a set of values using arrays.
NEXT PAGE!
8(a) Write a program to find the average and standard deviation of a set of values using arrays.
NEXT PAGE!
8(b) Write a program to perform Matrix addition using functions.
9(a) Write a program to perform Matrix multiplication using functions.
9(b) Write a program to sort a list using Bubble Sort.
NEXT PAGE!
10(a) Write a program to find the transpose of a matrix using functions.
NEXT PAGE!
10(b) Write a program to sort a list using Selection Sort.
NEXT PAGE!
11(a) Write a program to search an element using Linear Search.
NEXT PAGE!
11(b) Write a program to check whether a given string is a Palindrome or not.
NEXT PAGE!
12(a) Write a program to search an element using Binary Search using recursion.
NEXT PAGE!
12(b) Write a program to find the number of characters, words, and lines in a given text file.
NEXT PAGE!
13(a) Write a program to print a student memo to a text file using structures.
13(b) Write a program to print the reverse of a string.
If you find any errors, feel free to DM me.