BlueStacks
Dr. Reddy's Interview Questions and Answers
Q1. Move Zeroes to End
Given an unsorted array of integers, adjust the array such that all zeroes are moved to the end while preserving the order of non-zero elements.
Input:
The input provided consists of multiple...read more
Q2. Java Reflection and how it works
Java Reflection is a feature that allows a program to examine or modify its own structure at runtime.
Java Reflection provides a way to inspect and manipulate classes, methods, fields, and constructors at runtime.
It allows you to access private fields and methods, bypassing encapsulation.
You can dynamically create instances of classes, invoke methods, and access fields using Reflection.
Example: Class clazz = Class.forName("com.example.MyClass");
Example: Method method = clazz.g...read more
Q3. Virtual Functions in C++
Virtual functions in C++ allow for dynamic binding and polymorphism.
Virtual functions are declared in a base class and can be overridden in derived classes.
They allow for dynamic binding, meaning the function to be called is determined at runtime.
Virtual functions enable polymorphism, where objects of different classes can be treated as objects of a common base class.
Example: class Animal { virtual void speak() { cout << "Animal speaks"; } }; class Dog : public Animal { void ...read more
Q4. Vertical Order Traversal Problem Statement
Given a binary tree, return the vertical order traversal of the values of the nodes in the tree.
In a vertical order traversal, for each node at position (X, Y), (X-1,...read more
Q5. Use selenium to automate sign In testcase on a website
Automate sign in test case on a website using Selenium
Use Selenium WebDriver to open the website
Locate the username and password fields using locators like ID, name, class, etc.
Enter valid credentials into the fields
Click on the sign in button
Verify successful sign in by checking for expected elements on the next page
Q6. How to mobile testing
Mobile testing involves testing mobile applications on various devices to ensure functionality and performance.
Understand the requirements and functionalities of the mobile application
Test on different devices, operating systems, and network conditions
Perform functional, usability, performance, and security testing
Use emulators and simulators for testing in addition to physical devices
Automate testing processes to increase efficiency
Consider factors like screen size, resoluti...read more
Interview Process at Dr. Reddy's
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month