Filter interviews by
I applied via LinkedIn and was interviewed before May 2023. There were 2 interview rounds.
Task based on the Reactjs on the codesandbox
posted on 19 Aug 2024
Abstract class is a class that cannot be instantiated and is used as a blueprint for other classes to inherit from.
Cannot be instantiated directly
Can have abstract methods that must be implemented by subclasses
Can have non-abstract methods that can be inherited by subclasses
Used to define common behavior for subclasses
Access modifiers are keywords in programming languages that define the accessibility of classes, methods, and variables.
Access modifiers control the visibility and accessibility of classes, methods, and variables in a program.
Common access modifiers include public, private, protected, and default (package-private).
Public access modifier allows access from any other class.
Private access modifier restricts access to only...
posted on 24 May 2024
ConcurrentHashMap is a thread-safe implementation of the HashMap class in Java.
ConcurrentHashMap allows multiple threads to read and write to the map concurrently without causing any data corruption.
It achieves thread-safety by dividing the map into segments, each of which can be locked independently.
ConcurrentHashMap is more efficient than using synchronized collections for concurrent access.
Example: ConcurrentHashMap
Dependency injection is a design pattern where dependencies are provided to a class from the outside, while dependency inversion is a principle that states high-level modules should not depend on low-level modules, but both should depend on abstractions.
Dependency injection is a technique to achieve dependency inversion.
Dependency injection involves providing dependencies to a class from the outside, typically through ...
No, you will not see 2 objects in the set. To insert unique objects to a set, you can override the equals() and hashCode() methods in the object class.
In a set, each element must be unique based on the equals() method. If you add 2 objects with the same attribute values, only one will be stored in the set.
To ensure uniqueness, override the equals() and hashCode() methods in the object class. This will define how object...
Serialisation is the process of converting an object into a format that can be easily stored or transmitted. Externalisation is a way to customize the serialization process. Serializable is an interface in Java that allows objects to be serialized.
Serialisation is the process of converting an object into a format that can be easily stored or transmitted
Externalisation is a way to customize the serialization process
Seri...
Create a generic method to add string or integer to List
Create a generic method that takes a List and an element as input
Use Java generics to specify the type of List and element
Check the type of List and element, then add the element to the List
posted on 20 Apr 2024
I applied via Recruitment Consulltant and was interviewed in Mar 2024. There were 2 interview rounds.
posted on 7 Feb 2024
Closures in JavaScript are functions that have access to variables from their outer scope, even after the outer function has finished executing.
Closures are created when a function is defined inside another function.
The inner function has access to the outer function's variables, parameters, and even the outer function's return value.
Closures are useful for creating private variables and data encapsulation.
They can be ...
Props and state are both used in React to manage and pass data, but they have different purposes and behaviors.
Props are read-only and passed from parent components to child components.
State is mutable and managed within a component.
Props are used to pass data from a parent component to a child component.
State is used to manage and update data within a component.
Props are passed as attributes to a component in JSX.
Stat...
Performance optimization involves identifying and resolving bottlenecks to improve the efficiency of software.
Identify and analyze performance bottlenecks
Optimize algorithms and data structures
Improve database performance through indexing and query optimization
Use caching techniques to reduce database and network calls
Minimize network latency by optimizing network requests
Optimize front-end code by reducing DOM manipul...
Class-based components are ES6 classes that extend React.Component, while function-based components are functions that return JSX.
Class-based components are more feature-rich and have access to lifecycle methods.
Function-based components are simpler and easier to read and test.
Class-based components can have state and use lifecycle methods like componentDidMount and componentDidUpdate.
Function-based components can use ...
ES6 (ECMAScript 2015) introduced several new features to JavaScript, enhancing its functionality and making it more efficient.
Arrow functions: concise syntax for writing functions
Let and const: block-scoped variables
Template literals: easier string interpolation
Destructuring assignment: extracting values from arrays or objects
Spread syntax: expanding elements in arrays or objects
Classes: syntactical sugar for creating ...
posted on 16 Jun 2024
Aptitude test basic on java
posted on 23 Sep 2023
I applied via campus placement at CVR College of Engineering, Hyderabad and was interviewed before Sep 2022. There were 4 interview rounds.
It was Maths problems Aptitude
@ simple coding questions were asked
posted on 17 Dec 2020
I applied via Walk-in and was interviewed in Nov 2020. There were 5 interview rounds.
An array linked list can be executed using a loop to traverse through the array and access the linked nodes.
Create an array to store the linked nodes
Assign the first node to the first element of the array
Use a loop to traverse through the array and access the linked nodes
To access the next node, use the index of the current node as the index of the next node in the array
Stop the loop when the last node is reached
Character constants are fixed values represented by a single character in C++.
They are enclosed in single quotes (' ')
Examples include 'a', 'B', '5', '$'
They are also known as character literals
OSI, TCP & IP are networking protocols used for communication between devices on a network.
OSI (Open Systems Interconnection) is a conceptual model that defines how data is transmitted over a network.
TCP (Transmission Control Protocol) is a protocol that ensures reliable transmission of data between devices.
IP (Internet Protocol) is a protocol that handles the addressing and routing of data packets between devices on a...
Streams in C++ are used for input and output operations. Predefined streams in C++ include cin, cout, cerr, and clog.
Streams in C++ are objects that allow reading from or writing to external sources or destinations.
cin is the standard input stream used for reading input from the user.
cout is the standard output stream used for printing output to the console.
cerr is the standard error stream used for printing error mess...
RDBMS stands for Relational Database Management System.
It is a type of database management system that stores data in tables with relationships between them.
It uses SQL (Structured Query Language) to manipulate and retrieve data.
Examples include MySQL, Oracle, and Microsoft SQL Server.
Normalisation is the process of organizing data in a database to reduce redundancy and improve data integrity.
It involves breaking down a table into smaller tables and defining relationships between them.
Normalization helps to eliminate data inconsistencies and anomalies.
There are different levels of normalization, with each level having specific rules to follow.
Examples of normalization include converting repeating gr...
INDEX is generally created on columns that are frequently used in WHERE, JOIN, and ORDER BY clauses.
INDEX improves the performance of SELECT queries.
INDEX should be created on columns with high selectivity.
INDEX should not be created on columns with low selectivity.
Examples of columns to create INDEX on are primary keys, foreign keys, and columns used in search queries.
Object oriented model is a programming paradigm that uses objects to represent real-world entities.
Objects have properties and methods that define their behavior
Encapsulation, inheritance, and polymorphism are key concepts in OOP
Examples of OOP languages include Java, C++, and Python
Top-n analysis is a technique used in DBMS to retrieve the top n records based on a specific criteria.
Used to retrieve top n records
Based on specific criteria
Commonly used in data analysis and reporting
DML is provided to manipulate data in a database.
DML stands for Data Manipulation Language.
It is used to insert, update, delete, and retrieve data from a database.
DML commands include INSERT, UPDATE, DELETE, and SELECT.
DML is essential for managing and maintaining data in a database.
Reference variables in C++ are aliases for other variables, allowing direct access and manipulation of the original data.
Reference variables are declared using an ampersand (&) symbol.
They must be initialized when declared and cannot be reassigned to refer to a different variable.
Changes made to a reference variable affect the original variable it refers to.
They are commonly used to pass variables by reference to funct...
RDBMS is a type of DBMS that stores data in a structured manner using tables with relationships.
RDBMS stands for Relational Database Management System
Data is stored in tables with predefined relationships
Data is accessed using SQL (Structured Query Language)
Examples include MySQL, Oracle, and SQL Server
DBMS is a broader term that includes all types of database management systems
Examples of DBMS include MongoDB, Cassand
Normalization is a process of organizing data in a database to eliminate redundancy and improve data integrity.
First Normal Form (1NF) - Eliminate duplicate data by separating them into multiple tables.
Second Normal Form (2NF) - Remove partial dependencies by creating separate tables for sets of attributes.
Third Normal Form (3NF) - Eliminate transitive dependencies by creating separate tables for related attributes.
Boy...
Scope rules in C++ determine the visibility and accessibility of variables and functions within a program.
Variables declared within a block have local scope and are only accessible within that block.
Global variables have file scope and can be accessed from any function within the file.
Function parameters have function scope and are only accessible within that function.
Nested blocks can have their own scope, and variabl...
BCNF is not necessarily better than 2NF & 3NF, it depends on the specific requirements of the database.
BCNF is the highest normal form and ensures that there are no non-trivial functional dependencies between any subset of candidate keys.
2NF and 3NF are also important and should be used when appropriate.
For example, if a database has a composite primary key and non-key attributes that depend on only one part of the key...
An operating system is a software that manages computer hardware and software resources.
It acts as an interface between the user and the computer hardware.
It provides services to applications and manages system resources.
Examples include Windows, macOS, Linux, Android, and iOS.
Exclusive lock is used when a resource is being modified and prevents other processes from accessing it. Shared lock allows multiple processes to read a resource simultaneously.
Exclusive lock is used for write operations, while shared lock is used for read operations.
Exclusive lock blocks other processes from acquiring both exclusive and shared locks on the same resource.
Shared lock allows multiple processes to acquire...
rand() generates a random number, srand() seeds the random number generator.
rand() generates a pseudo-random number between 0 and RAND_MAX
srand() sets the seed for the random number generator used by rand()
srand() should be called before rand() to ensure different sequences of random numbers
Example: srand(time(NULL)) sets the seed to the current time, ensuring a different sequence each time the program is run
A subquery is a query within another query used to retrieve data that will be used in the main query.
Subqueries are enclosed in parentheses and placed within the WHERE clause of the main query.
They can be used to filter results based on a condition that involves data from another table.
Subqueries can also be used in the SELECT, FROM, and HAVING clauses.
Examples include finding the average salary of employees in a depar...
Linked List is a linear data structure. Stack and Queue are abstract data types.
Linked List: A collection of nodes where each node points to the next node.
Stack: A data structure where elements are added and removed from the top only.
Queue: A data structure where elements are added at the rear and removed from the front only.
Example: Browser history can be implemented using a Linked List.
Example: Undo/Redo functionalit...
Triggers are events that initiate an action or set of actions. They are commonly used in databases and automation systems.
Triggers are used in databases to automatically execute a set of actions when a certain event occurs, such as inserting or updating data.
They can also be used in automation systems to initiate a process or workflow when a specific event occurs, such as receiving an email or a file upload.
Triggers ca...
Semaphore and monitor are synchronization tools used in concurrent programming.
Semaphore is a signaling mechanism that allows multiple threads to access a shared resource simultaneously.
Monitor is a synchronization construct that allows threads to have both mutual exclusion and the ability to wait (block) for a certain condition to become true.
Semaphore is a lower-level primitive, while monitor is a higher-level abstra...
Transparent DBMS allows users to see and control the underlying database operations.
Transparent DBMS provides visibility into the database operations and allows users to monitor and control them.
It enables users to see how data is being stored, accessed, and manipulated in real-time.
Examples include Oracle Transparent Data Encryption and Microsoft SQL Server Transparent Data Encryption.
Transparent DBMS can improve secu...
RDBMS KERNEL is not a commonly used term in the industry.
There is no widely accepted definition of RDBMS KERNEL.
It may refer to the core components of a relational database management system.
It could also be a term used by a specific company or product.
Without more context, it is difficult to provide a specific answer.
Primary key uniquely identifies a record, foreign key links tables, candidate key can be primary key, super key is a set of attributes.
Primary key: Unique identifier for a record in a table
Foreign key: Links tables together by referencing the primary key of another table
Candidate key: A set of attributes that can be used as a primary key
Super key: A set of attributes that can uniquely identify a record
posted on 11 Oct 2020
OOPs stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects.
OOPs is based on the four main concepts: Encapsulation, Inheritance, Polymorphism, and Abstraction.
Encapsulation is the process of hiding the implementation details from the user.
Inheritance is the process of creating a new class from an existing class.
Polymorphism is the ability of an object to take on many forms.
...
Front end Developer
3
salaries
| ₹5 L/yr - ₹6 L/yr |
TCS
Accenture
Wipro
Cognizant