Engineering Interview Questions in Montreal, QC | Glassdoor

Engineering Interview Questions in Montreal, QC, Canada

512

Engineering interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

A few questions on basic command-line syntax in Unix shells: 1. How would you log output and error messages from a command to a file? 2. How would you run the same command on every file in a directory? 3. How would you find the PID of a named process (say if you wanted to kill it)?

5 Answers

1. command >file 2>&1 2. cd dir; for i in *; do command; done 3. ps | grep processname or ps -C processname

#3 I disagree, more like ps aux |awk '$0 ~ /ProcessName/ && $0 !~ /awk/ {print $2}' If you want the PID

#3 To find the PID: pgrep -x

Guessing game - I pick a number between 1 and 100 and you are trying to guess it. Every time you query a number I tell you if it is higher or lower. Part 1- Write the code of it, if cost of querying a number is equal. Part 2- How about if cost of querying number x is x? How would you change the algorithm?

7 Answers

Reverse a singly linked-list with and without using an auxiliary data structure.

2 Answers

Find the last element of a link list

2 Answers

The interview is personalized and strongly dependent on background.

1 Answer

They ask you to rate yourself on a scale of 1 to 5 on different programming languages. They also ask you to name an area where you could improve with some programming languages. This is a tricky question, especially when you don't have much experience in the field.

1 Answer

If there are two pipes with air flowing in them. One has air pressure of 10 PSIG and another has air flowing in it with 20 PSIG discharge pressure. How can you know which pipe has the higher air pressure flowing inside it without using any instruments or scaling tools?

1 Answer

Some corner case about ldo and dcdc.

1 Answer

Wanted to know my experiences in software design and the ability to mentor junior and intermediate developers.

1 Answer

What are your weaknesses?

1 Answer
110 of 512 Interview Questions