196x Filetype PDF File size 0.15 MB Source: files.freshersnow.com
Wipro Interview Questions for Freshers Wipro Technical Interview Questions for Freshers Make use of this section and grab the Wipro Technical Interview Questions And Answers which would help you in the preparation for Wipro Technical Interview Round. While digging into this section, you will find the Wipro Technical Interview Questions for the topics like C, C++, OOPs, JAVA, DBMS, CN, and OS. Wipro Technical Interview C, C++/ OOPs Questions 1. What are the differences between an object-oriented programming language and an object-based programming language? A. The main difference between an object-oriented programming language and an object-based programming language is. ● Object-oriented languages adhere to all Object Oriented Programming concepts, but object-based languages do not adhere to all Object Oriented Programming concepts such as inheritance, polymorphism, Abstraction, Encapsulation ● Object-oriented languages lack built-in objects, but object-based languages do. For example, JavaScript contains a built-in window object ● Examples of object-oriented programming languages: Java, C#, Smalltalk, and others ● Examples of object-based languages: JavaScript, VBScript, and others 2. What do you mean by Stack Unwinding in C++? A. Stack Unwinding is the process of eliminating function entries from the function call stack at runtime. Exception Handling is often associated with Stack Unwinding. When an exception occurs in C++, the function call stack is searched linearly for the exception handler, and any entries before the function with the exception handler are deleted from the function call stack. If the exception is not handled in the same code, stack unwinding is https://www.freshersnow.com/ required (where it is thrown). 3. What is meant by Structured Programming? A. Structured Programming refers to the method of programming which consists of a completely structured control flow. Here structure refers to a block, which contains a set of rules, and has a definitive control flow, such as (if/then/else), (while and for), block structures, and subroutines. Nearly all programming paradigms include Structured programming, including the OOPs model. https://www.freshersnow.com/ Wipro Interview Questions for Freshers 4. What is Polymorphism? A. Polymorphism is composed of two words - “poly” which means “many”, and “morph” which means “shapes”. Therefore Polymorphism refers to something that has many shapes. In OOPs, Polymorphism refers to the process by which some code, data, method, or object behaves differently under different circumstances or contexts. Compile-time polymorphism and Run time polymorphism are the two types of polymorphisms in OOPs languages. 5. What is a Constructor? A. Constructors are special methods whose name is the same as the class name. The constructors serve the special purpose of initializing the objects. For example, suppose there is a class with the name “MyClass”, then when you instantiate this class, you pass the syntax: MyClass myClassObject = new MyClass(); Now here, the method called after “new” keyword - MyClass(), is the constructor of this class. This will help to instantiate the member data and methods and assign them to the object myClassObject. 6. What are the types of constants in c? A. C constants can be divided into two categories : ● Primary constants ● Secondary constants 7. What is a pointer? A. Pointers are variables that store the address of another variable. That variable may be a scalar (including another pointer), or an aggregate (array or structure). The pointed-to object may be part of a larger object, such as a field of a structure or an element in an array. 8. What is the purpose of the main() function? https://www.freshersnow.com/ A. The function main() invokes other functions within it.It is the first function to be called when the program starts execution. ● It is the starting function ● Recursive call is allowed for main( ) also ● It returns an int value to the environment that called the program ● It is a user-defined function https://www.freshersnow.com/ Wipro Interview Questions for Freshers 9. What is the difference between #include‹ › and #include “ ”? A. #include‹ › ----> Specifically used for built-in header files. #include “ ” ----> Specifically used for user-defined/ created in header file. 10. What is recursion? A recursion function is one that calls itself either directly or indirectly it must halt at a definite point to avoid infinite recursion. Wipro Technical Interview JAVA Questions 1. How are Observer and Observable used? A. Objects that subclass the Observable class maintain a list of observers. When an Observable object is updated it invokes the update() method of each of its observers to notify the observers that it has changed state. The Observer interface is implemented by objects that observe Observable objects. 2. What 1s the difference between the >> and >>> Operators? A. The >> operator carries the sign bit when shifting right. The >>> zero-fills bits that have been shifted out. 3. How many bits are used to represent Unicode, Ascii, Utf-16, And Utf-8 Characters? A. Unicode requires 16 bits and ASCII requires 7 bits. Although the ASCII character set uses only 7 bits, it is usually represented as 8 bits. UTF-8 represents characters using 8, 16, and 18-bit patterns. UTF-16 uses 16-bit and larger bit patterns. https://www.freshersnow.com/ 4. Why do threads block on I/o? A. Threads block on i/o (that is enters the waiting state) so that other threads may execute while the i/o Operation is performed. 5. What is the preferred size of a component? A. The preferred size of a component is the minimum component size that will allow the component to display normally. 6. What is the difference between Yielding and Sleeping? https://www.freshersnow.com/ Wipro Interview Questions for Freshers A. When a task invokes its yield() method, it returns to the ready state. When a task invokes its sleep() method, it returns to the waiting state. 7. What is the difference between Preemptive Scheduling and Time Slicing? A. Under preemptive scheduling, the highest priority task executes until it enters the waiting or dead states or a higher priority task comes into existence. Under time slicing, a task executes for a predefined slice of time and then reenters the pool of ready tasks. The scheduler then determines which task should execute next, based on priority and other factors. 8. What is a Transient Variable? A. A transient variable is a variable that may not be serialized. 9. Can an anonymous class be declared as Implementing An Interface and Extending A Class? A. An anonymous class may implement an interface or extend a superclass, but may not be declared to do both. 10. What is Clipping? A. Clipping is the process of confining paint operations to a limited area or shape. copy right to https://www.freshersnow.com/ Wipro Technical Interview DBMS Questions 1. What are the pros and cons of indexing in DBMS? A. Indexing is a technique for improving the database performance by reducing the number of disc accesses needed when a query is run. It's a data structure strategy for finding and accessing data in a database rapidly. https://www.freshersnow.com/ The following are some of the pros of indexes: ● The index ensures that each record in the database is uniquely identified ● An index allows data to be retrieved quickly ● When an index is used in a query, the performance usually improves dramatically ● They're good for sorting. It is possible to eliminate the need for a post-fetch-sort procedure The cons of indexing are: ● Inserts, updates, and deletes are all slowed down by indexes https://www.freshersnow.com/
no reviews yet
Please Login to review.