I went for the interview as a fresh graduate.
For me, there was a total of 2 interviews.
The first was a technical interview, as the company developed software mainly in C# or C++, the programming questions were asked to answer either in one of the languages or if u know both, you can write in both languages.
The programming questions were to test the understanding of Object Oriented Concept and certain programming proficiency. For me, i was tasked to write a class to implement an real-world object and its associated behaviors. (Heard from my colleague who entered later than me say the programming questions are now done on laptop, previously we had to write it on paper).
After completion of the programming questions, an architect will be present to review the codes and ask questions pertaining to what you have written. If you are applying for Senior Software Developer, i think you are required to model the problem with UML diagram as well.
The second interview was done with a HR and 1 management to know more about you and see how you can fit into the company. They will ask you how much you know about the company and what it does (Industry Automation) and at the same time, explain the culture of the company and also the job description. This is also the time where you can ask them about the company as well.