Computer science internship questions: what three university career pages say and how to prepare
Expect a mix of questions about you and how you work and short questions on fundamentals. One university career page’s list for computer science majors has 17 questions: 7 ask about you and how you work, 8 ask you to explain an idea and 2 ask you to write a short function. A second career page says to think aloud on the technical ones. Below are the topics, a worked answer, a preparation plan and the questions to ask at the end.
Your first hour with George Li (60 minutes by video, $250) ends with a written plan within one working day.
Book your first hour ($250)What happens at this stage
A software internship interview usually mixes two kinds of questions, and the career pages show both. Alabama A&M University’s career and workforce development pages offer sample interview questions for students to practice with, one list per major. Its list for computer science majors holds the questions in the table, which we sorted into three kinds by what they ask of you. Of the first kind, most ask for a past experience and the rest ask for a reason, a habit or what you would do. Treat the list as a sample of topics, not a record of what any employer asks.
| Kind | Count | Topics |
|---|---|---|
| About you and how you work | 7 | Why you chose your major; Quickly learning a new language or tool; A team project with a conflict; Managing time across several assignments; Responding to constructive criticism; A coding challenge or error you struggled with; A teammate’s code breaks the app and yours works |
| An idea to explain | 8 | Stack against queue; Optimizing a slow program; How a hash table works; Process against thread; Garbage collection in Java or Python; Recursion and a use case; Inheritance with an example; Interface against abstract class |
| A short function to write | 2 | Reversing a string in a function; A function that checks for a palindrome |
UC Davis’s engineering page adds how technical questions arrive. It says interviewers might give one or two questions, like a quiz, related to the subject and the position, and that the key is to let them in on your thinking by explaining things out loud. It also says you should know the basic foundation of your major, and that its sample questions are examples, not an exact copy of what an interviewer will ask.
A worked answer: stack against queue
The first concept question is a good model, because a short, exact answer beats a long one. A stack gives items back last in, first out, and a queue gives them back first in, first out. Put A, B, C in each in that order. Taking them out one at a time, the stack returns C, B, A and the queue returns A, B, C. We ran that sequence in code when this page was built. Then give one use of each, such as the undo history of an editor for a stack and a line of jobs waiting for a worker for a queue, and stop. The interviewer can ask for more.
Do the same for each concept topic in the table: one definition in a sentence, one small example you can follow through, one use. For the two functions, say what the function takes and returns, what inputs you will test, including an empty string, and then write it. The guides on arrays and strings, stacks and queues, hash maps, recursion and thinking out loud give practice with checked answers.
How to prepare, week by week
This plan is ours. It fits three weeks and you can compress it.
| Week | Stories | Concepts and code |
|---|---|---|
| 1 | Pick three experiences: a team project, a bug you fought and a time you learned something fast. Write each in three sentences with the STAR method | List the concept topics above and mark the ones you cannot explain in two sentences |
| 2 | Say each story aloud in under two minutes and cut what is not needed | Learn each marked topic from your course notes, then explain it aloud without them. Write the two functions from a blank page |
| 3 | Run a mock interview with the questions in random order | Do two timed problems from the coding guides and say your reasoning as you go |
What to ask the interviewer
Penn State’s engineering career page says to prepare at least three questions, especially about the working environment and on-the-job training. Its examples include what a typical day looks like, whether the work is structured or self paced, what past employees or interns liked and disliked, how long it takes to learn the basic duties, the typical career path and when a hiring decision is expected. It says to avoid questions already answered on the company website, and to avoid salary, vacation or benefits before an offer. For more, see the guide to questions to ask at the end.
What comes next and typical timing
After the interview comes a wait for a decision, and the interviewer may say when. Penn State’s page puts its questions to ask at the end of the interview, when the interviewer asks whether you have any, and one of its examples is when the employer expects to make a hiring decision. If a coding assessment comes first, the CodeSignal and HackerRank guides explain the format. Do not expect the same format everywhere: UC Davis says the sample questions are not identical to any real interview and depend on the company and the position.
Software engineer questions, question banks and what to ask an engineer
For software engineer intern questions, the table and the plan above are the student answer: the list shows the topics, and the plan turns them into practice. For a question bank, the coding and complexity practice page holds original problems with answers checked by code, and the data structures checklist lists what to know. The wider list of behavioral prompts is in the internship interview questions.
If the person interviewing you is a software engineer, Penn State’s examples still apply, because its list is general and was not written for software roles. These additions are our own ideas and not from any source: what a first project for an intern looks like, how an intern’s work is reviewed before it ships, which tools the team uses day to day and who an intern can ask when stuck. Pick the ones you do not already know the answer to.
Questions
What questions are asked in a computer science internship interview?
One university career page’s list for computer science majors has 17 questions. 7 ask about you and how you work, such as a team conflict or constructive criticism, 8 ask for an explanation such as stack against queue or how a hash table works, and 2 ask for a short function. Your employer’s questions will differ.
Do I have to write code in the interview?
Some questions ask for it. That career page’s list asks for a function that reverses a string and one that checks for a palindrome, and UC Davis’s engineering page says interviewers may give one or two quiz style technical questions and that you should explain your thinking out loud.
What should I ask the interviewer in a software internship interview?
Penn State’s engineering career page suggests preparing at least three questions about the working environment and training, such as what a typical day looks like, what past interns liked and disliked and when a hiring decision is expected. It says to avoid asking about salary or benefits before an offer.
How do I practice the technical questions?
Practice the topics in the order you will meet them: explain each idea in two or three sentences, then write the short function without help. Use the coding guides on this site for problems with checked answers, and say your reasoning aloud as you work.
How a session helps
A session with George is a place to talk through your plan and hear your reasoning questioned. You write every word and send every message yourself. An hour is $250, and a package of 5 sessions is $1,165. Your first purchase is refundable for unused time within 7 days. Bring the topics you marked and we will go through them aloud, with the questions in a different order each time. See the interview prep guides, the college students page and the packages page.
Want help with your own applications? See internship interview coaching, a career coach for college internships, or resume review for internships.