OodlesTechnologies
40+ Immanuel Training Academy Interview Questions and Answers
Q2. Is Javascript single thread or multithread?
Javascript is single-threaded.
Javascript runs on a single thread called the event loop.
This means that it can only execute one task at a time.
However, it can delegate tasks to other threads using web workers.
This allows for parallel processing without blocking the main thread.
Q4. Find a Node in Linked List
Given a singly linked list of integers, your task is to implement a function that returns the index/position of an integer value 'N' if it exists in the linked list. Return -1 if the ...read more
Q7. Top View of Binary Tree
Given a binary tree of integers, the task is to return the top view of the given binary tree. The top view of the binary tree is the set of nodes visible when viewed from the top.
Input:...read more
Q10. Cycle Detection in a Singly Linked List
Determine if a given singly linked list of integers forms a cycle or not.
A cycle in a linked list occurs when a node's next
points back to a previous node in the list. T...read more
Implement Stack with Linked List
Your task is to implement a Stack data structure using a Singly Linked List.
Explanation:
Create a class named Stack
which supports the following operations, each in O(1) time:
Q12. Problem Statement: Delete Node In A Linked List
Given a singly linked list of integers and a reference to a node, your task is to delete that specific node from the linked list. Each node in the linked list has...read more
Q14. What is difference between position relative and absolute
Position relative is relative to its normal position, while position absolute is relative to its nearest positioned ancestor.
Position relative moves an element relative to its normal position.
Position absolute moves an element relative to its nearest positioned ancestor.
Position absolute elements are taken out of the normal flow of the document.
Functional components are simpler and easier to test, while class components have more features and lifecycle methods.
Functional components are written as JavaScript functions, while class components are written as ES6 classes.
Functional components are stateless and do not have their own internal state, while class components can have state.
Functional components do not have lifecycle methods, while class components have lifecycle methods like componentDidMount and componentDi...read more
Q16. Javascript typeof() method
The typeof() method in JavaScript returns the data type of a variable or expression.
typeof() returns a string indicating the type of the operand.
It can be used with variables, literals, or expressions.
Common return values include 'number', 'string', 'boolean', 'object', 'function', and 'undefined'.
The states of a promise object are pending, fulfilled, or rejected.
A promise starts in the pending state.
When a promise is resolved, it transitions to the fulfilled state.
If a promise encounters an error, it transitions to the rejected state.
Once a promise is settled (fulfilled or rejected), it cannot transition to any other state.
Q18. What do you understand by z index
z index determines the stacking order of elements on a webpage.
z index is a CSS property that specifies the stack order of an element
Elements with a higher z index value will be displayed on top of elements with a lower value
Default z index value is 0, negative values are allowed
z index only works on positioned elements (position: relative, absolute, fixed)
No, const does not make the value immutable.
const only makes the variable itself immutable, not the value it holds.
For objects and arrays, const prevents reassignment but allows mutation of properties or elements.
To make a value truly immutable, you can use Object.freeze() or other techniques.
Q20. Async await in Javascript
Async/await is a syntax for writing asynchronous code in a synchronous way.
Async/await is built on top of Promises.
Async functions always return a Promise.
Await can only be used inside an async function.
Async/await makes code easier to read and write compared to using callbacks or Promises.
Q21. Write a Python Program in recursion
A Python program in recursion
Recursion is a technique where a function calls itself to solve a problem
The function should have a base case to stop the recursion
The function should have a recursive case to continue the recursion
Example: Factorial of a number using recursion
Example: Fibonacci series using recursion
Custom Hooks are reusable functions in React that allow you to extract logic from components.
Custom Hooks are functions that start with the word 'use' and can call other Hooks if needed.
They are used to share stateful logic between components without using higher-order components or render props.
Custom Hooks can be used to handle common tasks like fetching data, managing form state, or subscribing to events.
They promote code reusability and make it easier to separate concerns...read more
Q23. How to import views in django
To import views in Django, you need to create a views.py file and import it in urls.py
Create a views.py file in your Django app directory
Define your views in the views.py file
Import your views in urls.py using the 'from . import views' syntax
Map your views to URLs in urls.py using the 'path()' function
Q24. What are closures??promises??callback??asynchrnous programming??and these questions.
Closures, promises, callbacks, and asynchronous programming are all important concepts in Node JS development.
Closures are functions that have access to variables in their outer scope.
Promises are objects that represent the eventual completion or failure of an asynchronous operation.
Callbacks are functions that are passed as arguments to other functions and are executed when the other function completes.
Asynchronous programming allows multiple tasks to be executed concurrentl...read more
useState() is a React hook that allows functional components to manage state.
useState() is used to declare a state variable in a functional component.
It returns an array with two elements: the current state value and a function to update the state.
The initial state value is passed as an argument to useState().
The state can be updated by calling the update function returned by useState().
useState() can be used multiple times in a component to manage multiple state variables.
Props are read-only properties passed from a parent component to a child component in React.
Props allow data to be passed down the component tree.
Props are immutable and cannot be modified by the child component.
Props can be used to customize the behavior or appearance of a component.
Props are accessed using the dot notation, like this.props.propName.
Props can be any type of data, including strings, numbers, objects, or functions.
Q27. What is the difference between job specification and job description?
Job description outlines duties and responsibilities of a job, while job specification outlines qualifications and skills required for the job.
Job description explains what the job entails, while job specification explains what qualifications and skills are needed to perform the job.
Job description is a summary of the job, while job specification is a detailed list of qualifications and skills required for the job.
Job description is used for recruitment and selection, while j...read more
Q28. What is Models in django
Models in Django are Python classes that define the structure of the database tables.
Models are used to create, read, update and delete data from the database.
They define the fields and their types, relationships between tables, and constraints.
Models can be created using the Django ORM (Object-Relational Mapping) or by writing SQL.
Example: class Book(models.Model): title = models.CharField(max_length=100) author = models.ForeignKey(Author, on_delete=models.CASCADE)
Models are...read more
Q29. Write a programme for particular series
Program to generate a particular series
Define the series pattern
Use loops to generate the series
Store the series in an array
Print the array
Q30. Create a function to find out if a given number is prime or not.
Function to determine if a number is prime or not.
Check if the number is less than 2, return False if so
Iterate from 2 to the square root of the number, checking for divisibility
If no divisors found, return True (number is prime)
Q31. Create a function to find out the least repeating consecutive character in a string.
Create a function to find the least repeating consecutive character in a string.
Iterate through the string and keep track of consecutive characters and their counts
Find the character with the least count of consecutive repetitions
Return the character with the least count
Q32. Give the difference between call by value and call by reference.
Call by value passes a copy of the variable's value, while call by reference passes a reference to the variable's memory location.
Call by value passes a copy of the variable's value, so changes made to the parameter inside the function do not affect the original variable.
Call by reference passes a reference to the variable's memory location, so changes made to the parameter inside the function affect the original variable.
In Python, all function arguments are passed by refere...read more
Q33. Intercepter vs class
Intercepter and class are both used in JavaScript, but serve different purposes.
Intercepter is used to intercept and modify HTTP requests and responses.
Class is used to create objects with properties and methods.
Intercepter is commonly used in frameworks like Angular and React.
Class is a fundamental concept in object-oriented programming.
Intercepter can be used to add authentication headers to requests.
Class can be used to create multiple instances of an object with different...read more
Hoisting is a JavaScript behavior where variable and function declarations are moved to the top of their scope.
Variable declarations are hoisted but not their initializations.
Function declarations are fully hoisted.
Hoisting can lead to unexpected behavior if not understood properly.
Q35. How to maintain the employee work as a manager?
Maintain employee work by setting clear expectations, providing feedback, recognizing achievements, and offering growth opportunities.
Set clear expectations and goals for each employee
Provide regular feedback and coaching to help employees improve
Recognize and reward achievements to motivate employees
Offer growth opportunities such as training and development programs
Create a positive work environment that fosters collaboration and teamwork
Q36. How Asynchronous behaviour can be achieved in Js
Asynchronous behavior in JavaScript can be achieved using callbacks, promises, and async/await.
Callbacks: Functions passed as arguments to be executed once an asynchronous operation is completed.
Promises: Objects representing the eventual completion or failure of an asynchronous operation.
Async/Await: Syntactic sugar built on top of promises to write asynchronous code that looks synchronous.
Q37. Explain some Freelance bidding apps? How you will bid for an application on upwork?
Freelance bidding apps include Upwork, Freelancer, Fiverr, Guru, and PeoplePerHour.
Create a strong profile showcasing your skills and experience
Search for relevant projects and read the project description carefully
Submit a competitive bid that highlights your qualifications and offers a fair price
Communicate promptly and professionally with the client
Deliver high-quality work on time and within budget
Q38. Any future plans for further studies?
Yes, I am planning to pursue a Master's degree in Human Resource Management.
I have already researched various universities and programs that align with my career goals.
I plan to continue working while pursuing my degree part-time.
I believe that further education will enhance my skills and knowledge in the field of HR.
I am also interested in attending conferences and workshops to stay up-to-date with industry trends.
Q39. Write down a function to remove duplicate from the array
Q40. Reverse a string without using new variable
Reverse a string without using new variable
Use two pointers, one at the beginning and one at the end of the string
Swap the characters at the two pointers and move the pointers towards each other until they meet in the middle
Q41. what is sql and its uses.
SQL is a programming language used for managing and manipulating relational databases.
SQL stands for Structured Query Language
It is used to retrieve and manipulate data in relational databases
Common SQL commands include SELECT, INSERT, UPDATE, DELETE
Examples of SQL database systems include MySQL, PostgreSQL, Oracle
Q42. Process of recruitment.
Recruitment process involves sourcing, screening, interviewing, and selecting candidates for a job.
Identify job opening and create job description
Source candidates through job portals, social media, referrals, etc.
Screen resumes and shortlist candidates
Conduct interviews and assessments
Select the best candidate and make an offer
Onboard the new hire
Q43. Reverse every word of the string
Q44. 2_remove duplicates from the array
Remove duplicates from an array
Use Set to remove duplicates
Convert Set back to array
Use filter() to remove duplicates
Use indexOf() to check for duplicates
Q45. AWT Token working
AWT Token is a security token used for authentication and authorization in Java applications.
AWT stands for Abstract Window Toolkit
AWT Token is used for managing user authentication and authorization in Java applications
It provides a secure way to control access to resources based on user credentials
Top HR Questions asked in Immanuel Training Academy
Interview Process at Immanuel Training Academy
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month