X
X
xozzslip2014-09-26 22:02:09
C++ / C#
xozzslip, 2014-09-26 22:02:09

What test tasks were given to you before / at the interview for the position of junior C ++?

Interested in jobs for junior C++, but Java is also suitable.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
D
Don Kaban, 2014-09-28
@xozzslip

I talk a lot, I have a hobby like this. C++
According to the frequency of appearance, something like this (these are full-time tasks, not homework):
1. Sort a large array (4 terabytes, say) int32_t, free memory - 10 Mb
2. Pack (not archive) files into an archive. Unpack later. What will happen to the directories. The more tar-like, the better.
3. Any geometry, given walls, find intersections, tests for a point to hit a triangle and projections to the sides ...
Since I mostly talk in OpenGL, I have a specific home -
"write Tetris, acranoid, asteroids, something else in pure GL on android".
The last time was grass on an infinite tiled terrain obtained from a heightmap.

A
Alexander Ruchkin, 2014-09-27
@VoidEx

Line segments, arcs and circles are given on the plane, intersecting in every possible way. It is necessary to determine the closed contour from the point, inside which it is located.
Segments, arcs and circles can be generated by yourself, or from a file in any format convenient for you. Display all this primitively in a window so that you can poke with the mouse, and display the result in some way.

S
Stanislav Silin, 2014-09-27
@byme

Once they asked the following problem:
There is a multi-storey building and 2 bottles of the same strength. It is necessary to find the first floor on which they will break, if they are dropped and at the same time make as few throws as possible.
You don’t need to code anything here, but just think and prove that you thought right;)

I
ivandzemianchyk, 2014-10-01
@ivandzemianchyk

https://codility.com/ is a very interesting job screening platform. There is a training/training section. I once had a test on this platform at an interview.

T
tsarevfs, 2014-09-27
@tsarevfs

Answered a similar question.

G
globuser, 2015-01-09
@globuzer

It doesn’t matter what specialization (C++, Java, or others), after all, interviews test your general knowledge. And about general knowledge and ability to solve non-standard problems, you can learn a lot from where, for example, read the book "how to move Mount Fuji", or in the latest issues of the Hacker magazine they publish various interesting tasks from interviews, there are also sites on tasks from interviews (both English and English). and Russian variants), google it.
The main thing is to know mathematics, algorithms, English, the ability to communicate, think logically, well, to know the programming paradigms, OOP, system issues, and, of course, the language itself, which you are talking to (by the way, in the C++ hacker, there were cool tasks laid out)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question