Post the written examination questions first:
Language: C/C ++/C #/Java
The question review time is 10 minutes, and the programming time is 120 minutes. You can select either of the two questions.
You can query the help documentation (in fact, there is no limit, you can search for anything on the Internet)
The question is in English, and there may be some discrepancies
Question 1:
Write a simple file Reader
1. Reading large files (2 GB)
2. Jump to the home page, next page, previous page, and last page
3. Jump to the specified page, for example, jump to the ** page
4. Limit the number of characters displayed on each page to 1029-4069byte. You can customize this value.
5. The interface must be able to respond to hint in real time: multi-thread synchronized
6. you can create your own TXT file.
7. The interface can be as simple as possible
Question 2:
implement a program that draws multiple threads
1. right-click to create an anchor , move the mouse to pull a straight line to this point
2 . Right-click to create multiple anchors
3 when it is finished, double-click the mouse, draw a polygon
4 . You can drag and adjust each point of a polygon.
5, Click the left button to drag the Polygon
6. You can import and export drawn images.
The above are the two questions that the examiner gave during the last day's written test. The written test was arranged at two o'clock P.M. on the same day, and the computer programming lasted for two hours. At that time, I went late, so I got my seat in the last row. The examiner first demonstrated the effects of the two questions, and then let's start programming. Because the seats are relatively remote, the examiner's demonstration is basically not clear. Fortunately, no one posted an English question paper. Because neither of the two questions is very difficult, I chose the latter, and the visual effect may be better. However, due to the tension, I did not give a careful explanation of the English questions, therefore, the effect I have made is slightly different from the question. For example, the right-click anchor is made into a left-click anchor and each anchor can be adjusted (Khan, I didn't see this at the time ). Despite some flaws, other functions have been successfully completed. Effect and source code are attached:
Very open Main Interface
Draw a picture casually
Double-click and drag
Export the drawn graph to an XML file
Import the image
Imported Image
The above is the second question of Kodak's written test, hoping to help Kodak's friends. I have a question: why does the interviewer ask my girlfriend during the next interview? In addition, according to the students, all answers are likely to be flushed ~ Okay, well, it's just a click on experience ~
The source code is provided, and the technical level is limited for reference only:/files/Royal enhome/drawpolygon.rar