All in One Interview Questions For All Graduates
All in One Interview Questions For All Graduates
Contents
Basic Programming Questions .......................................................................................... 2
C/C++/JAVA/OOPS/PYTHON/DBMS/MCHINE LEARNING/IOT
INTERVIEW EXPERIENCES ..................................................................................................... 31
m
HR INTERVIEW QUESTIONS & ANSWERS ............................................................................ 39
co
ELECTRONICS ENGG QUESTIONS ........................................................................................... 42
s.
ELECTRICAL ENGG QUESTIONS ............................................................................................. 49
le
OPERATING SYSTEM QUESTIONS .......................................................................................... 53
irc
TIPS AND STRATEGIES ............................................................................................................. 60
sc
Mainly used C++ is mainly used for system Java is mainly used for application programming. It is
for programming. widely used in window, web-based, enterprise and
m
mobile applications.
co
Design Goal C++ was designed for systems Java was designed and created as an interpreter for
and applications printing systems but later extended as a support
s.
programming. It was an network computing. It was designed with a goal of
le
extension of C programming being easy to use and accessible to a broader
irc
language. audience.
sc
Goto C++ supports Java doesn't support the goto statement.
the goto statement.
nt
Multiple C++ supports multiple Java doesn't support multiple inheritance through
de
Overloading overloading.
w
Pointers C++ supports pointers. You Java supports pointer internally. However, you can't
w
can write pointer program in write the pointer program in java. It means java has
C++. restricted pointer support in java.
w
Compiler and C++ uses compiler only. C++ is Java uses compiler and interpreter both. Java source
Interpreter compiled and run using the code is converted into bytecode at compilation time.
compiler which converts The interpreter executes this bytecode at runtime and
source code into machine produces output. Java is interpreted that is why it is
platform independent.
Call by Value C++ supports both call by Java supports call by value only. There is no call by
and Call by value and call by reference. reference in java.
m
reference
co
Structure and C++ supports structures and Java doesn't support structures and unions.
Union unions.
s.
Thread Support C++ doesn't have built-in Java has built-in thread support.
le
support for threads. It relies irc
on third-party libraries for
thread support.
sc
Documentation C++ doesn't support Java supports documentation comment (/** ... */) to
nt
Virtual C++ supports virtual keyword Java has no virtual keyword. We can override all non-
tu
Keyword so that we can decide static methods by default. In other words, non-static
whether or not override a methods are virtual by default.
.s
function.
w
unsigned right C++ doesn't support >>> Java supports unsigned right shift >>> operator that
w
shift >>> operator. fills zero at the top for the negative numbers. For
w
Inheritance C++ creates a new Java uses a single inheritance tree always because all
Tree inheritance tree always. classes are the child of Object class in java. The object
class is the root of the inheritance tree in java.
m
There are the following features in Java Programming Language.
co
o Simple: Java is easy to learn. The syntax of Java is based on C++ which makes easier to
s.
write the program in it.
le
o Object-Oriented: Java follows the object-oriented paradigm which allows us to
maintain our code as the combination of different type of objects that incorporates
irc
both data and behaviour.
sc
o Portable: Java supports read-once-write-anywhere approach. We can execute the
Java program on every machine. Java program (.java) is converted to bytecode (.class)
nt
be executed. Java comes with its platform on which its code is executed. Java doesn't
.s
o Secured: Java is secured because it doesn't use explicit pointers. Java also provides the
w
concept of Byte Code and Exception handling which makes it more secured.
w
o Interpreted: Java uses the Just-in-time (JIT) interpreter along with the compiler for the
program execution.
o Multithreaded: We can write Java programs that deal with many tasks at once by
defining multiple threads. The main advantage of multi-threading is that it doesn't
m
occupy memory for each thread. It shares a common memory area. Threads are
co
important for multi-media, Web applications, etc.
s.
applications in Java. RMI and EJB are used for creating distributed applications. This
le
feature of Java makes us able to access files by calling the methods from any machine
on the internet.
irc
o Dynamic: Java is a dynamic language. It supports dynamic loading of classes. It means
sc
classes are loaded on demand. It also supports functions from its native languages,
i.e., C and C++.
nt
de
3) What is JVM ?
tu
Java Virtual Machine is a virtual machine that enables the computer to run the Java program.
JVM acts like a run-time engine which calls the main method present in the Java code. JVM is the
.s
specification which must be implemented in the computer system. The Java code is compiled by
w
JVM to be a Bytecode which is machine independent and close to the native code.
w
w
m
• Default: Default are accessible within the package only. By default, all the classes,
co
methods, and variables are of default scope.
• Private: The private class, methods, or variables defined as private can be accessed
s.
within the class only.
6)
le
irc
What is the difference between an object-oriented programming language and object-
based programming language?
sc
There are the following basic differences between the object-oriented language and object-
based language.
nt
de
• Object-oriented languages follow all the concepts of OOPs whereas, the object-based
language doesn't follow all the concepts of OOPs like inheritance and polymorphism.
tu
• Object-oriented languages do not have the inbuilt objects whereas Object-based languages
.s
have the inbuilt objects, for example, JavaScript has window object.
• Examples of object-oriented programming are Java, C#, Smalltalk, etc. whereas the examples
w
Example:
Class className
{
Data
Functions
};
m
main ( )
{
co
className objectname1,objectname2,..;
s.
}
In other words classes acts as data types for objects.
le
irc
Objects are the instances of a class.
sc
• Inheritance
nt
• Polymorphism
.s
The word polymorphism means having many forms. In simple words, we can define
w
•
w
Data Abstraction
Abstraction means displaying only essential information and hiding the details. Data
abstraction refers to providing only essential information about the data to the outside
world, hiding the background details or implementation.
• Data Encapsulation
• Dynamic Binding
In dynamic binding, the code to be executed in response to function call is decided at
runtime.
m
• Message Passing
co
Objects communicate with one another by sending and receiving information to each
s.
other. A message for an object is a request for execution of a procedure and therefore
will invoke a function in the receiving object that generates the desired results. Message
le
passing involves specifying the name of the object, the name of the function and the
irc
information to be sent.
sc
Inline function is a technique used by the compilers and instructs to insert complete body of the
de
An abstract class is a class which cannot be instantiated. Creation of an object is not possible
with abstract class but it can be inherited. An abstract class can contain only Abstract method.
w
Java allows only abstract method in abstract class while for other language it allows non-
w
m
exception handling mechanism like try, catch and throw keywords.
co
13) What is static and dynamic binding ?
s.
Binding is nothing but the association of a name with the class. Static binding is a binding in
le
which name can be associated with the class during compilation time and it is also called as
early Binding.
irc
Dynamic binding is a binding in which name can be associated with the class during
sc
execution time and it is also called as Late Binding.
nt
This is a special constructor for creating a new object as a copy of an existing object. There will
be always only on copy constructor that can be either defined by the user or the system.
tu
.s
Structure default access type is public but class access type is private. A structure is used for
w
grouping data whereas class can be used for grouping data and methods. Structures are
exclusively used for data and it doesn’t require strict validation but classes are used to
w
from it like C++, Python, Rust, JavaScript, etc. It introduces new core concepts like arrays,
functions, file handling which are used in these languages.
17) What are the differences between Local Variables and Global Variables?
m
Declaration A variable which is declared inside A variable which is declared
function or block is known as a outside function or block is
co
local variable. known as a global variable.
s.
Scope The scope of a variable is available The scope of a variable is
le
within a function in which they are irc available throughout the
declared. program.
sc
Access Variables can be accessed only by Any statement in the entire
those statements inside a function program can access variables.
nt
• C functions are used to avoid the rewriting the same code again and again in our
program.
• C functions can be called any number of times from any place of our program.
• When a program is divided into functions, then any part of our program can easily be
tracked.
Prepared by: Ex. TATA EMPLOYEE “PRATIK SHRIVASTAVA”
COMPREHENSIVE INTERVIEW MATERIAL DESIGNED BY STUDENTS CIRCLES
• C functions provide the reusability concept, i.e., it breaks the big task into smaller tasks
so that it makes the C program more understandable.
19) What is the difference between Call By Value and Call By Reference?
m
passed to the function, then the passed to the function, then the
co
original value is not modified. original value is modified.
s.
Memory Actual arguments and formal Actual arguments and formal
location arguments are created in separate arguments are created in the
le
memory locations. same memory location.
irc
Safety In this case, actual arguments In this case, actual arguments
sc
remain safe as they cannot be are not reliable, as they are
modified. modified.
nt
20)
w
What is recursion in C ?
When a function calls itself, and this process is known as recursion. The function that calls
w
m
A pointer that doesn't refer to any address of value but NULL is known as a NULL pointer. When
co
we assign a '0' value to a pointer of any type, then it becomes a Null pointer.
s.
23) What is a far pointer in C ?
le
A pointer which can access all the 16 segments (whole residence memory) of RAM is known as
irc
far pointer. A far pointer is a 32-bit pointer that obtains information outside the memory in a
given section.
sc
• If a pointer is pointing any memory location, but meanwhile another pointer deletes the
de
memory occupied by the first pointer while the first pointer still points to that memory
location, the first pointer will be known as a dangling pointer. This problem is known as
tu
•
w
Dangling pointer arises when an object is deleted without modifying the value of the
pointer. The pointer points to the deallocated memory.
w
w
• Dynamic memory allocation: Pointers are used in allocation and deallocation of memory
during the execution of a program.
• Call by Reference: The pointers are used to pass a reference of a variable to other
function.
• Data Structures like a tree, graph, linked list, etc.: The pointers are used to construct
different data structures like tree, graph, linked list, etc.
m
26) What is Static Memory Allocation ?
•
co
In case of static memory allocation, memory is allocated at compile time, and memory
can't be increased while executing the program. It is used in the array.
s.
• The lifetime of a variable in static memory is the lifetime of a program.
le
• The static memory is allocated using static keyword.
• The static memory is implemented using stacks or heap.
irc
• The pointer is required to access the variable present in the static memory.
sc
• The static memory is faster than dynamic memory.
• In static memory, more memory space is required to store the variable.
nt
de
• The malloc() or calloc() function is required to allocate the memory at the runtime.
•
w
• Structure variables accessing the same structure but the memory allocated for each
variable will be different.
m
• In union, we can access only one variable at a time as it allocates one common space for
co
all the members of a union.
s.
30) What is an auto keyword in C ?
le
In C, every local variable of a function is known as an automatic (auto) variable. Variables which
are declared inside the function block are known as a local variable. The local variables are also
irc
known as an auto variable. It is optional to use an auto keyword before the data type of a
sc
variable. If no value is stored in the local variable, then it consists of a garbage value.
nt
The Token is an identifier. It can be constant, keyword, string literal, etc. A token is the smallest
individual unit in a program. C has the following tokens:
tu
Keywords: Keywords are the predefined words that are explained by the compiler.
Constants: Constants are the fixed values that cannot be changed during the execution of a
w
program.
w
Special characters: All the characters except alphabets and digits are treated as special
characters.
m
stored inside a storage device using file name (e.g. STUDENT.MARKS). A file name
co
normally has primary and secondary name separated by a “.”(DOT).
s.
Overloading is when two or more methods in the same class have the
le
same method name but different parameters(i.e different method
irc
signatures).
Overriding is when two methods having the same method name and
sc
parameters (i.e., method signature) but one of the methods is in the
parent class and the other is in the child class.
nt
de
to complete so that they can start. This result both the processes to hang.
.s
w
Transferring the control from one process to other process requires saving the state of
the old process and loading the saved state for new process. This task is known as
w
context switching.
38) What are the differences between list and tuple in Python ?
LIST TUPLES
Lists are mutable i.e they can be Tuples are immutable (tuples are lists which
edited. can’t be edited).
Lists are slower than tuples. Tuples are faster than list.
m
Syntax: list_1 = [10, ‘Chelsea’, 20] Syntax: tup_1 = (10, ‘Chelsea’ , 20)
co
39) What type of language is Python ? Scripting or Programming ?
s.
Python is capable of scripting, but in general sense, it is considered as a general-
le
purpose programming language. irc
40) What is type conversion in Python ?
sc
Type conversion refers to the conversion of one data type into another.
nt
Pickle module accepts any Python object and converts it into a string
representation and dumps it into a file by using dump function, this process is
called pickling. While the process of retrieving original Python objects from the
stored string representation is called unpickling.
m
to be prefixed by a #. You can also a very good shortcut method to comment multiple
co
lines. All you need to do is hold the ctrl key and left click in every place wherever you
want to include a # character and type a # just once. This will comment all the lines
s.
where you introduced your cursor.
le
43) What are docstrings in Python ?
irc
Docstrings are not actually comments, but, they are documentation strings. These
sc
docstrings are within triple quotes. They are not assigned to any variable and
therefore, at times, serve the purpose of comments as well.
nt
de
between keys and values. Dictionaries contain pair of keys and their corresponding
.s
45) What advantages do NumPy arrays offer over (nested) Python lists?
w
element, and must execute type dispatching code when operating on each
element.
• NumPy is not just more efficient; it is also more convenient. You get a lot of vector
and matrix operations for free, which sometimes allow one to avoid unnecessary
work. And they are also efficiently implemented.
• NumPy array is faster and You get a lot built in with NumPy, FFTs, convolutions,
fast searching, basic statistics, linear algebra, histograms, etc.
m
46)
co
Does Python have OOPS Concept ?
Python is an object-oriented programming language. This means that any program
s.
can be solved in python by creating an object model. However, Python can be
le
treated as procedural as well as structural language.
irc
47) What is __init__ ?
sc
__init__ is a method or constructor in Python. This method is automatically called to
allocate memory when a new object/ instance of a class is created. All classes have
nt
data inside the database by integrating all the data into a single database and as
data is stored at only one place, the duplicity of data does not happen.
• Data Sharing: Sharing of data among multiple users simultaneously can also be
done in DBMS as the same database will be shared among all the users and by
different application programs.
• Backup and Recovery Facility: DBMS minimizes the pain of creating the backup of
data again and again by providing a feature of ‘backup and recovery’ which
automatically creates the data backup and restores the data whenever required.
• Enforcement of Integrity Constraints: Integrity Constraints are very important to be
enforced on the data so that the refined data after putting some constraints are
stored in the database and this is followed by DBMS.
• Independence of Data: It simply means that you can change the structure of the
m
data without affecting the structure of any of the application programs.
co
50) What is the use of Normalization in DBMS ?
s.
Normalization is the process of analyzing the relational schemas which are based on
le
their respective functional dependencies and the primary keys in order to fulfill certain
properties.
irc
The properties include:
sc
▪ To minimize the redundancy of the Data.
▪ To minimize the Insert, Delete and Update Anomalies.
nt
de
51) What are the differences between Primary Key and Unique Key ?
• The main difference between the Primary key and Unique key is that the Primary
tu
key can never have a null value while the Unique key may consist of null value.
• In each table, there can be only one primary key while there can be more than one
.s
• Atomicity: This is based on the concept of “either all or nothing” which basically
means that if any update occurs inside the database then that update should
either be available to all the others beyond user and application program or it
should not be available to anyone beyond the user and application program.
• Consistency: This ensures that the consistency is maintained in the database
before or after any transaction that takes place inside the database.
• Isolation: As the name itself suggests, this property states that each transaction
that is occurring is in isolation with others i.e. a transaction which has started but
not yet completed should be in isolation with others so that the other transaction
does not get impacted with this transaction.
• Durability: This property states that the data should always be in a durable state
i.e. any data which is in the committed state should be available in the same state
even if any failure or restart occurs in the system.
m
53)
co
Explain Entity, Entity Type, and Entity Set in DBMS?\
• Entity is an object, place or thing which has its independent existence in the
s.
real world and about which data can be stored in a database. Eg: any person,
le
book, etc.
• Entity Type is a collection of the entities which have the same attributes. Eg:
irc
STUDENT table contains rows in which each row is an entity holding attributes
sc
like name, age , and id of the students, hence STUDENT is an Entity Type which
holds the entities having same attributes.
nt
• Entity Set is a collection of the entities of the same type. Eg: A collection of the
de
employees of a firm.
tu
• Logical Level: This is the next level of the data abstraction which states the
w
type of the data and the relationship among the data that is stored in the
database.
• View Level: This is the highest level in the data abstraction which
shows/states only a part of the database.
This is basically a constraint which is useful in describing the relationship among the
different attributes in a relation.
Example: If there is some relation ‘R1’ which has 2 attributes as Y and Z then the
functional dependency among these 2 attributes can be shown as Y->Z which states
that Z is functionally dependent on Y.
m
With the help of the LIKE operator, pattern matching is possible in the SQL.’%’ is used
co
with the Like operator when it matches with the 0 or more characters and ‘_’ is used
to match the one particular character.
s.
Example:
•
le
select * from Emp where name like ‘b%’
• select * from Emp where name like ‘hans_’
irc
sc
57) What are the different types of relationships in RDBMS ?
One-to-One: This basically states that there should be a one-to-one relationship
nt
between the tables i.e. there should be one record in both the tables. Eg: Among a
de
married couple, both wife and husband can have only one spouse.
One-to-Many: This states that there can be many relationships for one i.e. a primary
tu
key table hold only one record which can have many, one or none records in the
.s
Data structure refers to the way data is organized and manipulated. It seeks to find ways
to make data access more efficient. When dealing with the data structure, we not only
focus on one piece of data but the different set of data and how they can relate to one
another in an organized manner.
The key difference between both the data structure is the memory area that is being
accessed. When dealing with the structure that resides the main memory of the
computer system, this is referred to as storage structure. When dealing with an auxiliary
structure, we refer to it as file structures.
m
60) When is a binary search best applied?
co
A binary search is an algorithm that is best applied to search a list when the elements are
already in order or sorted. The list is searched starting in the middle, such that if that
s.
middle value is not the target search key, it will check to see if it will continue the search
le
on the lower half of the list or the higher half. The split and search will then continue in
irc
the same manner.
sc
A linked list is a sequence of nodes in which each node is connected to the node
de
62)
.s
To reference all the elements in a one -dimension array, you need to use an indexed
w
loop, So that, the counter runs from 0 to the array size minus one. In this manner, You
can reference all the elements in sequence by using the loop counter as the array
w
subscript.
Data structures are essential in almost every aspect where data is involved. In general,
algorithms that involve efficient data structure is applied in the following areas:
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
m
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.
co
s.
65) What is a queue?
le
A queue is a data structure that can simulate a list or stream of data. In this structure,
irc
new elements are inserted at one end, and existing elements are removed from the
sc
other end.
nt
A binary tree is one type of data structure that has two nodes, a left node, and a right
tu
node. In programming, binary trees are an extension of the linked list structures.
.s
w
67) Which data structures are applied when dealing with a recursive function?
w
Recursion, is a function that calls itself based on a terminating condition, makes use of
w
the stack. Using LIFO, a call to a recursive function saves the return address so that it
knows how to return to the calling function after the call terminates.
A stack is a data structure in which only the top element can be accessed. As data is
stored in the stack, each data is pushed downward, leaving the most recently added data
on top.
A binary search tree stores data in such a way that they can be retrieved very efficiently.
m
The left subtree contains nodes whose keys are less than the node’s key value, while the
right subtree contains nodes whose keys are greater than or equal to the node’s key
co
value. Moreover, both subtrees are also binary search trees.
s.
le
70) What are multidimensional arrays? irc
Multidimensional arrays make use of multiple indexes to store data. It is useful when
sc
storing data that cannot be represented using single dimensional indexing, such as data
representation in a board game, tables with data stored in more than one column.
nt
de
It depends on where you intend to apply linked lists. If you based it on storage, a linked
list is considered non-linear. On the other hand, if you based it on access strategies, then
.s
Apart from being able to store simple structured data types, dynamic memory allocation
can combine separately allocated structured blocks to form composite structures that
expand and contract as needed.
FIFO stands for First-in, First-out, and is used to represent how data is accessed in a
queue. Data has been inserted into the queue list the longest is the one that is removed
first.
An ordered list is a list in which each node’s position in the list is determined by the
m
value of its key component, so that the key values form an increasing sequence, as the
list is traversed.
co
s.
75) What is merge sort?
le
Merge sort, is a divide-and-conquer approach for sorting the data. In a sequence of
irc
data, adjacent ones are merged and sorted to create bigger sorted lists. These sorted
sc
lists are then merged again to form an even bigger sorted list, which continues until you
have one single sorted list.
nt
de
Null is a value, whereas Void is a data type identifier. A variable that is given a Null value
indicates an empty value. The void is used to identify pointers as having no initial size.
.s
w
77)
w
A linked list is an ideal data structure because it can be modified easily. This means that
editing a linked list works regardless of how many elements are in the list.
Pushing and popping applies to the way data is stored and retrieved in a stack. A push
denotes data being added to it, meaning data is being “pushed” into the stack. On the
Prepared by: Ex. TATA EMPLOYEE “PRATIK SHRIVASTAVA”
COMPREHENSIVE INTERVIEW MATERIAL DESIGNED BY STUDENTS CIRCLES
other hand, a pop denotes data retrieval, and in particular, refers to the topmost data
being accessed.
A linear search refers to the way a target key is being searched in a sequential data
structure. In this method, each element in the list is checked and compared against the
m
target key. The process is repeated until found or if the end of the file has been reached.
co
80) How does variable declaration affect memory allocation?
s.
le
The amount of memory to be allocated or reserved would depend on the data type of
the variable being declared. For example, if a variable is declared to be of integer type,
irc
then 32 bits of memory storage will be reserved for that variable.
sc
81)
nt
The heap is more flexible than the stack. That’s because memory space for the heap can
be dynamically allocated and de-allocated as needed. However, the memory of the heap
tu
A postfix expression is an expression in which each operator follows its operands. The
w
Data abstraction is a powerful tool for breaking down complex data problems into
manageable chunks. This is applied by initially specifying the data objects involved and
Prepared by: Ex. TATA EMPLOYEE “PRATIK SHRIVASTAVA”
COMPREHENSIVE INTERVIEW MATERIAL DESIGNED BY STUDENTS CIRCLES
the operations to be performed on these data objects without being overly concerned
with how the data objects will be represented and stored in memory.
Assuming that the data to be inserted is a unique value (that is, not an existing entry in
the tree), check first if the tree is empty. If it’s empty, just insert the new item in the root
m
node. If it’s not empty, refer to the new item’s key. If it’s smaller than the root’s key,
insert it into the root’s left subtree, otherwise, insert it into the root’s right subtree.
co
85) How does a selection sort work for an array?
s.
The selection sort is a fairly intuitive sorting algorithm, though not necessarily efficient.
le
In this process, the smallest element is first located and switched with the element at
irc
subscript zero, thereby placing the smallest element in the first position.
sc
The smallest element remaining in the subarray is then located next to subscripts 1
through n-1 and switched with the element at subscript 1, thereby placing the second
nt
smallest element in the second position. The steps are repeated in the same manner till
de
In the case of signed numbers, the first bit is used to indicate whether positive or
w
negative, which leaves you with one bit short. With unsigned numbers, you have all bits
w
available for that number. The effect is best seen in the number range (an unsigned 8-bit
w
number has a range 0-255, while the 8-bit signed number has a range -128 to +127.
87) What is the minimum number of nodes that a binary tree can have?
A binary tree can have a minimum of zero nodes, which occurs when the nodes have
NULL values. Furthermore, a binary tree can also have 1 or 2 nodes.
Dynamic data structures are structures that expand and contract as a program runs. It
provides a flexible means of manipulating data because it can adjust according to the
size of the data.
m
89) In what data structures are pointers applied?
co
Pointers that are used in linked list have various applications in the data structure. Data
structures that make use of this concept include the Stack, Queue, Linked List and Binary
s.
Tree.
le
irc
90) Do all declaration statements result in a fixed reservation in memory?
sc
Most declarations do, with the exemption of pointers. Pointer declaration does not
nt
allocate memory for data, but for the address of the pointer variable. Actual memory
allocation for the data comes during run-time.
de
tu
When dealing with arrays, data is stored and retrieved using an index that refers to the
w
element number in the data sequence. This means that data can be accessed in any
w
The minimum number of queues needed in this case is two. One queue is intended for
sorting priorities while the other queue is used for actual storage of data.
There are many types of sorting algorithms: quick sort, bubble sort, balloon sort, radix
sort, merge sort, etc. Not one can be considered the fastest because each algorithm is
designed for a particular data structure and data set. It would depend on the data set
that you would want to sort.
m
94)
co
Differentiate STACK from ARRAY.
Stack follows a LIFO pattern. It means that data access follows a sequence wherein the
s.
last data to be stored when the first one to be extracted. Arrays, on the other hand, does
le
not follow a particular order and instead can be accessed by referring to the indexed
irc
element within the array.
sc
if the tree is empty, then the target is not in the tree, end search
de
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
.s
A bubble sort is one sorting technique that can be applied to data structures such as an
array. It works by comparing adjacent elements and exchanges their values if they are
out of order. This method lets the smaller values “bubble” to the top of the list, while
the larger value sinks to the bottom.
m
having local servers or personal devices to handle applications.
co
In its most simple description, cloud computing is taking services ("cloud services") and moving
them outside an organization's firewall. Applications, storage and other services are accessed
s.
via the Web. The services are delivered and used over the Internet and are paid for by the cloud
le
customer on an as-needed or pay-per-use business model.
irc
99) Explain the concept of IOT ?
sc
The internet of things, or IoT, is a system of interrelated computing devices, mechanical and
digital machines, objects, animals or people that are provided with unique identifiers (UIDs) and
nt
the ability to transfer data over a network without requiring human-to-human or human-to-
de
computer interaction.
tu
Machine learning is an application of artificial intelligence (AI) that provides systems the
ability to automatically learn and improve from experience without being explicitly
w
The process of learning begins with observations or data, such as examples, direct
experience, or instruction, in order to look for patterns in data and make better decisions in
the future based on the examples that we provide. The primary aim is to allow the
computers learn automatically without human intervention or assistance and adjust actions
accordingly.
Interview Experiences:
m
Interview Experiences of Our Students Nikhil t:
HR TEAM came to my college RVR JC
co
i went to 8 am in my bus
and interviews started from 9 am
s.
upto 1:30 pm all the girls were interviewed
as all know there will be tr , mr (skype) and hr(direct face 2 face)
le
my friends asked few girls about the interview procedure and questions
i didnot ask becoz i am full shy to ask , anyway thats different from current topic
irc
they told few questions
Q1. what are diff between c c++ java and java python ?
sc
Q2. what is abstraction polymorphism etc on oops concepts
Q3. basic questions blah blah blah
nt
m
interview had went like this
co
TR : tell me about yourself
me : i had introduced my self and my hands started shivering
s.
TR : what languages do you know?
le
me : basics in C , JAVA and intermediate in python
me : i had written in python which took 3 lines and in c i took 5 -10 min and showed
them
de
sql basics also ,eventually persons will actually grasp the second word than first word )
w
me : i answered
TR : in IOT
my mind started shivering becoz i am not an ece guy and i dont know about IOT
i waited for him to complete the question
TR : in IOT , we are about to use IPv6 addresses , what do you know about them ?
now my mind was so happy as i know networking
m
i answered in depth somewhat
co
TR : what is webservices?
me : i answered
s.
TR : ok naga sai nikhil thank you
le
i was shocked and feared if they mean "YOU CAN LEAVE FOR TODAY "
Ccoming to HR
nt
one thing i tell you friends is to put your projects remember this line
tu
.s
changed
w
m
"tell me abot tcs?"
"why should we hire you?"
co
"will you leave tcs if you got some better company?"
i promise and telling you there are no shit questions like this in any of the rounds
s.
THE REASON IS
le
my projects :)
irc
put on your projects in your resume even you didnot complete that project
i dont have latest trend like machine learning, big data and others
i am only good at basics and cyber security( i didnot tell it to TR because i lost my
sc
codevita interview because of this )
nt
5. If any other It company offers more package like Google will you stick with Tcs or else
will you move to that company?
w
m
#TCS NQT interview Experience 2
co
tcs nqt interview questions & experiences
Attended TCS NQT off-campus for 2018 batch & got selected.
s.
There was one round of interview only which combined Technical, HR, MR rounds.
Questions were based on my core branch which is Electrical. All of them were basic
le
questions like what is your fav subject, what is an induction motor, its applications, etc.
Some questions were from programming like write a program to print Fibonacci series.
irc
Some HR questions were like – Are you willing to relocate, Are you okay with night shifts etc.
Imp points to note down:
Never lie anything in your application form or resume.
sc
Whether you know anything or not, don’t stay calm in the interview.
Smile more, be bold, be positive. They never hire candidates who are always serious and
nt
band to shoes). –
If you are cross-questioned at one of your lies, its better to tell the truth.
Do full research about the company before the interview.
tu
you try, nothing gonna happen. So, the bottom line is that do your best, don’t worry about
the result.
w
Also, in the online test, I was asked this coding question – Write a Program to count the
w
number of vowels and consonants in the word taken as an input by the user.
m
Example of merge sort.
How to count the elements of a String?
co
Basics about structure, linked list, queue.
The HR interview went for only 5 mins and they asked me only 3 questions: 1) relocation 2)
s.
background check and 3) serviceability bond.
le
#TCS NQT interview Experience 5
Attended TCS NQT in 2018 irc
First of all, they asked me to introduce about myself. I said I’m confident in C, C++, JAVA,
DBMS. After that a few technical questions were asked.
What is Dangling Pointer?
sc
Basic SQL queries?
C program to check whether a number is prime?
nt
Hyderabad. For me all the three round (TR, MR, HR) were held in one round with 3
interviewers. They asked me questions on C and JAVA as I said I am trained on those
w
languages. Prepare all the basics of languages mentioned in your resume and be prepared
on each and every line of your resume. If u think u can’t answer for a question on your
w
• JVM
• Prime number program
• Many questions on java (I don’t remember some of them)
• If you are okay with relocation, then why didn’t u choose to do engineering in some
other state?
• Difference between 2 stroke and 4 stroke Difference
m
2. What is command line argument?
3. Advantages of a macro over a function?
co
4. What are the different storage classes in C?
5. Which header file should you include if you are to develop a function which can
s.
accept a variable number of arguments?
6. What is cache memory?
le
7. What is debugger?
8. Const char *p , char const *p What is the difference between the above two?
9. What is Memory Alignment?
irc
10. Explain the difference between 'operator new' and the 'new' operator?
11. Difference between delete and delete[]?
sc
12. What is conversion constructor?
13. What is a spanning Tree?
nt
14. Why should we use data warehousing and how can you extract data for analysis
with an example?
de
15. Explain recursive function & what is the data structures used to perform
recursion?
16. Differentiate between Compiler and Interpreter?
tu
32. If you are a Team Leader and one of your assistant is not working up to the mark
and due to him/her, the project is being delayed. How will you handle this situation?
33. Are you comfortable working in night shift? (Following questions were asked by
HR guy).
34. Are you ok with the 2-year bond?
35. Why do you want to join TCS?
36.How can volte work in a 4G mobile?
37.What is an IP address?
38. What is Cloud Computing?
39. Explain types of protocols.
40. What are your strengths and weaknesses?
m
41. How to connect nine dots using three straight lines?
co
Sample Interview Experience by Student for TCS
Type of Interview: On-Campus Interview
s.
Student Interview
Round 2: Interview Round
le
Technical Questions
Some of the questions asked in this section were:
irc
• What are the properties of intrinsic semiconductor?
• What is modulation and its types?
• What is the difference between electronics and electricals?
sc
• What is the difference between C and C++?
• What is OOPS?
nt
m
HR INTERVIEW QUESTIONS AND ANSWERS:
Q1. Tell me about yourself.
co
Hello sir, madam good morning /afternoon/evening.
I am Shilpa from Shimla.
s.
Recently, I have completed my graduation ( BTech) in electronics and communication
engineering from RGIT.
le
I have done my schooling from girls high school with 9.7 cgpa.
I have done my intermediate from Nalanda I have secured 94%.
irc
My father is an electrician, my mother is a teacher, I have one brother.
My strength is I am highly determined to fulfil my goals.
My role model is my parents.
sc
My hobbies are reading books, playing indoor games.
My short-term goal is to get a job in a reputed company and my long term goal is to
nt
interview questions and answers round. You will not be left with enough time to sell your
experience and relevant technical skills
.s
As a fresher, I am having less practical knowledge but have the ability to grab things quickly
and I believe in improving myself day to day is key of my success and growth of the company.
w
I will be working with full efficiency and getting work done at the assigned time.
w
to maintain your performance and develop strategies to deliver under pressure. You can then
go ahead an talk about your way of dealing with pressure and performing under it.
Relate with a problem which looks real: My mother was not well and my father was out of
station during my exam. I had the pressure of Exam and I had to take care of my mother also,
but still I performed well and I managed to get x% in 10th/12th/Graduation.
m
Yeah, it will be cherry on cake because travelling is my hobby. So a new place new friend a
new environment and new working location. It's amazing because change is necessary, and I
co
believe in change.
Note: Never Ever say no for any questions, they are not going to send you immediately. They
s.
are checking your patience level.
le
Q7. Where do you see yourself five years from now?
After 5 years, I would be in more professional and better than what I am now.
irc
I also would like to lead the team and make an ideal for my team members.
And also be make myself confidence and trustable employee as a company expect from me.
Note : don’t say that I will become MD and CEO of the company and will replace you.
sc
According to me, the creativity is not only making new things but also in the improvement of
existing things. Some people think that doing different things is creativity, But I don't think so.
de
It totally depends upon the situation. If lying is the last option to tackle the situation for my
company I have to do it but only if it is the last, otherwise I will use my creativity to deal with
the situation because in life we always have the second option. We just need to find it and
make it count.
m
Q15. Do you have any questions for me?
Thanks sir for giving me this opportunity to ask you a question.
co
I want to know more about this job profile, and if anything I can learn/improve which can
benefit the company.
s.
Q16. Are not you overqualified for this position?
le
No sir/madam, I don't think I am overqualified for this job, in my opinion, qualification does
not come with theoretical knowledge and experience makes you more qualified because
irc
analyzing the situation in real time makes us more prominent.And when it comes to
knowledge learning never ends.
sc
17. What is the difference between hard work and smart work?
HARD WORK : GIVES EXPERIENCE.
nt
overconfidence.
" Trusting yourself "- confidence, " Underestimating others "- overconfidence.
.s
A person is confident when he know the fact better, A person is overconfident when he know
the facts better than others.
w
Q18.If you won $20 million lottery, would you still work?
w
Yes! Money does not give us experience but work does. And this money will be over one day
but our experience of doing work is not.
w
If I got $10 million lottery then ill save it for business in future. Firstly, I'll get all the skills,
knowledge, business strategies and marketing form doing a job in reputed company like yours.
After getting all skills then I'll be thinking about business.
m
About TCS:
Founded : 1968, 51 years ago
co
Headquarters: Mumbai, Maharashtra, India
Founder: Tata Sons, FC Kohli
s.
Number of Employees: 424,285
Revenue : US$20.9 billion
le
Services : OutSourcing ,Consulting ,Managed Services.
irc
ELECTRONICS ENGINEERING QUESTIONS for SOFTWARE COMPANIES:
Questions: What is Microcontroller and Microprocessor? Name a microcontroller and a
sc
microprocessor?
nt
Microcontroller
They are a whole complete system in themselves (maybe sometimes specific Operating
de
System too). They consist of Processing Unit, RAM, ROM, other external peripherals.
They generally have Harvard Architecture.
The processing speed is comparatively slow.
tu
Microprocessor:
They only consist of the Processing Unit. They don't have peripherals included in them.
w
m
Q5. What Is Op--amp?
An operational amplifier, often called an op--amp , is a DCcoupled high -gain electronic voltage
co
amplifier with differential inputs and, usually, a single output. Typically the output of the
op-amp is controlled either by negative feedback, which largely determines the magnitude of its
s.
output voltage gain, or by positive feedback, which facilitates regenerative gain and oscillation.
le
Q6. What Is Transistor?
In electronics, a transistor is a semiconductor device commonly used to amplify or switch
irc
electronic signals. The transistor is the fundamental building block of computers, and all other
modernelectronic devices. Some transistors are packaged individually but most are found in
integrated circuits.
sc
In electronics, a diode is a two-terminal device. Diodes have two active electrodes between
which the signal of interest may flow, and most are used for their unidirectional current
de
property.
A substance, body, or device that readily conducts heat, electricity, sound, etc. Copper is a good
conductor of electricity.
w
“charging”, and involves electric charges of equal magnitude, but opposite polarity, building up
on each plate.
Capacitors are often used in electric and electronic circuits asenergy-storage devices. They can
also be used to differentiate between high-frequency and low-frequency signals. This property
makes them useful in electronic filters.
m
voltage of the alternating current is positive, the diode becomes forwardbiased and current
flows through it. When the voltage is negative, the diode is reverse-biased and the current
co
stops.
s.
Q13. What Is An Integrated Circuit?
An integrated circuit (IC), also called a microchip, is an electronic circuit etched onto a silicon
le
chip. Their main advantages are low cost, low power, high performance, and very small size.
back) to the input. This is often used to control the dynamic behaviour of the system.
Types of feedback:
tu
Negative feedback: This tends to reduce output (but in amplifiers, stabilizes and linearizes
.s
operation). Negative feedback feeds part of a system’s output, inverted, into the system’s
input; generally with the result that fluctuations are attenuated.
w
Positive feedback: This tends to increase output. Positive feedback, sometimes referred to as
w
internal mechanisms) in the same direction as the perturbation. In contrast, a system that
responds to the perturbation in the opposite direction is called a negative feedback system.
modems have a switch that lets you choose between full-duplex and half-duplex modes. The
choice depends on whichcommunications program you are running.
In full-duplex mode, data you transmit does not appear on yourscreen until it has been received
and sent back by the other party. This enables you to validate that the data has been accurately
transmitted. If your display screen shows two of each character, it probably means that your
modem is set to half-duplex mode when it should be in full-duplex mode.
m
“Oscillations will not be sustained if, at the oscillator frequency, the magnitude of the product
co
of the transfer gain of the amplifier and the magnitude of the feedback factor of the feedback
network ( the magnitude of the loop gain ) are less than unity”.
s.
The condition of unity loop gain Aβ = 1 is called the Barkhausencriterion. This condition implies
le
that | Aβ|= 1and that the phase of – Aβ is zero.
Code division multiple access (CDMA) is a channel access methodutilized by various radio
communication technologies. CDMA employsspread-spectrum technology and a special coding
scheme (where each transmitter is assigned a code) to allow multiple users to be multiplexed
tu
over the same physical channel. By contrast, time division multiple access (TDMA) divides
access by time, whilefrequency-division multiple access (FDMA) divides it byfrequency.
.s
An analogy to the problem of multiple access is a room (channel) in which people wish to
w
communicate with each other. To avoid confusion, people could take turns speaking (time
division), speak at different pitches (frequency division), or speak in different directions (spatial
w
division).
w
In CDMA, they would speak different languages. People speaking the same language can
understand each other, but not other people. Similarly, in radio CDMA, each group of users is
given a shared code. Many codes occupy the same channel, but only users associated with a
particular code can understand each other.
m
Examples: Computer, radio, T.V, etc…
co
Electric devices use line voltage (120vAC, 240vAC, etc…).Electric devices can also be designed to
operate on DC sources, but will be at DC voltages above 48v.
s.
Examples: incandescent lights, heaters, fridge, stove, etc…
le
Read About Sampling theorem,Base station, Antenna, 3G/4G/5G.
irc
MECHNAICAL BRANCH INTERVIEW QUESTIONS:
Q1. What Is Extrued Aluminum?
sc
Extrusion is the process where a metal or a metal bar is pulled through a mandrel to elongate it
and/or give it a final shape.
nt
Extruded Aluminum is a common form of making small aluminum wire, bars or beams and many
varieties of small non-structural, decorative pieces.
de
Knurling is a machining process normally carried our on a centre lathe. The act of Knurling
creates a raised criss-cross pattern on a smooth round bar that could be used as a handle or
w
Continued supply of electricity to the system causes heat to build in the compressor. This heat
will eventually vaporize the refrigerant and rapidly increase system pressure. If, for any reason,
the thermal protector fails to open the electrical circuit, system pressure can raise to high
enough levels to cause a compressor-housing explosion.
Q6. Will A Steel Cable Become Longer If It Is Heated While Under Load?
Even the heaviest steel cables stretch under load, whether they heat or not. Heating the cable
will certainly elongate it. Friction caused by guides or pulleys can greatly increase the
temperature of a cable under load.
You might consider the possibility of total failure if the heat is high enough and I am not sure
m
but the cable might act in unpredictable ways when it fails. Applying heat to a steel cable under
load is probably dangerous to your health and the health of anyone nearby.
co
When steel is heated, steel expands. It does not need to be under load. That is the reason that
in the old days before advanced electronics and optics surveyors used chains rather than cables
s.
for measuring land. Had they used cable they would have gotten different measurements in
summer and winter based on the difference in temperature and the coefficient of expansion of
le
the material. The coefficient of expansion is a number that informs just how much a given
material will expand or contract for a given change in temperature.
irc
To find the coefficient of expansion and other interesting information consult a materials
handbook, available in better libraries or your local college of engineering. Another example of
expanding steel and the necessity for dealing with this characteristic is the overlapping slip joint
sc
found on bridges that allows horizontal structural members to expand and contract without
damaging the bridge.
nt
The medal was created in 1969, designed by Congress for "any astronaut who in the
performance of his duties has distinguished himself by exceptionally meritorious efforts and
contributions to the welfare of the Nation and mankind.
tu
There are actually 3 Laws of Thermodynamics (the actual number is debatable, but the number
ranges from 3-5, depending on your adding skills).
w
A Force applied to an object will cause a displacement. Strain is effectively a measure of this
displacement (change in length divided by original length).
w
Stress is the Force applied divided by the area it is applied. (E.g. pounds per square inch)
Therefore, to answer the question, the applied force produces both “Stress and Strain”. “Stress
and Strain” are linked together by various material properties such as Poisson's ratio and
Young's Modulus.
Superchargers are powered by the engines crankshaft, which is connected usually by a belt
drive. This rotational power turns a fan, which sucks air into the intake manifold similar in effect
to turbochargers, with reduced lag. However, superchargers take more energy out the engine,
so swings and roundabouts.
Q11. Why Do The Radiators In Your House Click When You Start The Heating System?
They are clicking because they are heating up. The heat causes expansion and that is why you
hear clicking.
Q12. How Can I See Where Pipes Are Behind The Wall?
By using radio waves.
m
co
Q13. How Are The Pneumatic System And The Hydraulic System Similar?
Pneumatics use gases such as air or nitrogen, hydraulics use oil or water, both systems use
s.
pressure to act on a specific application.
le
Q14. What Is The Difference Between An Electric Motor And An Electric Generator?
There is no fundamental difference between an electric motor and an electric generator or
irc
dynamo. In normal use, all motors behave as generators, and all generators behave as motors.
DC Motors act like generators because they use less electrical energy when allowed to spin fast.
DC generators act like motors because they become easier to spin when less electrical energy is
sc
drawn from their terminals.
For example, connect two small DC magnet motors together. Then if you spin the shaft of the
nt
first motor, the second motor's shaft will start spinning too. One acts as a DC generator, and the
other acts as a DC motor. Alternatively, spin the second one's shaft, and the first one will start
de
spinning.
Another example: If you connect a small DC motor to a small battery, then an electric current
will appear in the motor's coils, and the motor starts spinning. However, if you spin the motor's
tu
shaft slightly faster than the normal speed, the direction of current in the circuit will reverse,
and the battery starts taking in energy from the motor. The motor has become a generator, and
.s
used in submarines.
Maintenance, repair and operations (MRO)
w
Q17.is Pipe Round Because It Provides The Least Area To Volume Ratio?
More likely because it is easier to manufacture, much easier to put threads on, you do not have
to worry about orientation when you put them together, and they have no weak spots created
by corners.
My gutter pipes are rectangular because they do not stick out as far from the house as a circular
one with the same area. However, they are low enough in the pressure they contain that they
can be formed from sheet metal with a crimped seam. Making a water supply pipe, that way
would be impossible.
In addition, it is easy to keep them aligned to the house. Running a rectangular water main
under a street would be a major pain.
Solar Water Pumps Interview Questions
m
Q18.How Does Hydraulics Work?
A positive displacement pump (gear, vane, or piston pump) is driven by a prime mover
co
(Electrical Motor or Engine) it sucks fluid from reservoir and delivers oil to system. During
loading, a resistance to flow creates the pressure, which is utilized to do the work through
s.
cylinder for linear motion, or through hydraulic motor for rotary motion, Direction of flow is
changed with help of direction control valve & system pressure is regulated by pressure control
le
valve & flow is regulated by flow control valve.
irc
Q19.What Is The Difference Between Hydraulic Oil And Engine Oil?
Both the hydraulic and engine oils are made from base oils with additives mixed in. The
additives used change the characteristics of the oils so that they function differently.
sc
Generally, hydraulic oils (final product including additives) are expected to have very low
compressibility and very predictable friction and viscosity stability under pressure.
nt
Generally engine oils (Engine Lubrication Oils anyway) are intended to have high resistance to
heat (degradation including chemical and viscosity due to heat) resistance to burning and
de
Base oils are most commonly petroleum oil bases due to cost, but other bases oil can be used
including mineral oils (especially for hydraulic oils) and plant oils (especially for engine oils) and
.s
Momentum is the velocity of an object times it is mass, or how fast something is moving how
much it weigh. Therefore, angular momentum is the objects mass times the angular velocity
w
where angular velocity is how fast something is rotating expressed in terms like revolutions per
minute or radians per second or degrees per second
A function cannot enable a task; a task can enable other tasks or functions.
A function shall have at least one input type argument and shall not have an output or inout
type argument;a task can have zero or more arguments of any type.
A function shall return a single value; a task shall not return a value.
m
Q3.What Is “pu” In Electrical Engineering?
co
Pu stands for per unit and this will be used in single line diagram of power distribution and it is
like a huge electrical circuit with no of components (generators, transformers, loads) with
s.
different ratings (in MVA and KV). To bring all the ratings into common platform we use pu
concept in which, in general largest MVA and KV ratings of the component is considered as base
le
values, then all other component ratings will get back into this basis.Those values are called as
pu values. irc
Q4.Why Link Is Provided In Neutral Of An Ac Circuit And Fuse In Phase Of Ac Circuit?
Link is provided at a Neutral common point in the circuit from which various connection are
sc
taken for the individual control circuit and so it is given in a link form to withstand high Amps.
But in the case of Fuse in the Phase of AC circuit it is designed such that the fuse rating is
nt
calculated for the particular circuit (i.e load) only.So if any malfunction happen the fuse
connected in the particular control circuit alone will blow off.
de
supply is provided ,the starter will interrupt the supply cycle of AC. Due to the sudden change of
supply the chock will generate around 1000volts . This volt will capable of to break the electrons
.s
inside the tube to make electron flow. once the current passes through the tube the starter
circuit will be out of part. now there is no change of supply causes choke voltage normalized
w
series.It is used when voltage required for testing is higher than the available
Q8.Why Human Body Feel Electric Shock ?? N In An electric Train During Running , We Did Nt
Feel Any shock ? Why?
Prepared by: Ex. TATA EMPLOYEE “PRATIK SHRIVASTAVA”
COMPREHENSIVE INTERVIEW MATERIAL DESIGNED BY STUDENTS CIRCLES
Unfortunately our body is a pretty good conductor of electricity, The golden rule is Current
takes the lowest resistant path if you have insulation to our feet as the circuit is not complete
(wearing rubber footwear which doing some repairs is advisable as our footwear is a high
resistance path not much current flows through our body).The electric train is well insulated
from its electrical system.
Q10. Why, When Birds Sit On Transmission Lines Or Current Wires Doesn’t Get Shock?
m
Its true that if birds touch the single one line (phase or neutral) they don’t get electrical shock…
if birds touch 2 lines than the circuit is closed and they get electrical shock.. so if a human touch
co
single one line(phase) then he doesn’t get shock if he is in the air (not touching – standing on
the ground if he is standing on the ground then touching the line (phase) he will get a shock
s.
because the ground on what we standing is like line (ground bed – like neutral)? and in the
most of electric lines the neutral is grounded..so that means that human who touch the line
le
closes the circuit between phase and neutral.
irc
Q11.What Happen If We Give 220 Volts Dc Supply To D Bulb R Tube Light?
Bulbs [devices] for AC are designed to operate such that it offers high impedance to AC supply.
Normally they have low resistance. When DC supply is applied, due to low resistance, the
sc
current through lamp would be so high that it may damage the bulb element.
nt
Q12. Which Motor Has High Starting Torque And Staring Current Dc Motor, Induction Motor
Or Synchronous Motor?
de
DC Series motor has high starting torque. We can not start the Induction motor and
Synchronous motors on load, but can not start the DC series motor without load.
tu
distribution.
w
Q14. What Will Happen When Power Factor Is Leading In Distribution Of Power?
If their is high power factor, i.e if the power factor is close to one:
w
Q15. What Is The One Main Difference Between Ups & Inverter ? And Electrical Engineering &
Electronics Engineering ?
uninterrupt power supply is mainly use for short time .means according to ups VA it gives
backup.
ups is also two types :
on line.
offline.
online ups having high volt and amp for long time backup with with high dc voltage.but ups
start with 2v dc with 7 amp. but inverter is startwith 2v,24,dc to 36v dc and 20amp to 80amp
battery with long time backup.
m
Power factor should be high in order to get smooth operation of the system.Low power factor
means losses will be more.it is the ratio of true power to apparent power. it has to be ideally 1.
co
if it is too low then cable over heating & equipment overloading will occur.
if it is greater than 1 then load will act as capacitor and starts feeding the source and will cause
s.
tripping.(if pf is poor ex: 0.17 to meet actual power load has to draw more current(V
constant),result in more losses if pf is good.
le
ex: 0.95 to meet actual power load has to draw less current(V constant),result in less losses).
irc
Q18. There Are A Transformer And An Induction Machine. Those Two Have The Same Supply.
For Which Device The Load Current Will Be Maximum? And Why?
The motor has max load current compare to that of transformer because the motor consumes
sc
real power.. and the transformer is only producing the working flux and its not consuming..
hence the load current in the transformer is because of core loss so it is minimum.
nt
Circuit Breaker is one which makes or breaks the circuit.It has two contacts namely fixed
contact & moving contact.under normal condition the moving contact comes in contact with
fixed contact thereby forming the closed contact for the flow of current. During abnormal &
tu
faulty conditions(when current exceeds the rated value) an arc is produced between the fixed &
moving contacts & thereby it forms the open circuitArc is extinguished by the Arc Quenching
.s
Q24. What Is The Difference Between Surge Arrestor And Lightning Arrestor?
LA is installed outside and the effect of lightning is grounded,where as surge arrestor installed
m
inside panels comprising of resistors which consumes the energy and nullify the effect of surge.
co
Q25. Why Use The Vcb At High Transmission System ? Why Can’t Use Acb?
Actually the thing is vacuum has high arc queching property compare to air because in VCB ,the
s.
die electric strengths equal to 8 times of air . That is y always vaccum used as in HT breaker and
air used as in LT .
le
Q26. Difference Between A Four Point Starter And Three Point Starter?
irc
The shunt connection in four point stater is provided separately form the line where as in three
point stater it is connected with line which is the drawback in three point stater.
sc
OPERATING SYSTEM QUESTIONS:
1) Explain the main purpose of an operating system?
nt
Operating systems exist for two main purposes. One is that it is designed to make sure a
computer system performs well by managing its computational activities. Another is that it
de
Demand paging is referred when not all of a process’s pages are in the RAM, then the OS brings
the missing(and required) pages from the disk into the RAM.
.s
as well.
w
4) What is kernel?
A kernel is the core of every operating system. It connects applications to the actual processing
of data. It also manages all communications between software and hardware components to
ensure usability and reliability.
Virtual memory is a memory management technique for letting processes execute outside of
memory. This is very useful especially is an executing program cannot fit in the physical
memory.
m
is running.
co
9) What is SMP?
SMP is a short form of Symmetric Multi-Processing. It is the most common type of multiple-
s.
processor systems. In this system, each processor runs an identical copy of the operating
system, and these copies communicate with one another as needed.
le
10) How are server systems classified? irc
Server systems can be classified as either computer-server systems or file server systems. In the
first case, an interface is made available for clients to send requests to perform an action. In the
second case, provisions are available for clients to create, access and update files.
sc
In asymmetric clustering, a machine is in a state known as hot standby mode where it does
nothing but to monitor the active server. That machine takes the active server’s role should the
de
server fails.
A thread is a basic unit of CPU utilization. In general, a thread is composed of a thread ID,
program counter, register set, and the stack.
.s
– economy
– utilization of multiprocessing architecture
w
16) What are necessary conditions which can lead to a deadlock situation in a system?
Deadlock situations occur when four conditions occur simultaneously in a system: Mutual
exclusion; Hold and Wait; No preemption; and Circular wait.
m
RAID 5 – Block-interleaved distributed Parity
RAID 6 – P+Q Redundancy
co
18) Describe Banker’s algorithm
s.
Banker’s algorithm is one form of deadlock-avoidance in a system. It gets its name from a
banking system wherein the bank never allocates available cash in such a way that it can no
le
longer satisfy the needs of all of its customers.
irc
19) What factors determine whether a detection-algorithm must be utilized in a deadlock
avoidance system?
One is that it depends on how often a deadlock is likely to occur under the implementation of
sc
this algorithm. The other has to do with how many processes will be affected by deadlock when
this algorithm is applied.
nt
20) State the main difference between logical from physical address space.
de
Logical address refers to the address that is generated by the CPU. On the other hand, physical
address refers to the address that is seen by the memory unit.
tu
21) How does dynamic loading aid in better memory space utilization?
With dynamic loading, a routine is not loaded until it is called. This method is especially useful
.s
when large amounts of code are needed in order to handle infrequently occurring cases such as
error routines.
w
Overlays are used to enable a process to be larger than the amount of memory allocated to it.
The basic idea of this is that only instructions and data that are needed at any given time are
w
kept in memory.
Fragmentation is memory wasted. It can be internal if we are dealing with systems that have
fixed-sized allocation units, or external if we are dealing with systems that have variable-sized
allocation units.
m
– Running – means instructions are being executed
– Waiting – means a process is waiting for certain conditions or events to occur
co
– Ready – means a process is waiting for an instruction from the main processor
– Terminate – means a process is stopped abruptly
s.
27) What is a socket?
le
A socket provides a connection between two applications. Each endpoint of a communication is
a socket. irc
28) What is Direct Access Method?
Direct Access method is based on a disk model of a file, such that it is viewed as a numbered
sc
sequence of blocks or records. It allows arbitrary blocks to be read or written. Direct access is
advantageous when accessing large amounts of information.
nt
Thrashing refers to an instance of high paging activity. This happens when it is spending more
time paging instead of executing.
tu
30) What is the best page size when designing an operating system?
The best paging size varies from system to system, so there is no single best when it comes to
.s
page size. There are different factors to consider in order to come up with a suitable page size,
such as page table, paging time, and its effect on the overall efficiency of the operating system.
w
w
31) When designing the file structure for an operating system, what attributes are
considered?
w
Typically, the different attributes for a file structure are naming, identifier, supported file types,
and location for the files, size, and level of protection.
Device drivers provide a standard means of representing I/O devices that maybe manufactured
by different companies. This prevents conflicts whenever such devices are incorporated in a
systems unit.
35) What are the different types of CPU registers in a typical operating system design?
– Accumulators
m
– Index Registers
– Stack Pointer
co
– General Purpose Registers
s.
36) What is the purpose of an I/O status information?
I/O status information provides information about which I/O devices are to be allocated for a
le
particular process. It also shows which files are opened, and other I/O device state.
results. Many seasoned computer users are well accustomed to using the command line
because they find it quicker and simpler.
However, the main problem with a command line interface is that users have to be familiar with
tu
the commands, including the switches and parameters that come with it. This is a downside for
people who are not fond of memorizing commands.
.s
Caching is the processing of utilizing a region of fast memory for a limited data and process. A
cache memory is usually much efficient because of its high access speed.
w
Spooling is normally associated with printing. When different applications want to send an
output to the printer at the same time, spooling takes all of these print jobs into a disk file and
queues them accordingly to the printer.
Interrupts are part of a hardware mechanism that sends a notification to the CPU when it wants
to gain access to a particular resource. An interrupt handler receives this interrupt signal and
“tells” the processor to take action based on the interrupt request.
m
Preemptive multitasking allows an operating system to switch between software programs.
This, in turn, allows multiple programs to run without necessarily taking complete control over
co
the processor and resulting in system crashes.
s.
45) Why partitioning and formatting is a prerequisite to installing an operating system?
Partitioning and formatting create a preparatory environment on the drive so that the
le
operating system can be copied and installed properly. This includes allocating space on the
drive, designating a drive name, determining and creating the appropriate file system and
irc
structure.
Internal commands are built-in commands that are already part of the operating system.
External commands are separate file programs that are stored in a separate folder or directory.
w
49) Under DOS, what command will you type when you want to list down the files in a
w
directory, and at the same time pause after every screen output?
a) dir /w
w
b) dir /p
c) dir /s
d) dir /w /p
Answer: d) dir /w /p
50) How would a file name EXAMPLEFILE.TXT appear when viewed under the DOS command
console operating in Windows 98?
The filename would appear as EXAMPL~1.TXT . The reason behind this is that filenames under
this operating system are limited to 8 characters when working under DOS environment.
Prepared by: Ex. TATA EMPLOYEE “PRATIK SHRIVASTAVA”
COMPREHENSIVE INTERVIEW MATERIAL DESIGNED BY STUDENTS CIRCLES
m
53) Explain what is Unity in Ubuntu? How can you add new entries to the launcher?
co
In Ubuntu, Unity is the default graphical shell. On the left side of the Ubuntu, it introduces the
launcher and Dash to start programs.
s.
In order to add new entries to the launcher, you can create a file name like .desktop and then
drag the file on the launcher.
le
54) Explain the purpose of using a libaio package in Ubuntu?
irc
Libaio is Linux Kernel Asynchronous I/O (A/O). A/O allows even a single application thread to
overlap I/O operations with other processing, by providing an interface for submitting one or
more I/O requests in one system call without waiting for completion. And a separate interface
sc
to reap completed I/O operations associated with a given completion group.
nt
Auto-hide the launcher: You can use this option to reveal the launcher when moving the pointer
to the defined hot spot.
Enable workspaces: By checking this option, you can enable workspace
tu
Add show desktop icon to the launcher: This option is used to display the desktop icon on the
launcher
.s
Export is a command in Bash shell language. When you try to set a variable, it is visible or
exported to any subprocess started from that instance of bash. The variable will not exist in the
w
m
5. Mechanical/Electrical/Electronics Students has to prepare basics of C
programming/Data Structure and just the basics Concept of OOPS.
co
6. Mechanical/Electrical/Electronics please cover your basic subject/Core
s.
Subjects.
7. Whatever language you mention in Resume, you need to know About it.
le
8. Learn Basics of python Everyone. irc
9. All the Very Best for your Interview.
sc
nt
de
• Reverse a String.
.s
• Reverse a Number.
• Palindrome.
w
• Prime Number.
w
• Leap Year.
w
• Concatenate 2 strings.
• LCM of Two Number using CLP.
• Average of Two Numbers.
• Sum of Digits of a number.
• Binary to Decimal.
• Decimal to Binary.
• Factorial of a Number.
• Square Root of Prime Number.
m
• Square Root without square root.
Armstrong Number.
co
•
• Odd-Even Number.
Binary to Octal.
s.
•
• Decimal to Octal.
le
• Check Leap Year. irc
• Area of Circle.
• Checking Palindrome (Number).
sc
• Area of Triangle.
• Checking Palindrome (String).
nt