C Programming Test (Medium)

Candidates Assessed


Organisations Served


Our C Programming test is the most effective tech assessment to gauge a candidate’s knowledge of C Programming concepts. This C Programming Skills test enables hiring managers and recruiters to hire job-fit candidates for a C Programmer job role. The online C Coding test can reduce hiring cost by 40% and help in building winning tech teams.

About C Programming Test (Medium)

C Programming is basically a general-purpose programming language which supports structured programming. It is widely used for system and application software. The various C Programming elements and concepts such as functions, loops, pointers, arrays should be used effectively by a programmer to solve real-world problems. 
C Programming Test is designed mainly to assess the candidates having high performance in coding evaluation, knowledge of various functions and related codes. In this test, the programmer must write the code by using C coding language.

Are you a jobseeker looking to sharpen your skills?

Test Summary

Using powerful reporting, you will have detailed analysis of test results to help you make better decisions and predict candidate and employee success. The test enables employers and recruiters to identify potential hires by evaluating working skills and job readiness. For this reason, the emphasis is laid upon evaluating the knowledge of applied skills gained through real work experience, rather than theoretical knowledge. 

The test may contain AI-LogicBox (Pseudo coding platform) & Coding Simulators, etc.

Test Duration: 40 minutes

No. of Questions: 2

Level of Expertise: Entry/Mid/Senior

Useful for hiring

  • Junior Level C Programmer
  • Senior Level C Programmer
  • Front End Development - C Programming 
  • Embedded C - Junior Developer
  • Embedded C - Senior Developer

Topics Covered

right arrow
C language

 The C Coding skills test assesses a candidate’s basic knowledge of C language

Sample Questions

Choose from our 100,000+ question library or add your own questions to make powerful custom tests

Question types:



Mathematical Calculations and String Manipulation



Q 1. You are given a string, which consists of decimal digits (0-9). 
Each digit is made of a certain number of dashes, as shown in the image below. 
For instance, 1 is made of 2 dashes, 8 is made of 7 dashes and so on.


In this seven-segment display the digits are created by, illuminating, following set of dashes:
1. 2        6. 6
2. 5        7. 4
3. 5        8. 7
4. 4        9. 6
5. 5        0. 6

Write a code that takes a string as input and returns the total number of dashes.

Input Format
A string of integers

Output Format
Number of dashes in the string

Sample Input

Sample Output

1 = > 2
2 => 5
1 => 2
3 => 5
4 => 4
2 + 5 + 2 + 5 + 4 = 18

Sample Report

View Full Report . . .

Skill wise performance report by iMocha

Hire job-fit candidates using this test now

You can customize this test by

difficulty level
Setting difficulty level of test      

Choose easy, medium or hard questions from our skill libraries to assess candidates of different experience levels.                       

multiple skills
Combining multiple skills into one test

Add multiple skills in a single test to create an effective assessment. Assess multiple skills together.                                              

adding own skill
Adding your own questions to the test

Add, edit or bulk upload your own coding questions, MCQ, whiteboarding questions & more.                       

tailor made test
Requesting a tailor-made test                  

Get a tailored assessment created with the help of our subject matter experts to ensure effective screening.

Trusted By

Christoph, e-Zest GmbH
gartner Logo

“Our recruitment team loves iMocha especially for their skill assessments, simulators, and friendly support.”

Christoph, e-Zest GmbH

capgemini logo
coupa logo
ericsson logo
cognizant logo
nice logo
wipro logo

Start hiring job-fit candidates using this assessment