QUESTIONS APPLICABLE TO SOFTWARE ENGINEERING
INTERVIEW QUESTIONS AND CORRECT DETAILED
ANSWERS WITH RATIONALES|GUARANTEED PASS
What is Binary? - ANSWER: Binary is a language that the computers use and
understand. It goes between 0 and 1. O is off 1 is on.
What is Assembly? - ANSWER: low level programing language designed for a specific
type of processor.
What is a Compiled Language? Give an Example Compiled Language. - ANSWER: A
compiled language is a programming language that can be translated into the
computer language which is Binary. Example would be java or C++
What is a Scripting Language? Give an Example Scripting Language. - ANSWER:
Scripting language is executed without being compiled. It runs directly on the client.
For example, javascript is a scripting language because it is executed by the user's
browser.
What is a Markup Language? Give an Example Markup Language. - ANSWER: Is used
to format and structure the document. For example, html is used to structure web
documents.
What is Object Oriented Programing (OOP)? - ANSWER: Is programming based on
the concept of "objects". It contains attributes and behaviors. For example, a class
person, can have something like eye color or name as an attribute and a method that
mimics the behavior such as talking or eating.
What are the Pillars of OOP? - ANSWER: Abstraction, Encapsulation, Inheritance,
Polymorphism.
Describe Abstraction - ANSWER: information that is hiding because is irrelevant to
the user. For example: an uBer app.//Back end
Encapsulation - ANSWER: It protects data by making the instance variable private.
For example, when you change your password there are a few validations before you
change it, like password length, etc.
Inheritance - ANSWER: Inheritance enables new objects to take on the properties of
existing objects by using the keyword "extends". For example, you can create a class
"Dog extends animal" meaning that Dog has all the properties of an animal.
, Polymorphism - ANSWER: Generally, the ability to appear in many forms. In object-
oriented programming, polymorphism refers to a programming language's ability to
process objects differently depending on their data type or class.
What is Method Overriding? - ANSWER: When you inherit a method from a parent
and you create a method with the same name and signature.
What is Method Overloading? - ANSWER: When you have a method with the same
name but different perimeter
for example
add (int numberOne)
add(int numberOne, int numberTwo)
What OOP Pillar are "Method Overriding" and "Method Overloading" most closely
associated with? - ANSWER: Polymorphism.
Overloading is compile time and Overriding is run time.
What is an Algorithm? - ANSWER: Is a step by step procedure for calculations. It is
used for calculation, data processing and automated reasoning.
What is an IDE? - ANSWER: Integrated Development Environment. It's a tool that
help developers become more efficient in programming. For example, eclipse helps
you organize your projects structure and auto complete codes. It also shows
developers any compile error.
What are the "short circuit" operators? - ANSWER: is where, an expression stops
being evaluated as soon as is outsome is determined. For example if they are 2 or
conditions and the first one is true, then it will stop and it wil not evaluate the
second condition. Another example would be two and condition. if the fist one is
false. They it won't evaluate the second one, (because they both have to be true).
What are some benefits of using an IDE? - ANSWER: Autocomplete method. It
organized the project structure. Organize import package. It tells you the compiler
error.
What are some problems of using an IDE? - ANSWER: You have to install it, and take
up memory.
What is the syntax of "if" statements? - ANSWER: if the condition is true then
execute some statement.
What is the syntax of "If...else" statements? - ANSWER: if condition is true then
execute some statement. Else, execute something else.
What is the syntax of "If...else if" statements? - ANSWER: if something is true then
execute. else if different conditions are true, then execute. Else execute something
else.