Intelizign Lifecycle Services
20+ Eastern Province Cement Interview Questions and Answers
Q1. What is difference between Microflow and Nanoflow in Mendix?
Microflows and nanoflows are both used in Mendix for defining business logic, but they differ in their scope and complexity.
Microflows are used for larger and more complex processes, while nanoflows are used for smaller and simpler processes.
Microflows can have multiple activities and can be triggered by events, while nanoflows have a single activity and are typically called from microflows.
Microflows can have input and output parameters, while nanoflows do not support parame...read more
Q2. What are different activities available in Microflow?
Microflows are used in Mendix to define the logic and flow of an application. They consist of various activities.
Create object activity - creates a new object in the database
Change object activity - modifies the attributes of an existing object
Commit activity - saves changes made to objects in the database
Retrieve activity - retrieves objects from the database based on specified criteria
Loop activity - iterates over a list of objects or a range of numbers
Exclusive split activ...read more
Q3. Do we need to set security for Sub Microflow?
Yes
Setting security for Sub Microflows is important to ensure data integrity and prevent unauthorized access.
Sub Microflows may contain sensitive data or perform critical operations, so securing them is crucial.
Access control can be implemented by defining user roles and permissions for Sub Microflows.
Authentication and authorization mechanisms should be enforced to restrict access to Sub Microflows.
Examples of security measures include implementing encryption, input validati...read more
Q4. What is Before commit and After commit Microflow?
Before commit and After commit Microflows are used in Mendix to perform actions before and after committing changes to the database.
Before commit Microflows are executed before the changes are committed to the database.
They are used to perform validations, calculations, or any other actions that need to be done before saving the data.
After commit Microflows are executed after the changes are committed to the database.
They are used to perform additional actions, such as sendin...read more
Q5. Which database is used in Mendix?
Mendix uses a multi-model database called Mendix Data Hub.
Mendix Data Hub is a unified data layer that integrates with various databases.
It supports both SQL and NoSQL databases.
Examples of databases that can be used with Mendix include MySQL, PostgreSQL, MongoDB, and Oracle.
Mendix Data Hub provides a visual interface for managing data models and relationships.
It allows developers to easily connect and interact with data from different sources.
Q6. Difference between Data view and List view?
Data view and List view are different ways of presenting data. Data view focuses on individual records, while List view displays multiple records in a tabular format.
Data view presents data in a detailed manner, showing all the fields and values of a single record.
List view displays multiple records in a condensed format, usually in a table with selected fields.
Data view is useful for examining and editing individual records, while List view is helpful for quickly scanning an...read more
Q7. Difference between compile time and runtime polymorphism?
Compile time polymorphism is method overloading while runtime polymorphism is method overriding.
Compile time polymorphism is resolved at compile time while runtime polymorphism is resolved at runtime.
Method overloading is an example of compile time polymorphism where multiple methods have the same name but different parameters.
Method overriding is an example of runtime polymorphism where a subclass provides its own implementation of a method already defined in its superclass....read more
Q8. how to do you handle exception in the spring boot i
Exception handling in Spring Boot is done using @ExceptionHandler, @ControllerAdvice, and @ResponseStatus annotations.
Use @ExceptionHandler annotation to handle exceptions at the controller level
Use @ControllerAdvice annotation to handle exceptions globally across multiple controllers
Use @ResponseStatus annotation to specify the HTTP status code for the exception response
Q9. Rest api implementation in Mendix?
Mendix supports REST API implementation for building web services.
Mendix provides a built-in REST module that allows you to create and consume RESTful APIs.
To implement a REST API in Mendix, you can define a microflow or a nanoflow that handles the incoming requests and processes the data.
You can use the 'Expose as REST service' option in the microflow or nanoflow properties to make it accessible as a REST API.
Mendix also provides tools for documenting and testing the REST AP...read more
Q10. What is unique pointer and why it dosnt allow transfer of ownership.
Unique pointer is a smart pointer in C++ that ensures only one pointer owns the resource, preventing memory leaks.
Unique pointer is part of C++11 standard library.
It is used to manage dynamically allocated memory.
Unique pointer cannot be copied, only moved.
Example: std::unique_ptr
ptr(new int);
Q11. Various association in Mendix
Various association in Mendix
Association is a relationship between two entities in Mendix
There are several types of associations: 1:1, 1:N, N:1, and N:N
Associations can be uni-directional or bi-directional
Associations can have attributes and constraints
Examples: Customer has multiple Orders (1:N), Product belongs to a Category (N:1)
Q12. what is need of multiple inheritance ?
Multiple inheritance allows a class to inherit from multiple parent classes.
It allows for code reuse and promotes modularity.
It can be useful in situations where a class needs to inherit properties and methods from multiple unrelated classes.
It can lead to the diamond problem, where a class inherits from two classes that have a common parent class, causing ambiguity in method calls.
Languages like C++ and Python support multiple inheritance.
Q13. what is diff b/w authication and authorization
Authentication verifies the identity of a user, while authorization determines what actions a user is allowed to perform.
Authentication confirms the identity of a user through credentials like username and password.
Authorization determines the permissions and access levels of a user once they are authenticated.
Example: Logging into a system with a username and password is authentication, while being able to view certain pages or perform specific actions is authorization.
Q14. Difference between interface and abstract class
Interface defines only method signatures while abstract class can have both method signatures and implementations.
An interface can be implemented by multiple classes while an abstract class can only be extended by one class.
An abstract class can have constructors while an interface cannot.
An abstract class can have non-abstract methods while an interface can only have abstract methods.
An abstract class can have instance variables while an interface cannot.
Example of interface...read more
Q15. What is state and props in reactjs
State is mutable data managed within a component, while props are immutable data passed from parent to child components.
State is managed within a component and can be updated using setState() method
Props are passed from parent to child components and cannot be changed within the child component
State is used for managing component-specific data, while props are used for passing data between components
Q16. what is life cycle method in reactjs
Life cycle methods in React.js are special methods that are automatically called at specific points in a component's life cycle.
Life cycle methods include componentDidMount, componentDidUpdate, componentWillUnmount, etc.
componentDidMount is called after the component has been rendered to the DOM.
componentDidUpdate is called after the component's state or props have been updated.
componentWillUnmount is called before the component is removed from the DOM.
Q17. what is use effect hook in reactjs
useEffect hook in Reactjs is used to perform side effects in function components.
Used to perform side effects in function components
Similar to componentDidMount and componentDidUpdate in class components
Takes a function as its first argument and an optional array of dependencies as its second argument
Dependencies array controls when the effect is re-run
Q18. What is enum why we use?
Enum is a data type in programming used to define a set of named constants.
Enums help in making code more readable and maintainable by giving meaningful names to constants.
Enums can be used to restrict the possible values of a variable.
Enums are often used in switch statements to handle different cases.
Example: enum Color { RED, GREEN, BLUE }
Example: enum Days { MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY }
Q19. Usecass and flow chart diagram for project
Use case and flow chart diagrams are essential for project planning and execution.
Use case diagrams depict the interactions between actors and the system.
Flow chart diagrams show the sequence of steps in a process.
Both diagrams aid in understanding the project requirements and identifying potential issues.
Use case and flow chart diagrams can be created using tools like Visio, Lucidchart, or draw.io.
Q20. How to do you refresh tokens
Refresh tokens are used to obtain a new access token after the original token expires.
Refresh tokens are typically issued along with access tokens during authentication.
To refresh a token, the client sends a request to the authorization server with the refresh token.
The authorization server validates the refresh token and issues a new access token.
Refresh tokens are more secure than storing user credentials for re-authentication.
Example: Using OAuth 2.0, a client can use a re...read more
Q21. Write a program to find the second largest element in an array.
Program to find the second largest element in an array
Iterate through the array to find the largest element
Then iterate again to find the second largest element
Handle edge cases like empty array or array with only one element
Q22. what is redux flow in reactjs
Redux flow in ReactJS is the process of managing application state using a centralized store.
Actions are dispatched by components to update the state
Reducers specify how the state should change in response to actions
The updated state is then passed down to components via props
Q23. What is State and props
State is mutable data managed by a component, while props are read-only data passed from parent to child components.
State is managed within a component and can be updated using setState() method
Props are passed from parent to child components and cannot be modified by the child component
State is used for managing component-specific data, while props are used for passing data between components
Q24. Oops concept with example
Oops concept is a programming paradigm that focuses on objects and their interactions.
Encapsulation - hiding implementation details
Inheritance - creating new classes from existing ones
Polymorphism - using a single interface to represent multiple types
Abstraction - simplifying complex systems by breaking them down into smaller, more manageable parts
Q25. What is degree of freedom?
Degree of freedom refers to the number of independent variables or parameters that can vary in a system.
Degree of freedom determines the number of ways a system can move or change.
In mechanics, it represents the number of independent coordinates needed to describe the position of a body.
In statistics, it refers to the number of values in a calculation that are free to vary.
For example, a particle in three-dimensional space has three degrees of freedom, corresponding to its x,...read more
Q26. Adas labeling What are the features of AI AND ML
AI and ML features include pattern recognition, predictive analytics, and decision-making capabilities.
Pattern recognition: AI and ML algorithms can identify patterns in data to make predictions.
Predictive analytics: AI and ML can analyze data to forecast future outcomes.
Decision-making capabilities: AI and ML systems can make decisions based on data analysis.
Examples: Self-driving cars use AI for object recognition, recommendation systems use ML for personalized suggestions.
Q27. What is oops. What is method overloading
OOPs stands for Object-Oriented Programming. Method overloading is when multiple methods have the same name but different parameters.
OOPs is a programming paradigm that uses objects and classes to design and develop applications.
Method overloading is when multiple methods in a class have the same name but different parameters.
Example: void print(int num) and void print(String str) are two overloaded methods in a class.
Q28. What is port no of SSH
The port number used for SSH is 22.
The default port number for SSH is 22.
SSH (Secure Shell) is a network protocol used for secure communication between a client and a server.
Port 22 is used for establishing secure connections over an unsecured network.
Changing the default port number for SSH is a common security practice to prevent unauthorized access.
Q29. Qualification About adas
Qualifications related to ADAS (Advanced Driver Assistance Systems)
Knowledge of ADAS technologies and systems
Experience with sensor fusion and computer vision algorithms
Understanding of automotive safety standards and regulations
Proficiency in programming languages like C++ and Python
Ability to work with large datasets and machine learning models
Interview Process at Eastern Province Cement
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month