Graduated in 2012, one year of C#, 2 years of php, and several months of node. Due to some reasons, I left my job again and received a job from Tencent Interactive Entertainment. PHP interview call, hurriedly prepared, and went to Tencent's Gaodashang office building in Kexing Science and Technology Park.
Most of the test questions are available online, for example:
<span>function</span> my_scandir(<span>$dir</span><span>) { </span><span>$files</span> = <span>array</span><span>(); </span><span>if</span> ( <span>$handle</span> = <span>opendir</span>(<span>$dir</span><span>) ) { </span><span>while</span> ( (<span>$file</span> = <span>readdir</span>(<span>$handle</span>)) !== <span>false</span><span> ) { </span><span>if</span> ( <span>$file</span> != ".." && <span>$file</span> != "."<span> ) { </span><span>if</span> ( <span>is_dir</span>(<span>$dir</span> . "/" . <span>$file</span><span>) ) { </span><span>$files</span>[<span>$file</span>] = <span>scandir</span>(<span>$dir</span> . "/" . <span>$file</span><span>); }</span><span>else</span><span> { </span><span>$files</span>[] = <span>$file</span><span>; } } } </span><span>closedir</span>(<span>$handle</span><span>); </span><span>return</span> <span>$files</span><span>; } } </span><span>$files</span>=my_scandir('E:\wamp\www'<span>); </span><span>print_r</span>(<span>$files</span>);
In general, the written test is not difficult. You can pass the basic test and you should be able to answer the questions
Here we mainly ask about the technologies used in the project. What the interviewer usually looks for is that you have a relatively in-depth understanding of those things, such as what architecture is used in a project and what solution is used for caching. It is recommended to sort out one or two in depth. Below are the technologies and better solutions used in this project, and what ideas you have for improving this project.
When you get to the second interview, you will be more inclined to check your comprehensive ability. Generally, you will be asked about your role in the team at that time and your role in the team. Here, everyone should prepare before the interview. It is best to have a draft, so you can answer like this relatively fluent.
The supervisor interview is similar to the second interview. It mainly looks at questions such as potential, learning attitude, and breadth of knowledge. Maybe you have too little experience and really don’t know how to answer the best questions.
Personal blog: http://www.yixiong.xyz/