| |||||||||
| Home | Our clients | Our divisions | Job offer | Samples | Testing center | C++ questions | | |||||||||
|
|
Test example for AutotesterTask 1 (18 ð)To write a flow-chart, which realizes the following algorithm: There is an input file INF with serial access (file open and close operations, end-off file check, current record reading and transition to the next record are permitted). File contains records of the same structure sorted in increasing order of integer key field values. In file INF there can be records with the same key values. You have to create an output file OUTF, which is formed from the input file INF under the following rules:
For example: Task 2 (15 ð).
To write a function Task 3 (15 ð).A publishing house ordered you a program, Automaic Workplace of editor, which has to facilitate work with different editions (versions) of books. Each book can contain chapters, subchapters, subsubchapters, subsubsubchapters, ordinary text, lists of homogeneous text elements (you can meet them in dictionaries, catalogues etc.). The book author can be either a group or a person. Various editions of the same book may differ from each other by the contents and even the authors' list, but not by name. You have to design hierarchy of classes for the described system and write the appropriate non-detailed class diagram. Near the diagram you have to describe in details the used notation (preferably using UML). Task 4 (8 ð).
To describe in words the idea of function realization
Task 5 (35 ð).
To write a function Task 6 (35 ð).
Write a program, which takes one argument of the command line. This argument is supposed to have the file name, which this system will work with. Input file contains code in C++, which is written according to C++ standard including commentaries. If in the command line parameter there is no extension, it means that the extension is .cpp. Your program has to create two new files from the source one. These new files must have the original extension changed to .src and .rem correspondingly.
etc. |
Rules of writing a test.When writing a test one is allowed to ask questions only a person who holds the interview. Any communication between the tested automatically leads to getting mark 0p by both offenders. When writing a test one is allowed to use any programming language and literature he wants. Near each task there is a maximum of points, which one can get for it. System of estimation is the following:
Time for writing a test is given at the rate of 200 minutes per 100 points (2 minutes per 1 point). When writing a test please remember it will be checked by another person, so it's to your interest to write neatly and plainly. Don't forget to write as many commentaries as possible. If when doing tasks 3, 5, 6 you forgot the name of the standard library function you can give it your own name, describe this function and its arguments in your commentaries and use it when doing the task. The only restriction: this function has to be similar to really existing standard library function. In tasks 2, 4 input string doesn't contain tabulation and end of the line symbols ('\n').
The real test, which will be offered to you, has the maximum mark - 100 points (200 minutes) and passing mark is 60 points. To be hired you have to pass, besides the test, a number of interviews. For applicants from Dniepropetrovsk such interviews are held later. Test check for applicants from Dniepropetrovsk takes up to 7 days. |
|||||||
| | | |||||||||