Premium Employer

Persistent Systems

3.5
based on 3.6k Reviews
Filter interviews by

20+ Bluewud Concepts Interview Questions and Answers

Updated 12 Sep 2024
Popular Designations
Q1. K Largest Elements You are given with an integer k and an array of integers that contain numbers in random order. Write a program to find k largest numbers from given array. You need to save them in an array an...read more
Ans.

Given an unsorted array, find the K largest elements in non-decreasing order.

  • Sort the array in non-decreasing order.

  • Return the last K elements of the sorted array.

View 5 more answers

Q2. What is nodejs and difference between nodejs and javascript

Ans.

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).

View 1 answer
Q3. Star Pattern

Write a program to print the follwing pattern in javascript.
*******
** **
* * * *
* ** *
* * * *
** **
*******

Ans.

The program prints a star pattern using asterisks and spaces.

  • Use nested loops to iterate through rows and columns.

  • Determine the number of asterisks and spaces to print in each row.

  • Use conditional statements to decide when to print an asterisk or a space.

View 2 more answers

Q4. What is Difference between let var const,

Ans.

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 let and var can be declared without initialization.

  • Exampl...read more

Add your answer
Discover Bluewud Concepts interview dos and don'ts from real experiences

Q5. what is express js and why it is used in web apps and what is body parser

Ans.

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 incoming request bodies in a middleware before your handlers,...read more

Add your answer

Q6. what are the scope in javascript, describe each one.

Ans.

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 are accessible within the function they are declared in

Add your answer
Are these interview questions helpful?

Q7. what is callback hell, what is Promises?

Ans.

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 reject function to handle success and failure respectively

Add your answer

Q8. what is passport.js why it is used

Ans.

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 Express.js to authenticate users with Google OAuth2.

  • Example...read more

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. what is event loops and phases

Ans.

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() function is added to the timer phase and executed after...read more

Add your answer

Q10. what is Function hoisting

Ans.

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.

Add your answer

Q11. what are arrow functions

Ans.

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;

Add your answer

Q12. why nodejs is single Threaded

Ans.

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-core systems by creating child processes.

Add your answer

Q13. write a sql query to select 2nd highest from a column of a table

Ans.

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

Add your answer

Q14. List manipulation using list comprehension and lambda function for prime number

Ans.

Using list comprehension and lambda function to manipulate a list of prime numbers

  • Use list comprehension to generate a list of numbers

  • Use a lambda function to check if a number is prime

  • Filter the list of numbers using the lambda function to get prime numbers

Add your answer

Q15. difference between node and expressjs

Ans.

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 Express are often used together to build scalable and efficien...read more

Add your answer

Q16. What us sdlc? Use of it.

Ans.

SDLC stands for Software Development Life Cycle. It is a process used by software development teams to design, develop, and test high-quality software.

  • SDLC involves planning, designing, coding, testing, and deployment stages.

  • It helps in ensuring that the software meets the requirements and is delivered on time and within budget.

  • Examples of SDLC models include Waterfall, Agile, and DevOps.

  • Each stage of SDLC has specific goals and deliverables to be achieved.

Add your answer

Q17. What is oops? Pilars or oops.

Ans.

OOPs stands for Object-Oriented Programming. It is based on four main principles: Inheritance, Encapsulation, Abstraction, and Polymorphism.

  • OOPs is a programming paradigm that focuses on objects and classes.

  • The four main pillars of OOPs are Inheritance, Encapsulation, Abstraction, and Polymorphism.

  • Inheritance allows a class to inherit properties and behavior from another class.

  • Encapsulation refers to the bundling of data and methods that operate on the data into a single unit...read more

Add your answer

Q18. What is devops and why devops?

Ans.

DevOps is a software development methodology that combines software development (Dev) with IT operations (Ops) to improve collaboration and efficiency.

  • DevOps aims to automate and streamline the software development process.

  • It focuses on continuous integration, continuous delivery, and continuous deployment.

  • DevOps encourages a culture of collaboration, communication, and shared responsibility between development and operations teams.

  • Tools commonly used in DevOps include Jenkin...read more

Add your answer

Q19. SQL query for 2nd highest salary

Ans.

SQL query to find the 2nd highest salary in a table

  • Use the ORDER BY clause to sort the salaries in descending order

  • Use the LIMIT clause to limit the result to the second row

  • Consider handling cases where there might be ties for the highest salary

Add your answer

Q20. Move all the zeros at last

Ans.

Move all zeros in an array to the end while maintaining the order of other elements.

  • Iterate through the array and move all zeros to the end while keeping the order of non-zero elements.

  • Use two pointers approach to swap elements in-place.

  • Example: Input [0, 1, 0, 3, 12], Output [1, 3, 12, 0, 0]

Add your answer

Q21. Binary search algorithm explanation

Ans.

Binary search is a divide and conquer algorithm that efficiently finds the target value in a sorted array.

  • Divide the array in half and compare the target value with the middle element

  • If the target value is smaller, search the left half. If larger, search the right half

  • Repeat the process until the target value is found or the subarray is empty

Add your answer

Q22. What is state file?

Ans.

A state file is a file used to store the current state of a system or application.

  • State files are commonly used in software development to save the current state of an application for later retrieval.

  • They can be used to store variables, configurations, or other data that needs to persist between sessions.

  • State files are often used in configuration management tools like Terraform to track the state of infrastructure resources.

  • Examples of state files include .tfstate files in T...read more

Add your answer

Q23. When you are joine

Ans.

Joining a new team requires understanding the team dynamics and culture.

  • Take time to observe and learn about the team's communication style and work processes.

  • Be open to feedback and willing to adapt to the team's way of doing things.

  • Build relationships with team members and establish trust through open communication.

  • Ask questions and seek clarification to ensure a clear understanding of expectations and goals.

  • Contribute your skills and expertise to the team while also being ...read more

Add your answer

Q24. SQL Queries using JOINS

Ans.

SQL queries using JOINs are used to combine rows from two or more tables based on a related column between them.

  • Use INNER JOIN to return rows when there is at least one match in both tables.

  • Use LEFT JOIN to return all rows from the left table and the matched rows from the right table.

  • Use RIGHT JOIN to return all rows from the right table and the matched rows from the left table.

  • Use FULL JOIN to return rows when there is a match in one of the tables.

  • Example: SELECT * FROM tabl...read more

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Bluewud Concepts

based on 15 interviews in the last 1 year
3 Interview rounds
Aptitude Test Round
Technical Round
HR Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Senior Software Engineer Interview Questions from Similar Companies

3.9
 • 33 Interview Questions
4.1
 • 26 Interview Questions
3.8
 • 20 Interview Questions
3.9
 • 15 Interview Questions
3.5
 • 11 Interview Questions
3.7
 • 10 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter