Coding Assessment: An online test where you solve programming problems within a time limit, usually marked automatically by running your code against hidden test cases.

Example

You get a link to a 90-minute HackerRank test with two problems. Your solution to the first passes all 15 test cases; your second passes 9 of 15 because it times out on large inputs.

What a Coding Assessment Looks Like

PartTypical content
Coding problemsOne to four problems on arrays, strings, hashing, sorting, recursion
MCQsOutput prediction, OOP, DBMS, operating systems
SQL questionsWrite queries on given tables
PlatformsHackerRank, HackerEarth, Codility, Mettl, company portals

How You are Scored

Your code runs against visible and hidden test cases. Each passing case earns marks. Edge cases (empty input, single element, very large values) and efficiency (avoiding slow solutions on big inputs) often decide the score. Some platforms also check for plagiarism and proctor with the camera.

How to Prepare

  1. Choose one language and know its standard library well.
  2. Practise easy-to-medium problems by topic, with a timer.
  3. Learn time complexity well enough to spot slow solutions.
  4. Take full timed practice tests on the same kind of platform.
  5. Read the coding test guide for test-day strategy.

Related terms

Previous term: Code Review  |  Next term: Coding Interview

Related guides

Frequently asked questions

What is a coding assessment?

An online, timed test where you solve programming problems and your code is checked automatically against test cases.

Which language should I use in coding tests?

The one you know best. C++, Java, and Python are all widely accepted.

What if my code passes only some test cases?

You usually get partial marks. Check edge cases and efficiency to pass more.

How do I prepare for coding assessments?

Practise easy-to-medium problems by topic with a timer, learn basic complexity, and take full mock tests.

Explore more internship terms

The IT Internship Glossary explains 199 terms you will hear before and during your internship, with simple definitions and real examples.

Browse all 199 terms
Dhaivat Ajwaliya

About the author

Dhaivat Ajwaliya

Dhaivat has 16+ years of experience in the IT industry, working on AI and cloud technologies, project delivery, and engineering leadership. He has interviewed and mentored many interns, wrote The Lost Intern, and runs the non-commercial Career Impact Initiative, mentoring students for free.