i
TCS
Filter interviews by
I applied via Naukri.com
To list files, use command line tools like ls or dir.
Use 'ls' command in Unix/Linux systems to list files in a directory
Use 'dir' command in Windows systems to list files in a directory
Add options like -l for detailed listing or -a to show hidden files
Use wildcards like * to filter files based on patterns
grep is a basic pattern matching tool, while egrep is an extended version with more advanced pattern matching capabilities.
grep is a basic command-line utility for searching plain-text data sets for lines that match a regular expression pattern.
egrep is an extended version of grep that supports more advanced regular expression patterns.
egrep is equivalent to grep -E, which enables extended regular expressions.
egrep is ...
posted on 24 Sep 2023
I applied via Naukri.com and was interviewed in Aug 2023. There were 2 interview rounds.
HashMap is a data structure that stores key-value pairs and uses hashing to quickly retrieve values based on keys.
HashMap internally uses an array of linked lists to store key-value pairs.
When a key-value pair is added, the key is hashed to determine the index in the array where the pair will be stored.
If multiple key-value pairs hash to the same index, they are stored in a linked list at that index.
To retrieve a value...
HashMap is not thread-safe while ConcurrentHashMap is thread-safe.
HashMap is not thread-safe and can lead to ConcurrentModificationException if modified while iterating.
ConcurrentHashMap allows concurrent modifications without the need for external synchronization.
ConcurrentHashMap achieves thread-safety by dividing the map into segments, allowing multiple threads to operate on different segments concurrently.
Concurren...
No, main method in Java cannot be overridden.
Main method is a static method of a class and cannot be overridden.
Subclasses can have their own main method, but it will not be considered as the entry point of the program.
Example: public class SubClass extends MainClass { public static void main(String[] args) { // This is not the entry point of the program }}
Use the 'ls' command with the '-a' flag to find hidden files in Unix.
Use the command 'ls -a' to list all files, including hidden files.
Hidden files in Unix start with a dot (.) before the file name.
Example: 'ls -a' will display all files, including hidden files.
Use the sed command to replace a string in Unix
Use the following syntax: sed 's/original_string/new_string/g' filename
The 's' flag stands for substitute, 'g' flag stands for global (replace all occurrences)
Example: sed 's/hello/goodbye/g' file.txt
posted on 15 May 2023
I applied via Approached by Company and was interviewed in Apr 2023. There were 3 interview rounds.
24/7 production environment
PL/SQL is a procedural language extension to SQL used for writing complex queries and programs.
SQL is used for querying and manipulating data in a database
PL/SQL is used for writing complex queries and programs
PL/SQL is a procedural language that extends SQL with programming constructs like loops and conditional statements
PL/SQL is used to create stored procedures, functions, and triggers in Oracle databases
Query to find last string from emp table
Use the ORDER BY clause with DESC keyword to sort the table in descending order
Use the LIMIT keyword to limit the result to 1 row
Assuming the last string refers to the last row in the table
Query to find maximum salary from EMP
Use the MAX() function to find the maximum salary
Specify the column name for salary in the SELECT statement
Specify the table name and column name for salary in the FROM clause
I applied via Company Website and was interviewed in Nov 2024. There were 2 interview rounds.
Hydraulic systems and hydraulic machines.
BS6 emissions standards are more stringent than BS4, with lower limits on emissions of pollutants like nitrogen oxides and particulate matter.
BS6 standards have stricter limits on emissions of pollutants like nitrogen oxides (NOx) and particulate matter (PM) compared to BS4.
BS6 compliant vehicles are required to have advanced emission control technologies like selective catalytic reduction (SCR) and diesel particulate ...
An electric motor converts electrical energy into mechanical energy to produce motion, while an electric generator converts mechanical energy into electrical energy.
Electric motor converts electrical energy into mechanical energy
Electric generator converts mechanical energy into electrical energy
Electric motor is used in appliances like fans, washing machines
Electric generator is used in power plants to generate electr
Four stroke engines have separate intake, compression, power, and exhaust strokes, while two stroke engines combine intake and compression in one stroke and power and exhaust in another.
Four stroke engines have a dedicated stroke for each of the four processes: intake, compression, power, and exhaust
Two stroke engines combine intake and compression in one stroke and power and exhaust in another
Four stroke engines are m...
posted on 20 Dec 2024
It was Easy to medium . overall good
It was Medium to tough level
FIFO (First In, First Out) and LIFO (Last In, First Out) are inventory management methods.
FIFO: Items that are added first are the first to be removed. Like a queue.
LIFO: Items that are added last are the first to be removed. Like a stack.
I would focus on improving access to quality education for all citizens.
Implementing policies to ensure equal opportunities for education
Investing in infrastructure and resources for schools in underserved areas
Providing scholarships and financial aid for students from low-income families
Promoting vocational training programs to address skills gaps in the workforce
posted on 6 Jan 2025
I was interviewed in Oct 2024.
posted on 7 Oct 2024
I applied via Company Website and was interviewed in Sep 2024. There was 1 interview round.
I applied via Walk-in
based on 17 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
67.8k
salaries
| ₹5.1 L/yr - ₹16 L/yr |
AST Consultant
51k
salaries
| ₹8 L/yr - ₹25 L/yr |
Assistant System Engineer
31.3k
salaries
| ₹2.2 L/yr - ₹5.6 L/yr |
Associate Consultant
28.6k
salaries
| ₹9 L/yr - ₹32 L/yr |
Amazon
Wipro
Infosys
Accenture