Write a program that reads two integers and prints their sum.
Coding Questions Practice
- Home
- Coding Questions Practice
Coding Questions Practice
Welcome to our coding questions practice page where you can solve placement-based programs in C, Java and Python using an online compiler.
On this page, you can practice real coding questions and test your logic in C, Java or Python.
Read each question carefully, think of the logic, and then write and run your code in the compiler (weβll add the JDoodle compiler below this content).
Start from the easy questions and slowly move to the medium level.
How to Use This Coding Practice
Pick a language β C, Java or Python.
Choose a question from the list below.
Write your own code in the online compiler box (we will place it below on this page).
Test with different inputs β not just the example.
Try to optimize your logic and avoid hard-coding.
π Note: This page is only for coding practice.
For 1000+ MCQs with detailed explanations, check our C, Java and Python MCQ packs inside the Intense Practice Academy app
This coding questions practice page helps you write and run programs in C, Java and Python directly in your browser. Each question is suitable for placement preparation, campus interviews and online tests. Pick a question, choose your favourite language and practise coding step by step.
π» Coding Questions Practice
Practice coding in C, Java & Python with live online compilers.
Solve questions step-by-step and prepare confidently for placements & interviews.
Powered by Intense Practice Academyπ Step 1: Choose a Coding Question
Click on any question below. It will scroll to the full description. Then come back to the compiler section and write your code.
Beginner & Basic Logic
- Q1. Sum of Two Numbers
- Q2. Even or Odd
- Q3. Greatest of Three Numbers
- Q4. Simple Interest Calculator
- Q5. Positive, Negative or Zero
- Q6. Multiplication Table
- Q7. Factorial of a Number
Loops & Number Logic
- Q8. Sum of First N Natural Numbers
- Q9. Count Digits in a Number
- Q10. Reverse a Number
- Q11. Print Triangle Pattern
- Q12. Sum of Digits
Arrays & Strings (Placement Level)
π Step 2: Read the Full Question
Open one question at a time, understand the requirement clearly and then write your own logic.
Write a program to check whether a given integer is Even or Odd.
Read three numbers and print the largest among them.
Calculate Simple Interest using the formula SI = (P Γ R Γ T) / 100.
Determine whether a number is positive, negative, or zero.
Print the multiplication table from 1 to 10 for a given number N.
Find and print the factorial of a number N.
Print the sum of the first N natural numbers.
Count how many digits are present in an integer N.
Reverse the digits of an integer and print the result.
Print a right-angled triangle pattern using the * symbol for a given height N.
Find the sum of all digits of a given integer.
Read an integer array and print the largest element in it.
Count how many numbers are even and how many are odd in an array.
Search for a value X in an array using linear search and print whether it is found or not.
Check whether a given string is a palindrome (same forwards and backwards) or not.
Count the number of vowels (a, e, i, o, u) in a given string.
Need Answers?
π Click Here for All Coding Answers (C, Java, Python)βοΈ Step 3: Write & Run Your Code
Now choose your favourite language and solve any question from above. Type your program, run it with sample inputs and improve your logic.
β Java Compiler
π» C Compiler
π Python Compiler
β Upgrade Your Prep with 1000+ MCQs
Practice is powerful. Combine these coding questions with our C, Java & Python MCQ Pack (2025 Edition) for complete placement preparation.
π Bonus: Early learners get extra aptitude practice sets and updates from Intense Practice Academy.
β Frequently Asked Questions
1. Who can use this coding questions practice page?
This page is designed for students preparing for placements, campus interviews, technical tests and online coding assessments. Beginners who want to practise basic logic in C, Java or Python can also use it.
2. Is this coding practice page free to use?
Yes, the coding questions and online compilers on this page are free to try. You can write, run and test your programs without any extra charge. For full MCQ packs and structured courses, you can explore Intense Practice Academyβs paid packs.
3. Which programming languages are available?
You can practise coding in C, Java and Python on this page. More languages may be added in future based on student requests.
4. Do I need to install any software to run the programs?
No, you do not need to install anything. The page uses an online compiler so that you can write and run code directly in your browser from mobile, tablet or laptop.
5. How should I use this page for placement preparation?
Start from the beginner questions and then move slowly to loops, arrays and strings. Try to solve each question in all three languages (C, Java and Python) if possible. Combine this practice with our C, Java & Python MCQ pack for complete preparation.



