Pre-Mock Preparation & instructions
- You must be in the same zoom room as your peer.
- How to score the candidate (interviewee):
- For the non-technical conversation you’ll have the questions and guidelines on what should the candidate more or less talk about (it’s an open question so you expect from the candidate to be professional, focus on the question and not another unrelated topic).
- For the technical conversation part you’ll have for each question its correct answer and the candidate will either give the whole correct answer to get the whole point otherwise you give them 0.
- for the other exercises, the interviewee must have a working program with the correct output / answer to get the whole score on the task, otherwise 0.
- VERY IMPORTANT :
- Before starting the Mock Interview
- You as the interviewer must be logged in to use the google form to score the candidate.
- The candidate must give you their information that you’ll need to fill the google form such as :
- Intranet ID number
- Campus
- Name
- …
Part 1: Non Technical Conversation (5 minutes)
- How do you handle workplace stress?
- Does the candidate express their stress to their team members ?
- Do they take small pauses to ease the situation ?
- Does the candidate explain if they try to decrease the stress level or find a suitable solution for themselves or all the team ?
- Do they meditate, do some stretching exercises, write down their mind on a journal ??
- The candidate must mention how they handle stress and how the steps they take help them.
- What are your long-term career goals ? Explain how do you think you’ll achieve your goals.
- Becoming a full-stack engineer, frontend, backend, blockchain, game developer…
- A startup founder
- An investor
- A team lead or an engineering manager
- A freelancer….
- They must explain (not into much details) how do they think they’ll get to their goal(s).
- Tell me about a group project that you’ve worked on lately and what did you learn from it (technical and soft skills).
- They can mention one of the C projects that they’ve worked on, printf, simple shell, binary trees or any other personal project, etc.. the question is open so they just need to remain professional and focus on the topic of the question and not talk about something else.
Part 2: Technical Conversation (15 minutes)
- What are the 3 different methods to go to the HOME directory in Linux, using the
cd
command ?
- answers:
cd
cd ~
cd $HOME
- What is a built-in in Linux ?
- answer: A built-in is a command that is part of the shell itself and doesn't require an external program to be executed. (for more info)
- Give me at least two use cases of recursion (examples of when we can use recursion) ?
- answers:
- Tree Traversal.
- Factorial calculation.
- Binary Search.
- Quick sort.
- Merge sort.
- Fibonacci…..
- Is the size of a double pointer the same as the size of a single pointer ?
- answer: Yes.
- To increment or decrement a variable's value in Python3, we can use the ++ and -- respectively (true or false) ?
- answer:
- False
- We use += or -=
- What is the difference between using
get()
and directly accessing a key in a dictionary ?
- Answer:
- When you access a dictionary key directly (example:
my_dict['key']
), it raises a KeyError
, if the key doesn’t exist in the dictionary.
- The
get()
method allows you to access a key without raising an error if the key is missing. Instead, it returns None or a specified default value.
- Can you describe the purpose of the try-except block in Python ?
- Answer:
- The
try-except
block in Python is used for handling exceptions (errors) gracefully, allowing the program to continue running even if an error occurs.
- The code inside the
try
block is executed normally, but if an exception occurs during execution, the code inside the except
block is triggered.
- The purpose:
- It is used to handle anticipated or unanticipated exceptions (such as dividing by zero, file not found, index out of range etc…).
- And it prevents the program from terminating unexpectedly due to errors, allowing alternative actions or user-friendly error messages.
- What is
raise
in python and what is it used for ?
- Answer:
- The
raise
keyword is used to explicitly throw an exception in Python.
- It is typically used when you want to signal that an error has occurred during execution.
- In Python, is a set mutable or immutable?
- Answer:
- Sets are mutable, allowing you to add or remove elements.