TCS
100+ Ved Furniture Interview Questions and Answers
Q1. 1. What is interface how to use? 2. Tell me a small example for interface? 3. How to managing the Error Logging system at your application 4. How you implement Security at your application 5. What are the Joins...
read moreAnswering questions related to IT Analyst position
An interface is a contract between two objects that defines the communication between them
An example of an interface is the Java interface, which defines a set of methods that a class must implement
Error logging can be managed by setting up a system to capture and store error messages, and regularly reviewing and addressing them
Security can be implemented through measures such as authentication, authorization, encryption, and ...read more
Q2. How to load data from tab delimiter file instead of csv
To load data from a tab delimiter file instead of csv, change the delimiter setting in the data loading process.
Change the delimiter setting in the data loading process to ' ' for tab delimiter
Specify the delimiter parameter as ' ' when using functions like read_csv in Python pandas library
Ensure that the file is saved with tab delimiters before attempting to load it
Q3. Writing NO DATA FOUND after WHEN OTHERS is allowed in plsql block
Yes, it is allowed to write NO DATA FOUND after WHEN OTHERS in PL/SQL block.
It is allowed to handle exceptions using WHEN OTHERS in PL/SQL block.
You can customize the error message to display 'NO DATA FOUND' after handling the exception.
It is a good practice to provide informative error messages for better debugging.
Q4. How would you insert contacts to newly created contacts using trigger
Use a trigger to insert contacts to newly created contacts
Create a trigger on the Contact object
Use the 'after insert' trigger event
Loop through the newly created contacts
Create a new contact for each one and set the necessary fields
Insert the new contacts
Q5. What are the joins in Oracle and How it's Works If we Perform Outer Join?
Joins in Oracle and how outer join works
Joins are used to combine data from two or more tables in Oracle
Inner join returns only matching rows from both tables
Outer join returns all rows from one table and matching rows from the other table
Left outer join returns all rows from the left table and matching rows from the right table
Right outer join returns all rows from the right table and matching rows from the left table
Q6. If Base table is deleted ,whether the view is exist or not?
No, the view will not exist if the base table is deleted.
Views are dependent on the base table.
Deleting the base table will also delete the view.
Views are virtual tables that depend on the existence of the base table.
Q7. How can we achieve multiple inheritance in SAP ABAP
Multiple inheritance in SAP ABAP can be achieved using interfaces.
In SAP ABAP, multiple inheritance can be achieved through interfaces.
Create multiple interfaces with the desired methods and attributes.
Implement these interfaces in the class where multiple inheritance is needed.
Q8. Which programming languages do you use regularly in your work?
I regularly use Java, Python, and SQL in my work as an IT Analyst.
Java is used for developing enterprise applications and Android apps.
Python is used for data analysis, scripting, and automation.
SQL is used for managing and querying databases.
Q9. How to pass values from one component to another
Values can be passed between components using props, state, context, or Redux.
Props are used to pass data from parent to child components
State is used to manage data within a component and can be passed down as props
Context allows data to be passed down to nested components without having to pass props through every level
Redux is a state management library that allows data to be shared between components
Q10. What EMC networker tool?
EMC Networker is a backup and recovery software tool used for data protection.
EMC Networker provides centralized management of backup and recovery operations.
It supports a wide range of platforms and applications.
It offers features like data deduplication, replication, and snapshot management.
EMC Networker also has integration with cloud storage providers like AWS and Azure.
Examples of supported applications include Oracle, SAP, and Microsoft Exchange.
Q11. What are the different types of enhancements in abap
Different types of enhancements in ABAP include user exits, BAdIs, enhancement spots, and enhancement frameworks.
User exits: Custom code added to standard SAP programs to meet specific business requirements.
BAdIs (Business Add-Ins): Points in the standard SAP system where custom enhancements can be added without modifying the original code.
Enhancement spots: Points in the standard SAP system where custom code can be inserted using Enhancement Framework.
Enhancement frameworks:...read more
Q12. What is pragma_autonomus transaction and where we can use?
Pragma_autonomous transaction is used to execute a transaction independently within a larger transaction.
It allows a subtransaction to be committed or rolled back independently of the larger transaction.
It is useful in situations where a subtransaction needs to be executed without affecting the larger transaction.
It can be used in error handling, logging, or auditing.
Example: A stored procedure that inserts data into multiple tables can use pragma_autonomous transaction to en...read more
Q13. Webdriver code to access Gmail dashboard menu from google page.
Webdriver code to access Gmail dashboard menu from google page.
Locate the 'Gmail' button on the Google page using CSS selector or XPath
Click on the 'Gmail' button to open the Gmail login page
Enter valid login credentials and click on the 'Sign in' button
Locate the dashboard menu using CSS selector or XPath
Click on the dashboard menu to access it
Q14. How to do trouble shooting in Odata/ Fiori application
Troubleshooting in Odata/Fiori applications involves identifying and resolving issues with data retrieval and display.
Check network connectivity to ensure data can be retrieved from the Odata service
Verify Odata service is running and accessible
Review Fiori application code for any errors or misconfigurations
Check backend system for any issues with data availability or consistency
Q15. what are the different components in hadoop ? What is the difference between hive and SQL?
Hadoop components include HDFS, YARN, MapReduce, and Hive. Hive is a data warehouse tool that uses SQL-like queries to analyze data stored in Hadoop.
Hadoop components: HDFS (Hadoop Distributed File System), YARN (Yet Another Resource Negotiator), MapReduce, Hive
Hive vs SQL: Hive is a data warehouse tool that allows users to write SQL-like queries to analyze data stored in Hadoop, while SQL is a standard query language used to manage and manipulate relational databases
Hive que...read more
Q16. Describe the transaction codes which were using in working
Transaction codes are used in IT systems to execute specific functions or tasks.
Transaction codes are alphanumeric codes used in SAP systems to access specific functions or programs.
They are typically entered in the command field of the SAP Easy Access screen.
Transaction codes can be used to perform tasks such as creating purchase orders (ME21N), displaying material master data (MM03), or executing payroll (PC00_M99_CIPE).
Each transaction code corresponds to a specific progra...read more
Q17. What are the block available in newly created files in unix.
Blocks available in newly created files in Unix.
Unix uses a file system that is divided into blocks.
The size of the block is determined by the file system.
The default block size for most file systems is 4096 bytes.
The number of blocks allocated to a file depends on its size.
The blocks are allocated in a contiguous manner.
The blocks are used to store the data of the file.
Q18. Spring Annotation and difference b/w spring mvc and spring boot.
Spring Annotation and difference b/w spring mvc and spring boot.
Spring Annotation is used to simplify the configuration process in Spring Framework.
Spring MVC is a web framework that is used to build web applications.
Spring Boot is a framework that is used to build standalone applications.
Spring Boot provides an opinionated approach to configuration and reduces the amount of boilerplate code required.
Spring Boot includes an embedded web server, which makes it easy to deploy w...read more
Q19. What are the backup tools you used in your previous project?
I used a variety of backup tools in my previous project, including Veeam Backup & Replication, Commvault, and Acronis Backup.
Veeam Backup & Replication
Commvault
Acronis Backup
Q20. Explain the life cycle of service cloud using servicemax
Service cloud life cycle using ServiceMax
The life cycle starts with service request creation
The request is then assigned to a technician
Technician uses ServiceMax to access customer information and service history
Technician completes the service and updates the status in ServiceMax
Customer receives notification and can provide feedback
Service data is analyzed for insights and improvements
Q21. Difference between entity types, entity sets, DPC and MPC in Odata
Entity types are templates for entities, entity sets are collections of entities, DPC is Data Provider Collection, and MPC is Metadata Provider Collection in OData.
Entity types define the structure of an entity, like a class in object-oriented programming.
Entity sets are collections of entities of the same type, like a database table.
DPC is a collection of entity sets that expose data for read and write operations.
MPC is a collection of entity sets that provide metadata about...read more
Q22. what will you do will reduce Performace issue?
To reduce performance issues, I will analyze the system, identify bottlenecks, optimize code, and implement caching.
Analyze system to identify bottlenecks
Optimize code to improve efficiency
Implement caching to reduce load times
Use profiling tools to identify performance issues
Reduce database queries by optimizing queries and using caching
Use a content delivery network (CDN) to reduce server load
Implement load balancing to distribute traffic evenly
Upgrade hardware or infrastru...read more
Q23. What are the 4 different types of inheritance?
There are 4 types of inheritance in object-oriented programming: single, multiple, multilevel, and hierarchical.
Single inheritance: a subclass inherits from a single superclass.
Multiple inheritance: a subclass inherits from multiple superclasses.
Multilevel inheritance: a subclass inherits from a superclass, which in turn inherits from another superclass.
Hierarchical inheritance: multiple subclasses inherit from a single superclass.
Q24. What are Switching and Routing Technologies do you know?
Switching and routing are technologies used in computer networking to direct data traffic.
Switching involves forwarding data packets between devices on a network.
Routing involves determining the best path for data packets to travel between networks.
Examples of switching technologies include Ethernet and ATM.
Examples of routing protocols include OSPF and BGP.
Q25. How you have implemented oops concept in your framework
Implemented OOPs concepts in framework
Used inheritance to create base classes for common functionalities
Implemented encapsulation to hide implementation details
Used polymorphism to allow different implementations for same method
Implemented abstraction to define interfaces for modules
Used SOLID principles to ensure maintainability and extensibility
Q26. Difference between session method and call transaction
Session method is used to maintain user session data, while call transaction is used to call a transaction code directly.
Session method is used to store and retrieve user-specific data during a session.
Call transaction is used to directly execute a transaction code without user interaction.
Session method is commonly used in web applications to maintain user login information.
Call transaction is often used in SAP systems to automate repetitive tasks.
Session method can be acces...read more
Q27. Data flow from AR Invoice table GL Tables
Data flows from AR Invoice table to GL Tables through integration processes.
AR Invoice table data is typically integrated into GL Tables through automated processes
Integration processes may involve mapping fields from AR Invoice table to GL Tables
Data may flow through APIs, ETL processes, or direct database connections
Q28. What is the difference between list and tuple.
List and tuple are both data structures in Python, but list is mutable while tuple is immutable.
List is defined using square brackets [], while tuple is defined using parentheses ().
Elements in a list can be added, removed, or modified, while elements in a tuple cannot be modified.
Lists are used for collections of data that may change over time, while tuples are used for fixed collections of data.
Lists are generally faster for iteration and appending, while tuples are faster ...read more
Q29. How will you code a snake and ladder program
A snake and ladder program can be coded using loops, arrays, and conditional statements.
Create a board with 100 squares using an array
Assign snakes and ladders to specific squares
Use a loop to simulate dice rolls and move the player accordingly
Use conditional statements to check for snakes and ladders
Display the final position of the player and whether they won or lost
Q30. What is the difference between diff and cmp commands
diff and cmp are commands used to compare files in Unix/Linux systems.
diff shows the differences between two files line by line
cmp compares two files byte by byte and shows the first byte that differs
diff is more commonly used for comparing text files while cmp is used for binary files
diff can also be used to compare directories
cmp returns an exit status of 0 if the files are identical, 1 if they differ, and 2 if an error occurs
Examples: diff file1.txt file2.txt, cmp file1.bi...read more
Q31. How Deployment Process Done ?
Deployment process involves planning, testing, and executing the release of software into production.
Identify the target environment and prepare it for deployment
Create a deployment package that includes all necessary files and configurations
Test the deployment package in a staging environment
Execute the deployment process, which may involve automated or manual steps
Monitor the deployment to ensure it is successful and address any issues that arise
Q32. Difference between store procedure and function ?
Stored procedures are used to perform an action, while functions return a value.
Stored procedures are precompiled and stored in the database for repeated use.
Functions can be used in SQL statements to return a value.
Stored procedures can have input and output parameters.
Functions can be used in expressions and calculations.
Examples: A stored procedure to insert data into a table, a function to calculate the average of a set of numbers.
Q33. Junit and what is mockito
Junit is a testing framework for Java. Mockito is a mocking framework used for unit testing.
Junit is used for writing and running unit tests in Java
Mockito is used for creating mock objects to simulate dependencies in unit tests
Mockito can be used with Junit to create comprehensive unit tests
Example: Mockito.when(mockObject.method()).thenReturn(expectedResult)
Q34. What is the use of private constructor ?
Private constructor restricts the creation of objects outside the class.
Private constructor is used to prevent the creation of objects outside the class.
It is often used in singleton design pattern to ensure only one instance of the class is created.
Private constructor can also be used in utility classes where all methods are static.
Private constructor can be used to prevent inheritance of a class.
Example: java.lang.Math class has a private constructor and all methods are sta...read more
Q35. What are SQL versions worked upon,automations
SQL versions worked upon and automations
Worked on SQL Server 2008, 2012, 2014, and 2016
Automated SQL Server tasks using PowerShell scripts
Created SQL Server Agent jobs for automating backups and maintenance tasks
Q36. What is Normalization and types?
Normalization is the process of organizing data in a database to reduce redundancy and dependency.
Normalization helps in improving data consistency and accuracy.
There are different levels of normalization, such as first normal form (1NF), second normal form (2NF), and so on.
Normalization can help in reducing data redundancy and improving database performance.
Example: In a database of customers and orders, normalization can help in separating customer information from order in...read more
Q37. What is bulk collection and it's advantage
Bulk collection is the process of gathering large amounts of data at once.
Allows for efficient and quick data retrieval
Can be useful for data analysis and research
Examples include web scraping and social media monitoring
Q38. What frameworks have you used with python
I have used several frameworks with Python including Django, Flask, and Pyramid.
Django - a high-level web framework for rapid development of secure and maintainable websites
Flask - a micro web framework for building small to medium-sized web applications
Pyramid - a lightweight web framework for building complex web applications
Other frameworks I have used include Bottle, CherryPy, and Tornado
Q39. What is the need of cloud backup?
Cloud backup ensures data safety and accessibility in case of disasters or system failures.
Cloud backup provides an off-site storage solution for data backup and recovery.
It eliminates the need for physical storage devices and reduces the risk of data loss due to hardware failures or disasters.
Cloud backup also allows for easy and quick access to data from anywhere with an internet connection.
Examples of cloud backup services include Amazon S3, Google Drive, and Dropbox.
Q40. How to make a class AMDP Class
To create an AMDP class, define a class with AMDP annotation and implement the required methods.
Define a class with AMDP annotation @AbapAnnotation: 'AMDPArtifact' and extend from CL_AMDP_EXECUTION.
Implement the required methods like GET_DATA, SET_DATA, EXECUTE_QUERY, etc.
Use AMDP SQLScript to write the database logic within the methods.
Make sure to activate the class and AMDP methods in SAP system.
Q41. component communication with parent child and without parent child
Component communication in Angular can be achieved using parent-child relationship or through services for communication without parent-child relationship.
Parent-child communication: Use @Input() to pass data from parent to child component and @Output() with EventEmitter to pass data from child to parent component.
Without parent-child communication: Use services to create a shared service that can be injected into multiple components to facilitate communication.
Example: Paren...read more
Q42. create a pipeline to get data from several source and put it into Redshift
Create a pipeline to extract data from multiple sources and load it into Redshift.
Identify the sources from which data needs to be extracted (e.g. databases, APIs, files)
Use ETL tools like Apache NiFi, Talend, or AWS Glue to extract, transform, and load the data
Map the data to the appropriate tables in Redshift
Schedule the pipeline to run at regular intervals to keep the data up to date
Q43. What is difference between DataFrame and Dataset
DataFrame is a two-dimensional tabular data structure in Spark, while Dataset is a distributed collection of data with strong typing.
DataFrame is a collection of distributed data organized into named columns, similar to a table in a relational database.
Dataset is a distributed collection of data with strong typing, allowing for compile-time type safety.
DataFrame is more suitable for structured data processing, while Dataset is more versatile and can handle both structured and...read more
Q44. What is table partitions in oracle
Table partitions in Oracle are a way to divide a large table into smaller, more manageable pieces.
Partitions can be based on a range of values, a list of values, or a hash function
Partitioning can improve query performance and simplify maintenance
Example: partitioning a sales table by date can make it easier to archive old data
Partitioning can also be used for parallel processing and backup and recovery
Q45. Write a java program to remove duplicate words from a string
Java program to remove duplicate words from a string
Split the input string into an array of words
Use a Set to store unique words while iterating through the array
Join the Set elements back into a string
Q46. Tell me about oops concept in java
OOPs concept in Java is a programming paradigm that focuses on objects and their interactions.
Encapsulation: Hiding the implementation details of an object from the outside world
Inheritance: Creating new classes from existing ones
Polymorphism: Ability of objects to take on many forms
Abstraction: Focusing on the essential features of an object
Example: A car object can have properties like color, model, and speed, and methods like start and stop
Example: Inheritance can be used ...read more
Q47. How do you reschedule a backup ?
To reschedule a backup, you can adjust the backup schedule settings in the backup software or tool being used.
Access the backup software or tool interface
Navigate to the backup schedule settings
Adjust the date, time, frequency, and other parameters as needed
Save the changes to apply the new backup schedule
Q48. How do you replace a tape drive ?
To replace a tape drive, you need to power off the system, remove the old drive, install the new drive, and configure the system to recognize the new drive.
Power off the system and disconnect any cables connected to the tape drive.
Remove the old tape drive from the system by unscrewing any screws holding it in place.
Install the new tape drive by securely attaching it to the system using screws.
Connect any necessary cables to the new tape drive.
Power on the system and configur...read more
Q49. What is difference between spring and springboot
Spring is a framework for building Java applications, while Spring Boot is an extension that simplifies the setup and development process.
Spring is a comprehensive framework that provides various modules for building Java applications, such as Spring Core, Spring MVC, and Spring Data.
Spring Boot is an extension of the Spring framework that aims to simplify the setup and development process by providing defaults for configuration and dependencies.
Spring Boot includes embedded ...read more
Q50. How do you improve the performance of website
Improving website performance involves optimizing code, reducing server response time, caching content, and minimizing HTTP requests.
Optimize code by removing unnecessary elements and using efficient algorithms
Reduce server response time by upgrading hardware, optimizing database queries, and using content delivery networks (CDNs)
Cache content to reduce load times for returning visitors
Minimize HTTP requests by combining CSS and JavaScript files, using image sprites, and enab...read more
Q51. Difference between Hibernate and JPA, hashmap vs hashtree
Hibernate is an ORM framework while JPA is a specification. Hashmap is faster for small datasets while Hashtree is better for large datasets.
Hibernate is a popular ORM framework that provides an abstraction layer between Java code and the database. JPA is a specification that defines a set of interfaces and rules for ORM frameworks to follow.
Hibernate provides additional features beyond JPA, such as caching and lazy loading.
Hashmap is faster for small datasets because it uses...read more
Q52. What is coalesce and NVL function?
Coalesce and NVL are functions used in SQL to handle NULL values by returning the first non-NULL value from a list of expressions.
Coalesce function returns the first non-NULL value from a list of expressions.
NVL function is similar to Coalesce but is specific to Oracle database and only takes two arguments.
Example: SELECT COALESCE(column1, column2, 'No value') FROM table_name;
Example: SELECT NVL(column1, 'No value') FROM table_name;
Q53. How to resolve data skew issue.
Data skew issue can be resolved by partitioning data, using indexing, optimizing queries, and redistributing data.
Partitioning data to distribute evenly across nodes
Using indexing to improve query performance
Optimizing queries to reduce data skew
Redistributing data to balance the workload
Q54. Basic fundamentals trouble shooting of performance issues
Basic fundamentals of troubleshooting performance issues
Identify the problem and gather information
Check system resources such as CPU, memory, and disk usage
Analyze logs and error messages
Check network connectivity and latency
Review application code and database queries
Consider hardware upgrades or software optimizations
Test and validate solutions
Document findings and solutions
Q55. How topass data to different components
Data can be passed to different components through props, state, context, and event handling.
Use props to pass data from parent to child components
Manage component-specific data using state
Use context to pass data to multiple components without prop drilling
Handle events to pass data between components
Q56. What do you mean by remote deaktop
Remote desktop refers to the ability to access a computer or device from a different location using a network connection.
Allows users to access their computer desktop remotely from another device
Enables IT support to troubleshoot issues on a user's computer without being physically present
Commonly used for telecommuting, remote work, and accessing files from a different location
Q57. What are the commands you used in git?
Various git commands used for version control and collaboration.
git init - initialize a new Git repository
git clone - clone a repository into a new directory
git add - add file contents to the index
git commit - record changes to the repository
git push - update remote refs along with associated objects
git pull - fetch from and integrate with another repository or a local branch
git branch - list, create, or delete branches
git merge - join two or more development histories togeth...read more
Q58. Why do we use map reduce?
MapReduce is used to process and analyze large datasets in parallel across a distributed cluster of computers.
Efficiently processes large amounts of data by dividing it into smaller chunks
Allows for parallel processing across multiple nodes in a cluster
Reduces the time and resources required for data processing tasks
Commonly used in big data analytics, data mining, and machine learning applications
Q59. what are the modules in anasible ?
Ansible modules are reusable, standalone scripts that can be used to automate tasks in Ansible.
Modules are categorized into core modules and extras modules.
Core modules are included in the Ansible package, while extras modules are available as separate packages.
Examples of core modules include command, file, and service modules.
Examples of extras modules include community contributed modules like AWS, Docker, and Git modules.
Q60. Difference between viewbag and viewdata ?
ViewBag and ViewData are used to pass data from controller to view in ASP.NET MVC.
ViewBag is a dynamic object while ViewData is a dictionary object.
ViewBag uses dynamic properties while ViewData uses string keys to store data.
ViewBag is a shortcut to ViewData["key"] while ViewData requires casting.
ViewBag is not type-safe while ViewData is type-safe.
Example: ViewBag.Title = "Home"; ViewData["Title"] = "Home";
Q61. What is Package in Oracle?
Package is a collection of related procedures, functions, and other objects in Oracle.
Packages are used to organize and group related database objects together.
They can contain procedures, functions, variables, constants, cursors, and exceptions.
Packages can be used to encapsulate and hide implementation details.
They can also be used to provide a public interface to a set of related functionality.
Example: DBMS_OUTPUT package in Oracle is used to display output from PL/SQL pro...read more
Q62. What are the advantages of spring boot?
Spring Boot offers advantages such as rapid development, easy configuration, and built-in features.
Rapid development due to auto-configuration and starter dependencies
Easy configuration with minimal XML configuration and annotations
Built-in features like embedded servers, metrics, and health checks
Support for microservices architecture and cloud deployment
Integration with popular frameworks like Spring Cloud, Hibernate, and Thymeleaf
Q63. What are the constraints in sql?
Constraints in SQL are rules and restrictions that are applied to columns in a table to ensure data integrity and consistency.
Constraints ensure data accuracy and consistency in a database
Common constraints include NOT NULL, UNIQUE, PRIMARY KEY, FOREIGN KEY, CHECK, and DEFAULT
NOT NULL constraint ensures a column cannot have a NULL value
UNIQUE constraint ensures all values in a column are unique
PRIMARY KEY constraint uniquely identifies each record in a table
FOREIGN KEY constr...read more
Q64. How to monitor the eks clusters
EKS clusters can be monitored using AWS CloudWatch, Prometheus, and Grafana.
Use AWS CloudWatch to monitor EKS clusters for metrics like CPU utilization, memory usage, and network traffic.
Set up Prometheus to collect metrics from EKS clusters using the Prometheus Operator.
Visualize the collected metrics using Grafana dashboards for better insights and monitoring.
Implement alerts and notifications in CloudWatch for proactive monitoring and issue resolution.
Q65. What is mutating error?
A mutating error occurs when a program tries to modify a data structure while iterating over it.
Occurs when a program tries to modify a collection while iterating over it
Can lead to unexpected behavior or crashes
Common in languages like Java and Python
Example: Trying to remove an element from a list while iterating over it
Q66. What is RFC request ?
RFC request stands for Request for Comments. It is a document that describes proposed changes or additions to a protocol or standard.
RFC requests are used in the development of internet standards and protocols.
They are open to public comments and suggestions.
RFC requests are assigned a number and are published on the internet.
Examples of RFC requests include RFC 791 which describes the Internet Protocol (IP) and RFC 2616 which describes the Hypertext Transfer Protocol (HTTP).
Q67. Preparation for normalised method
Preparation for normalised method
Understand the data and its structure
Identify any anomalies or outliers
Choose appropriate normalization method
Apply normalization to the data
Evaluate the effectiveness of normalization
Q68. Cloud Deployment and cloud tools you used
I have experience with deploying applications on AWS, Azure, and Google Cloud Platform using tools like AWS CloudFormation, Azure Resource Manager, and Google Cloud Deployment Manager.
Experience with deploying applications on AWS, Azure, and Google Cloud Platform
Proficiency in using tools like AWS CloudFormation, Azure Resource Manager, and Google Cloud Deployment Manager
Q69. Please explain the custom hooks in angular
Custom hooks in Angular are functions that allow you to reuse logic across multiple components.
Custom hooks are created using the @Injectable decorator
They can be used to share stateful logic between components
They can also be used to abstract away complex logic from components
Custom hooks can be tested independently of components
Q70. What is views and it's types?
Views in databases are virtual tables that display data from one or more tables.
Views are created using SELECT queries.
Types of views include Simple Views, Complex Views, and Materialized Views.
Simple Views display data from one table, while Complex Views can display data from multiple tables.
Materialized Views store the result set of the view as a physical table for faster access.
Views can be used to restrict access to certain columns or rows of a table.
Q71. Tell me about Deep learning techniques
Deep learning techniques are a subset of machine learning methods that use neural networks with multiple layers to learn complex patterns.
Deep learning models are capable of automatically learning representations from data.
They are used in various applications such as image and speech recognition, natural language processing, and autonomous driving.
Examples of deep learning techniques include Convolutional Neural Networks (CNNs) for image recognition and Recurrent Neural Netw...read more
Q72. how is patching is done on linux server
Patching on Linux servers involves applying updates to the operating system and software to fix vulnerabilities and improve performance.
Patching can be done manually by downloading and installing updates from official repositories.
Automated tools like yum or apt-get can be used to apply patches.
Regularly checking for updates and scheduling patching maintenance is important for security.
Patching helps in fixing bugs, improving stability, and enhancing system performance.
Q73. Creating a table using DB Schema
To create a table using DB Schema, define the table name, columns, data types, and constraints.
Choose a suitable name for the table
Define the columns and their data types
Add constraints such as primary key, foreign key, and unique
Specify any default values or nullability
Consider normalization rules
Example: CREATE TABLE customers (id INT PRIMARY KEY, name VARCHAR(50) NOT NULL, email VARCHAR(100) UNIQUE)
Q74. What do you know about vpn
VPN stands for Virtual Private Network, a technology that creates a secure and encrypted connection over a less secure network, such as the internet.
VPN allows users to securely access a private network from a remote location
It encrypts data to ensure privacy and security
Common uses of VPN include remote work, accessing geo-restricted content, and enhancing online security
Popular VPN services include NordVPN, ExpressVPN, and CyberGhost
Q75. What are facts and dimensions in a DW
Facts are measurable data in a data warehouse, while dimensions provide context to the facts.
Facts are quantitative data that can be measured, such as sales revenue or quantity sold.
Dimensions are descriptive attributes related to the facts, such as time, location, or product category.
Facts are typically stored in fact tables, while dimensions are stored in dimension tables.
Dimensions help to provide context and allow for slicing and dicing of the data for analysis.
Example: I...read more
Q76. What are Cursors? And types
Cursors are database objects used to manipulate data in a set row-by-row basis.
Cursors are used to retrieve and manipulate data from a result set returned by a SELECT statement.
Types of cursors include forward-only, static, dynamic, and keyset-driven.
Cursors can be used to update or delete data in a table.
Cursors can be resource-intensive and should be used sparingly.
Q77. How does 4 stroke engine work?
A 4 stroke engine works by completing four distinct processes - intake, compression, combustion, and exhaust.
Intake stroke: air and fuel mixture is drawn into the cylinder
Compression stroke: the mixture is compressed by the piston
Combustion stroke: the spark plug ignites the mixture, causing an explosion that pushes the piston down
Exhaust stroke: the piston pushes the exhaust gases out of the cylinder
This process repeats for each cylinder in the engine
Examples of 4 stroke eng...read more
Q78. What is Index and Sequence ?
Index is a pointer to a specific element in a data structure. Sequence is an ordered list of elements.
Index is used to access a specific element in an array or list.
Sequence is used to represent an ordered list of elements.
Index starts from 0 in most programming languages.
Sequence can be ascending or descending based on the order of elements.
Example: Index of 2 in [1, 3, 5, 7] is the third element.
Example: Sequence of [5, 4, 3, 2, 1] is in descending order.
Q79. what is the architecture of spring mvc
Spring MVC follows a layered architecture pattern with components like DispatcherServlet, Controller, Model, ViewResolver, and HandlerMapping.
Spring MVC follows a front controller design pattern where DispatcherServlet acts as the front controller.
Controllers handle user requests and return appropriate responses.
Model represents the data, ViewResolver resolves the view to render, and HandlerMapping maps requests to appropriate controllers.
Spring MVC architecture promotes sepa...read more
Q80. Aggregation and group by using mongo query
Aggregation and group by in MongoDB allows for data analysis and summarization.
Use the $group operator to group documents by a specified key.
Aggregate functions like $sum, $avg, $max, $min can be used within the $group stage.
Combine $group with $project to shape the output data.
Example: db.collection.aggregate([{ $group: { _id: '$field', total: { $sum: 1 } } }])
Q81. Difference between where and having
Where and having are SQL clauses used for filtering data, but where is used before the data is grouped and having is used after.
WHERE is used to filter data before grouping
HAVING is used to filter data after grouping
WHERE is used with individual rows
HAVING is used with groups of rows
WHERE is faster than HAVING
Q82. Angular data communication between components?
Angular components can communicate data through input/output properties, services, and event emitters.
Input/output properties allow parent components to pass data to child components and vice versa.
Services can be used to share data between components that are not directly related.
Event emitters can be used to emit events from child components to parent components.
RxJS observables can also be used for more complex data communication scenarios.
Q83. What do you know about ipv6
IPv6 is the latest version of the Internet Protocol that provides an identification and location system for devices on networks.
IPv6 uses 128-bit addresses compared to the 32-bit addresses used in IPv4
It allows for a much larger number of unique IP addresses
IPv6 includes built-in security features such as IPsec
Transition mechanisms exist to facilitate the migration from IPv4 to IPv6, such as dual-stack and tunneling
Q84. Diff between union and union all?
Union combines and removes duplicates, Union All combines without removing duplicates.
Union removes duplicates from the result set, while Union All does not.
Union is slower than Union All because it has to perform an additional step to remove duplicates.
Union requires sorting of the result set, while Union All does not.
Union is used when you want to combine and remove duplicates, while Union All is used when you want to combine without removing duplicates.
Q85. Diff between inner and left join?
Inner join returns only the rows that have matching values in both tables, while left join returns all rows from the left table and the matched rows from the right table.
Inner join: returns rows when there is a match in both tables
Left join: returns all rows from the left table and the matched rows from the right table
Example: Inner join - SELECT * FROM table1 INNER JOIN table2 ON table1.id = table2.id
Example: Left join - SELECT * FROM table1 LEFT JOIN table2 ON table1.id = t...read more
Q86. What are the concepts of OOPS??
OOPS stands for Object-Oriented Programming System. It is a programming paradigm based on the concept of objects.
OOPS is based on four main concepts: Encapsulation, Inheritance, Polymorphism, and Abstraction.
Encapsulation is the process of hiding the implementation details of an object from the outside world.
Inheritance allows a class to inherit properties and methods from another class.
Polymorphism allows objects of different classes to be treated as if they were of the same...read more
Q87. What is normalisation
Normalization is the process of organizing data in a database to reduce redundancy and improve data integrity.
Normalization involves breaking down a database into smaller, more manageable tables.
Each table should have a primary key that uniquely identifies each record.
Data is then organized into related tables to reduce redundancy and improve data consistency.
Normalization is typically done in a series of steps, called normal forms, with each step building on the previous one...read more
Q88. What are generators in python
Generators are functions that allow you to iterate over a sequence of values without creating the entire sequence in memory.
Generators use the 'yield' keyword to return values one at a time
They are memory efficient and can handle large data sets
They can be used to create infinite sequences
Example: def my_generator(): yield 1; yield 2; yield 3
Example: for num in my_generator(): print(num)
Q89. Difference between Interface and Abstract
Interface defines a contract for a class to implement, while abstract class can have some concrete methods.
Interface cannot have any implementation, only method signatures.
A class can implement multiple interfaces but can only inherit from one abstract class.
Abstract class can have both abstract and concrete methods.
Interfaces are used for achieving multiple inheritance in Java.
Example: Interface - Comparable, Abstract class - Animal
Q90. What is object oriented programming
Object oriented programming is a programming paradigm based on the concept of objects, which can contain data and code.
OOP focuses on creating objects that interact with each other to solve problems
Objects have attributes (data) and methods (functions)
Encapsulation, inheritance, and polymorphism are key principles of OOP
Examples: Java, C++, Python
Q91. Difference between map and flatMap ?
map transforms each element of a collection, flatMap transforms each element into a new collection and flattens the result
Map applies a function to each element of a collection and returns a new collection with the results
FlatMap applies a function that returns a collection to each element of a collection, then flattens the result into a single collection
Example: map([1, 2, 3], x => [x, x+1]) returns [[1, 2], [2, 3], [3, 4]], flatMap([1, 2, 3], x => [x, x+1]) returns [1, 2, 2...read more
Q92. What is sqlerrm and sqlcode?
sqlerrm and sqlcode are variables used in PL/SQL to handle errors.
sqlerrm is a variable that stores the error message associated with the most recently raised error in PL/SQL.
sqlcode is a variable that stores the error code associated with the most recently raised error in PL/SQL.
Both variables are commonly used in exception handling blocks to identify and handle errors in PL/SQL code.
For example, if a SELECT statement in PL/SQL fails to find any rows, the sqlcode variable wi...read more
Q93. What are media queries?
Media queries are CSS rules that apply different styles based on the device's screen size and orientation.
Media queries are used to create responsive web designs.
They allow developers to specify different styles for different devices.
Media queries use the @media rule in CSS.
Example: @media screen and (max-width: 600px) { /* styles for screens smaller than 600px */ }
Q94. What is @configuration
In Spring Framework, @Configuration is used to declare a class as a source of bean definitions.
Used in Spring Framework
Declares a class as a source of bean definitions
Can be used with @Bean annotation to define beans
Can be used with @ComponentScan to scan for components
Can be used with @Import to import other configurations
Q95. What are iterators in python
Iterators are objects that allow iteration over a collection of elements in Python.
Iterators are used to access elements of a collection one at a time.
They are implemented using the __iter__() and __next__() methods.
The __iter__() method returns the iterator object and the __next__() method returns the next element in the collection.
Iterators can be used with for loops to iterate over a collection.
Examples of iterators in Python include range(), enumerate(), and zip().
Q96. Difference between classes and objects?
Classes are blueprints for objects, while objects are instances of classes.
Classes define the properties and behaviors of objects.
Objects are actual instances created from classes.
Classes can be used to create multiple objects with similar characteristics.
Objects can interact with each other through methods defined in their class.
Example: Class 'Car' defines properties like 'color' and 'model', while object 'myCar' is an instance of the 'Car' class with specific values for th...read more
Q97. Explain the inheritance concept?
Inheritance is a concept in object-oriented programming where a class inherits attributes and methods from another class.
Inheritance allows a class to reuse code from another class.
The class that is being inherited from is called the parent class or base class.
The class that inherits from the parent class is called the child class or derived class.
Child classes can access the attributes and methods of the parent class.
Example: A 'Vehicle' class can be a parent class, with 'Ca...read more
Q98. difference between overloading and overriding?
Overloading is having multiple methods in the same class with the same name but different parameters, while overriding is implementing a method in a subclass that is already defined in the superclass.
Overloading involves multiple methods with the same name but different parameters.
Overriding involves implementing a method in a subclass that is already defined in the superclass.
Overloading is resolved at compile time based on the method signature, while overriding is resolved ...read more
Q99. What is table partitioning ?
Table partitioning is a database design technique where large tables are divided into smaller, more manageable parts.
Improves query performance by allowing data to be stored and accessed more efficiently
Helps with data management and maintenance tasks
Can be based on a range of values, such as dates or IDs
Examples include partitioning a sales table by year or a customer table by region
Q100. difference between jdk, jvm and jre?
JDK is a development kit, JRE is a runtime environment, and JVM is a virtual machine that executes Java bytecode.
JDK (Java Development Kit) is a software development kit used to develop Java applications.
JRE (Java Runtime Environment) is a software package that provides the libraries and components needed for running Java applications.
JVM (Java Virtual Machine) is an abstract machine that provides a runtime environment in which Java bytecode can be executed.
JDK includes JRE, ...read more
More about working at TCS
Top HR Questions asked in Ved Furniture
Interview Process at Ved Furniture
Top IT Analyst Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month