HomeC Programming Tests
C Coding Test (Medium)
Test duration:
40
min
No. of questions:
2
Level of experience:
Entry/Mid/Senior

C Coding Test (Medium)

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 costs by 40% and help in building winning tech teams.

The logo for the C programming language
Capgemini
Deloitte
The United Nations
The United Nations
Fujitsu
The United Nations

C Programming Test (Medium)

C Programming is 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.

The C Programming test is designed mainly to assess candidates' performance in coding evaluation, knowledge of various functions, and related codes. In this test, the programmer must write the code using C coding language.

Wondering what other skills we have in our World’s Largest Skills Assessment library?
Visit here
How it works

Test Summary

Using powerful reporting, a detailed analysis of test results is provided to facilitate better decisions and predict candidates'/employees' success. The test enables employers and recruiters to identify potential hires by evaluating working skills and job readiness. Therefore, the emphasis is laid on 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.

Useful for hiring
  • Junior Level C Programmer
  • Senior Level C Programmer
  • Front End Development - C Programming
  • Embedded C - Junior Developer
  • Embedded C - Senior Developer
Test Duration
40
min
No. of Questions
2
Level of Expertise
Entry/Mid/Senior
Topics Covered
Shuffle

C language

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

Shuffle

Shuffle

Shuffle

Shuffle

Sample Question
Choose from our 100,000+ questions library or add your own questions to make powerful custom tests.
Question type
Coding
Topics covered
Mathematical Calculations and String Manipulation
Difficulty
Medium

Question:

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.

lt;


In this seven-segment display the digits are created by illuminating the 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 considers a string as input and returns the total number of dashes.

Input Format
A string of integers.

Output Format
The number of dashes in the string

Sample Input

12134


Sample Output

18


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


A helicopter view of the employee's progress
Test Report
You can customize this test by

Setting the difficulty level of the test

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

Combining multiple skills into one test

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

Adding your own
questions to the test

Add, edit, or bulk upload your coding, MCQ, and whiteboard questions.

Requesting a tailor-made test

Receive a tailored assessment created by our subject matter experts to ensure adequate screening.
FAQ