
uTrade Solutions

uTrade Solutions Interview Questions and Answers
Q1. how to convert rectangle to circlewith css
Use border-radius property in CSS to convert rectangle to circle.
Set the border-radius property to 50% to make a rectangle into a circle.
Make sure the width and height of the element are equal for a perfect circle.
Example: .circle { width: 100px; height: 100px; border-radius: 50%; }
Q2. what is closure in js
Closure in JavaScript is the combination of a function and the lexical environment within which that function was declared.
Closure allows a function to access variables from its outer scope even after the outer function has finished executing.
It is created whenever a function is defined within another function.
Closure helps in maintaining state in asynchronous operations.
Q3. what is hoisting
Hoisting is a JavaScript mechanism where variable and function declarations are moved to the top of their containing scope during the compilation phase.
Hoisting applies to both variable and function declarations.
Variable declarations are hoisted but not their initializations.
Function declarations are fully hoisted, including their definitions.
Hoisting can lead to unexpected behavior if not understood properly.
Q4. difine methods of array
Methods of array are built-in functions that can be used to manipulate arrays in JavaScript.
Some common methods include push(), pop(), shift(), unshift(), splice(), slice(), concat(), indexOf(), and includes().
push() - adds elements to the end of an array
pop() - removes the last element from an array
shift() - removes the first element from an array
unshift() - adds elements to the beginning of an array
splice() - adds or removes elements from a specific index in an array
slice()...read more
Q5. what are oops pillers?
OOPs pillars are the four main principles of Object-Oriented Programming: Inheritance, Encapsulation, Abstraction, and Polymorphism.
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.
Abstraction: Hiding the complex implementation details and showing only the necessary features of an object.
Polymorphism: Ability to present the same interface for different data ty...read more
Q6. write syntax for all pillers?
The question is unclear and seems to be asking for syntax related to C++ programming language.
The question may be referring to the four pillars of object-oriented programming in C++: encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation is achieved by using access specifiers like private, protected, and public.
Inheritance is implemented using the 'class' and 'struct' keywords.
Polymorphism is achieved through virtual functions and function overloading.
Abstrac...read more
More about working at uTrade Solutions

Interview Process at uTrade Solutions

Top Interview Questions from Similar Companies








Reviews
Interviews
Salaries
Users/Month

