Filter interviews by
Errors in SQL Server can be handled using TRY-CATCH blocks and error handling functions.
Use TRY-CATCH blocks to catch and handle errors
Use error handling functions like ERROR_MESSAGE(), ERROR_NUMBER(), ERROR_SEVERITY(), ERROR_STATE(), and ERROR_PROCEDURE() to get more information about the error
Use RAISERROR() to raise custom errors
I follow a systematic approach to debug JavaScript code.
Identify the problem area and reproduce the issue
Use console.log() to print values and debug
Use browser developer tools to step through code
Check for syntax errors and typos
Use a linter to catch common errors
Use a debugger tool like Chrome DevTools
Break down the code into smaller parts for easier debugging
Stored procedures are used to perform a set of actions, while functions return a single value.
Stored procedures are precompiled and stored in a database, while functions are compiled at runtime.
Functions can be used in SQL statements, while stored procedures cannot be used in SQL statements.
Stored procedures can have input and output parameters, while functions can only have input parameters.
Functions can be calle...
A table type is a user-defined data type in SQL that represents a table structure.
Table types can be used as parameters in stored procedures.
They can be used to define temporary tables.
Table types can be used to define table-valued parameters.
They can be used to define table variables.
To create a global temp table, use ## before the table name.
Use ## before the table name to create a global temp table.
Global temp tables are accessible to all sessions and are destroyed when the last session using it is closed.
Example: CREATE TABLE ##myTable (id INT, name VARCHAR(50))
Rollback should be written in the Catch block to undo the changes made in the Try block.
Rollback should be used to undo the changes made in the Try block if an exception occurs in the Catch block.
The Rollback code should be placed in the Catch block after the exception handling code.
The Rollback code should be written to reverse the changes made in the Try block.
For example, if a database transaction was started i...
An alternative to using a cursor to iterate row by row is to use a WHILE loop.
Use a WHILE loop to iterate through rows
Use a variable to keep track of the current row
Exit the loop when there are no more rows to iterate through
A cursor is a database object used to manipulate data in a result set.
A cursor is used to traverse through a result set one row at a time.
It allows for operations such as fetching, updating, and deleting data.
Cursors can be either static, dynamic, or forward-only depending on their functionality.
Example: SELECT * FROM table_name WHERE condition; DECLARE cursor_name CURSOR FOR SELECT column_name FROM table_name WHE...
The extension of a web service file is typically .wsdl or .asmx.
The .wsdl extension stands for Web Services Description Language.
The .asmx extension is used for ASP.NET web services.
The extension may vary depending on the technology used to create the web service.
Other common extensions include .svc for Windows Communication Foundation (WCF) services.
Transactions are a set of operations that are executed as a single unit of work.
Transactions ensure data consistency and integrity.
They allow for atomicity, isolation, and durability of data changes.
Examples include transferring money between bank accounts or updating inventory levels in an e-commerce system.
MVC stands for Model-View-Controller, a software design pattern used for developing user interfaces.
Model represents the data and business logic
View displays the data to the user
Controller handles user input and updates the model and view accordingly
Separation of concerns allows for easier maintenance and testing
Examples include ASP.NET MVC, Ruby on Rails, and AngularJS
State management is the process of managing and maintaining the state of an application or system.
State management involves storing and updating data that represents the current state of an application or system.
There are different types of state management, including client-side state management and server-side state management.
Client-side state management involves storing state data on the client-side, typically in t...
Caching is the process of storing frequently accessed data in a temporary storage area for faster access.
Caching reduces the number of requests made to the server, improving performance.
Types of caching include browser caching, server caching, and database caching.
Browser caching stores web page resources like images and scripts on the user's device.
Server caching stores frequently accessed data in the server's memory.
...
Multiingule is not a known term. No extension is used for it.
Multiingule is not a recognized term in software development.
There is no file extension associated with multiingule.
It is possible that the interviewer misspoke or meant to ask a different question.
The extension of a web service file is typically .wsdl or .asmx.
The .wsdl extension stands for Web Services Description Language.
The .asmx extension is used for ASP.NET web services.
The extension may vary depending on the technology used to create the web service.
Other common extensions include .svc for Windows Communication Foundation (WCF) services.
I follow a systematic approach to debug JavaScript code.
Identify the problem area and reproduce the issue
Use console.log() to print values and debug
Use browser developer tools to step through code
Check for syntax errors and typos
Use a linter to catch common errors
Use a debugger tool like Chrome DevTools
Break down the code into smaller parts for easier debugging
To adjust padding on a website, I would use CSS properties, inspect elements, and test changes in real-time.
Use CSS: Adjust padding using the 'padding' property in your stylesheet (e.g., 'padding: 10px 20px;').
Inspect Element: Right-click on the element and select 'Inspect' to view and modify padding in real-time.
Responsive Design: Use media queries to adjust padding for different screen sizes (e.g., '@media (max-width...
User control is a reusable UI component that allows users to interact with an application. An extension of user control is a custom control that inherits from the user control.
User control is a UI component that can be reused across an application
It allows users to interact with an application
An extension of user control is a custom control that inherits from the user control
Custom controls can be created by adding add...
A cursor is a database object used to manipulate data in a result set.
A cursor is used to traverse through a result set one row at a time.
It allows for operations such as fetching, updating, and deleting data.
Cursors can be either static, dynamic, or forward-only depending on their functionality.
Example: SELECT * FROM table_name WHERE condition; DECLARE cursor_name CURSOR FOR SELECT column_name FROM table_name WHERE co...
An alternative to using a cursor to iterate row by row is to use a WHILE loop.
Use a WHILE loop to iterate through rows
Use a variable to keep track of the current row
Exit the loop when there are no more rows to iterate through
A table type is a user-defined data type in SQL that represents a table structure.
Table types can be used as parameters in stored procedures.
They can be used to define temporary tables.
Table types can be used to define table-valued parameters.
They can be used to define table variables.
Stored procedures are used to perform a set of actions, while functions return a single value.
Stored procedures are precompiled and stored in a database, while functions are compiled at runtime.
Functions can be used in SQL statements, while stored procedures cannot be used in SQL statements.
Stored procedures can have input and output parameters, while functions can only have input parameters.
Functions can be called fro...
Transactions are a set of operations that are executed as a single unit of work.
Transactions ensure data consistency and integrity.
They allow for atomicity, isolation, and durability of data changes.
Examples include transferring money between bank accounts or updating inventory levels in an e-commerce system.
Rollback should be written in the Catch block to undo the changes made in the Try block.
Rollback should be used to undo the changes made in the Try block if an exception occurs in the Catch block.
The Rollback code should be placed in the Catch block after the exception handling code.
The Rollback code should be written to reverse the changes made in the Try block.
For example, if a database transaction was started in the...
Temp table is a temporary table used to store data temporarily during a session.
Temp table is created using CREATE TABLE statement with a # symbol before the table name.
It is used to store intermediate results during complex queries.
Temp tables are automatically dropped when the session ends or when the table is explicitly dropped.
They can be used to improve query performance by reducing the number of joins or subqueri...
To create a global temp table, use ## before the table name.
Use ## before the table name to create a global temp table.
Global temp tables are accessible to all sessions and are destroyed when the last session using it is closed.
Example: CREATE TABLE ##myTable (id INT, name VARCHAR(50))
Errors in SQL Server can be handled using TRY-CATCH blocks and error handling functions.
Use TRY-CATCH blocks to catch and handle errors
Use error handling functions like ERROR_MESSAGE(), ERROR_NUMBER(), ERROR_SEVERITY(), ERROR_STATE(), and ERROR_PROCEDURE() to get more information about the error
Use RAISERROR() to raise custom errors
Top trending discussions
I appeared for an interview in Dec 2020.
Round duration - 40 minutes
Round difficulty - Easy
Given an integer array ARR
of size N
, your task is to find the total number of subsequences in which all elements are equal.
A subsequence of an array i...
Count the total number of subsequences in which all elements are equal in an integer array.
Iterate through the array and count the frequency of each element.
Calculate the total number of subsequences for each element using the formula (frequency * (frequency + 1) / 2).
Sum up the total number of subsequences for all elements and return the result modulo 10^9 + 7.
Tip 1 : Do practice as much as you can
Tip 2 : Coding is key to crack
Tip 1 : It should look nice
Tip 2 : Skills should be mentioned properly
To debug a particular program without affecting others, use breakpoints and step through the code.
Set a breakpoint in the program you want to debug
Step through the code using a debugger to identify the issue
Use logging statements to track the flow of the program
Check the call stack to see which functions are being called
Use conditional breakpoints to stop the program at specific points
I applied via Campus Placement and was interviewed before Feb 2020. There were 4 interview rounds.
If and Switch Case statements are used for conditional branching in programming.
If statements are used for simple conditional branching.
Switch Case statements are used for multiple conditional branching.
If statements are more flexible than Switch Case statements.
Switch Case statements are more efficient than If statements for large number of conditions.
If statements can be nested, but Switch Case statements cannot.
Exam...
Yes, algorithms and pseudocodes are still important in IT Services.
Algorithms are used in various fields of IT such as machine learning, data analysis, and cryptography.
Pseudocodes are used to plan and design algorithms before coding them.
Understanding algorithms and pseudocodes is essential for software engineers to write efficient and optimized code.
Examples of algorithms include sorting algorithms, search algorithms...
Yes, I am comfortable using both CLIs and IDEs for my daily tasks.
I have experience using various CLIs such as Git Bash, Windows Command Prompt, and Terminal on macOS.
I am proficient in using IDEs such as Visual Studio Code, Eclipse, and IntelliJ IDEA.
I understand the benefits and drawbacks of both CLIs and IDEs and can choose the appropriate tool for the task at hand.
I applied via Campus Placement and was interviewed in Nov 2020. There were 6 interview rounds.
OOPs concepts are the fundamental principles of object-oriented programming.
Encapsulation - binding data and functions that manipulate the data
Inheritance - creating new classes from existing ones
Polymorphism - ability of objects to take on many forms
Abstraction - hiding implementation details and showing only functionality
Storage classes in C define the scope and lifetime of variables.
There are four storage classes in C: 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 have a lifetime throughout the program and are initialized only once.
Extern variables are declared outside any function and can be a...
I applied via Naukri.com and was interviewed in Apr 2021. There were 3 interview rounds.
I applied via Campus Placement and was interviewed in Oct 2021. There was 1 interview round.
Linked list is a linear data structure. DFS and BFS are graph traversal algorithms.
Linked list is a collection of nodes where each node points to the next node.
DFS (Depth First Search) is a traversal algorithm that explores as far as possible along each branch before backtracking.
BFS (Breadth First Search) is a traversal algorithm that explores all the vertices of a graph in breadth-first order.
Example of linked list: ...
Optimize O(n2) program to O(log n)
Use binary search instead of linear search
Divide and conquer approach can be used
Implement efficient data structures like heap, AVL tree, etc.
Reduce unnecessary iterations and comparisons
Use memoization to avoid redundant calculations
Software configuration management is the process of tracking and controlling changes made to software throughout its lifecycle.
It involves version control, build management, and release management.
It ensures that changes are made in a controlled and systematic manner.
Examples include Git, SVN, and Jenkins.
It helps to maintain the integrity and quality of the software.
It is essential for collaboration among team members...
Software requirements are the functional and non-functional specifications that a software system must meet.
Software requirements define what the software should do and how it should behave
They include functional requirements (what the software should do) and non-functional requirements (how well it should do it)
Requirements are typically documented in a requirements specification document
They are used to guide the dev...
Some of the top questions asked at the RHA Technologies Software Development Engineer interview -
Software Development Engineer II
5
salaries
| ₹6.5 L/yr - ₹18 L/yr |
React Native Developer
5
salaries
| ₹6 L/yr - ₹16 L/yr |
HR Manager
3
salaries
| ₹6.2 L/yr - ₹7 L/yr |
Software Development Engineer
3
salaries
| ₹7 L/yr - ₹9.5 L/yr |
Senior Manager-HR
3
salaries
| ₹6.2 L/yr - ₹7 L/yr |
TCS
Accenture
Wipro
Cognizant