i
xNARA
Filter interviews by
Very difficult to clear
Normal coding test, Java programming
JAVA is a high-level programming language used for developing applications and software.
Object-oriented programming language
Platform-independent
Used for web development, mobile apps, enterprise software
Has a large standard library
Supports multithreading and networking
Oracle in software refers to Oracle Corporation, a multinational computer technology corporation known for its database management systems.
Oracle is a leading provider of relational database management systems (RDBMS).
It offers a wide range of products and services for data management, cloud applications, and more.
Oracle databases are widely used in enterprise applications for storing and managing data efficiently.
Exam...
Simple code to print 'Hello World'
Use a print statement to display 'Hello World'
In Python: print('Hello World')
In Java: System.out.println('Hello World')
Code for printing algorithm in software development.
Use loops to iterate through the data to be printed.
Consider formatting options such as spacing and alignment.
Handle edge cases like empty input or invalid data.
Example: for (int i = 0; i < array.length; i++) { System.out.println(array[i]); }
Arrays of string types are collections of strings stored in a single variable.
Arrays can be declared and initialized with string values like ['apple', 'banana', 'cherry'].
Access individual strings in the array using index like array[0] for 'apple'.
Perform operations like sorting or filtering on arrays of strings.
Comparing different strings in an array of texts.
Iterate through the array and compare each string with the others.
Use a nested loop to compare each pair of strings.
Consider using a hash map to store the frequency of each unique string for efficient comparison.
Different design patterns in software engineering
Creational patterns (e.g. Singleton, Factory)
Structural patterns (e.g. Adapter, Decorator)
Behavioral patterns (e.g. Observer, Strategy)
Different types of string test types include equality, containment, length, case sensitivity, and pattern matching.
Equality test: comparing two strings to see if they are exactly the same
Containment test: checking if a string contains a specific substring
Length test: determining the length of a string
Case sensitivity test: checking if two strings are equal while considering case
Pattern matching test: using regular expr
I applied via Naukri.com and was interviewed in Jun 2024. There was 1 interview round.
The coding test was divided in 4 sections:
1> Java and SpringBoot multiple choice questions
The question topics included, multihreading, springboot context, security
2> Leetcode style program question 1 - Easy
3> Leetcode style program question 2 - Medium
Length of longest consecutive ones by at most one swap.
4> Sql query question
posted on 20 Jul 2023
I applied via Recruitment Consulltant and was interviewed in Jun 2023. There were 4 interview rounds.
posted on 16 Jul 2023
I was interviewed in Jun 2023.
Handling security of an application involves following the top 10 OWASP guidelines.
1. Implement proper authentication and authorization mechanisms.
2. Protect against injection attacks by using parameterized queries.
3. Secure sensitive data by encrypting it both at rest and in transit.
4. Prevent cross-site scripting (XSS) attacks by validating and sanitizing user input.
5. Implement proper session management to prevent s...
posted on 12 May 2022
I applied via Naukri.com and was interviewed in Apr 2022. There were 3 interview rounds.
let, var, and const are all used to declare variables in JavaScript, but they have different scoping rules and behaviors.
let and const were introduced in ES6, while var has been around since the beginning of JavaScript.
let and const are block-scoped, while var is function-scoped.
Variables declared with const cannot be reassigned, while let and var can be.
const variables must be initialized when they are declared, while...
Scopes in JavaScript determine the accessibility of variables and functions.
Global scope: variables and functions declared outside any function are accessible globally
Local scope: variables and functions declared inside a function are only accessible within that function
Block scope: variables declared with let and const are only accessible within the block they are declared in
Function scope: variables declared with var...
Callback hell is a situation where nested callbacks make code unreadable. Promises are a solution to this problem.
Callback hell occurs when there are too many nested callbacks in asynchronous code
It makes the code difficult to read and maintain
Promises are a way to handle asynchronous operations without nested callbacks
Promises can be used to chain multiple asynchronous operations together
Promises have a resolve and re...
Express.js is a popular Node.js web framework used for building web applications. Body-parser is a middleware used to parse incoming request bodies.
Express.js is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.
It provides a way to handle HTTP requests and responses, routing, middleware, and more.
Body-parser is a middleware used to parse inc...
Arrow functions are a concise way to write functions in JavaScript.
They have a shorter syntax than traditional function expressions.
They do not have their own 'this' keyword.
They are not suitable for methods, constructors, or prototype methods.
Example: const add = (a, b) => a + b;
Example: const square = x => x * x;
Node.js is a server-side JavaScript runtime environment.
Node.js is built on top of the V8 JavaScript engine from Google Chrome.
It allows developers to write server-side code in JavaScript.
Node.js has a non-blocking I/O model, making it efficient for handling large amounts of data.
Node.js has a vast library of modules available through npm (Node Package Manager).
Passport.js is an authentication middleware for Node.js.
Passport.js provides a simple way to authenticate users with various authentication strategies such as local, OAuth, OpenID, etc.
It is highly customizable and can be integrated with any Node.js web application framework.
Passport.js maintains user sessions and provides a consistent API for authentication across different strategies.
Example: Using Passport.js with E...
Node is a runtime environment for executing JavaScript code, while Express is a web application framework built on top of Node.
Node provides the platform for running JavaScript code outside of a web browser
Express is a lightweight framework that simplifies building web applications on top of Node
Express provides features like routing, middleware, and templating that make it easier to build web applications
Node and Expr...
Node.js is single-threaded to optimize performance and simplify programming.
Node.js uses an event-driven, non-blocking I/O model.
This allows for efficient handling of multiple requests without creating new threads.
Node.js also uses a single event loop to manage all I/O operations.
This simplifies programming by eliminating the need for complex thread synchronization.
However, Node.js can still take advantage of multi-cor
Function hoisting is a JavaScript behavior where function declarations are moved to the top of their scope.
Function declarations are moved to the top of their scope during the compilation phase.
Function expressions are not hoisted.
Hoisting can lead to unexpected behavior and bugs if not understood properly.
Event loop is a mechanism that allows JavaScript to perform non-blocking I/O operations.
Event loop is a loop that constantly checks the message queue and executes the next message if there is any.
Phases are the different stages of the event loop, such as timers, I/O callbacks, idle, and poll.
Event loop is crucial for Node.js to handle multiple requests simultaneously without blocking the main thread.
Example: setTimeout...
I applied via Approached by Company and was interviewed in Apr 2024. There was 1 interview round.
posted on 14 Aug 2023
posted on 7 May 2022
I applied via Campus Placement and was interviewed in Nov 2021. There were 2 interview rounds.
It is based on data structure and programming logic
SQL query to select 2nd highest from a column of a table
Use ORDER BY to sort the column in descending order
Use LIMIT to select the second row
Use subquery to avoid duplicates
Infosys
TCS
Wipro
HCLTech