Broadridge Financial Solutions
10+ Cadmaxx Solutions Interview Questions and Answers
Q1. What is the angle made by min when it moved from 5 to 5:40.
Min's angle from 5 to 5:40 is 120 degrees.
The minute hand moves 360 degrees in 60 minutes.
From 5 to 6, the minute hand moves 30 degrees per 5 minutes.
From 5 to 5:40, the minute hand moves 30 degrees per 8 minutes.
Therefore, the angle made by the minute hand is 30 degrees x 8 = 240 degrees.
However, the angle between 5 and 5:40 is only 240 degrees - 120 degrees = 120 degrees.
Q2. What are different kind of security vulnerabilities and how to handle that
Security vulnerabilities include SQL injection, cross-site scripting, and insecure direct object references.
SQL injection: attackers insert malicious SQL code into input fields to access or manipulate database
Cross-site scripting: attackers inject malicious scripts into web pages viewed by other users
Insecure direct object references: attackers access unauthorized data by manipulating object references
Q3. What are different types of pointers.explain each
Different types of pointers include null pointers, void pointers, function pointers, and array pointers.
Null pointers: pointers that do not point to any memory location.
Void pointers: pointers that can point to any data type.
Function pointers: pointers that point to functions.
Array pointers: pointers that point to the first element of an array.
Q4. What is object oriented programming?
Object oriented programming is a programming paradigm that uses objects to represent and manipulate data.
It focuses on encapsulation, inheritance, and polymorphism.
Encapsulation hides the implementation details of an object from the outside world.
Inheritance allows a class to inherit properties and methods from another class.
Polymorphism allows objects of different classes to be treated as if they were of the same class.
Examples of object oriented programming languages includ...read more
Q5. 1.swap two nodes in a ll,2.swap two no,frequency count of a array ,
Answering technical interview questions on linked lists and arrays.
To swap two nodes in a linked list, we need to identify the nodes and swap their pointers.
To swap two numbers in an array, we can use a temporary variable to store one of the numbers while swapping.
To count the frequency of elements in an array, we can use a hash table or a dictionary to store the count of each element.
Example: swapping nodes in a linked list - if we want to swap nodes A and B, we need to iden...read more
Q6. Write a program to find the occurrences of each element and sort the array in the increasing order of
Program to find occurrences of each element and sort array in increasing order.
Use a HashMap to store the count of each element in the array.
Sort the array based on the occurrences of each element.
Handle edge cases like empty array or null input.
Q7. Iterate through elements of array using pointers
Iterate through array using pointers
Declare a pointer variable to point to the first element of the array
Use a loop to iterate through the array by incrementing the pointer
Stop the loop when the pointer reaches the end of the array
Q8. What is pointers
Pointers are variables that store memory addresses of other variables. They allow direct manipulation of memory.
Pointers are declared using the * symbol.
They can be used to pass values by reference.
Pointers can be used to dynamically allocate memory.
Example: int *ptr; ptr = # *ptr = 10;
Example: void swap(int *a, int *b) { int temp = *a; *a = *b; *b = temp; }
Q9. What is abstraction in oops?
Abstraction in OOP is the process of hiding unnecessary details and exposing only essential features of an object.
Abstraction focuses on what an object does rather than how it does it.
It allows us to create abstract classes and interfaces that can be used as blueprints for creating objects.
Abstraction helps in achieving modularity, reusability, and maintainability of code.
Example: A car can be abstracted as a vehicle with properties like speed, fuel, and methods like start, s...read more
Q10. What is index in database
Index in a database is a data structure that improves the speed of data retrieval operations.
Indexes are used to quickly locate data without having to search every row in a database table.
They are created on columns in a database table to speed up the query process.
Examples of indexes include primary keys, unique keys, and composite keys.
Q11. What is partial View
Partial view is a reusable view component in ASP.NET MVC which can be rendered within a view.
Partial views can be used to break down complex views into smaller, manageable components.
They can be rendered within other views using the @Html.Partial() method.
Partial views are useful for reusing code and improving maintainability of MVC applications.
Q12. What is Hashing
Hashing is a process of converting input data into a fixed-size string of bytes using a mathematical algorithm.
Hashing is used to securely store passwords by converting them into a hash value.
Hashing is used in data retrieval systems to quickly locate data based on its hash value.
Common hashing algorithms include MD5, SHA-1, and SHA-256.
Q13. Expected CTC and percentage
Expected CTC and percentage
Expected CTC refers to the salary package that the candidate is looking for
Percentage refers to the academic percentage achieved by the candidate
The candidate can mention their expected CTC based on their experience and industry standards
The academic percentage can showcase the candidate's academic performance and potential
Interview Process at Cadmaxx Solutions
Reviews
Interviews
Salaries
Users/Month