Entry Programmer Interview Questions

3,325 entry programmer interview questions shared by candidates

1. Populate an array of numbers from 1 to N (inclusive). Given two numbers, p and q , if a number in the array is divisible by p print OUT if a number is divisible by q print THINK. If the number is divisible by both p and q, print OUTTHINK. Otherwise, print the number.
avatar

Entry Level Software Developer

Interviewed at IBM

3.9
Jul 9, 2018

1. Populate an array of numbers from 1 to N (inclusive). Given two numbers, p and q , if a number in the array is divisible by p print OUT if a number is divisible by q print THINK. If the number is divisible by both p and q, print OUTTHINK. Otherwise, print the number.

Viewing 41 - 50 interview questions

Glassdoor has 3,325 interview questions and reports from Entry programmer interviews. Prepare for your interview. Get hired. Love your job.