Simple Interview Questions
Simple Interview Questions
What is database?
A database is a collection of information that is organized. So that it can easily be
accessed, managed, and updated.
2. What is DBMS?
DBMS stands for Database Management System. It is a collection of programs that
enables user to create and maintain a database.
5. What is normalization?
It is a process of analysing the given relation schemas based on their Functional
Dependencies (FDs) and primary key to achieve the properties
(1).Minimizing redundancy,
9. What is an Entity?
An entity is a thing or object of importance about which data must be captured.
2. Create separate tables for each group of related data and identify each row with a
unique column (the primary key).
Intension -It is a constant value that gives the name, structure of table and the
constraints laid on it.
Aggregation – A feature of the entity relationship model that allows a relationship set
to participate in another relationship set. This is indicated on an ER diagram by
drawing a dashed box around the aggregation.
The pessimistic approach involves locking and the optimistic approach involves
versioning.
The application code is stored on the application server and the database is stored on
the database server. A two-tier architecture includes a client and one server layer. The
database is stored on the database server.
Logical level: The next higher level of abstraction, describes what data are stored in
database and what relationship among those data.
View level: The highest level of abstraction describes only part of entire database.
One-to-one
One-to-many
Many-to-many
53. What is order by clause?
ORDER BY clause helps to sort the data in either ascending order to descending.
Unstructured data are multimedia data such as documents, photographs, maps, images,
sound, and video clips. Unstructured data are most commonly found on Web servers
and Web-enabled databases.
(4) code sharing which leads to less work, standardized processing, and specialization
among developers.
The network model can be much more flexible than the hierarchical model since each
parent can have multiple children but each child can also have multiple parents. This
model supports one-to-one, one-to-many, and many-to-many relationships.
Retroactive Update: The updates that are applied to database after it becomes effective
in real world.
Simultaneous Update: The updates that are applied to database at the same time when
it becomes effective in real world.
7) What is LIFO?
LIFO is a short form of Last In First Out. It refers how data is accessed, stored and
retrieved. Using this scheme, data that was stored last should be the one to be
extracted first. This also means that in order to gain access to the first data, all the
other data that was stored before this first data must first be retrieved and extracted.
8 ) What is a queue?
A queue is a data structure that can simulate a list or stream of data. In this structure,
new elements are inserted at one end, and existing elements are removed from the
other end.
4. if a target is not in the root item, check if a target is smaller than the root’s value.
5. if a target is smaller than the root’s value, search the left subtree 6. else, search the
right subtree
50. What is the difference between the prefix and postfix forms
of the ++ operator?
The prefix form performs the increment operation and returns the value of the
increment operation. The postfix form returns the current value all of the expression
and then performs the increment operation on that value.
1. By wrapping the desired code in a try block followed by a catch block to catch the
exceptions.
2. List the desired exceptions in the throws clause of the method and let the caller of
the method handle those exceptions.
Answer: Only 2 objects are created, c1 and c3. The reference c2 is only declared and
not initialized.
65.What is UNICODE?
Unicode is used for internal representation of characters and strings and it uses 16 bits
to represent each other.
Sample Answer #1
I am Andrew Bell, a computer graduate from MIT. I like to apply my analytical skills
to
develop world class products in the XYZ domain. When I am not working, I volunteer
to
NGOs as it gives me an opportunity to serve needy people. I also travel a lot and an
active
member of XXX travel group or club through which I could explore my hobby more.
Sample Answer #2
As a technical project manager, I have more than six years of experience at top Wall
Street
Companies. In recent company, I led the development of an award winning new
trading
platform. I am a person that survives in a fast-paced environment. At the moment, I
am
looking for a chance to apply my technical expertise and my creative problem solving
skills
at an innovative software company like this one.
Sample Answer #3
Since last 4-5 years, I am deeply involved with my administrative work. I have always
been
interested and enjoyed working in the computer industry, but I consider myself lucky
that I
got an opportunity to work at different levels like business analyst, programmer and
assistant manager. My main strength is the ability to maintain a great rapport with the
customer and my attention to their details.
Sample Answer #4
I am one of the top graduates of my batch in College. I am known in school as an
organizer,
having held several committees and organizations since my first year. I am a dedicated
person who never stops working on something until it is perfect. It would be a
pleasure for
me to discuss how I can be such an asset to your company.
Tips:
Try to cover your accomplishment in your answer
Talk about the work or project that resembles the requirement of the position
Mention what led you to this point in your career and why job is the perfect match for
you
Don’t narrate anything that is personal
End your answer by telling them you want the position and why
Use selective terminology in your answer like problem solving, innovative, fast-
paced,
creative and so on.
What not to say
Don’t speak the same thing that is already mentioned in your resume
Don’t counter question your interviewer by saying – “What do you want to know?”
(SoundsRude)
2) Why do you want to work in this company?
This is a popular interview question Following are 4 sample answers
Sample Answer# 1:
I would be proud to work for a company like yours with such a long history of
leadership in
the industry. I have carried out web research and believe that the company’s XYZ
products
and its future
projections are very impressive and promising. The XXX team is the team I would
take pride
to work with. A place where my skills or background fits perfectly and can be utilized
respectively.
Sample Answer# 2:
Your company made its fortune for making great products that help people do X. But
on top
of that it is the kind of place where I can fit in and excel, so I was thrilled to see you
have this
opening. Your company believes in providing superior service, to which I share the
same
value and enables me to not only fit into your organization but complement the team
as
well.
Sample Answer# 3:
I was delighted to see on your website that your feature employees are talking about
how
great it is to work for your company. These days so many people seem to despise
where
they work for one reason or another. It’s wonderful to see that your employees are
proud to
talk about how much they love their jobs.
Sample Answer# 4:
This company is on the list of most admired companies every year. I want to play a
role in
ensuring this company stays on that list. I want to be part of a company that offers no
less
than quality in terms of products and after sales services.
Tips:
Conduct a thorough research of the company and the company’s top executive before
facing interview
Learn about the company’s vision and how you can contribute to it
Demonstrate your eagerness to work for the company
Evidence that you understand the employer’s business
Mention why you rely on XYZ company for your growth and why it is the best place
to utilize
your skills and experience for the benefit of the company
Demonstrate your belief in company’s product or service.
3) Do you consider yourself successful?
This is a popular interview question. Following are 5 sample answers
Sample answer #1
I feel successful with continuous progress. I find exciting when I am allowed to
implement
new ideas and see its fruition. I would define my success as what I have learned
through the
years and use them when circumstances arises or demands.
Sample answer #2
I feel successful when I meet my short term as well as the long-term goals. I try to
achieve
the set goals and work hard as much as I can, I try to reach those goals and achieve the
desired outcome. I want to recognize myself as someone with a progressive attitude
who
does his best and gives 100% to attain goals. To me success is not just my personal
achievements but also by the efforts of the people around me.
Sample answer #3
Success to me is knowing that I am excelling in my performance and filling fulfilled.
My work
should add value to the company and its customers. Knowing that each day I am
making the
world a better place is a success to me. I would define success at work as what I have
learned from key job assignments experiences.
Sample answer #4
Success to me is spending the majority of the time focused on work that are fulfilling
and
increasing my efficiency to help the organization grow. While I also believe that
greater
success can be achieved while working as a team towards a common goal.
Sample answer #5
Yes. During my ___ year career, I have learned to set goals and to make sure I meet
each of
it. I make sure obstacles do not hinder me from reaching my goals, but instead should
inspire me to exert more. I believe the new position I am applying for will enable me
to
reach up higher and be more successful.
Tips:
Summarize your career goals
Don’t say something that sound self-centric.
4) Are you willing to travel?
Yes. I love traveling. Adjusting in new places and meeting new people would be a
delightful
experience for me.
Sample answer #1
My strength is my ability to convert negative work environment into a positive and at
the
same time, developing a supportive team. I am also capable of keeping many projects
on
track and ensuring deadlines are met. As far as my weakness is concerned I get
impatient
sometimes in order to get everything done very quickly. To tackle the problem, I am
trying
to re-consider the to-do list and prioritize the tasks.
Sample answer #2
I am very comfortable working with a different group of people. My strength is my
analytical
and planning skills, developed over the years, help me to complete my work before
the
deadline. I am a little bit nervous while speaking in a group, but I have given good
number of
paper presentation to overcome this.
Sample answer #3
I am efficient in a number of programming languages including HTML, C++, Java
and
AppleScript. I have generated over 100% excess revenue for two separate companies
through cost cutting programming efficiency, and I have leadership experience with a
team
of five IT professionals working on some of the popular iPhone apps online. As far as
weakness is concerned I have a tendency to remain quiet in meetings, but I am
working on
speaking up when I feel I have ideas to share.
Sample answer #4
I’m a highly motivated person. I don’t stop until I get things done. I value other
people’s
time and company’s resources. I work to become an asset, not a liability. People say I
sometimes act too much as a perfectionist. To counter this, I attended seminars that
teach
me how to manage myself well.
Tips
Focus mostly on strengths
Show the interviewer how you are putting effort to overcome the weakness
Mention about your real weakness but do mention about how you are going to fix it
Make sure your strength and weakness don’t contradict each other
Research well about the position you are applying for and identify the area where you
can
apply your strength
Choose a weakness that is acceptable for the job in hand
Don’t confuse interests with strength or dislikes with weakness
7) Where do you see yourself in 5 years?
This is a popular interview question asked in mock interviews
Following are 3 sample answers
Sample Answer #1
I am very result-oriented person; my primary motivation is to achieve the desired end
result.
While I enjoy working on a project of my own, I am particularly motivated by the
buzz of
working in a team. It’s very exciting working closely with others, who share the same
common goal. I also like to take on the challenge, and rise to that challenge as part of
a
concerted team effort.
Sample Answer #2
Primarily, my ability to work hard and delivering result motivates me. But subsequent
recognition of my efforts gives me the encouragement for my next efforts.
Sample Answer #3
Responsibility towards work motivates me the most and my aim within any company
is to
move up to greater levels of responsibility to achieve each goal with better
responsibilities.
Sample Answer #4
Many things motivate me. My goal to be the best of what I can be often motivates me
to go
beyond my own expectations. When I see myself being productive everyday, it
motivates
me to continue.
Tips:
Sometimes, the best solution is to be honest- you can say money is your motivational
factor,
but it should be your last option
Mention things like Job satisfaction, working towards a goal, contributing to a team
effort or
developing your skills- provide a specific example that supports your response
Excitement for new challenges
Quest for personal development
What not to say:
Do not mention that you are motivated by bragging rights, material things or fear of
being
disciplined
9) Tell me about your dream job.
The only dream job I’ve always had was a job that keeps me busy, a job wherein I get
to
contribute to the company’s success.
Sample Answer # 1:
In my XXX years of experience as a manager, I have build-up a solid motivational
and
team-working skills. I was awarded twice as the manager-of-the-year for my excellent
methodologies for motivating employees to encounter challenges and meeting
deadlines. If
hired, I will carry forward this ability of leadership and strategies for achieving profit
gains to
this position.
Sample Answer #2:
The subjects I chose while working for my degree in XXX subject have prepared me
for this
particular post. Also, my two-year experience working with company X has given me
the
platform to master the skills that I needed to deliver for this position. It seems as if I
was
prepared all my life to land this job.
Sample Answer# 3:
For this particular job, I have the perfect combination of skills and experience that is
required. I also bring the experience of strong analytical and problem-solving skills
that I
have gained while working with other companies. My dedication to excellent work
standards will add value to the team and the company.
Sample Answer# 4:
I am quite aware of the company’s mission of acquiring the largest consumer base in
the
area and to become the front-runner in supplier’s or provider’s community. My
domain
knowledge and hold over the customer base can make a big contribution towards this.
I
would really enjoy this challenge of growing this business bigger.
Sample Answer# 5:
As I have said earlier, my years of experience in this field is something that can truly
contribute to this company’s success. My sense of dedication in every task that I
handle is
definitely a big plus. I believe my skills and work attitude measures up to your
company
standards.
Tips
Emphasize on your uniqueness but keep it concise
Highlight your strengths, skills, and your accomplishments
Give an example that describes you as a quick learner
State or provide some evidence that shows how you contributed to the growth of the
previous company in terms of revenue, goodwill, and brand
Include your research you made on the company- for a smaller company you can say-
your
company is open to new innovative ideas
What not to say
Try to avoid saying- I need a job, money or this place is close to where I live Focus on
what
can you do for the company rather than what they can do for you NEVER DO
THIScomparing
your skills to others. The natural instinct to this question is we usually start
comparing our skills to others, when this question is put through.
14) Are you a team player?
Yes, definitely. While I will deny the fact that I can work independently with minimal
supervision, I’m also one companion every leader would ever wanted to be in his
team.
Whatever task is assigned to me, I make sure it meets and exceeds what is expected of
me. I
also make it a point to reach out to teammates whenever needed.
18) How would you know you were successful on this job?
Being successful means goals that are set are met. Being successful also means
standards
are not only reach, but also even exceeded wherever possible.
21) What have you done to improve your knowledge in the last
year?
I have attended several self-improvement, time management and personality
development seminars. I have also participated in training workshops related to
[industry].
23) How long would you expect to work for us in case you are
hired?
As much as possible I would like to be in this company for a long time. For as long as
management sees me as an asset, I am willing to stay.
28) Do your skills match this job or another job more closely?
I feel my skills are best fit for this job.
40) What is the most difficult thing about working with you?
My co-workers often say I’m too serious about my work. However, I have attended
some personality enhancing seminars to blend better with co-leagues.
46) What was your biggest challenge with your previous boss?
My previous boss was very strict when it came to deadlines and output. It was a
challenge for me to meet every expectation he made. It was also a good learning
experience for me because it only made me better at what I do.