Practice Problems
Basic :
- Print Hello World
- Decision Making
- Performing Arithmetic operations
- Print a string n times
- Swap two numbers
- Reversing digits of a number
- Decimal to any base conversion
- Conversion from any base to Decimal
- Conversion from Celsius to Fahrenheit
- Print numbers from 1 to n without using loops
- Middle of three
- To check if a number is Palindrome or not
- Binary representation of a number
Mathematical :
- Small factorial
- Odd or Even
- Calculating ab
- Greatest of three numbers
- Check if a number is a perfect square
- All divisors of a natural number
- Calculating nPr (Permutations)
- Sum of AP
- Sum of GP
- Calculating Surface area and volume of cuboid
- Calculating Compound Interest
- Calculating Simple Interest
- Printing Tables
- Area of Rectangle,Right-Angled Triangle and Circle
- Number of Open Doors
- Number of integer solutions
- Maximum possible sum of products
- Remainder Solution
- To check if given four points form a square or not
- Overlapping rectangles
- Sum of all prime numbers between 1 to n
- To check if a number is power of another number
- Common divisors
- Composite series
- Calculating Mean
- Matching Pair
- Perfect Number
- Number of Divisors
- Parallel or Perpendicular
- Maximum Distance
- Distance between two points
- Tidy number
- Proper divisors and XOR operation
- Sum Palindrome
Patterns :
Array :
- Print elements of array
- Sum of array elements
- Multiplying elements of an array
- Search an element in array
- Alone in couple
- Finding second largest element in array
- Binary array sorting
- Immediate smaller element
- Reversing an array by ‘d’ elements
- Equal to Product
- To check if an array is sorted or not
- Finding roots of quadratic equation
- Number of smaller and larger elements
- Missing number
- Reverse array in groups
- Finding mean at every point
- Print the left-most element
- Compete the skills
- Form largest number from digits
- Find duplicates in an array
Matrix :
Strings :
- Converting string from LOWER case to UPPER case
- Remove characters from alphanumeric string
- Count of Camel case characters
- Count number of alphabets
- To check if a character is vowel or not
- Finding substring in a string
- Sorting a string
- Perfect Reversible String
- Finding longer of the string and concatenating
- Display longest name
- Reverse a string
- Reversing vowels
- Split the string
- Sort the fest
- Check if a string is rotated by two places
Date and Time :
Misc :
If you like w3wiki and would like to contribute, you can also write an article and mail your article to review-team@w3wiki.org. See your article appearing on the w3wiki main page and help other Geeks. Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.
School Programming
Recent Articles The page is designed for beginners in programming language, especially school students. It has following sections.
- Introduction to Programming Languages
- Learning a Programming Language
- Programming Problems and Solutions
- Practice Problems
- Recent School Coding Articles
- Recent School Coding Practice Problems
- Multiple Choice Questions – C, C++, Java, Python
Contact Us