Check our public questions below
Solve questions to get feedback or
take a practice test and get a free certificate.
Solve questions to get feedback or
take a practice test and get a free certificate.
Work-samples are the best predictor of work performance. 8,000+ companies use TestDome premium questions.
The C online test assesses candidates' knowledge of programming in the C language.
It's an ideal test for pre-employment screening. A good C developer needs to be able not only to solve problems using C but also understand the implications of low level optimizations.
This online test requires candidates to solve coding problems in C.
Implement the function find_roots to find the roots of the quadratic equation: ax2 + bx + c = 0. If the equation has only one solution, the function should return that solution as both roots. The equation will always have at least one solution.
The roots of the quadratic equation can be found with the following formula:
For example, the roots of the equation 2x2 + 10x + 8 = 0 are -1 and -4.
Implement the count_views function. It accepts an array of pointers to the Viewer struct, the size of the array, and the character array with the video name. It should return the number of Viewers who have watched a Video with the name video_name.
For example,
Video videos[] = { {.name = "Soccer", .unique_views = 500},
{.name = "Basketball", .unique_views = 1000} };
Viewer viewer = {.username = "Dave", .watched_videos = videos,
.watched_videos_size = 2};
Viewer *viewers[] = { &viewer };
calling count_views(viewers, 1, "Soccer") should return 1.
Earn a free certificate by achieving top 25% on the C test with public questions.
Take a Certification TestKera Lafleur
Java and SQL
TestDome
Certificate
Buy TestDome to access premium questions that can't be practiced.
Get money back if you find any premium question answered online.
Square, Descriptor, Copy Bit, Shipping, Max Sum, Init Range, Increment, Run in Parallel, Internal Nodes, Battery, Strings Pointer, Allocate String, Count Letters, Segment, Tiles, Read Write Execute, Weighted Average, Vectors, Node, Chain Link, Racer, Sort Params, Paper Strip.
From web development and database administration to project management and customer support. See all pre-made tests.
From JavaScript and SQL to English and customer support. See all questions to filter by skill.
Mix questions for different skills or even custom questions in one test. See an example.