Junior Software Developer Interview Questions

11,432 junior software developer interview questions shared by candidates

Assume your assembly language includes ONLY the following instructions: 'inc REG': increments a given register by one. 'dec REG': decrement a given register by one. 'jnz LABEL': jumps to a given LABEL if the previous instruction's result was not zero. 'HALT': stops running. Task: A and B registers hold non-negative values. The program should calculate the value of |A-B| and locate the result in C. In addition, the language holds registers C,D,...,Z, which you can assume are initialized at program start to zero.
avatar

Junior Compiler Software Engineer

Interviewed at CEVA

3.5
Mar 29, 2018

Assume your assembly language includes ONLY the following instructions: 'inc REG': increments a given register by one. 'dec REG': decrement a given register by one. 'jnz LABEL': jumps to a given LABEL if the previous instruction's result was not zero. 'HALT': stops running. Task: A and B registers hold non-negative values. The program should calculate the value of |A-B| and locate the result in C. In addition, the language holds registers C,D,...,Z, which you can assume are initialized at program start to zero.

1st Round: Consider an array of 5 elements. You must create a new array such that at a given position 'i', the number should be product of all elements of original array except the 'i'th element. You have to solve this in least number of iterations possible.
avatar

Junior Software Developer

Interviewed at CONTENTSERV

3.1
Jan 2, 2016

1st Round: Consider an array of 5 elements. You must create a new array such that at a given position 'i', the number should be product of all elements of original array except the 'i'th element. You have to solve this in least number of iterations possible.

Viewing 31 - 40 interview questions

Glassdoor has 11,432 interview questions and reports from Junior software developer interviews. Prepare for your interview. Get hired. Love your job.