Blog Stats

  • 22,839 hits
Follow NaukariNews4u on WordPress.com

Top Clicks

  • None

recent comments

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 919 other subscribers

#WALKIN_ALERT : BEL Walk-in Selection 2019 for Engineers & Apprentice | B.E/B.Tech | Last Date: 13 January 2019

Detailed Eligibility:

BE / B.Tech from a recognized University/ Institution.
First class for General and OBC Candidates and Pass Class for SC/ST candidates
Only the following disciplines are allowed –

i. Computer Science

Computer Science
Computer Science & Engineering
Computer Engineering
ii. Electronics –

Electronics Engineering
Electronics & Communication Engineering
Electronics & Telecommunication Engineering
Telecommunication Engineering
Communication Engineering
Age limit (as on 31.12.2018): 25 years for General; 28 years for OBC and 30 years for SC candidates respectively. 10 years age relaxation for PWD candidates in their respective category.

BEL Recruitment 2019-Selection Process:

The selection process is based on Written Test on 13.01.2019 (Sunday followed by an interview (only of those who are shortlisted in the written test) on the next day i.e 14.01.2019 (Monday).

How to apply BEL Recruitment 2019?
All interested and eligible candidates can attend the walk-in event in the following venue on 13 January 2019 at 8.30 A.M.Registration closes at 9:30 AM. No candidate will be allowed after 09:30 AM.

For More Details: http://bel-india.in/Documentviews.aspx?fileName=english-advt-website-dccs-ce-241218.pdf

Venue Details:

Bharat Electronics Limited
Site – IV, Sahibabad Industrial Area
Opp. Vaishali Metro Station
Ghaziabad – 201010 (UP)

*Current Affairs* *17 DEC. 2018* *MONDAY*

Today’s Fuel rate: Del: P 70.53 D 64.47 Kol: P 72.62 D 66.23 Mum: P 76.15 D 67.47 Chn: P 73.19, D 68.07

*Karnataka: 6 dead, 3 injured in boiler blast in Bagalkot sugar factory; Govt compensation to deceased kin*

Rafale row: By seeking ‘factual correction’ in SC verdict, Govt shot itself in foot, made deal even murkier

*ICAO raises concerns on security of airports, aviation infrastructure in India over audit at Chennai Airport*

Robots In Japan Cafe Give The Differently Abled A Chance To Earn Big, Control & Speak through Robots

*Kala Azar in India: Patients detected with PKDL, skin manifestation of disease, treatment is unbearable*

Viral Acharya: Complete overhaul needed for RBI board on lines of Bank of England, US Federal Reserve

*Indian consumers increasingly spending more on ethnic wear, Sales of 5 such Cos at 3000Cr last fiscal*

Only 3 helmets found’: No trace of 13 trapped Meghalaya miners in 370ft (below water level) deep mine

*India may prune by 50% order to import 22 MQ-9B SeaGuardian UAVs from US over financial constraints*

Food quality concern: Swiggy, Zomato, UberEats, others remove 10,500 restaurants for violating FSS law

*Aadithyan Rajesh, (13yrs) Indian boy in Dubai, owns software development Co, Trinet with 3 employees*

Ailing Goa CM Manohar Parrikar (Pancreatic Ailment) makes rare public appearance, inspects 2 bridges

*Phethai cyclone which is set to hit Andhra Pradesh coast, to trigger heavy rainfall in parts of Odisha*

Mastercard says will start deleting data of Indian cardholders from global servers; warns of impact

*Pulwama encounter: Govt emphasis on development sensible, more required to staunch bleeding in J&K*

ICEA: Allowing cos to sell devices, handsets made in SEZs at zero duty is threatening local manufacturing

*EV charging stations can install both Japanese, Chinese tech ending months of ambiguity to procure EVs*

5000 Compressed Bio Gas plants set across country by 2020, extract bio-gas from agricultural residue

*Delhi’s air quality on verge of turning very poor, PM2.5 level was recorded at 140 PM10 level at 238*

After AI, Railways turns to Emotional Intelligence to improve customer experience

*Great days ahead for hospitality sector, likely to grow by 9-10% thro FY23 over robust domestic demand*

With less than 4 months to Go, Brexit pressure rises, but UK Govt says no to 2nd vote, could pass through

*N Korea condemns US sanctions (3 officials alleged human rights abuses), warn denuclearization at risk*

1000s march in Brussels against UN migration pact eclipsing smaller demonstration in support of deal

*Reinstated SL PM Wikremesinghe: Victory for democracy, at office 51days after being sacked*

Japan’s Sapporo: 41 injured, 1 critical in explosion at restaurant, Cause of explosion under investigation

*Report: Russia Used Every Social Media Platform To lead voter’s interest & Help Elect, Back Trump*

Pope Francis hoping that new UN global pact on safe, orderly migration spurs solidarity toward migrants

*Boeing opens 1st 737 plant in China amid trade war, strategic investment- building sales lead over Airbus*

Saudi condemns US Senate vote; calls resolutions on war in Yemen, Khashoggi murder an ‘interference’

*Ring of Fire: 6.1-magnitude earthquake (61KM Depth) hits Indonesia’s Papua, officials assess impact*

Hockey WC 2018: Belgium bt Netherlands in shoot-out, seal title; Aussies thrash Eng 8-1 to nab bronze

Today’s Word – *Laciniate* – Cut into narrow lobes; slashed; fringed.

Object Oriented Programming (OOP)

Java is a computer programming language that is concurrent, class-based and object-oriented. The advantages of object oriented software development are shown below:
Modular development of code, which leads to easy maintenance and modification.

Reusability of code.
Improved reliability and flexibility of code.
Increased understanding of code.
Object-oriented programming contains many significant features, such as encapsulation, inheritance, polymorphism and abstraction. We analyze each feature separately in the following sections.

Encapsulation
Encapsulation provides objects with the ability to hide their internal characteristics and behavior. Each object provides a number of methods, which can be accessed by other objects and change its internal data. In Java, there are three access modifiers: public, private and protected. Each modifier imposes different access rights to other classes, either in the same or in external packages. Some of the advantages of using encapsulation are listed below:
The internal state of every objected is protected by hiding its attributes.
It increases usability and maintenance of code, because the behavior of an object can be independently changed or extended.
It improves modularity by preventing objects to interact with each other, in an undesired way.
You can refer to our tutorial here for more details and examples on encapsulation.

Polymorphism
Polymorphism is the ability of programming languages to present the same interface for differing underlying data types. A polymorphic type is a type whose operations can also be applied to values of some other type.

Inheritance
Inheritance provides an object with the ability to acquire the fields and methods of another class, called base class. Inheritance provides re-usability of code and can be used to add additional features to an existing class, without modifying it.

Abstraction
Abstraction is the process of separating ideas from specific instances and thus, develop classes in terms of their own functionality, instead of their implementation details. Java supports the creation and existence of abstract classes that expose interfaces, without including the actual implementation of all methods. The abstraction technique aims to separate the implementation details of a class from its behavior.
Differences between Abstraction and Encapsulation

Abstraction and encapsulation are complementary concepts. On the one hand, abstraction focuses on the behavior of an object. On the other hand, encapsulation focuses on the implementation of an object’s behavior. Encapsulation is usually achieved by hiding information about the internal state of an object and thus, can be seen as a strategy used in order to provide abstraction.

General Questions about Java

1. What is JVM ? Why is Java called the “Platform Independent Programming Language” ? A Java virtual machine (JVM) is a process virtual machine that can execute Java bytecode. Each Java source file is compiled into a bytecode file, which is executed by the JVM. Java was designed to allow application programs to be built that could be run on any platform, without having to be rewritten or recompiled by the programmer for each separate platform. A Java virtual machine makes this possible, because it is aware of the specific instruction lengths and other particularities of the underlying hardware platform.

2. What is the Difference between JDK and JRE ? The Java Runtime Environment (JRE) is basically the Java Virtual Machine (JVM) where your Java programs are being executed. It also includes browser plugins for applet execution. The Java Development Kit (JDK) is the full featured Software Development Kit for Java, including the JRE, the compilers and tools (like JavaDoc, and Java Debugger), in order for a user to develop, compile and execute Java applications.

3. What does the “static” keyword mean ? Can you override private or static method in Java ? The static keyword denotes that a member variable or method can be accessed, without requiring an instantiation of the class to which it belongs. A user cannot override static methods in Java, because method overriding is based upon dynamic binding at runtime and static methods are statically binded at compile time. A static method is not associated with any instance of a class so the concept is not applicable.

4. Can you access non static variable in static context ? A static variable in Java belongs to its class and its value remains the same for all its instances. A static variable is initialized when the class is loaded by the JVM. If your code tries to access a non-static variable, without any instance, the compiler will complain, because those variables are not created yet and they are not associated with any instance.

5. What are the Data Types supported by Java ? What is Autoboxing and Unboxing ? The eight primitive data types supported by the Java programming language are:
byte
short
int
long
float
double
boolean
char
Autoboxing is the automatic conversion made by the Java compiler between the primitive types and their corresponding object wrapper classes. For example, the compiler converts an int to an Integer, a double to a Double, and so on. If the conversion goes the other way, this operation is called unboxing.

6. What is Function Overriding and Overloading in Java ? Method overloading in Java occurs when two or more methods in the same class have the exact same name, but different parameters. On the other hand, method overriding is defined as the case when a child class redefines the same method as a parent class. Overridden methods must have the same name, argument list, and return type. The overriding method may not limit the access of the method it overrides.

7. What is a Constructor, Constructor Overloading in Java and Copy-Constructor ? A constructor gets invoked when a new object is created. Every class has a constructor. In case the programmer does not provide a constructor for a class, the Java compiler (Javac) creates a default constructor for that class. The constructor overloading is similar to method overloading in Java. Different constructors can be created for a single class. Each constructor must have its own unique parameter list. Finally, Java does support copy constructors like C++, but the difference lies in the fact that Java doesn’t create a default copy constructor if you don’t write your own.

8. Does Java support multiple inheritance ? No, Java does not support multiple inheritance. Each class is able to extend only on one class, but is able to implement more than one interfaces.

9. What is the difference between an Interface and an Abstract class ?
Java provides and supports the creation both of abstract classes and interfaces. Both implementations share some common characteristics, but they differ in the following features:

All methods in an interface are implicitly abstract. On the other hand, an abstract class may contain both abstract and non-abstract methods.

A class may implement a number of Interfaces, but can extend only one abstract class.

In order for a class to implement an interface, it must implement all its declared methods. However, a class may not implement all declared methods of an abstract class. Though, in this case, the sub-class must also be declared as abstract.

Abstract classes can implement interfaces without even providing the implementation of interface methods.
Variables declared in a Java interface is by default final. An abstract class may contain non-final variables.

Members of a Java interface are public by default. A member of an abstract class can either be private, protected or public.

An interface is absolutely abstract and cannot be instantiated. An abstract class also cannot be instantiated, but can be invoked if it contains a main method.

Also check out the Abstract class and Interface differences for JDK 8.

10. What are pass by reference and pass by value ? When an object is passed by value, this means that a copy of the object is passed. Thus, even if changes are made to that object, it doesn’t affect the original value. When an object is passed by reference, this means that the actual object is not passed, rather a reference of the object is passed. Thus, any changes made by the external method, are also reflected in all places.
Java Threads

11. What is the difference between processes and threads ? A process is an execution of a program, while a Thread is a single execution sequence within a process. A process can contain multiple threads. A Thread is sometimes called a lightweight process.

12. Explain different ways of creating a thread. Which one would you prefer and why ? There are three ways that can be used in order for a Thread to be created:
A class may extend the Thread class.
A class may implement the Runnable interface.
An application can use the Executor framework, in order to create a thread pool.
The Runnable interface is preferred, as it does not require an object to inherit the Thread class. In case your application design requires multiple inheritance, only interfaces can help you. Also, the thread pool is very efficient and can be implemented and used very easily.

13. Explain the available thread states in a high-level. During its execution, a thread can reside in one of the following states:
NEW: The thread becomes ready to run, but does not necessarily start running immediately.
RUNNABLE: The Java Virtual Machine (JVM) is actively executing the thread’s code.
BLOCKED: The thread is in a blocked state while waiting for a monitor lock.
WAITING: The thread waits for another thread to perform a particular action.
TIMED_WAITING: The thread waits for another thread to perform a particular action up to a specified waiting time.
TERMINATED: The thread has finished its execution.

14. What is the difference between a synchronized method and a synchronized block ? In Java programming, each object has a lock. A thread can acquire the lock for an object by using the synchronized keyword. The synchronized keyword can be applied in a method level (coarse grained lock) or block level of code (fine grained lock).

15. How does thread synchronization occurs inside a monitor ? What levels of synchronization can you apply ? The JVM uses locks in conjunction with monitors. A monitor is basically a guardian that watches over a sequence of synchronized code and ensuring that only one thread at a time executes a synchronized piece of code. Each monitor is associated with an object reference. The thread is not allowed to execute the code until it obtains the lock.

16. What’s a deadlock ? A condition that occurs when two processes are waiting for each other to complete, before proceeding. The result is that both processes wait endlessly.

17. How do you ensure that N threads can access N resources without deadlock ? A very simple way to avoid deadlock while using N threads is to impose an ordering on the locks and force each thread to follow that ordering. Thus, if all threads lock and unlock the mutexes in the same order, no deadlocks can arise.
Java Collections

18. What are the basic interfaces of Java Collections Framework ? Java Collections Framework provides a well designed set of interfaces and classes that support operations on a collections of objects. The most basic interfaces that reside in the Java Collections Framework are:
Collection, which represents a group of objects known as its elements.
Set, which is a collection that cannot contain duplicate elements.
List, which is an ordered collection and can contain duplicate elements.
Map, which is an object that maps keys to values and cannot contain duplicate keys.

19. Why Collection doesn’t extend Cloneable and Serializable interfaces ? The Collection interface specifies groups of objects known as elements. Each concrete implementation of a Collection can choose its own way of how to maintain and order its elements. Some collections allow duplicate keys, while some other collections don’t. The semantics and the implications of either cloning or serialization come into play when dealing with actual implementations. Thus, the concrete implementations of collections should decide how they can be cloned or serialized.

20. What is an Iterator ? The Iterator interface provides a number of methods that are able to iterate over any Collection. Each Java Collection contains the iterator method that returns an Iterator instance. Iterators are capable of removing elements from the underlying collection during the iteration. 21. What differences exist between Iterator and ListIterator ? The differences of these elements are listed below:
An Iterator can be used to traverse the Set and List collections, while the ListIterator can be used to iterate only over Lists.
The Iterator can traverse a collection only in forward direction, while the ListIterator can traverse a List in both directions.
The ListIterator implements the Iterator interface and contains extra functionality, such as adding an element, replacing an element, getting the index position for previous and next elements, etc.

22. What is difference between fail-fast and fail-safe ? The Iterator’s fail-safe property works with the clone of the underlying collection and thus, it is not affected by any modification in the collection. All the collection classes in java.util package are fail-fast, while the collection classes in java.util.concurrent are fail-safe. Fail-fast iterators throw a ConcurrentModificationException, while fail-safe iterator never throws such an exception.

23. How HashMap works in Java ? A HashMap in Java stores key-value pairs. The HashMap requires a hash function and uses hashCode and equals methods, in order to put and retrieve elements to and from the collection respectively. When the put method is invoked, the HashMap calculates the hash value of the key and stores the pair in the appropriate index inside the collection. If the key exists, its value is updated with the new value. Some important characteristics of a HashMap are its capacity, its load factor and the threshold resizing.

24. What is the importance of hashCode() and equals() methods ? In Java, a HashMap uses the hashCode and equals methods to determine the index of the key-value pair and to detect duplicates. More specifically, the hashCode method is used in order to determine where the specified key will be stored. Since different keys may produce the same hash value, the equals method is used, in order to determine whether the specified key actually exists in the collection or not. Therefore, the implementation of both methods is crucial to the accuracy and efficiency of the HashMap.

25. What differences exist between HashMap and Hashtable ? Both the HashMap and Hashtable classes implement the Map interface and thus, have very similar characteristics. However, they differ in the following features:
A HashMap allows the existence of null keys and values, while a Hashtable doesn’t allow neither null keys, nor null values.
A Hashtable is synchronized, while a HashMap is not. Thus, HashMap is preferred in single-threaded environments, while a Hashtable is suitable for multi-threaded environments.
A HashMap provides its set of keys and a Java application can iterate over them. Thus, a HashMap is fail-fast. On the other hand, a Hashtable provides an Enumeration of its keys.
The Hashtable class is considered to be a legacy class.

26. What is difference between Array and ArrayList ? When will you use Array over ArrayList ?
The Array and ArrayList classes differ on the following features:

Arrays can contain primitive or objects, while an ArrayList can contain only objects.

Arrays have fixed size, while an ArrayList is dynamic.

An ArrayListprovides more methods and features, such as addAll, removeAll, iterator, etc.

For a list of primitive data types, the collections use autoboxing to reduce the coding effort. However, this approach makes them slower when working on fixed size primitive data types.

27. What is difference between ArrayList and LinkedList ?
Both the ArrayList and LinkedList classes implement the List interface, but they differ on the following features:
An ArrayList is an index based data structure backed by an Array. It provides random access to its elements with a performance equal to O(1). On the other hand, a LinkedList stores its data as list of elements and every element is linked to its previous and next element. In this case, the search operation for an element has execution time equal to O(n).
The Insertion, addition and removal operations of an element are faster in a LinkedList compared to an ArrayList, because there is no need of resizing an array or updating the index when an element is added in some arbitrary position inside the collection.
A LinkedList consumes more memory than an ArrayList, because every node in a LinkedList stores two references, one for its previous element and one for its next element.
Check also our article ArrayList vs. LinkedList.

28. What is Comparable and Comparator interface ? List their differences. Java provides the Comparable interface, which contains only one method, called compareTo. This method compares two objects, in order to impose an order between them. Specifically, it returns a negative integer, zero, or a positive integer to indicate that the input object is less than, equal or greater than the existing object. Java provides the Comparator interface, which contains two methods, called compare and equals. The first method compares its two input arguments and imposes an order between them. It returns a negative integer, zero, or a positive integer to indicate that the first argument is less than, equal to, or greater than the second. The second method requires an object as a parameter and aims to decide whether the input object is equal to the comparator. The method returns true, only if the specified object is also a comparator and it imposes the same ordering as the comparator.

29. What is Java Priority Queue ? The PriorityQueue is an unbounded queue, based on a priority heap and its elements are ordered in their natural order. At the time of its creation, we can provide a Comparator that is responsible for ordering the elements of the PriorityQueue. A PriorityQueue doesn’t allow null values, those objects that doesn’t provide natural ordering, or those objects that don’t have any comparator associated with them. Finally, the Java PriorityQueue is not thread-safe and it requires O(log(n)) time for its enqueing and dequeing operations.

30. What do you know about the big-O notation and can you give some examples with respect to different data structures ? The Big-O notation simply describes how well an algorithm scales or performs in the worst case scenario as the number of elements in a data structure increases. The Big-O notation can also be used to describe other behavior such as memory consumption. Since the collection classes are actually data structures, we usually use the Big-O notation to chose the best implementation to use, based on time, memory and performance. Big-O notation can give a good indication about performance for large amounts of data.

31. What is the tradeoff between using an unordered array versus an ordered array ? The major advantage of an ordered array is that the search times have time complexity of O(log n), compared to that of an unordered array, which is O (n). The disadvantage of an ordered array is that the insertion operation has a time complexity of O(n), because the elements with higher values must be moved to make room for the new element. Instead, the insertion operation for an unordered array takes constant time of O(1).

32. What are some of the best practices relating to the Java Collection framework ?
Choosing the right type of the collection to use, based on the application’s needs, is very crucial for its performance. For example if the size of the elements is fixed and know a priori, we shall use an Array, instead of an ArrayList.
Some collection classes allow us to specify their initial capacity. Thus, if we have an estimation on the number of elements that will be stored, we can use it to avoid rehashing or resizing.
Always use Generics for type-safety, readability, and robustness. Also, by using Generics you avoid the ClassCastException during runtime.
Use immutable classes provided by the Java Development Kit (JDK) as a key in a Map, in order to avoid the implementation of the hashCode and equals methods for our custom class.
Program in terms of interface not implementation.
Return zero-length collections or arrays as opposed to returning a null in case the underlying collection is actually empty.

33. What’s the difference between Enumeration and Iterator interfaces ? Enumeration is twice as fast as compared to an Iterator and uses very less memory. However, the Iterator is much safer compared to Enumeration, because other threads are not able to modify the collection object that is currently traversed by the iterator. Also, Iteratorsallow the caller to remove elements from the underlying collection, something which is not possible with Enumerations.

34. What is the difference between HashSet and TreeSet ? The HashSet is Implemented using a hash table and thus, its elements are not ordered. The add, remove, and contains methods of a HashSet have constant time complexity O(1). On the other hand, a TreeSet is implemented using a tree structure. The elements in a TreeSet are sorted, and thus, the add, remove, and contains methods have time complexity of O(logn).
Garbage Collectors

35. What is the purpose of garbage collection in Java, and when is it used ? The purpose of garbage collection is to identify and discard those objects that are no longer needed by the application, in order for the resources to be reclaimed and reused.

36. What does System.gc() and Runtime.gc() methods do ? These methods can be used as a hint to the JVM, in order to start a garbage collection. However, this it is up to the Java Virtual Machine (JVM) to start the garbage collection immediately or later in time.

37. When is the finalize() called ? What is the purpose of finalization ? The finalize method is called by the garbage collector, just before releasing the object’s memory. It is normally advised to release resources held by the object inside the finalize method.

38. If an object reference is set to null, will the Garbage Collector immediately free the memory held by that object ? No, the object will be available for garbage collection in the next cycle of the garbage collector.

39. What is structure of Java Heap ? What is Perm Gen space in Heap ? The JVM has a heap that is the runtime data area from which memory for all class instances and arrays is allocated. It is created at the JVM start-up. Heap memory for objects is reclaimed by an automatic memory management system which is known as a garbage collector. Heap memory consists of live and dead objects. Live objects are accessible by the application and will not be a subject of garbage collection. Dead objects are those which will never be accessible by the application, but have not been collected by the garbage collector yet. Such objects occupy the heap memory space until they are eventually collected by the garbage collector.

40. What is the difference between Serial and Throughput Garbage collector ? The throughput garbage collector uses a parallel version of the young generation collector and is meant to be used with applications that have medium to large data sets. On the other hand, the serial collector is usually adequate for most small applications (those requiring heaps of up to approximately 100MB on modern processors).

41. When does an Object becomes eligible for Garbage collection in Java ? A Java object is subject to garbage collection when it becomes unreachable to the program in which it is currently used.

42. Does Garbage collection occur in permanent generation space in JVM ? Garbage Collection does occur in PermGen space and if PermGen space is full or cross a threshold, it can trigger a full garbage collection. If you look carefully at the output of the garbage collector, you will find that PermGen space is also garbage collected. This is the reason why correct sizing of PermGen space is important to avoid frequent full garbage collections. Also check our article Java 8: PermGen to Metaspace.
Exception Handling

43. What are the two types of Exceptions in Java ? Which are the differences between them ? Java has two types of exceptions: checked exceptions and unchecked exceptions. Unchecked exceptions do not need to be declared in a method or a constructor’s throws clause, if they can be thrown by the execution of the method or the constructor, and propagate outside the method or constructor boundary. On the other hand, checked exceptions must be declared in a method or a constructor’s throws clause. See here for tips on Java exception handling.

44. What is the difference between Exception and Error in java ? Exception and Error classes are both subclasses of the Throwable class. The Exception class is used for exceptional conditions that a user’s program should catch. The Error class defines exceptions that are not excepted to be caught by the user program.

45. What is the difference between throw and throws ? The throw keyword is used to explicitly raise a exception within the program. On the contrary, the throws clause is used to indicate those exceptions that are not handled by a method. Each method must explicitly specify which exceptions does not handle, so the callers of that method can guard against possible exceptions. Finally, multiple exceptions are separated by a comma.

45. What is the importance of finally block in exception handling ? A finally block will always be executed, whether or not an exception is actually thrown. Even in the case where the catch statement is missing and an exception is thrown, the finally block will still be executed. Last thing to mention is that the finally block is used to release resources like I/O buffers, database connections, etc.

46. What will happen to the Exception object after exception handling ? The Exception object will be garbage collected in the next garbage collection.

47. How does finally block differ from finalize() method ? A finally block will be executed whether or not an exception is thrown and is used to release those resources held by the application. Finalize is a protected method of the Object class, which is called by the Java Virtual Machine (JVM) just before an object is garbage collected.
Java Applets

48. What is an Applet ? A java applet is program that can be included in a HTML page and be executed in a java enabled client browser. Applets are used for creating dynamic and interactive web applications.

49. Explain the life cycle of an Applet. An applet may undergo the following states:
Init: An applet is initialized each time is loaded.
Start: Begin the execution of an applet.
Stop: Stop the execution of an applet.
Destroy: Perform a final cleanup, before unloading the applet.

50. What happens when an applet is loaded ? First of all, an instance of the applet’s controlling class is created. Then, the applet initializes itself and finally, it starts running.

51. What is the difference between an Applet and a Java Application ? Applets are executed within a java enabled browser, but a Java application is a standalone Java program that can be executed outside of a browser. However, they both require the existence of a Java Virtual Machine (JVM). Furthermore, a Java application requires a main method with a specific signature, in order to start its execution. Java applets don’t need such a method to start their execution. Finally, Java applets typically use a restrictive security policy, while Java applications usually use more relaxed security policies.

52. What are the restrictions imposed on Java applets ? Mostly due to security reasons, the following restrictions are imposed on Java applets:
An applet cannot load libraries or define native methods.
An applet cannot ordinarily read or write files on the execution host.
An applet cannot read certain system properties.
An applet cannot make network connections except to the host that it came from.
An applet cannot start any program on the host that’s executing it.

53. What are untrusted applets ? Untrusted applets are those Java applets that cannot access or execute local system files. By default, all downloaded applets are considered as untrusted.

54. What is the difference between applets loaded over the internet and applets loaded via the file system ? Regarding the case where an applet is loaded over the internet, the applet is loaded by the applet classloader and is subject to the restrictions enforced by the applet security manager. Regarding the case where an applet is loaded from the client’s local disk, the applet is loaded by the file system loader. Applets loaded via the file system are allowed to read files, write files and to load libraries on the client. Also, applets loaded via the file system are allowed to execute processes and finally, applets loaded via the file system are not passed through the byte code verifier.

55. What is the applet class loader, and what does it provide ? When an applet is loaded over the internet, the applet is loaded by the applet classloader. The class loader enforces the Java name space hierarchy. Also, the class loader guarantees that a unique namespace exists for classes that come from the local file system, and that a unique namespace exists for each network source. When a browser loads an applet over the net, that applet’s classes are placed in a private namespace associated with the applet’s origin. Then, those classes loaded by the class loader are passed through the verifier.The verifier checks that the class file conforms to the Java language specification . Among other things, the verifier ensures that there are no stack overflows or underflows and that the parameters to all bytecode instructions are correct.

56. What is the applet security manager, and what does it provide ? The applet security manager is a mechanism to impose restrictions on Java applets. A browser may only have one security manager. The security manager is established at startup, and it cannot thereafter be replaced, overloaded, overridden, or extended.
Swing

57. What is the difference between a Choice and a List ? A Choice is displayed in a compact form that must be pulled down, in order for a user to be able to see the list of all available choices. Only one item may be selected from a Choice. A List may be displayed in such a way that several List items are visible. A List supports the selection of one or more List items.

58. What is a layout manager ? A layout manager is the used to organize the components in a container.

59. What is the difference between a Scrollbar and a JScrollPane ? A Scrollbar is a Component, but not a Container. A ScrollPane is a Container. A ScrollPane handles its own events and performs its own scrolling.

60. Which Swing methods are thread-safe ? There are only three thread-safe methods: repaint, revalidate, and invalidate.

61. Name three Component subclasses that support painting. The Canvas, Frame, Panel, and Applet classes support painting.

62. What is clipping ? Clipping is defined as the process of confining paint operations to a limited area or shape.

63. What is the difference between a MenuItem and a CheckboxMenuItem ? The CheckboxMenuItem class extends the MenuItem class and supports a menu item that may be either checked or unchecked.

64. How are the elements of a BorderLayout organized ? The elements of a BorderLayout are organized at the borders (North, South, East, and West) and the center of a container.

65. How are the elements of a GridBagLayout organized ? The elements of a GridBagLayout are organized according to a grid. The elements are of different sizes and may occupy more than one row or column of the grid. Thus, the rows and columns may have different sizes.

66. What is the difference between a Window and a Frame ? The Frame class extends the Window class and defines a main application window that can have a menu bar.

67. What is the relationship between clipping and repainting ? When a window is repainted by the AWT painting thread, it sets the clipping regions to the area of the window that requires repainting.

68. What is the relationship between an event-listener interface and an event-adapter class ? An event-listener interface defines the methods that must be implemented by an event handler for a particular event. An event adapter provides a default implementation of an event-listener interface.

69. How can a GUI component handle its own events ? A GUI component can handle its own events, by implementing the corresponding event-listener interface and adding itself as its own event listener.

70. What advantage do Java’s layout managers provide over traditional windowing systems ? Java uses layout managers to lay out components in a consistent manner, across all windowing platforms. Since layout managers aren’t tied to absolute sizing and positioning, they are able to accomodate platform-specific differences among windowing systems.

71. What is the design pattern that Java uses for all Swing components ? The design pattern used by Java for all Swing components is the Model View Controller (MVC) pattern.
JDBC

72. What is JDBC ? JDBC is an abstraction layer that allows users to choose between databases. JDBC enables developers to write database applications in Java, without having to concern themselves with the underlying details of a particular database.

73. Explain the role of Driver in JDBC. The JDBC Driver provides vendor-specific implementations of the abstract classes provided by the JDBC API. Each driver must provide implementations for the following classes of the java.sql package:Connection, Statement, PreparedStatement, CallableStatement, ResultSet and Driver.

74. What is the purpose Class.forName method ? This method is used to method is used to load the driver that will establish a connection to the database.

75. What is the advantage of PreparedStatement over Statement ? PreparedStatements are precompiled and thus, their performance is much better. Also, PreparedStatement objects can be reused with different input values to their queries.

76. What is the use of CallableStatement ? Name the method, which is used to prepare a CallableStatement. A CallableStatement is used to execute stored procedures. Stored procedures are stored and offered by a database. Stored procedures may take input values from the user and may return a result. The usage of stored procedures is highly encouraged, because it offers security and modularity.The method that prepares a CallableStatement is the following:
1
CallableStament.prepareCall();

77. What does Connection pooling mean ? The interaction with a database can be costly, regarding the opening and closing of database connections. Especially, when the number of database clients increases, this cost is very high and a large number of resources is consumed.A pool of database connections is obtained at start up by the application server and is maintained in a pool. A request for a connection is served by a connection residing in the pool. In the end of the connection, the request is returned to the pool and can be used to satisfy future requests.
Remote Method Invocation (RMI)

78. What is RMI ? The Java Remote Method Invocation (Java RMI) is a Java API that performs the object-oriented equivalent of remote procedure calls (RPC), with support for direct transfer of serialized Java classes and distributed garbage collection. Remote Method Invocation (RMI) can also be seen as the process of activating a method on a remotely running object. RMI offers location transparency because a user feels that a method is executed on a locally running object. Check some RMI Tips here.

79. What is the basic principle of RMI architecture ? The RMI architecture is based on a very important principle which states that the definition of the behavior and the implementation of that behavior, are separate concepts. RMI allows the code that defines the behavior and the code that implements the behavior to remain separate and to run on separate JVMs.

80. What are the layers of RMI Architecture ? The RMI architecture consists of the following layers:
Stub and Skeleton layer: This layer lies just beneath the view of the developer. This layer is responsible for intercepting method calls made by the client to the interface and redirect these calls to a remote RMI Service.
Remote Reference Layer: The second layer of the RMI architecture deals with the interpretation of references made from the client to the server’s remote objects. This layer interprets and manages references made from clients to the remote service objects. The connection is a one-to-one (unicast) link.
Transport layer: This layer is responsible for connecting the two JVM participating in the service. This layer is based on TCP/IP connections between machines in a network. It provides basic connectivity, as well as some firewall penetration strategies.

81. What is the role of Remote Interface in RMI ? The Remote interface serves to identify interfaces whose methods may be invoked from a non-local virtual machine. Any object that is a remote object must directly or indirectly implement this interface. A class that implements a remote interface should declare the remote interfaces being implemented, define the constructor for each remote object and provide an implementation for each remote method in all remote interfaces.

82. What is the role of the java.rmi.Naming Class ? The java.rmi.Naming class provides methods for storing and obtaining references to remote objects in the remote object registry. Each method of the Naming class takes as one of its arguments a name that is a String in URL format.

83. What is meant by binding in RMI ? Binding is the process of associating or registering a name for a remote object, which can be used at a later time, in order to look up that remote object. A remote object can be associated with a name using the bind or rebind methods of the Naming class.

84. What is the difference between using bind() and rebind() methods of Naming Class ? The bind method bind is responsible for binding the specified name to a remote object, while the rebind method is responsible for rebinding the specified name to a new remote object. In case a binding exists for that name, the binding is replaced.

85. What are the steps involved to make work a RMI program ? The following steps must be involved in order for a RMI program to work properly:
Compilation of all source files.
Generatation of the stubs using rmic.
Start the rmiregistry.
Start the RMIServer.
Run the client program.

86. What is the role of stub in RMI ? A stub for a remote object acts as a client’s local representative or proxy for the remote object. The caller invokes a method on the local stub, which is responsible for executing the method on the remote object. When a stub’s method is invoked, it undergoes the following steps:
It initiates a connection to the remote JVM containing the remote object.
It marshals the parameters to the remote JVM.
It waits for the result of the method invocation and execution.
It unmarshals the return value or an exception if the method has not been successfully executed.
It returns the value to the caller.

87. What is DGC ? And how does it work ? DGC stands for Distributed Garbage Collection. Remote Method Invocation (RMI) uses DGC for automatic garbage collection. Since RMI involves remote object references across JVM’s, garbage collection can be quite difficult. DGC uses a reference counting algorithm to provide automatic memory management for remote objects.

88. What is the purpose of using RMISecurityManager in RMI ? RMISecurityManager provides a security manager that can be used by RMI applications, which use downloaded code. The class loader of RMI will not download any classes from remote locations, if the security manager has not been set.

89. Explain Marshalling and demarshalling. When an application wants to pass its memory objects across a network to another host or persist it to storage, the in-memory representation must be converted to a suitable format. This process is called marshalling and the revert operation is called demarshalling.

90. Explain Serialization and Deserialization. Java provides a mechanism, called object serialization where an object can be represented as a sequence of bytes and includes the object’s data, as well as information about the object’s type, and the types of data stored in the object. Thus, serialization can be seen as a way of flattening objects, in order to be stored on disk, and later, read back and reconstituted. Deserialisation is the reverse process of converting an object from its flattened state to a live object.
Servlets

91. What is a Servlet ? The servlet is a Java programming language class used to process client requests and generate dynamic web content. Servlets are mostly used to process or store data submitted by an HTML form, provide dynamic content and manage state information that does not exist in the stateless HTTP protocol.

92. Explain the architechure of a Servlet. The core abstraction that must be implemented by all servlets is the javax.servlet.Servlet interface. Each servlet must implement it either directly or indirectly, either by extending javax.servlet.GenericServlet or javax.servlet.http.HTTPServlet. Finally, each servlet is able to serve multiple requests in parallel using multithreading.

93. What is the difference between an Applet and a Servlet ? An Applet is a client side java program that runs within a Web browser on the client machine. On the other hand, a servlet is a server side component that runs on the web server.An applet can use the user interface classes, while a servlet does not have a user interface. Instead, a servlet waits for client’s HTTP requests and generates a response in every request.

94. What is the difference between GenericServlet and HttpServlet ? GenericServlet is a generalized and protocol-independent servlet that implements the Servlet and ServletConfig interfaces. Those servlets extending the GenericServlet class shall override the service method. Finally, in order to develop an HTTP servlet for use on the Web that serves requests using the HTTP protocol, your servlet must extend the HttpServlet instead. Check Servlet examples here.

95. Explain the life cycle of a Servlet. On every client’s request, the Servlet Engine loads the servlets and invokes its init methods, in order for the servlet to be initialized. Then, the Servlet object handles all subsequent requests coming from that client, by invoking the service method for each request separately. Finally, the servlet is removed by calling the server’s destroy method.

96. What is the difference between doGet() and doPost() ? doGET: The GET method appends the name-value pairs on the request’s URL. Thus, there is a limit on the number of characters and subsequently on the number of values that can be used in a client’s request. Furthermore, the values of the request are made visible and thus, sensitive information must not be passed in that way. doPOST: The POST method overcomes the limit imposed by the GET request, by sending the values of the request inside its body. Also, there is no limitations on the number of values to be sent across. Finally, the sensitive information passed through a POST request is not visible to an external client.

97. What is meant by a Web Application ? A Web application is a dynamic extension of a Web or application server. There are two types of web applications: presentation-oriented and service-oriented. A presentation-oriented Web application generates interactive web pages, which contain various types of markup language and dynamic content in response to requests. On the other hand, a service-oriented web application implements the endpoint of a web service. In general, a Web application can be seen as a collection of servlets installed under a specific subset of the server’s URL namespace.

98. What is a Server Side Include (SSI) ? Server Side Includes (SSI) is a simple interpreted server-side scripting language, used almost exclusively for the Web, and is embedded with a servlet tag. The most frequent use of SSI is to include the contents of one or more files into a Web page on a Web server. When a Web page is accessed by a browser, the Web server replaces the servlet tag in that Web page with the hyper text generated by the corresponding servlet.

99. What is Servlet Chaining ? Servlet Chaining is the method where the output of one servlet is sent to a second servlet. The output of the second servlet can be sent to a third servlet, and so on. The last servlet in the chain is responsible for sending the response to the client.

100. How do you find out what client machine is making a request to your servlet ? The ServletRequest class has functions for finding out the IP address or host name of the client machine. getRemoteAddr() gets the IP address of the client machine and getRemoteHost() gets the host name of the client machine. See example here.

101. What is the structure of the HTTP response ? The HTTP response consists of three parts:
Status Code: describes the status of the response. It can be used to check if the request has been successfully completed. In case the request failed, the status code can be used to find out the reason behind the failure. If your servlet does not return a status code, the success status code, HttpServletResponse.SC_OK, is returned by default.
HTTP Headers: they contain more information about the response. For example, the headers may specify the date/time after which the response is considered stale, or the form of encoding used to safely transfer the entity to the user. See how to retrieve headers in Servlet here.
Body: it contains the content of the response. The body may contain HTML code, an image, etc. The body consists of the data bytes transmitted in an HTTP transaction message immediately following the headers.

102. What is a cookie ? What is the difference between session and cookie ? A cookie is a bit of information that the Web server sends to the browser. The browser stores the cookies for each Web server in a local file. In a future request, the browser, along with the request, sends all stored cookies for that specific Web server.The differences between session and a cookie are the following:
The session should work, regardless of the settings on the client browser. The client may have chosen to disable cookies. However, the sessions still work, as the client has no ability to disable them in the server side.
The session and cookies also differ in the amount of information the can store. The HTTP session is capable of storing any Java object, while a cookie can only store String objects.

103. Which protocol will be used by browser and servlet to communicate ? The browser communicates with a servlet by using the HTTP protocol.

104. What is HTTP Tunneling ? HTTP Tunneling is a technique by which, communications performed using various network protocols are encapsulated using the HTTP or HTTPS protocols. The HTTP protocol therefore acts as a wrapper for a channel that the network protocol being tunneled uses to communicate. The masking of other protocol requests as HTTP requests is HTTP Tunneling.

105. What’s the difference between sendRedirect and forward methods ? The sendRedirect method creates a new request, while the forward method just forwards a request to a new target. The previous request scope objects are not available after a redirect, because it results in a new request. On the other hand, the previous request scope objects are available after forwarding. FInally, in general, the sendRedirect method is considered to be slower compare to the forward method.

106. What is URL Encoding and URL Decoding ? The URL encoding procedure is responsible for replacing all the spaces and every other extra special character of a URL, into their corresponding Hex representation. In correspondence, URL decoding is the exact opposite procedure.
JSP

107. What is a JSP Page ? A Java Server Page (JSP) is a text document that contains two types of text: static data and JSP elements. Static data can be expressed in any text-based format, such as HTML or XML. JSP is a technology that mixes static content with dynamically-generated content. See JSP example here.

108. How are the JSP requests handled ? On the arrival of a JSP request, the browser first requests a page with a .jsp extension. Then, the Web server reads the request and using the JSP compiler, the Web server converts the JSP page into a servlet class. Notice that the JSP file is compiled only on the first request of the page, or if the JSP file has changed.The generated servlet class is invoked, in order to handle the browser’s request. Once the execution of the request is over, the servlet sends a response back to the client. See how to get Request parameters in a JSP.

109. What are the advantages of JSP ? The advantages of using the JSP technology are shown below:
JSP pages are dynamically compiled into servlets and thus, the developers can easily make updates to presentation code.
JSP pages can be pre-compiled.
JSP pages can be easily combined to static templates, including HTML or XML fragments, with code that generates dynamic content.
Developers can offer customized JSP tag libraries that page authors access using an XML-like syntax.
Developers can make logic changes at the component level

Very Interesting Opening we have now….

Job Profile : WhatsApp Executives (20 Openings)
Salary – ₹12,000 to ₹14,000 (monthly)
Location : Malabar Hill, Mumbai
Education : HSC Passed
Shift : 11:00 am – 8:00 pm
6 days working with Sunday fixed off
Age : 20 – 30 yrs
Experience : Fresher and Experience from customer service all can apply.

Job Description :
Handling Social Media Pages.
Handling WhatsApp groups.
Manage the groups on social media platform.

For more details please call or whatsapp on 9152077076

NOTE : WE HAVE ONLY ONE DAY INTERVIEW ON 19th November 2018.

For more details please call or whatsapp on 9152077076..

CALL ME TILL TOMORROW EVENING ONLY….

Hiring for Developer,Testers ,CSO

Greetings from Latha Narayan. NO Charges from Candidates!! We have following opening at

*DELHI*
1. Sr. PHP Developer – Min 4 yrs exp. – HTML5, CSS3, jQuery, JS, PHP, MySQL, Open Cart, WordPress, Pkg upto 40 k pm. Troubleshooting, testing and maintaining websites and databases of BMF, etc. Working on Load time optimization, Writing JS code for Target use-cases.
2. Business Dev. – ONLY FOR GIRLS at Kirti Nagar. Selling of Branding Services, Websites, Digital Marketing services by establishing contact and developing relationships with prospects;. Fresher also ok or Exp 1-2 yrs Min Grad, Excellent Communication, Pkg 20-35k p.m.based on candidates.

*MUMBAI*
1. Customer Service Operations Manager – Rotational Shifts, 6 days working and Rotational off at Andheri.==responsible for the overall direction, coordination, quality and productivity of contact center operations. 5+ yrs exp in Operations with progressively increasing responsibility. Any Grad or MBA, Project Management experience. Excellent Communication., client management. Should be from Customer Service domain. Pkg – upto 9 Lacs.
2. Team Leader at Andheri. Any Graduates. Rotational Shifts, Candidate should be from Social Media – Customer Response Management experience. / International BPO Customer Service experience. Pkg 5-6.5lacs.
3. QA (3.5 Lacs), Good Comm Skills. Should have minimum 1 Yr experience as QA in customer service process. 8am – 11 pm Rotational Shifts / 6 Days working.

*HYDERABAD*
1. Sr. Software Eng – Min Exp 8 yrs., Salary :30 lacs-45 lacs (can go ahead if the candidate is more good) –. Vacancies : 15 .
Tier 1 colleges (IIT,NIT,BITS) from CS or circuit background only. Project Development exp is MANDATORY. OR Current company: Tier 1 company like Amazon, Microso, Google, Adobe, Expedia, Paytm, Flipkart, Arcesiun, D.E.shaw, JP Morgan, Swiggy, Redbus, Zomato, Uber, etc.—
Skills – Java/Python/ C++/ NoSQL/MySQL/ Data Structures and Algorithms/ Coding??

*Note* – All Salary is based on current pkg & exp of the Candidates ONLY.

*Bangalore*-“Accounts opening, min 3yrs exp, pkg 15-20k, TDS, GST and PF must.

If anyone is interested in any of the above job pls call me IMMEDIATELY AT 9886222421.
Regards,
Latha Narayan
9886222421.

*GOOD MORNING.. NEWS HEADLINES. 24 Oct 2018, Wednesday*

Today’s Fuel rate: Del: P 81.34 D 74.85 Kol: P 83.19 D 76.70 Mum: P 86.81 D 78.46 Chn: P 84.53, D 79.15

*CBI vs CBI mess paints unflattering image of PMO, sorry picture of accountability fixed at highest level*

CBI infighting: Alok Verma, Rakesh Asthana sent on leave, Nageshwar Rao take over as interim director

*Delhi smog: Don’t blame farmers, Stubble-farming compulsion not choice when no cheap option exist*

Fake apps of SBI, ICICI, Axis Bank, Citi in google play may have stolen data of thousands of customers

*Sensex, Nifty hit over 6-month low as rupee woes, trade war worries linger, Re depreciated to 73.82*

Govt: Foreigners Married to Indians Eligible for OCI Card multiple entry, multi-purpose, life-long visa

/8Zika outbreak in Rajasthan: 131 people, including 41 pregnant women, test positive for virus*

WB: 2 killed in stampede in Howrah due to sudden rush on FOB over arrival of 3(1 Exp & 2 Pass) trains

*UP: Polio vaccine contamination case: Bio-Med MD gets bail, drug inspectors apologize to court*

Kolkata: Saudia Boeing 777 & UPS Jets avert collision planes came within about 300Ft, alerted diverted

*World’s Oldest Shipwreck dated 2400Yrs old Found in the Black Sea 23Mtr ship also there undisturbed*

Giant leap: ‘India to have over 500MN smartphone users, Internet service sector $76BN by 2022

*Rupee indeed slipped way too much. Perhaps, a freer float for rupee is the best way forward*

Discovered AI system that could help treat patients with sepsis by predicting best treatment strategy

*Fight against TB: ‘Game changer’ tuberculosis drug cures 8 in 10, 55% on multi-drug resistant cured*

NASA’s hobbled Hubble telescope is near normal again after safe mode over a failed orienting tool

*Law University in Kolkata offers B.A LL.B (Hons) course on Harry Potter – interface b/w Fantasy & Law*

Trilateral meet b/w India, Afghan & Iran to discuss transit/consul over Chabahar port operationalization

*HCL Q2 net profit up 16.1% 2540Cr, revenue up 19.5% 14,861Cr; confident retaining growth trajectory*

Mounting trouble: IL&FS defaults cross Rs 4,000Cr with another miss of Rs 348Cr over 3 repayments

*Bad news Chanda Kochhar: Law firm pulls back clean chit on charges of nepotism/conflict of interest*

Posco, Hyundai exploring Rs 30,000Cr 5MN-ton/annum steel plant JV steel unit with RINL

*Pangea XI: 116 countries, 859 arrests; Interpol makes a grand seizure of 500 tonnes of illicit drugs*

Trump sent US news networks on wild chase; they’re beaming precise footage Trump wants voters fear

*US revoke Saudi visas in 1st action over Khashoggi, G7 condemn death, Royals meets Khashoggi family*

‘US has weapons to destroy the world 10 times over, but they want more because of China’

*Mexico braces for ‘extremely dangerous’ Cat 4 Hurricane Willa; residents stock up on resources*

Exxon, Ben & Jerry’s among buyers of $256MN in political ads on Facebook, influence how people vote

*Australia impose sanction & travel ban on 5top military generals in Myanmar over Rohingya atrocities*

Hawaii: Powerful hurricane in eastern Pacific washed away an 11-acre island in French Frigate Shoal

*DR Congo Ebola Outbreak Grows By 10 Cases After Continued Attacks From Rebels In North Kivu*

Dolphins Have Trouble Communicating Because Humans (underwater activities) Make Too Much Noise

Today’s Word – *Jactancy* – Boastfulness, vainglory.

#MINDTREE_Placement_Papers : Through AMCAT !

Shared by BJS placed guys …………..Hope it will help u guys..
_____________________________________

—————————————–
Mindtree :

Round 1: AMCAT ONLINE TEST

This round plays a vital role for the process. There are 3 sections(quantitative, logical and verbal). For clearing this test, R.S.AGARWAL BOOK is more than enough. Actually one more section based on C, Database and OOPS Concepts will be there in AMCAT but as per the company norms it has been not there. Timing is the important cause for this round. You can go next question only if u complete 1 question.

PART A -Quantitative Ability-25 Questions-35 Minutes
PART B -Logical Ability-24 Questions- 35 Minutes
PART C -Verbal Ability-18 Questions – 16 Minutes
Note as I said earlier, concentrate more on this round, because if you clear this round,you have almost done it.

#Round 2: AMCAT BASED ONLINE PROGRAM TEST

This round is non-elimination round but your programs will be considered in HR round, if you does not perform there. There are 2 java programming questions and u need to type the program, compile and submit. Some hints will be on the screen. Time 1 hr.30 mins.

AMCAT Employement Test For Freshers

Round 3: TECHNICAL HR

In this round, there will be one HR, face to face process. Only way to clear this round SPEAK SPEAK SPEAK. As I am from ECE, the interview is great going since there are no technical questions on programming concepts. It took around 20 min. They expect only our confidence level than our technical and communication skills. Let me share the conversation.

Me: Good Morning Sir.
HR: Good Morning Suresh. Take your seat.
Me: Thank you Sir.
HR: How do you feel now?
Me: I feel great Sir.
HR: OK Suresh tell about urself…
Me: I am Suresh Kumar from Chennai. Before introducing myself, I would like to thank my parents who left almost everything relatives ,house, native and migrated to Chennai for my career…Then I told about my native, schooling ,college, achievements, hobbies, strength, weakness.
HR: Tell me what college has done for you?
Me: Laughed and said nothing. But only thing I can say total freedom.
HR: Which is your favourite subject and why?
Me: Engineering Graphics. The reason why I liked is that it is completely practical oriented and makes us to understand easier. Even getting S grade is much easier if we understand the methods.
HR: Ok…what school has done for you?
Me:It has strengthen my base. My communication was developed after joining this school. It encouraged my cricketing skills and boosted my confidence level by appointing me as vice captain for my carstairs house team.
HR: On seeing my programming sheet, Do you know java?
Me: As I am ECE student, I am not familiar with that one…But I have been learning C#.Net for the past 3 months in a recognized institution.
HR: Let me ask a logical question. There are 2 threads…1 thread will burn in 1 hour…I don’t have a clock but I need to calculate 45 min…How? Take your time…
Me: Sir, we can fold 1 thread into half and other thread into one-fourth and burn. So that we can get 3o min+15 min.
HR: Oh fine. He asked me to say something about latest technologies.
Me: I said about Radio Pills-its principle, working, uses.
HR: Say about your mini project…
Me: I said something for two lines. Sir, I would like to say about my main project, because its my turning point in my life which made all staffs to look into our project. Said everything about my project, uses.
HR: Tell about your project experience…
Me: Sir, Actually we were 4 members. All 4 are different thinkers. We did it as a team work and co-ordination was extremely good. Said about our obstacles and overcomes of that. Explained about our processor and so on.
HR: Based on my area of interest,say something about Computer Networks.
Me: Explained about the seven OSI layers and protocols.
HR: You are ECE student, why can’t u get into core companies?
Me: Laughed and said,Sir to be frank this is my 32nd interview. I struggled and tried a lot but I did not lose my hope and moved with my positive attitude. The opportunity is given by Mindtree and I believe that it may bring my dreams coming true.
HR: Say something about Mindtree.
Me: Sir,Actually I don’t know much about Mindtree. Before 2 days,I searched in Google and from presentation I tell you something Sir…Said
HR: What are your short term and long term goals?
Me: My short term term goal is to start my career in a good reputed company like Mindtree and my long term goal is to become a cricketer.
HR: Ok.Fine. Would u like to say anything?
Me: Sir, as I am a fresher may I know something from your experience,i.e. in which areas I have to improve?
HR: Be what you are.
Me:Thank u Sir.

==========================

#1st round- Online written test by Amcat (Verbal+Apti+Logical Reasoning)

#2nd round- Coding round…v had to execute 2 programs in Java on Eclipse ( one on patters and another to find HCF of an array of numbers)

#3rd round- Tech interview (Prjct, Situation Based Questions, C concepts, basic Java Concepts,basic OOPS concepts)

#4th round- HR interview
_________________________________________

Interview experience with MindTree

1. I have applied through AMCAT link which is posted by this grp.
2. I got call letter for 1st round which is of type written test. And the pattern is same as AMCAT exam.
3. After written test they conduct one more test in Programming(C/Java).We have to write 2 programs in 1 hr.
4. I got these 2 programs…Arrays another one is pattern like
1
3 * 2
4* 5 *6
if n=3 we have to print this three lines….
5. on next day i got interview call letter.
6. In TR round, asked questions on Resume and again 2 C programs.
7. In TR only they are checking comm skill, If they are not satisfied with ur skills they are conducting HR.
guys not only c they are also asking programs on data structures…
that’s all….

all the best…. well prepare programs…

______________________________________

#mindtree
Thankful to this group and the jobseekers who someway or other way helped me :#Aashu only
Inspiring and motivating us always …………..feeling blessed……
I am writing my interview experience of Mindtree it may be helpful to you guyzz

Location : bangalore
Through AMCAT:

1st Round Online Test (TIME : 1 hour)
Coding : 2 programs
1 . Write the program for calculating GCD(a,b) two nos.
2. It was related to Array of Pointers dynamically allocating memory to an array
The array to be sorted say k ,(k< length of array) to be sorted in ascending order And (l-k) to be sorted in descending order .2nd Round:(Technical + Hr):Second was Technical as well HR round and it was 2 is to one–>Be prepared with ur CV
–>ntroduce yourself
–>Questions related to hobbies , interest
–>1 year gap in career (reason)
–>Favourate papers as I told C, C++,DS they asked from that not in that detail
–>If get a chance to work with different technology how will I be able to do that Questions related to Project , my role in that , real world implementation of the project
–>Apart from Hobbies interest any others thing where you skilled yourself—
–>Would you like to prefer to work in group or go with individual (If I get a chance to extend my project
Then they asked from programming what we did in Coding test I was told to explain the logic
Then optimization of that code
–>Addition of diagonal elements of matrix………. logic I explained
–>Types of testing
–>New emerging technology (Virtualisation,Cloud )
–>Where you see urself after 3-4 years
— >Any questions for us

3rd ROUND :-
HR people were friendly …….. speak speak n speak whatever you u know just express there
Just be urself , be honest
Happy to help you ………………….

CURRENT AFFAIRS HEADLINES* 19 Sep 2018,* *WEDNESDAY*

Today’s Fuel rate: Del: P 82.16 D 73.87 Kol: P 84.01 D 75.72 Mum: P 89.54 D 78.42 Chn: P 85.41, D 78.10

Ceres – the Dwarf Planet Turns Out To Have Far More Ice Volcanoes Than Previously Thought

Engineers Decode Conversations in Brain’s Motor Cortex with powerful new AI based approaches

Yusaku Maezawa: The Japanese billionaire who’ll fly around moon 1st ever, set to take off in 2023

Study: Urban air pollution, mostly from vehicles, is associated with an increased risk of dementia

UN: 6.3MN Kids died before 15th birthday, 1 every 5 sec, due to lack of water, nutrition/basic healthcare

Mortality rate in India: Under-5 child deaths stand at par global Ayg but girls still face discrimination

Are Allahabad Bank, Uco Bank & UBI merged next? 11 banks under RBI Prompt corrective measures

Puducherry: 70 people of a village found suffering from a ‘mystery fever, now showing improvement

Bombay HC orders complete construction freeze on mangroves, directs Govt to protect private land

PNB fraud: Cyril Amarchand Mangaldas being scrutinised for concealing ‘incriminating documents’

Re slides 47P to close record low of 72.98 against US$, Stock investors lose 2.72Lac Cr in 2 days

India driving Robotic Process Automation/AI-based tech globally even ahead of US & Japan

In aid of Kerala flood victims, school children in UP’s Mahoba Dt start their own relief funds drive

Sebi unveils slew of reform measures; to revise KYC norms for foreign investors, slash MF charges

Insurance Cos to pay 12% interest to farmers in case of delay in settlement claims under PMFBY

Turbulent times for Indian aviation industry, to report aggregate loss of Rs 88MN in FY2019

Post Maruti-Suzuki departure, Gurugram needn’t go the Detroit way, need to reinvest to survive

1000 farmers affected by proposed Mum-Ahm bullet train submitted affidavits in Gujarat HC opposing it

21Lac Co directors fail to register for eligibility 35% of 33L “active directors” complied under new KYC

Oil Cos keen on pushing LPG in tea production (replace coal), large untapped LPG market, but Cost high

Govt may open up new 5G spectrum bands after Trai proposal, need at least 100MHz for each Telco

Ferrari: Most of the cars made will be hybrid petrol-electric by 2022, 60% around hybrid powertrains

Putin Calls Downing of Russian Plane (15 Russians die) in Syria ‘Tragic’, and Absolves Israel

Russians may face jail if they do not delete news judged false by a Court, to face 1year Jail

#MeToo movement: McDonald’s Staff in 10 US Cities Protest over Workplace Sexual Harassment

Viral Video Shows Firefighters Losing Their Hose to Rare ‘Fire Whirl’ In British Columbia 200Ft high air

Nigeria declare National disaster” severe floods left 100 people dead across several states, 30K displaced

US Senate passed short-term spending bill, which would keep Govt open through early Dec2018

China Retaliates Against Trump with Tariffs Targeting 5-10% on $60BN of 5200 US Goods

Columbia Gas Company Donates $10MN to Relief Fund for Massachusetts Explosion Victims for recovery

Macron announces changes to France’s health care system considered best in world to sustain for 50yrs

Asia Cup 2018: Dhawan stars with bat as India begin title defence with nervy 26-run win over Hong Kong

Today’s Word – *Aby* – To make amends; atone; pay a penalty.

Tips – For Freshers about Interviews/Calls

Many jobs seekers keep asking how to get more and more opportunities so there are few points I want mention which I used during my hunt. Might help someone.

1) first thing first.

You need to know and accept your weakness. Sometimes we know but we are not ready to accept our weaknesses. For example people who are getting rejections for communication. It’s very difficult to accept it because from our side we were speaking good. Even some time hrs mention that we need to work on communication. So accept it and try to improve.

2) make room for job applications.

Uninstall every extra app and install ALL IN ONE JOB APP. make id on each job portal.

Naukri.com

Shine.com

Monster.com

Time job

Indeed

Fresher’s live

Fresher world.

And complete ur I’d 100%.

Make sure your resume which is on job portal covers maximum skills. So that you get most of the calls.

3) don’t forget to update everyday before 6 am. Because employers and consultancy searches after 8 am. I use to do each day after 12 midnight. Now the point is what to update daily?

Nothing to worry just add one skill and remove that skill next day. In this way ur I’d will be update daily.

4) make 2-3 resumes. One for each domain, like networking, testing, development, administration.

Don’t worry!!! Being a fresher you people are eligible for everything. Just Google the basic points before attending the interview. No need to prepare whole night or one night before. Just 10 minutes before is fine.

5) Now you are getting lots of call and mail. How to decide wether those are fake or real?

Some may search in Google some in glass door. But there is a better way. Type that company name and search in MRA or BJS facebook groups you will get lots of comment. Just go through 5-6 posts you will have idea.

6) keep a record of each and every interview you attended. Like company name, date of interview, rounds cleared, and reason of rejection.

It will really help. And please don’t just blindly attend interview, it doesn’t gonna change from YOU MAY LEAVE FIR THE DAY to CONGRATULATIONS. every next attempt should be better than previous one.

Keep trying guy one day or another. You gonna get it.

I have created a Google drive folder which has following contents.

Google drive link: https://drive.google.com/drive/folders/1tgGYYhfauPcIOGRn9U4CSHH0cYncYipz

Folder Contents:

Fresher resume format

Startup companies list city wise

Genuine consultancies list

Resume preparation tips

Interview tips

HR mail ids of various companies(refer to : hr mail ids.txt file)

etc

Make use of this and give best in your job search.

Good luck friends.

*CURRENT AFFAIRS HEADLINES* *10 September 2018* *MONDAY*

Today’s Fuel rate: Del: P 80.50 D 72.61 Kol: P 83.39 D 75.46 Mum: P 87.89 D 77.09 Chn: P 83.66, D 76.75

Ad Valorem Taxes: Skyrocketing fuel prices add Cr to states’ revenue – TN 3.69Cr & WB 2.06Cr daily

Working & happy? Why you should always be ‘job-ready’, Job-readiness is about constantly evolving

Nations round on US, allies as UN climate talks wrap up accuse stealing deal to prevent Global warming

Magnitude 3.8 earthquake hits Haryana’s Jhajjar, tremors felt in Delhi at 4.37 pm at 10 km depth

Arpinder Singh 1st Indian to win (Bronze) medal in IAAF Continental Cup with modest effort of 16.59m

Serbia’s Novak Djokovic wins 3rd US Open beating del Porto, equals Sampras on 14 Grand Slams

Serena fined total of $17,000 for 3 violations at US Open, taken from prize money of $1.85MN

Study: Stick to paper towels that is better, as jet-air dryers spread more germs around you

Study: Stay calm and meditate, as mindfulness can increase tolerance to pain

US: Investment limit hike for EB-5 investors visa not till Dec, EB-5 market from India growing at 30-40%

Rajiv Gandhi assassination: TN cabinet accepts mercy plea of 7 convicts, recommends release to Guv

Kerala nuns protest seeking action against rape-accused Jalandhar bishop; allege top blocking inquiry

Hindi entertainment channels suffer declining ad spends; Star Plus, Colors battle it out for eyeballs

Power projects heading to NCLT may retain fuel supply & long-term transmission network access rights

RBI tweaks norms for damaged currency notes exchange – can accept in full/half on currency condition

Boosting digital economy: Google CEO Pichai urges India to allow cross-border flow of data with privacy

Oh ICICI: Sebi may summon Kochhars soon; board to discuss coordinated efforts with Govt, RBI

Railways: Total of 55,369 cases of theft & 1,570 robberies took place inside running trains in last 3.5yrs

FPIs turn net sellers in Sep, pull out 5,600 cr after putting money in previous two months

7 of top 10 cos lose 75,684 cr in m-cap – SBI, Maruti Suzuki & ITC witness decline, HUL take steep hit

TVs get ‘Make in India’ twist, start local production at component stage by Xiaomi, Thomson, Sony, TCL

After tax googly by seller stumped other contenders, Complan may end up in Coke bottle for 4000Cr

TRAI slaps fine on Jio, Airtel, Vodafone, Idea for not meeting service quality norms in March Qrtr

Assocham: Insurance industry to touch $280BN by FY20, aided by Govt’s Ayushman Bharat/awareness

Paris: 7 including 2 UK tourists wounded when attacked by a man armed with knife & an iron bar

Anti-immigration party for election gains, as Sweden swings right in elections dominated by asylum fears

South Sudan: 21 dead as overloaded 19 seater plane crashes into lake, 3 survivors in critical condition

NASA launches rocket to test a supersonic parachute for landing its next rover on Mars

Trump lauds Jong-un for holding N Korea’s military parade sans nuclear missiles on 70th anniversary

US: VP Pence is ‘100% confident’ no one from his staff wrote damning NYT column on Trump

US: Just before anniversary 17 Yrs After It Was Buried By 9/11, New York Subway Station Opens Again

India vs Eng: Jadeja, Hanuma Vihari fight back; hosts in control with 114/2 in 2nd Innings & 154runs lead

Today’s Word – *Raciology* – Study of racial differences.

Social

Trending Mobiles Tablets

Big Data Analytics

Trial Access for All Courses @ $10

Upcoming Events