Associate IT Consultant 2
Associate IT Consultant 2 Interview Questions and Answers
Q1. How memory is allocated in javascript
Memory in JavaScript is allocated dynamically using the heap and stack. Variables are stored in the stack, while objects are stored in the heap.
Memory is allocated dynamically in JavaScript using the heap and stack.
Primitive data types like numbers and strings are stored in the stack.
Objects and arrays are stored in the heap.
Memory is automatically managed by the JavaScript engine through garbage collection.
Q2. difference between horizontal and vertical Scaling
Horizontal scaling involves adding more machines to your network, while vertical scaling involves adding more power to an existing machine.
Horizontal scaling increases the number of machines in the network to distribute the load, while vertical scaling increases the power of a single machine.
Horizontal scaling is more cost-effective and easier to implement than vertical scaling.
Examples of horizontal scaling include adding more servers to a web application to handle increased...read more
Associate IT Consultant 2 Interview Questions and Answers for Freshers
Q3. Logic to find reverse of a number
To find the reverse of a number, we can use a loop to extract the digits and build the reversed number.
Initialize a variable to store the reversed number
Extract the last digit of the input number using modulo operator
Add the extracted digit to the reversed number after multiplying it by 10
Remove the last digit from the input number by dividing it by 10
Repeat the process until the input number becomes 0
The final reversed number will be the result
Associate IT Consultant 2 Jobs
0Interview Questions of Similar Designations
Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Reviews
Interviews
Salaries
Users/Month