intensepracticeacademy.com

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

  1. Q1. Sum of Two Numbers
  2. Q2. Even or Odd
  3. Q3. Greatest of Three Numbers
  4. Q4. Simple Interest Calculator
  5. Q5. Positive, Negative or Zero
  6. Q6. Multiplication Table
  7. Q7. Factorial of a Number

Loops & Number Logic

  1. Q8. Sum of First N Natural Numbers
  2. Q9. Count Digits in a Number
  3. Q10. Reverse a Number
  4. Q11. Print Triangle Pattern
  5. Q12. Sum of Digits

Arrays & Strings (Placement Level)

  1. Q13. Largest Element in Array
  2. Q14. Count Even & Odd Numbers
  3. Q15. Linear Search
  4. Q16. Palindrome String
  5. Q17. Count Vowels in a String

πŸ“˜ Step 2: Read the Full Question

Open one question at a time, understand the requirement clearly and then write your own logic.

Q1 Sum of Two Numbers

Write a program that reads two integers and prints their sum.

Q2 Even or Odd

Write a program to check whether a given integer is Even or Odd.

Q3 Greatest of Three Numbers

Read three numbers and print the largest among them.

Q4 Simple Interest

Calculate Simple Interest using the formula SI = (P Γ— R Γ— T) / 100.

Q5 Positive, Negative or Zero

Determine whether a number is positive, negative, or zero.

Q6 Multiplication Table

Print the multiplication table from 1 to 10 for a given number N.

Q7 Factorial

Find and print the factorial of a number N.

Q8 Sum of First N Natural Numbers

Print the sum of the first N natural numbers.

Q9 Count Digits

Count how many digits are present in an integer N.

Q10 Reverse a Number

Reverse the digits of an integer and print the result.

Q11 Triangle Pattern

Print a right-angled triangle pattern using the * symbol for a given height N.

Q12 Sum of Digits

Find the sum of all digits of a given integer.

Q13 Largest Element in Array

Read an integer array and print the largest element in it.

Q14 Count Even & Odd

Count how many numbers are even and how many are odd in an array.

Q15 Linear Search

Search for a value X in an array using linear search and print whether it is found or not.

Q16 Palindrome String

Check whether a given string is a palindrome (same forwards and backwards) or not.

Q17 Count Vowels

Count the number of vowels (a, e, i, o, u) in a given string.

βš™οΈ 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.