GlobalLogic
30+ Primetals Technologies Interview Questions and Answers
Q1. What is serialisation and serialisation where actually it used?
Serialisation is the process of converting an object into a format that can be easily stored or transmitted.
Serialisation is used in data storage and transmission, allowing objects to be saved to a file or sent over a network.
It is commonly used in programming languages to convert objects into a byte stream for storage or communication.
Examples include saving an object to a file in JSON or XML format, or sending an object over a network using protocols like HTTP.
Q2. What is sql definition and uses?
SQL is a programming language used for managing and manipulating relational databases.
SQL stands for Structured Query Language.
It is used to communicate with and manipulate databases.
SQL can be used to retrieve data, update data, insert data, and delete data from databases.
Common SQL commands include SELECT, INSERT, UPDATE, DELETE.
Examples of SQL database systems include MySQL, PostgreSQL, Oracle, SQL Server.
Q3. What is java and explain it's concepts.
Java is a high-level programming language known for its portability, security, and object-oriented features.
Java is platform-independent, meaning it can run on any device with a Java Virtual Machine (JVM).
It is object-oriented, allowing for the creation of reusable code through classes and objects.
Java is known for its security features, such as sandboxing and encryption.
It supports multithreading, allowing for concurrent execution of multiple tasks.
Java has a rich standard l...read more
Q4. What is MVC architecture
MVC architecture is a software design pattern that separates an application into three main components: Model, View, and Controller.
Model represents the data and business logic of the application
View is responsible for displaying the data to the user
Controller acts as an intermediary between Model and View, handling user input and updating the Model accordingly
Example: In a web application, the Model could be a database, the View could be the HTML/CSS for the user interface, ...read more
Q5. what are promises
Promises are a feature in JavaScript that allow asynchronous operations to be handled in a more organized and readable way.
Promises are objects that represent the eventual completion or failure of an asynchronous operation.
They are used to handle asynchronous code and avoid callback hell.
Promises have three states: pending, fulfilled, or rejected.
They can be chained together using methods like .then() and .catch().
Promises can be created using the Promise constructor or by us...read more
Q6. what is event loop
Event loop is a mechanism that allows a program to efficiently handle and respond to multiple events or tasks concurrently.
Event loop is commonly used in asynchronous programming.
It manages the execution of tasks or events in a non-blocking manner.
Event loop continuously checks for events or tasks and executes them when they are ready.
It helps prevent blocking and allows for efficient utilization of system resources.
Examples of event loop implementations include Node.js event...read more
Q7. how microservices are developed.
Microservices are developed by breaking down a large application into smaller, independent services that communicate with each other through APIs.
Identify the boundaries of each microservice based on business capabilities
Design each microservice to be independent and loosely coupled
Use lightweight protocols like HTTP or messaging queues for communication between microservices
Implement each microservice using the technology stack best suited for its requirements
Deploy microser...read more
Q8. Name the google application you know
Google Maps - a web mapping service developed by Google
Provides satellite imagery, street maps, panoramic views, and route planning
Used for navigation, finding local businesses, and exploring new places
Available on desktop and mobile devices
Q9. Oops concepts explanation
Oops concepts are fundamental principles of object-oriented programming such as inheritance, polymorphism, encapsulation, and abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Polymorphism: Allows objects to be treated as instances of their parent class or as instances of their own class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Abstraction: Hiding the implementation details and showing onl...read more
Q10. Speak anything you want in 5 minutes.
I will talk about my passion for data analysis and how I have used it to solve complex problems in previous projects.
I have always been fascinated by the power of data analysis in uncovering insights and driving decision-making.
In my previous role, I used data analysis to identify trends and patterns in customer behavior, leading to a 10% increase in sales.
I am proficient in various data analysis tools such as Excel, SQL, and Python, and have a strong foundation in statistica...read more
You have been given a board where there are '2' rows and 'N' columns. You have an infinite supply of 2x1 tiles, and you can place a tile in the following ways:
1. Horizontally as 1x2 tile 2. Verti...read more
You’re given a slot machine with four slots where each slot will contain the color Red(R), Yellow(Y), Green(G), Blue(B), respectively. You don’t know the colors of this slot beforehand. You have to gue...read more
You are given an array consisting of 'N' elements and you need to perform 'Q' queries on the given array. Each query consists of an integer which tells the number of elements by which ...read more
Given an array with N elements, the task is to reverse all the array elements and print the reversed array.
Input Format:
The first line contains an integer N representing the size of the array...read more
You are given an integer array 'ARR' of size 'N' and an integer 'S'. Your task is to return the list of all pairs of elements such that each sum of elements of each pair equals 'S'.
Note:
Each pair shou...read more
You are given an integer 'N'. For a given 'N' x 'N' chessboard, find a way to place 'N' queens such that no queen can attack any other queen on the chessboard.
A queen can be killed when it lies in the ...read more
Find out the odd number out of given Number, derive the formula to find root of a quadratic equation.
Q18. Definitions and example code of OOPS Concepts
OOPS Concepts are fundamental principles of Object-Oriented Programming.
Encapsulation - bundling of data and methods that operate on that data
Inheritance - ability of a class to inherit properties and methods from its parent class
Polymorphism - ability of objects to take on multiple forms
Abstraction - hiding of complex implementation details from the user
Example code: class Car { private String make; public void setMake(String make) { this.make = make; } }
Normalization forms.
Entity relational model
Q20. What is TestNG, Difference between WebElement and WebElements, fially and final, types of Exceptions in selenium, how to handel frams
TestNG is a testing framework for Java. WebElement represents a single element on a web page, while WebElements represents a collection of elements. 'finally' is a keyword used in exception handling. There are different types of exceptions in Selenium. To handle frames in Selenium, we can use the switchTo() method.
TestNG is a testing framework for Java
WebElement represents a single element on a web page
WebElements represents a collection of elements
'finally' is a keyword used...read more
Q21. Define transformer and why use transformer
A transformer is an electrical device that transfers electrical energy from one circuit to another through electromagnetic induction.
Transformers are used to increase or decrease the voltage of an alternating current (AC) power supply.
They are used in power distribution systems to step up the voltage for long-distance transmission and step it down for local distribution.
Transformers are also used in electronic devices to isolate circuits, match impedances, and provide galvani...read more
Q22. Diffrence between Normal and Arrow Fuction and its example
Arrow functions are concise syntax for writing functions in JavaScript, compared to normal functions.
Arrow functions do not have their own 'this' keyword, they inherit it from the parent scope.
Arrow functions do not have 'arguments' object.
Arrow functions cannot be used as constructors.
Arrow functions are more concise and easier to read compared to normal functions.
Q23. find 2 numbers occurring once while others occurring twice
To find 2 unique numbers in an array with others occurring twice.
Iterate through the array and use a hash table to count the occurrences of each number.
Iterate through the hash table and find the two numbers with a count of 1.
Return the two unique numbers as an array of strings.
Q24. What is Automation and advantages
Automation is the use of technology to perform tasks without human intervention.
Increases efficiency and productivity
Reduces errors and improves accuracy
Saves time and money
Allows for 24/7 operation
Enables scalability and consistency
Examples include robotic process automation, industrial automation, and test automation
Q25. Write an example for the closure
A closure is a function that has access to its own scope, as well as the outer scope in which it was defined.
A closure can access variables from its outer function even after the outer function has finished executing.
Closures are commonly used in event handlers, callbacks, and asynchronous code.
Example: const outerFunction = () => { const outerVar = 'I am outer'; return () => { console.log(outerVar); }; }; const innerFunction = outerFunction(); innerFunction(); // Output: 'I ...read more
Q26. What is plc and advantages
PLC stands for Programmable Logic Controller. It is an industrial computer used to automate processes and control machinery.
PLCs are highly reliable and can operate in harsh environments
They can be easily programmed and reprogrammed to accommodate changes in the manufacturing process
PLCs can communicate with other devices and systems, allowing for seamless integration
They can improve efficiency and productivity while reducing costs
Examples of PLC applications include assembly...read more
Q27. What is instrumentation
Instrumentation refers to the use of instruments or devices to measure, control, or monitor a process or system.
Instruments are used to gather data about a process or system
Data is then used to control or monitor the process or system
Examples include sensors, gauges, and meters
Instrumentation is used in various industries such as manufacturing, energy, and transportation
Q28. What is panel design
Panel design refers to the process of designing and creating electrical control panels for industrial automation systems.
Panel design involves selecting appropriate components such as circuit breakers, relays, and switches.
The design must also consider factors such as wiring, labeling, and safety standards.
CAD software is often used to create detailed panel layouts and schematics.
Examples of industrial automation systems that require panel design include manufacturing lines, ...read more
Q29. allocate min number of pages
Allocate minimum number of pages
Determine the total content to be included
Decide on the layout and formatting
Consider the font size and spacing
Allocate pages based on the above factors
Q30. height of the binary tree, factorial code in python
Calculate the height of a binary tree and implement factorial code in Python.
To calculate the height of a binary tree, you can use a recursive approach where you find the height of the left and right subtrees and return the maximum height plus one.
For factorial code in Python, you can use a recursive function that multiplies the current number with the factorial of the previous number until reaching 1.
Example for calculating the height of a binary tree: def height(node): if n...read more
Q31. Did you know mapping process
Yes, I am familiar with the mapping process.
Mapping process involves creating a visual representation of data relationships.
It helps in understanding how different data points are connected or related to each other.
Examples include creating entity-relationship diagrams, process flowcharts, or geographic maps.
Q32. What are storage class
Storage classes in C specify the scope and lifetime of variables.
Storage classes include auto, register, static, and extern.
Auto variables are local to a block and have automatic storage duration.
Register variables are stored in CPU registers for faster access.
Static variables retain their value between function calls.
Extern variables are declared in one file and can be used in another file.
Q33. What is meschina learning
Meschina learning is a type of machine learning algorithm that focuses on predicting outcomes based on historical data.
Meschina learning uses historical data to make predictions about future outcomes.
It is a subset of machine learning that focuses on pattern recognition and predictive modeling.
Examples include regression analysis, decision trees, and neural networks.
Q34. Explain structure program
A structure program is a program that uses structures to group related data together.
Structures in C programming allow you to group related data together under one name.
You can define a structure using the 'struct' keyword.
Structures can contain different data types, including int, float, char, and even other structures.
You can access the members of a structure using the dot operator.
Example: struct employee { int id; char name[20]; float salary; };
Example: struct employee em...read more
Q35. Oops concept in puthon
Python supports Object-Oriented Programming (OOP) concepts like classes, objects, inheritance, encapsulation, and polymorphism.
Python supports classes and objects for creating reusable code.
Inheritance allows a class to inherit attributes and methods from another class.
Encapsulation restricts access to certain components of an object.
Polymorphism allows objects to be treated as instances of their parent class.
Example: class Animal: def __init__(self, name): self.name = name c...read more
Q36. How to dealy rootine
Top HR Questions asked in Primetals Technologies
Interview Process at Primetals Technologies
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month