Accenture
20+ MAHSA University Interview Questions and Answers
Q1. What is the difference between padding and margin?
Padding is the space inside an element, while margin is the space outside an element.
Padding is used to create space between an element's content and its border.
Margin is used to create space between an element's border and the adjacent elements.
Padding is affected by the background color of the element, while margin is not.
Padding can be set individually for each side of an element (top, right, bottom, left), while margin can be set as a shorthand for all sides or individual...read more
Q2. What are different types of directives in Angular?
Directives in Angular are markers on DOM elements that tell Angular to attach a specified behavior to that element.
There are three types of directives in Angular: Component, Structural, and Attribute.
Component directives are used to create reusable UI components.
Structural directives are used to change the structure of the DOM.
Attribute directives are used to change the appearance or behavior of an element.
Examples of built-in directives include ngIf, ngFor, and ngStyle.
Q3. What are different types of function module in SAP?
There are three types of function modules in SAP: 1) Function modules with interface 2) Function modules without interface 3) Function modules as methods of a class.
Function modules with interface are used for external communication
Function modules without interface are used for internal communication
Function modules as methods of a class are used for object-oriented programming
Examples of function modules with interface are RFC_READ_TABLE and RFC_GET_SYSTEM_INFO
Examples of f...read more
Q4. How to remove dulicate array without using streams or another array
Use a HashSet to remove duplicates from an array of strings without using streams or another array.
Create a HashSet to store unique elements.
Iterate through the array and add each element to the HashSet.
Convert the HashSet back to an array of strings.
Q5. What is post mapping explain with example
Post mapping is a method used in RESTful APIs to create a new resource.
Post mapping is used to create a new resource in the server.
It is typically used in combination with HTTP POST method.
Post mapping is commonly used in Spring Boot applications to handle incoming POST requests.
Q6. Basic structure of an HTML page
Basic structure of an HTML page includes doctype declaration, html, head, and body tags.
DOCTYPE declaration specifies the HTML version
HTML tag wraps the entire content of the page
Head tag contains meta information, title, and links to external resources
Body tag contains the visible content of the page
Q7. Absence Management (Usecase) Absence Type Definition and Use Absence Plan Definition and Use
Absence Management involves defining and using Absence Types and Plans.
Absence Type Definition: Identifying different types of absences such as sick leave, vacation, personal leave, etc.
Absence Type Use: Assigning the appropriate absence type to an employee's absence record.
Absence Plan Definition: Creating plans for managing employee absences, such as policies for requesting time off, approval processes, etc.
Absence Plan Use: Implementing the absence plan when an employee re...read more
Q8. What is stream api explain with example
Stream API in Java provides a way to process collections of objects in a functional style.
Stream API allows for easy manipulation of collections using functional programming concepts like map, filter, and reduce.
Example: List
names = Arrays.asList("Alice", "Bob", "Charlie"); Stream stream = names.stream(); Example: List
numbers = Arrays.asList(1, 2, 3, 4, 5); int sum = numbers.stream().reduce(0, Integer::sum);
Q9. Difference between JIT compiler and AOT?
JIT compiles code at runtime while AOT compiles code before runtime.
JIT stands for Just-In-Time compilation and compiles code at runtime.
AOT stands for Ahead-Of-Time compilation and compiles code before runtime.
JIT is used in Java Virtual Machine (JVM) while AOT is used in languages like C and C++.
JIT can result in slower startup time but faster execution while AOT can result in faster startup time but slower execution.
Examples of JIT compilers include HotSpot for Java and V8...read more
Q10. What is Box Model?
Box Model is a concept in CSS where every element is treated as a box with content, padding, border, and margin.
Box Model consists of content, padding, border, and margin.
Content is the actual content of the box.
Padding is the space between the content and the border.
Border is the line that goes around the padding and content.
Margin is the space outside the border.
Q11. What is dependency Injection
Dependency Injection is a design pattern where the dependencies of an object are provided externally rather than created within the object itself.
Allows for easier testing by providing mock dependencies
Promotes loose coupling between components
Improves code reusability and maintainability
Commonly used in frameworks like Spring in Java
Q12. How many types of Accenture
Accenture is a global professional services company specializing in strategy, consulting, digital, technology, and operations.
Accenture offers various services including strategy consulting, technology consulting, and digital transformation.
They have expertise in industries such as banking, healthcare, retail, and telecommunications.
Accenture operates in more than 120 countries and serves clients across various sectors.
They have a strong focus on innovation and use advanced t...read more
Q13. How many design are working
The question is unclear and lacks context.
Ask for clarification on what 'design' refers to.
Inquire about the specific context or industry.
Request additional information to provide an accurate answer.
Q14. How it works web design
Web design is the process of creating and arranging visual elements on a website to ensure usability and aesthetic appeal.
Web design involves planning and conceptualizing the layout and structure of a website.
It includes selecting color schemes, typography, and graphics to create a visually appealing design.
Web design also focuses on creating a user-friendly interface and ensuring responsive design for different devices.
HTML, CSS, and JavaScript are commonly used in web desig...read more
Q15. difference between comparable and comparator
Comparable is an interface used for natural ordering, while Comparator is an interface used for custom ordering in Java.
Comparable interface is used to define the natural ordering of objects. It is implemented by the class whose objects are to be compared.
Comparator interface is used to define custom ordering of objects. It is implemented by a separate class.
Example: String class implements Comparable interface for natural ordering based on alphabetical order. A custom Compar...read more
Q16. What is encapsulation?
Encapsulation is the concept of bundling data and methods that operate on the data into a single unit, known as a class.
Encapsulation helps in hiding the internal state of an object and restricting access to it.
It allows for data hiding, which prevents outside code from directly accessing an object's internal state.
Encapsulation also helps in achieving data abstraction, where the internal details of an object are hidden and only the necessary details are exposed.
Example: In a...read more
Q17. What are sid's?
SID stands for Security Identifier. It is a unique identifier assigned to a user, group, or computer account in Windows.
SID is used to control access to resources in Windows
It is a string of alphanumeric characters
SID is generated by the Windows operating system during the creation of an account
It is used to identify users, groups, and computers in a network
Example: S-1-5-21-3623811015-3361044348-30300820-1013
Q18. tell about CICD process
CICD process automates the building, testing, and deployment of software.
Continuous Integration (CI) involves automatically building and testing code changes frequently.
Continuous Deployment (CD) automates the deployment of code changes to production.
Tools like Jenkins, GitLab CI/CD, and CircleCI are commonly used in CICD pipelines.
CICD helps in improving software quality, reducing manual errors, and increasing development speed.
Q19. How many web design
The question is incomplete and lacks clarity.
The question is missing important details such as 'How many web design what?'
Without more context, it is impossible to provide a meaningful answer.
It is recommended to ask for clarification or provide more information to answer the question accurately.
Q20. What is transformer
A transformer is a device that transfers electrical energy between two or more circuits through electromagnetic induction.
Transformers are commonly used to increase or decrease voltage levels in electrical circuits.
They consist of two coils of wire, known as the primary and secondary coils, wrapped around a core.
The primary coil is connected to a power source, while the secondary coil is connected to the load.
Examples of transformers include power transformers used in electri...read more
Q21. what is a multithreading
Multithreading is the ability of a CPU to execute multiple threads concurrently.
Multithreading allows multiple threads to run within the same process.
Each thread can perform different tasks simultaneously.
Examples include running a background task while the main application continues to run.
Multithreading can improve performance by utilizing multiple CPU cores efficiently.
Q22. Difference between get and post
GET and POST are HTTP methods used to send data to a server, but they differ in how the data is sent.
GET requests data from a server using a URL query string
POST sends data in the request body
GET is used for retrieving data, while POST is used for submitting data
GET requests are cached, while POST requests are not
GET requests have length restrictions, while POST requests do not
Q23. Many types of web design
There are many types of web design, each with its own purpose and style.
Responsive web design: designing websites that adapt to different screen sizes
Minimalist web design: using clean and simple design elements
Flat design: using two-dimensional elements and bright colors
Material design: using realistic shadows and depth effects
Typography-focused design: emphasizing typography as a design element
Parallax scrolling design: creating an illusion of depth by moving background and...read more
Q24. what is Rest api
REST API is a set of rules and conventions for building and interacting with web services.
REST stands for Representational State Transfer
Uses standard HTTP methods like GET, POST, PUT, DELETE
Data is transferred in JSON or XML format
Stateless communication between client and server
Example: GET request to retrieve user data from a server
Q25. Java stream working internally
Java streams provide a way to process collections of objects in a functional style.
Java streams are based on the concept of functional programming, allowing operations to be performed on collections in a declarative way.
Streams are composed of a source, intermediate operations, and a terminal operation.
Intermediate operations include filter, map, and reduce, while terminal operations include forEach, collect, and reduce.
Streams are lazy, meaning they only perform operations w...read more
Q26. Relocation possible
Yes, relocation is possible for the right opportunity.
I am open to relocating for the right job opportunity.
I have relocated for previous positions and am willing to do so again.
I am flexible and willing to consider relocation options.
More about working at Accenture
Top HR Questions asked in MAHSA University
Interview Process at MAHSA University
Top Software Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month