Oracle Computer Programming Questions And Answers




Time Duration

120 mins



Negative Marking


Latest Curriculum for Oracle 2019-20

Oracle Computer Programming

Preparation Section

Oracle comp Prog Question andA a

Interview Experience for Oracle

Name: Shantanu Bhattacharya

College: VIT, Vellore

Branch: Computer Science

Type of interview: OFF-Campus Interview

Student Interview

I was searching for jobs online when I stumbled upon a link displaying Oracle off-campus interviews. I visited the link and from there I applied for the Oracle off-campus drive. Two days later I received an email invitation to attend the Oracle interview. There were three rounds in the interview: Written Round, Technical Interview, and HR Interview.

Written Test

On the day of the interview, there were approximately 500-600 students. Some were from 2014-15 batches, and some were from 2016 batch. The exam was conducted in three batches with 175 students in each batch. For the paper, I went through previous year papers available on PrepInsta website.

There were four sections in the paper, The Quantitative Aptitude, Contextual Vocabulary, Coding Aptitude, and Technical Aptitude. It was an 80 minutes paper. All the sections were of a medium difficulty level, except the Technical Aptitude section, which was slightly tricky. Still, I managed to clear the paper and got shortlisted along with 73 other candidates.

Technical Round

This round was quite difficult as the interviewer asked the core concepts of JAVA, C, and C++ in this round. Furthermore, some codes and puzzles were also asked. Some of the questions that were asked to me are:

  • Explain your final year project.
  • Why did you choose this topic?
  • What was your approach?
  • Have you ever worked on any other platforms like Python or PHP?
  • How are Binary trees different from AVL trees?
  • An Array of integers is given, both positive and negative. You need to find the two elements such that their sum is closest to zero.
  • Clone a Binary Tree with Random Pointers

I was able to answer most of the answers. So, for me, the interview went quite well, and the recruiter also looked impressed.

HR Round

HR asked me many questions. He began with,

  • Please introduce yourself
  • Any particular interests?
  • Why did you give a gap between your studies?
  • Why do you want to join Oracle? As you have a perfect ph score and a pretty academic career as well.

After a brief introduction to my life and career, HR gave me some puzzles to solve.

  • You have 100 doors in a row that are all initially closed. You make 100 passes by the entries starting with the first door every time. The first time through you visit every door and toggle the door (if the door is closed, you open it, if it’s open, you close it). The second time you only visit every 2nd door (door #2, #4, #6). The third time, every 3rd door (door #3, #6, #9), etc., until you only visit the 100th door. What state are the entries in after the last pass? Which are open which are closed?
  • Four people need to cross a rickety bridge at night. Unfortunately, they have only one torch, and the bridge is too dangerous to pass without one. The bridge is just strong enough to support two people at a time. Not all people take the same time to cross the bridge. Times for each person: 1 min, 2 minutes, 7 minutes and 10 minutes. What is the shortest time needed for all four of them to cross the bridge?

After the puzzle session, he asked me to prove that how will I be an asset to the company? I answered the question. Finally, she asked if I had any questions. I asked some questions and politely answered all of them.  After this, the interviewer smiled at me and I left.

After all the interviews were over, the final list of the selected candidates was announced and luckily, my name was there in that list. I got placed as the JAVA Developer at Oracle.



OS Concept

Data Structure

Big O Notation

OOAD Fundamentals


CODD Fundamentals

Computer Programming






Akash Kumar