The document outlines various programming topics and related questions, categorized into operators, mathematical algorithms, and arrays programming. It includes tasks such as determining even and odd numbers, calculating sums and powers, and manipulating arrays through sorting and searching techniques. Each category contains specific exercises aimed at enhancing programming skills in these areas.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
0 views1 page
Topics and Questions
The document outlines various programming topics and related questions, categorized into operators, mathematical algorithms, and arrays programming. It includes tasks such as determining even and odd numbers, calculating sums and powers, and manipulating arrays through sorting and searching techniques. Each category contains specific exercises aimed at enhancing programming skills in these areas.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
Topics questions
Operators, conditional 1. Even and odd logics,
statements, and control 2. max of 2 variables and 3 variables, 3. printing of n natural numbers 4. print a multiplication table with and without * sign 5. printing sequences (1,2,3,4,3,2,1) with 1 loop 6. implementing while loop with for loop 7. implementing for loop with while loop 8. swapping of variables with and without temp variable Mathematical 1. sum of digits in a number algorithms 2. power of a number 3. sqrt of a number 4. power of each digit in a number with length and add those values 5. factorial of each digit and add them 6. swapping of adjacent digits ex: 1234 – 2143. 12345 - 21435 7. reverse a number 8. palindrome 9. Armstrong 10. Harshad number 11. magic number 12. happy number 13. lucky number 14. sunny number 15. neon number 16. evil number 17. prime or not 18. prime range 19. sieve prime 20. prime palindrome Arrays programming, 1. finding the length of array Two pointers 2. reading and printing of n elements 3. sum of elements in a array 4. find 1st max, 2nd max and 3rd max in an array 5. even and odd count of elements. 6. separate even and odd elements in a array 7. sum of elements at odd index and even index 8. swapping of adjacent elements 9. reverse entire array 10. partial reverse of an array 11. K left or right rotation 12. Existence of a element 13. Linear and binary search 14. Shifting zeros to end 15. Occarance of element 16. Frequency of elements 17. Merge 2 arrays 18. Merge 2 sorted arrays 19. Max sum of the window in a given array with k window size 20. Check if array is sorted or not