Filter interviews by
Be the first one to contribute and help others!
Motors are rated in KW because they consume power, while transformers and generators are rated in KVA because they produce power.
Motors convert electrical energy into mechanical energy, so they consume power and are rated in KW.
Transformers and generators produce electrical energy, so they are rated in KVA based on their apparent power.
KVA takes into account both the real power (KW) and the reactive power (KVAR) produc...
The type of motor used in ceiling fans is an induction motor.
Ceiling fans typically use single-phase induction motors.
These motors are designed to provide a constant speed and are efficient in converting electrical energy into mechanical energy.
The motor consists of a stator and a rotor, with the stator being the stationary part and the rotor being the rotating part.
The stator contains windings that create a rotating m...
A thermal power plant generates electricity by converting heat energy into mechanical energy.
Thermal power plants use fossil fuels or nuclear energy to heat water and produce steam.
The steam drives a turbine, which is connected to a generator that produces electricity.
The heat source can be coal, natural gas, oil, or nuclear reactions.
The steam is condensed back into water and recycled in a closed-loop system.
Thermal p...
A program to generate a geometric progression (GP).
Take the first term, common ratio and number of terms as input.
Use a loop to calculate each term of the GP.
Print the generated GP as output.
A program to print factorial using recursion
Define a function to calculate factorial recursively
Base case: if the number is 0 or 1, return 1
Recursive case: multiply the number with factorial of (number - 1)
Print the factorial of a given number
Logic to reverse a string without using string functions
Iterate through the string from the last character to the first
Create a new string and append each character to it in reverse order
I am a software engineer with experience in developing web applications and expertise in programming languages such as Java and Python.
Proficient in Java and Python programming languages
Experience in developing web applications using frameworks such as Spring and Django
Familiarity with database technologies such as MySQL and MongoDB
Strong problem-solving and analytical skills
Ability to work in a team and collaborate ef
In the next 5 years, I see myself as a senior software engineer leading a team of developers.
I plan to continue learning and expanding my skillset
I hope to take on more leadership roles and mentor junior developers
I aim to contribute to the development of innovative software solutions
I plan to stay up-to-date with the latest technologies and industry trends
Reverse all the words in a given string
Split the string into an array of words
Loop through the array and reverse each word
Join the reversed words back into a string
Explaining how to handle 'n' in a string during swapping process
Identify the positions of 'n' in the string
Exclude those positions from the swapping process
Use a temporary variable to swap the characters
Ensure the swapped characters are not 'n'
Return the modified string
We can use any sorting algorithm like quicksort, mergesort, heapsort, etc.
Choose the appropriate sorting algorithm based on the size of the file and the range of numbers
Implement the chosen algorithm in the programming language of choice
Read the numbers from the file into an array or list
Apply the sorting algorithm to the array or list
Write the sorted numbers back to the file
Word suggestions in Eclipse can be implemented using algorithms like Trie or N-gram models.
Use Trie data structure to store the dictionary of words
Implement auto-complete feature using Trie
Use N-gram models to suggest words based on context
Train the N-gram model on a large corpus of text data
Combine both approaches for better accuracy
Consider user's typing speed and frequency of words for better suggestions
To check if a number k lies in a sequence formed by adding previous 2 elements, start with a=0 and b=1 and iterate until k is found or exceeded.
Start with a=0 and b=1
Iterate through the sequence until k is found or exceeded
If k is found, return true. If exceeded, return false
Check if a Binary Tree is a Binary Search Tree (BST)
A BST has the property that all nodes in the left subtree of a node have values less than the node's value, and all nodes in the right subtree have values greater than the node's value
We can traverse the tree in-order and check if the resulting sequence is sorted
Alternatively, we can recursively check if each node satisfies the BST property
Keep track of kth largest number in a stream of numbers.
Use a min-heap of size k to keep track of kth largest number.
For each incoming number, compare it with the root of the heap.
If it is larger than the root, replace the root with the new number and heapify.
The root of the heap will always be the kth largest number.
Infix expression can be evaluated using the concept of operator precedence and associativity.
Convert the infix expression to postfix expression using stack data structure
Evaluate the postfix expression using stack data structure
Use operator precedence and associativity rules to determine the order of evaluation
Parentheses can be used to override the default order of evaluation
I am interested in this profile because of my passion for finance and my experience in the banking industry.
I have a degree in finance and have worked in the banking industry for 5 years.
I am passionate about helping clients achieve their financial goals.
I have experience in managing portfolios and analyzing financial data.
I am excited about the opportunity to work with a team of professionals in the banking industry.
based on 1 review
Rating in categories
TCS
Accenture
Wipro
Cognizant