Accenture
100+ Saamsha Technologies Interview Questions and Answers
You have been given an integer array/list(ARR) of size N which contains numbers from 0 to (N - 2). Each number is present at least once. That is, if N = 5, the array/list constitutes values rangin...read more
You are given a string ‘S’. You are also given ‘M’ integers in an array ‘A’. You perform ‘M’ operations on this string. The operations are given in an array ‘A’ of size ‘M’.
You perform the operat...read more
Given a string (STR) of length N, you have to create a new string by performing the following operation:
Take the smallest character from the first 'K' characters of STR, remove it from STR...read more
All questions will be from the document that is given to students before the second round begins.
example of questions:
Can you copy paste an answer from any online source?
What is cf score?
Q5. Write a code in C language such that output will be of Triangle shape.
The code will print a triangle shape using asterisks (*) in C language.
Use nested loops to print the required number of asterisks in each row.
The number of rows and the pattern can be adjusted by changing the loop conditions.
Start with a single asterisk in the first row and increment the number of asterisks in each subsequent row.
Some questions that i remember are:
1.Bankers algorithm is used to?
2.if the page size increases, the internal fragmentation also?
3.In the relational model, cardinality is termed as?
4.Cartesian...read more
1. What are joins?
2. What is 2 phase locking protocol?
Q8. What is fan trap? How to solve it? Give one example.
Fan trap is a situation in which a query involving multiple tables results in a Cartesian product.
Fan trap occurs when a table is connected to multiple tables in a one-to-many relationship.
It can be solved by creating a bridge table or by using aggregate functions.
For example, if a customer table is connected to an orders table and a products table, a fan trap can occur when trying to retrieve information about customers who have ordered a certain product.
To solve this, a bri...read more
Q9. Compile a 1 minute talk on a word given by the interviewer and list the motivation or learning from the same.
Talk on the word 'Agile'
Agile is a software development methodology that emphasizes flexibility and collaboration
It values customer satisfaction and working software over comprehensive documentation
Agile teams work in short iterations, delivering small increments of functionality
Agile promotes continuous improvement and adaptation to changing requirements
Learning Agile can improve project management skills and increase productivity
Q10. What is Aggregate awareness? When we use it? Syntax of it.
Aggregate awareness is a feature in Business Objects that allows reports to be optimized for performance by using aggregate tables.
Aggregate awareness is used when creating reports in Business Objects
It allows the report to use aggregate tables instead of detailed tables for improved performance
Syntax: AGGR_AWARE(
), , Example: AGGR_AWARE(Product, Sum(Sales), Sales_Fact_Table)
Q11. How you distributed the modules among your team mates?
I distributed modules based on team members' expertise and workload.
Analyzed team members' skills and experience
Assigned modules based on their strengths
Considered workload and availability
Communicated and collaborated with team members
Reviewed progress and made adjustments as needed
Q12. How to decide when to use custom workflow and plugin?
Custom workflows and plugins are used based on specific requirements and functionality needed.
Custom workflows are useful when there is a need for a specific business process that is not available in the out-of-the-box workflows.
Plugins are useful when there is a need for custom business logic that cannot be achieved through configuration or workflows.
Consider the complexity of the requirement and the impact on performance before deciding to use custom workflows or plugins.
Ex...read more
Q13. 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
Q14. What is html and what is the purpose of html?
HTML stands for Hypertext Markup Language and is used for creating and structuring web pages.
HTML is a markup language used for creating the structure of web pages.
It consists of elements enclosed in tags, such as <html>, <head>, <title>, <body>, etc.
HTML tags define the content and layout of a web page, including text, images, links, and other media.
HTML is the standard language for creating websites and web applications.
Example: <h1>This is a heading</h1>
Q15. Write query to fetch all employees name from database which starts from a alphabet.
Query to fetch employees whose names start with a specific alphabet.
Use SQL query with LIKE operator and wildcard character %.
Example: SELECT name FROM employees WHERE name LIKE 'A%';
Q16. Explain the difference between Array and a linked list.
Array is a fixed-size data structure with elements stored sequentially, while linked list is a dynamic data structure with elements stored non-sequentially.
Arrays have fixed size, while linked lists can grow dynamically.
Accessing elements in an array is faster (O(1)), while in a linked list it is slower (O(n)).
Inserting or deleting elements in an array can be inefficient, as it may require shifting elements, while in a linked list it is efficient.
Example: Array - ['apple', 'b...read more
Q17. How the operating system will work?
An operating system manages computer hardware and software resources and provides common services for computer programs.
The OS manages memory, CPU, and input/output devices.
It provides a user interface for interaction with the computer.
It manages file systems and provides security features.
Examples include Windows, macOS, and Linux.
The OS kernel is the core component that interacts with hardware.
The OS can be single-tasking or multi-tasking.
Virtualization allows multiple OS i...read more
Q18. Write a short code in java or C
Code to find the factorial of a number
Use a loop to multiply the number with all the numbers below it
Handle the case when the number is 0 or 1 separately
Use long data type to handle large factorials
Q19. Tell me about how you prepare the matrics report in testing
I prepare the matrics report in testing by collecting relevant data, analyzing test results, and creating visual representations for easy understanding.
Collect relevant data from testing activities
Analyze test results to identify trends and patterns
Create visual representations such as graphs or charts to showcase the data
Include key metrics like pass/fail rates, defect density, and test coverage
Present the report in a clear and concise manner for stakeholders
Q20. Difference between authentication and Authorisation in terms of Dynamics 365?
Authentication verifies the identity of a user, while authorization determines what actions they can perform.
Authentication confirms the identity of a user through credentials such as username and password.
Authorization determines what actions a user can perform based on their role and permissions.
In Dynamics 365, authentication can be done through various methods such as Active Directory, OAuth, and Microsoft Account.
Authorization can be managed through security roles and pr...read more
Q21. what is redux and why do you use it in react?
Redux is a predictable state container for JavaScript apps, commonly used with React for managing application state.
Redux helps manage the state of an application in a predictable way
It provides a single source of truth for the state of the application
Redux allows for easier debugging and testing of state changes
Actions are dispatched to update the state in a predictable manner
Reducers specify how the state changes in response to actions
Q22. How to use dynamic break in report?
Dynamic break in report allows for automatic page breaks based on data.
Define a break field in the report design
Set the break field to trigger a page break when its value changes
Use dynamic break to automatically adjust page breaks based on data
Example: A report on sales by region can use dynamic break to create a new page for each region
Q23. What is dot net?and why use dot net?
Dot net is a software framework developed by Microsoft for building and running applications on Windows.
Dot net provides a common language runtime (CLR) for executing code written in different programming languages.
It includes a large class library that provides pre-built code for common programming tasks.
Dot net supports web development, desktop application development, and mobile app development.
It offers features like memory management, security, and exception handling.
Dot...read more
Q24. What id DOM? Difference between DOM Ready and Window Loaded
DOM stands for Document Object Model. DOM Ready is when the HTML is parsed and Window Loaded is when all resources are loaded.
DOM is a programming interface for web documents
It represents the page so that programs can change the document structure, style, and content
DOM Ready is when the HTML is parsed and the DOM tree is built
Window Loaded is when all resources (images, scripts, etc.) are loaded
DOM Ready is faster than Window Loaded
jQuery's $(document).ready() is an example ...read more
Q25. How many types of normalisation?
There are 5 types of normalisation in database management.
1NF - Eliminate duplicate data
2NF - Eliminate partial dependencies
3NF - Eliminate transitive dependencies
BCNF - Eliminate redundant data
4NF - Eliminate multi-valued dependencies
Q26. Why main method is static and public in java?
The main method in Java is static and public for accessibility and to allow the JVM to call it without creating an instance of the class.
Static - main method is static so that the JVM can call it without creating an instance of the class.
Public - main method is public to allow the JVM to access and execute it.
Accessibility - main method needs to be accessible by the JVM to serve as the entry point of the program.
Q27. What is polymorphism?
Polymorphism is the ability of an object to take on many forms.
Polymorphism allows objects of different classes to be treated as if they are of the same class.
It is achieved through method overriding and method overloading.
Example: A parent class Animal can have child classes like Dog, Cat, and Bird. All these child classes can have a method called 'makeSound', but each class can implement it differently.
Polymorphism makes code more flexible and reusable.
Q28. What is CDN ? Explain its implementation.
CDN stands for Content Delivery Network. It is a network of servers distributed geographically to deliver web content efficiently.
CDN helps in reducing latency by serving content from servers closer to the user.
It improves website performance by caching content and distributing it across multiple servers.
Popular CDN providers include Akamai, Cloudflare, and Amazon CloudFront.
Q29. Can we change the key of dictionary?
Yes, we can change the key of a dictionary in Python.
To change the key of a dictionary, we need to create a new key-value pair with the new key and the same value as the old key.
Then, we can delete the old key-value pair using the 'del' keyword.
Example: my_dict = {'a': 1, 'b': 2}; my_dict['c'] = my_dict.pop('a'); del my_dict['b']
Q30. What is the normalisation?
Normalization is the process of organizing data in a database to reduce redundancy and improve data integrity.
Normalization involves breaking down a database into smaller, more manageable tables
Each table should have a primary key and only contain data related to that key
Normalization helps to prevent data inconsistencies and anomalies
There are different levels of normalization, with each level building on the previous one
Examples of normalization include converting repeating...read more
Q31. What is oops? What are the principles?
OOPs stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects.
OOPs is based on four principles: Encapsulation, Inheritance, Polymorphism, and Abstraction.
Encapsulation is the process of hiding the implementation details of an object from the outside world.
Inheritance is the process of creating new classes from existing ones.
Polymorphism is the ability of an object to take on many forms.
Abstraction is the process of simplifying compl...read more
Q32. What is inheritance?
Inheritance is a mechanism in object-oriented programming where a new class is created by inheriting properties of an existing class.
Inheritance allows code reusability and saves time and effort in writing new code.
The existing class is called the parent or base class, and the new class is called the child or derived class.
The child class inherits all the properties and methods of the parent class and can also add its own unique properties and methods.
For example, a class 'An...read more
Q33. What is sql server? Why use sql?
SQL Server is a relational database management system developed by Microsoft.
SQL Server is used to store and manage data in a structured way.
It allows users to create, modify, and query databases using SQL.
SQL Server is widely used in enterprise-level applications and web development.
It offers features like data encryption, backup and recovery, and high availability.
Examples of SQL Server editions include Express, Standard, and Enterprise.
Q34. what is diff between ref an out?
Ref and out are both used for passing parameters by reference, but out requires the variable to be initialized first.
Ref and out are used to pass parameters by reference instead of by value.
Ref can be used with initialized or uninitialized variables, while out requires the variable to be initialized first.
Ref is used to pass values that may be modified by the method, while out is used to return a value from the method.
Example: void Method(ref int x) { x = x + 1; } int y = 5; ...read more
Q35. Program to filter and sort the Employees list using stream.
Program to filter and sort Employees list using stream in Java.
Use Java Stream API to filter and sort the Employees list.
Create a stream from the Employees list.
Use filter() method to filter the Employees based on a condition.
Use sorted() method to sort the filtered Employees list.
Q36. What is Polymorphism and it’s type?
Polymorphism is the ability of an object to take on many forms. It allows objects of different classes to be treated as if they were of the same class.
Polymorphism is achieved through method overriding and method overloading.
Method overriding is when a subclass provides a specific implementation of a method that is already provided by its parent class.
Method overloading is when a class has two or more methods with the same name but different parameters.
Polymorphism allows for...read more
Q37. Which angular versions you have been working on. What is selector. Explain dependency injection.
I have worked on Angular 2, 4, 6, 8, and 10. Selector is a CSS selector used to identify the component in the HTML template. Dependency injection is a design pattern where a class receives its dependencies from external sources rather than creating them itself.
Worked on Angular 2, 4, 6, 8, and 10 versions
Selector is a CSS selector used to identify the component in the HTML template
Dependency injection is a design pattern where a class receives its dependencies from external s...read more
Q38. What is ADO.net? Why use ado. Net?
ADO.net is a data access technology used to connect applications to databases.
ADO.net provides a consistent way to access data from different data sources.
It supports disconnected data architecture, which improves application performance.
It provides a set of classes to work with data, such as DataSet, DataReader, and DataAdapter.
ADO.net can be used with different programming languages, such as C# and VB.NET.
Examples of data sources include SQL Server, Oracle, and MySQL.
Q39. What are the criteria to select key ?
Key selection criteria depend on the specific use case and security requirements.
Consider the level of security needed
Evaluate the potential risks and threats
Assess the complexity and cost of implementation
Ensure compatibility with existing systems
Choose a key length appropriate for the encryption algorithm
Examples: AES, RSA, HMAC
Q40. What are roles in SQL? How data is stored in SQL.
Roles in SQL refer to permissions granted to users to perform specific actions on database objects.
Roles in SQL are used to group together privileges and permissions for easier management.
Roles can be assigned to users or other roles.
Examples of roles in SQL include DBA (Database Administrator), Developer, and Analyst.
Q41. Explain the work of @qualifier annotation?
The @Qualifier annotation in Spring is used to disambiguate bean instances when multiple beans of the same type are present.
Used to specify which bean should be autowired when multiple beans of the same type are present
Can be used on fields, methods, or constructor parameters
Helps in resolving the ambiguity in autowiring scenarios
Q42. Use of foreach function in report.
Foreach function is used to iterate through an array of strings in a report.
Foreach function is used to loop through each element in an array of strings.
It can be used to display each element in a report.
Example: foreach(string item in stringArray){ Console.WriteLine(item); }
Q43. Can we override static methods?
No, static methods cannot be overridden in Java.
Static methods belong to the class itself, not to individual instances.
Subclasses can have static methods with the same signature, but they will not override the superclass static method.
Example: Parent class has a static method 'display()', and Child class also has a static method 'display()'. These are two separate methods, not an override.
Q44. why react is used instead of js
React is used instead of plain JavaScript for building dynamic and interactive user interfaces.
React allows for easier management of complex UI components through its component-based architecture
React's virtual DOM enables efficient updates to the actual DOM, improving performance
React's one-way data binding simplifies state management and reduces bugs
React ecosystem provides a wide range of tools and libraries for development
Q45. @prompt function syntax and it's use.
The @prompt function syntax is used to display a prompt message to the user and receive input.
The syntax is @prompt('message', 'default value')
The message is the prompt message to be displayed to the user
The default value is optional and will be displayed in the input field
The function returns the value entered by the user
Q46. Explain LINQ , What is it used for
LINQ is a query language in .NET used to query data from different data sources.
LINQ stands for Language Integrated Query
It allows querying data from collections, databases, XML, and more
LINQ queries are written in C# or VB.NET
LINQ provides a set of standard query operators like Where, Select, OrderBy, etc.
Example: var result = from item in collection where item.Property == value select item;
Q47. How Garbage Collection works in .Net?
Garbage Collection in .Net automatically manages memory by freeing up unused objects.
Garbage Collector runs in the background and periodically checks for unused objects.
It frees up memory by deallocating objects that are no longer being used.
GC can be configured using different modes like Server, Workstation, Concurrent, etc.
GC can also be manually triggered using GC.Collect() method.
GC.SuppressFinalize() method can be used to prevent the finalizer from running for an object....read more
Q48. What is the data base?
A database is a collection of data that is organized in a way that allows for efficient retrieval and manipulation.
A database can be relational or non-relational
Examples of relational databases include MySQL, Oracle, and SQL Server
Examples of non-relational databases include MongoDB and Cassandra
Data in a database is typically organized into tables, with each table representing a specific type of data
Queries can be used to retrieve specific data from a database
Q49. What are queries of sql?
SQL queries are commands used to retrieve data from a database.
Queries are used to retrieve specific data from a database
They can be used to filter, sort, and group data
Examples include SELECT, INSERT, UPDATE, and DELETE
Q50. what is rest api in microservices
REST API in microservices is a way for different services to communicate over HTTP using standard REST principles.
REST API stands for Representational State Transfer Application Programming Interface
It allows different microservices to communicate with each other over HTTP
REST APIs use standard HTTP methods like GET, POST, PUT, DELETE to perform CRUD operations
Each microservice exposes its own REST API for other services to interact with
Example: A user service may have REST e...read more
Q51. Technologies you have experience in
I have experience in Java, Python, SQL, and web development technologies such as HTML, CSS, and JavaScript.
Java
Python
SQL
HTML
CSS
JavaScript
Q52. Make a custom exception in java?
To create a custom exception in Java, you need to extend the Exception class.
Create a new class that extends the Exception class
Add a constructor to the custom exception class
Throw the custom exception using the 'throw' keyword
Q53. Fetching and displaying data from API?
Fetching and displaying data from API involves making HTTP requests to retrieve data and then rendering it on the user interface.
Use HTTP methods like GET, POST, PUT, DELETE to interact with the API endpoints.
Parse the JSON response data and format it for display on the UI.
Handle errors and loading states while fetching data asynchronously.
Implement pagination or infinite scrolling for large datasets.
Consider caching data locally to improve performance and reduce API calls.
Q54. What is c#?why use c#?
C# is a modern, object-oriented programming language developed by Microsoft.
C# is used for developing Windows desktop applications, web applications, and games.
It is a popular language for developing applications on the .NET framework.
C# is similar to Java in syntax and structure.
It supports features like garbage collection, type safety, and exception handling.
C# can be used to create cross-platform applications using .NET Core.
Examples of popular applications built with C# i...read more
Q55. Normalization in Database
Normalization is the process of organizing data in a database to reduce redundancy and improve data integrity.
Normalization involves breaking down a table into smaller tables and establishing relationships between them.
There are different levels of normalization, with each level having specific rules to follow.
Normalization helps to prevent data inconsistencies and anomalies.
Example: A customer table with repeated data like address can be normalized by creating a separate tab...read more
Q56. How finalize works under CLR?
Finalize is a method in C# that is called by the garbage collector before an object is destroyed.
Finalize method is used to perform cleanup operations on an object before it is destroyed by the garbage collector.
It is called automatically by the garbage collector and cannot be called explicitly.
Finalize method is defined in the System.Object class and can be overridden in derived classes.
It is recommended to use the Dispose method instead of Finalize for releasing unmanaged r...read more
Q57. What is exception handling?
Exception handling is a mechanism to handle errors or exceptional situations in a program.
Exception handling allows the program to gracefully handle errors without crashing.
It involves using try, catch, and finally blocks to manage exceptions.
Examples include catching divide by zero errors or file not found exceptions.
Q58. What is Lamda function?
Lambda function is an anonymous function in programming that can be used as a parameter to another function.
Lambda functions are also known as anonymous functions because they do not have a name.
They are often used in functional programming languages to pass functions as arguments to higher-order functions.
Lambda functions are concise and can be written in a single line of code.
Example: lambda x: x*2 defines a lambda function that takes a parameter x and returns x multiplied ...read more
Q59. What is mvc? Why usemvc?
MVC stands for Model-View-Controller. It is a software design pattern used to separate application logic from user interface.
Model represents data and business logic
View displays data to the user
Controller handles user input and updates the model and view accordingly
MVC promotes code reusability, modularity, and maintainability
Examples: Ruby on Rails, ASP.NET MVC, Spring MVC
Q60. Implement a Stack Using Queue
Implement a Stack using Queue by using two queues and maintaining the order of elements.
Use two queues to simulate stack operations - push, pop, top.
For push operation, add the element to the first queue.
For pop operation, move all elements from the first queue to the second queue, except the last element which is popped.
For top operation, return the last element in the first queue.
Q61. What is Dependency Injection?
Dependency Injection is a design pattern where the dependencies of an object are injected into it rather than created within it.
It helps in achieving loose coupling between objects
It makes testing easier as dependencies can be mocked or stubbed
There are three types of Dependency Injection - Constructor Injection, Setter Injection, and Interface Injection
Example: In a web application, the database connection object can be injected into the DAO object rather than creating it wi...read more
Q62. Difference between == and equals()?
The == operator is used to compare the reference of objects in memory, while the equals() method is used to compare the content of objects.
== compares the memory reference of objects, while equals() compares the content
== is used for primitive data types, while equals() is used for objects
Example: String str1 = new String("hello"); String str2 = new String("hello"); str1 == str2 will return false, but str1.equals(str2) will return true
Q63. What is this HR policies
HR policies are guidelines and rules set by a company to manage its employees and ensure compliance with laws and regulations.
HR policies cover areas such as recruitment, compensation, benefits, performance management, and employee conduct.
Examples of HR policies include anti-discrimination policies, code of conduct, leave policies, and performance appraisal guidelines.
HR policies are designed to create a fair and consistent work environment for all employees.
HR policies are ...read more
Q64. Groupingby on streams in java8 and java8 features
Groupingby on streams in java8 and java8 features
GroupingBy is a collector that groups elements of a stream based on a classification function
Java 8 features include lambda expressions, method references, functional interfaces, and streams
Streams provide a concise and functional way to process collections in Java
Examples of groupingBy include grouping employees by department or grouping products by category
Q65. How do you handle failures?
I handle failures by analyzing the root cause, learning from the experience, and implementing preventive measures.
Analyze the root cause of the failure to understand what went wrong
Learn from the experience to avoid making the same mistake in the future
Implement preventive measures to reduce the likelihood of similar failures occurring again
Q66. What is dbms and SQL questions
DBMS stands for Database Management System, which is a software that manages databases. SQL is a language used to interact with databases.
DBMS is a software that allows users to create, retrieve, update, and manage databases.
SQL (Structured Query Language) is a language used to communicate with databases.
DBMS and SQL are commonly used in software development for storing and retrieving data efficiently.
Examples of popular DBMS include MySQL, Oracle, SQL Server, and PostgreSQL....read more
Q67. what is microservices achitechture
Microservices architecture is a design approach where an application is composed of small, independent services that communicate over well-defined APIs.
Each service is responsible for a specific function or feature
Services are loosely coupled and can be developed, deployed, and scaled independently
Communication between services is typically done through lightweight protocols like HTTP or messaging queues
Microservices allow for better scalability, flexibility, and resilience c...read more
Q68. how to integrate 3rd APIs
Integrating 3rd party APIs involves obtaining API keys, understanding API documentation, making API requests, handling responses, and testing thoroughly.
Obtain API key from the 3rd party provider
Read and understand the API documentation to know how to make requests and handle responses
Implement the API calls in your code using libraries like Axios or Fetch
Handle authentication and authorization if required by the API
Test the integration thoroughly to ensure it works as expect...read more
Q69. Explain static keyword in java?
The static keyword in Java is used to create class-level variables and methods that can be accessed without creating an instance of the class.
Static variables are shared among all instances of a class.
Static methods can be called without creating an object of the class.
Static blocks are used to initialize static variables.
Static keyword can also be used to create static nested classes.
Q70. Difference between JVM and JRE?
JVM is a virtual machine that executes Java bytecode, while JRE includes JVM along with libraries and other components.
JVM stands for Java Virtual Machine, which is responsible for executing Java bytecode.
JRE stands for Java Runtime Environment, which includes JVM along with libraries and other components needed to run Java applications.
JVM is platform-dependent, while JRE is platform-independent.
JVM is an abstract machine, while JRE is a bundle of software components.
Example...read more
Q71. What is apache tomcat?
Apache Tomcat is an open-source web server and servlet container that is used to serve Java applications.
Apache Tomcat is developed by the Apache Software Foundation.
It is used to deploy Java servlets and JSPs.
Tomcat can also be used as a standalone web server.
It is widely used for running Java web applications.
Tomcat is lightweight and easy to configure.
Q72. How to optimize query
Optimizing queries involves indexing, minimizing data retrieval, using proper joins, and avoiding unnecessary functions.
Use indexes on columns frequently used in WHERE clauses
Minimize data retrieval by selecting only necessary columns
Avoid using unnecessary functions in WHERE clauses
Use proper joins instead of subqueries for better performance
Q73. daily activities in present job's
As a software engineer, my daily activities involve coding, testing, debugging, and collaborating with team members.
Writing and testing code for new features
Debugging and fixing issues in existing code
Collaborating with team members to discuss project requirements and progress
Participating in code reviews to ensure code quality
Attending meetings to discuss project status and plan future work
Q74. What is closure in javascript
Closure is a function that has access to its outer function's variables, even after the outer function has returned.
Closure is created when a function is defined inside another function.
The inner function can access the outer function's variables and parameters.
The outer function's variables and parameters are still accessible even after the outer function has returned.
Closures can be used to create private variables and methods in JavaScript.
Q75. Difference between ES5 and ES6.
ES6 is a newer version of JavaScript with added features and improvements over ES5.
ES6 introduced let and const for variable declaration.
ES6 has arrow functions which are shorter and more concise.
ES6 has classes for object-oriented programming.
ES6 has template literals for string interpolation.
ES6 has default parameter values and rest parameters.
ES6 has the spread operator for arrays and objects.
ES6 has new built-in methods for arrays and strings.
ES6 has modules for better co...read more
Q76. What is opps in programming
OOPs stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects.
OOPs focuses on creating objects that contain both data and functions to manipulate that data.
It emphasizes on encapsulation, inheritance, and polymorphism.
Examples of OOPs languages are Java, C++, Python, Ruby, etc.
Q77. What are the cloud models
Cloud models refer to different types of cloud computing services, including public, private, and hybrid clouds.
Public cloud: Services are delivered over the internet and shared among multiple organizations. Example: Amazon Web Services (AWS)
Private cloud: Services are dedicated to a single organization and can be hosted on-premises or by a third-party provider. Example: Microsoft Azure
Hybrid cloud: Combination of public and private clouds, allowing data and applications to b...read more
Q78. Virtual DOM in React?
Virtual DOM is a lightweight copy of the actual DOM in React, used for efficient updates.
Virtual DOM is a concept where a lightweight copy of the actual DOM is maintained by React.
When changes are made to the virtual DOM, React compares it with the actual DOM to identify the minimal changes needed.
This process helps in optimizing performance by reducing the number of updates to the actual DOM.
Example: When a user interacts with a React component, the changes are first made to...read more
Q79. Types of exception handling?
Types of exception handling include try-catch, throw, throws, and finally.
try-catch: Used to catch and handle exceptions within a block of code.
throw: Used to explicitly throw an exception.
throws: Used in method signature to declare the exceptions that can be thrown by the method.
finally: Used to execute code after try block, regardless of whether an exception is thrown or not.
Q80. What is computer?
A computer is an electronic device that can perform various operations based on instructions given to it.
Computers can process and store large amounts of data.
They can perform complex calculations and execute programs.
Examples include desktops, laptops, tablets, and smartphones.
Q81. Pointers in C and their usage
Pointers in C are variables that store memory addresses. They are used to access and manipulate data directly in memory.
Pointers are declared using an asterisk (*) before the variable name.
Pointers can be used to pass variables by reference to functions.
Dereferencing a pointer means accessing the value at the memory address it points to.
Example: int *ptr; // declaring a pointer to an integer
Q82. What are closures in Js
Closures in JavaScript are functions that have access to variables from their outer scope even after the outer function has finished executing.
Closures allow functions to access variables from their parent function even after the parent function has finished executing.
They are created whenever a function is defined within another function.
Closures are commonly used to create private variables and functions in JavaScript.
Q83. What is Collections?
Collections in Java are frameworks that provide an architecture to store and manipulate a group of objects.
Collections are used to store, retrieve, manipulate, and communicate aggregate data.
Examples include List, Set, Map, Queue, etc.
Collections framework provides interfaces (Collection, List, Set, Map, Queue, etc.) and classes (ArrayList, LinkedList, HashSet, HashMap, PriorityQueue, etc.) to implement collections.
Q84. What is Interface?
An interface in software engineering defines a contract for classes to implement, specifying methods and properties.
An interface is a way to achieve abstraction in programming.
It allows for defining a set of methods that a class must implement.
Interfaces can be used to achieve multiple inheritance in languages that do not support it, like Java.
Example: Java interface 'Runnable' defines a 'run' method that must be implemented by any class that implements the interface.
Q85. TECHNOLOGIES USED IN PROJECT
The project utilized a variety of technologies including Java, Spring Boot, Angular, and MySQL.
Java
Spring Boot
Angular
MySQL
Q86. What is science?
Science is a systematic and logical approach to discovering how things in the universe work.
Science involves observation, experimentation, and analysis.
It aims to explain natural phenomena and make predictions about future events.
Examples include physics, chemistry, biology, and astronomy.
Q87. What is event loop
Event loop is a mechanism in programming that allows for asynchronous execution of code by continuously checking and processing events.
Event loop is commonly used in JavaScript to handle asynchronous operations.
It allows for non-blocking I/O operations by delegating tasks to the operating system.
Event loop processes events from the event queue and executes associated callback functions.
Example: setTimeout() function in JavaScript uses event loop to schedule the execution of a...read more
Q88. Explain quick sort algorithm
Quick sort is a divide-and-conquer algorithm that sorts an array by selecting a pivot element and partitioning the array around the pivot.
Select a pivot element from the array.
Partition the array into two sub-arrays: elements less than the pivot and elements greater than the pivot.
Recursively apply the quick sort algorithm to the sub-arrays.
Combine the sorted sub-arrays to get the final sorted array.
Q89. Java8 new features introduced
Java8 introduced new features like Lambda expressions, Stream API, Date and Time API, etc.
Lambda expressions for functional programming
Stream API for efficient processing of collections
Date and Time API for improved handling of date and time
Default methods for backward compatibility
Optional class for null checks
Nashorn JavaScript engine for better integration with JavaScript
Parallel array sorting and processing
Type annotations for improved type checking
Repeatable annotations ...read more
Q90. OOPS Concepts with examples
OOPS concepts are fundamental principles in object-oriented programming.
Encapsulation: bundling data and methods that operate on the data into a single unit (class). Example: class Car with properties like make, model, and methods like start(), stop().
Inheritance: allows a class to inherit properties and behavior from another class. Example: class SUV inheriting from class Car.
Polymorphism: ability of a function to behave differently based on the object it is operating on. Ex...read more
Q91. MVC architecture explanation
MVC architecture separates an application into three main components: Model, View, and Controller.
Model: Represents the data and business logic of the application
View: Represents the UI components of the application
Controller: Acts as an intermediary between Model and View, handling user input and updating the Model accordingly
Q92. Brief about oops concepts
OOPs concepts are fundamental principles in object-oriented programming, including inheritance, encapsulation, polymorphism, and abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Polymorphism: Ability to present the same interface for different data types.
Abstraction: Hiding the complex implementation details and showing only the necessary features.
Q93. Diff between java versions
Java versions differ in features, performance, and security updates.
Java 8 introduced lambda expressions and functional interfaces.
Java 9 added modules and improved JShell.
Java 11 introduced local variable syntax for lambda parameters and HTTP client API.
Java 15 added sealed classes and records.
Each version also includes bug fixes and security updates.
Q94. Explain sonar qube
SonarQube is an open-source platform for continuous inspection of code quality.
SonarQube analyzes code for bugs, vulnerabilities, and code smells.
It provides detailed reports on code quality metrics and trends.
Developers can use SonarQube to improve code quality and maintainability.
Integrates with popular CI/CD tools like Jenkins for automated code analysis.
Q95. Describe project?
Developed a web-based project management tool for tracking tasks and deadlines.
Used React.js for front-end development
Implemented RESTful APIs using Node.js and Express
Utilized MongoDB for database storage
Incorporated authentication and authorization features for user security
Q96. Featues of NoSQL
NoSQL databases are non-relational databases that provide flexible schema design, horizontal scalability, and high performance.
Flexible schema design allows for dynamic and unstructured data
Horizontal scalability enables easy distribution of data across multiple nodes
High performance due to optimized data retrieval and storage mechanisms
Q97. Expected location
Open to relocation for the right opportunity
Willing to relocate for the right job opportunity
Flexible with location preferences
Open to considering different cities or countries for work
Previous experience working in different locations
Q98. Explain OOPS
OOP is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.
OOP focuses on creating objects that interact with each other to solve complex problems.
Objects have attributes (data) and methods (functions) that can operate on the data.
Encapsulation, inheritance, and polymorphism are key principles of OOP.
Example: In a banking system, a 'Customer' object can have attributes like name and account ba...read more
Q99. Four pillars of OOPs
Encapsulation, Inheritance, Polymorphism, Abstraction
Encapsulation: Bundling data and methods that operate on the data into a single unit
Inheritance: Ability of a class to inherit properties and behavior from another class
Polymorphism: Ability to present the same interface for different data types
Abstraction: Hiding the complex implementation details and showing only the necessary features
Q100. Monitoring tool used
We use Prometheus for monitoring our systems.
Prometheus is an open-source monitoring and alerting toolkit
It is widely used for monitoring metrics and alerts in cloud-native environments
Prometheus collects metrics from monitored targets by scraping HTTP endpoints
More about working at Accenture
Top HR Questions asked in Saamsha Technologies
Interview Process at Saamsha Technologies
Top Software Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month