Technical Interview Questions
Technical Interview Questions
© Copyright by Interviewbit
Contents
2. Interview Rounds
Written/Aptitude Assessment Round: In the first round, the questions are
around verbal reasoning and quantitative ability. These are in the form of
multiple-choice questions, conducted online. This round is usually for freshers,
and not for experienced candidates.
Group Discussion: Group Discussion is an important part of the selection
process where the recruiters assess whether a candidate has certain personality
traits that an organization wishes to see in its employees. In this round, teams
are formed and given a common topic of discussion/argument. One could select
whether they wish to talk about points for the topic or against the said topic. It
could also be a general discussion about a recent happening. A few traits
observed in this round are Team spirit, ability to come up with answers on the
spot, how to resolve conflicts, knowledge on recent topics, and so on.
Technical Interview Round: For the technical round, questions can be asked
from topics like C, C++, JAVA, UNIX, LINUX, etc. A good practice for being able to
crack this round would be to be thorough with your fundamentals. We have
listed some questions for the technical round below. The interviewers might also
ask questions on your current year projects. For an experienced candidate, most
of the questions will be from the resume and also previous work experience.
HR Round: This is the final round of the HCL interview process. In this round, the
recruiters ask general questions. Among these, they also evaluate parameters
like your interest in joining the organization. They ask questions ranging from
your personal goals and ambitions, to why you would like to work in their
organization.
class Vehicle{
void run(){System.out.println("running");}
}
class Bike extends Vehicle{
void run(){System.out.println("running safely with 60km");}
In the above example, “class Bike extends Vehicle” means that the class Bike is
inherited within the class Vehicle. With this, new internal structures can be created
within the same external class.
In C++, the input stream is used to get inputs from the console i.e. the user. The
output stream is used to display the results of the operations to the console, or to the
output device. iostream represents the standard input-output stream in C++. It
contains different methods like cin, cout etc.
#include<stdio.h>
int m = 20, n = 40; //global variable
int a = 50, b = 80;//global variable
int main()
{
printf("These are variables are accessed from main function");
a=24;
void sample()
{
int t=20; // Local variable
}
}
class Outer_class{
//code
class Inner_class{
//code
}
}
In the above example, the Inner class is nested within the Outer class. The inner class
will have the same access rights as the outer class. Nested classes help to group
classes in one group.
Inheritance: Using this property, one object can acquire some/all properties of
another object.
Abstraction: Abstraction is the process of selecting data from a larger pool to
only show the relevant details to the object.
Encapsulation: Encapsulation is accomplished when each object inside a class
maintains a private state.
Polymorphism: Polymorphism provides a way to use a class exactly like its
parent so there is no confusion with mixing types.
Database Customization.
Easiness in Data Management.
Data Availability.
Minimized Redundancy.
Data Accuracy, Consistency and Relevance.
File Consistency.
Improved Data Security.
Data Structuring.
Some DBMS examples are MySQL, PostgreSQL, FileMaker, Oracle, Microso Access.
// Class 1
// First Parent class
class Parent1 {
// Class 2
// Second Parent Class
class Parent2 {
// Class 3
// Trying to be child of both the classes
class Test extends Parent1, Parent2 {
// When we try to call above functions of class, error is thrown as this class
t.fun();
}
}
In the above example, we have defined a method inside both parent classes. When
we use “class Test extends Parent1, Parent2”, an error is thrown as this class is
inheriting multiple classes.
‘init’ basically stands for initialization. The role of init is to create processes from the
script stored in the file which is a configuration file. This is then to be used by the
initialization system. The __init__ method is similar to constructors in C++ and Java.
Example:
In the above example, the name passed as an argument will be passed to the __init__
method to initialize the object. The keyword self represents the instance of a class
and binds the attributes with the given arguments.
Coding Practice
Java Interview
C Interview
.Net Interview
Automation Testing Interview
Networking Interview
HCL is a company where innovation and culture are at the core. As an individual, I
would like to expand my horizons along with contribute to the growth of the
company. Moreover, the concept of ‘Ideapreneurship’ that the company believes in,
truly inspires me. Having an opportunity to present ideas to achieve the company
goals interests me.
Css Interview Questions Laravel Interview Questions Asp Net Interview Questions