TO LEARN PROGRAM SHEET
Preppro programming sheet for beginners
Top 100 topic based problems for topic wise practice:
Operators:
Program to calculate area of a triangle
Program to calculate area of a circle
Program to calculate area of a cylinder
Program to calculate area of a rectangle
Program to calculate area of a cone
Program to calculate perimeter of a triangle
Program to calculate perimeter of a circle
Swap two variables without using third variable
Sum of n natural numbers.
To practise more problems like this on operators try all shapes areas and perimeters to get hands on experience
One problem will be given to practice placement based problem solving
Conditional statements:
Check whether the number is even or odd
Check whether the number is positive, negative or zero.
Check whether the year is leap year or not.
Program to find those numbers which are divisible by 7 and multiples of 5, between 1500 and 2700 (both included).
practise more problems like this
One problem will be given to practice placement based problem solving
Loops:
Factorial of a number
Integer palindrome
Check whether the number is Prime number or not
Fibonacci series
Check whether the given number is armstrong
Sum of squares of digits of a number.
Pattern problems:
Grid pattern
Right angled triangle (normal and inverted) both sides
Equilateral triangle (normal and inverted)
Rhombus pattern
Number patterns
Alphabetical patterns
practise more problems like this
One problem will be given to practice placement based problem solving
Arrays and Lists:
Largest element in an array
Second largest element in an array
Smallest element in an array
Sum of elements in an array
Frequency of elements in an array
Remove duplicates from an array
Right rotation of an array
Left rotation of an array
Sort 1st half in ascending and second half in descending order
Moving zeros to the end of an array
sorting
Sort an array of 0s 1s and 2s
Maximum subarray sum
2d arrays:
Matrix addition and subtraction
Search an element in a matrix
Rotate matrix by 90 degrees
Row column wise sorting of a matrix
Find nth smallest in row column wise sorted matrix
practise more problems like this
One problem will be given to practice placement based problem solving
Strings:
String palindrome
Check if a vowel is present in the string
Remove duplicates from a string
Frequency of characters in a string
Check whether the string is anagram or not
Check whether the string is pangram
Reverse each word in a given string
Remove vowels from a string
Balanced parentheses
Replace substring in a string
Print all permutations of a given string in lexicographic order
practise more problems like this
One problem will be given to practice placement based problem solving
Functions and Recursion:
Factorial using recursion
Fibonacci series using recursion
Inheritance
Polymorphism
Encapsulation
Abstraction
© 2018-2020 dndsofthub All Rights Reserved