Perpetuuiti Technosoft Services
10+ Yethi Consulting Interview Questions and Answers
Q1. What are the used commands in linux?
Linux commands are used to interact with the operating system and perform various tasks.
ls - list directory contents
cd - change directory
mkdir - make directory
rm - remove file or directory
cp - copy file or directory
mv - move or rename file or directory
grep - search for a pattern in a file
chmod - change file permissions
sudo - execute a command as superuser
apt-get - package manager for Debian-based systems
Q2. What is server and types of server.
A server is a computer program or device that provides functionality to other programs or devices, known as clients.
Types of servers include file servers, web servers, mail servers, database servers, game servers, and application servers.
File servers store and manage files for multiple users on a network.
Web servers host websites and web applications.
Mail servers handle email communication.
Database servers manage databases and allow access to them.
Game servers host multiplaye...read more
Q3. What is abstract class, method overriding, dictionary,dispose. Write instance or syntax
Abstract class is a class that cannot be instantiated, method overriding is when a subclass provides a specific implementation of a method in its superclass, dictionary is a collection of key-value pairs, dispose is a method used to release unmanaged resources.
Abstract class: Cannot be instantiated, can have abstract methods. Example: abstract class Shape { public abstract void Draw(); }
Method overriding: Subclass provides specific implementation of a method in superclass. Ex...read more
Q4. What is lvm What did you you about linux
LVM stands for Logical Volume Manager. It is a tool used in Linux to manage disk space by creating logical volumes.
LVM allows for dynamic resizing of logical volumes without the need to unmount the file system
It provides a layer of abstraction between the physical storage devices and the file systems
LVM can be used to create snapshots of logical volumes for backup purposes
It is commonly used in enterprise environments to manage large amounts of data
Q5. How to make partition
To make a partition, you need to use a disk management tool or command prompt.
Open Disk Management tool or Command Prompt
Select the disk you want to partition
Right-click on the unallocated space and select 'New Simple Volume'
Follow the wizard to specify the size and format of the partition
Alternatively, use the 'diskpart' command in Command Prompt to create a partition
Q6. What is Cursor, index, trigger. Write syntax
Cursor, index, and trigger are database concepts used in SQL. Cursors are used to retrieve data row by row, indexes are used to improve query performance, and triggers are used to automatically perform actions when certain events occur.
Cursor: Used to retrieve data row by row. Syntax - DECLARE cursor_name CURSOR FOR SELECT column1, column2 FROM table_name
Index: Used to improve query performance by creating a data structure that allows for faster retrieval of data. Syntax - CR...read more
Q7. What is Manage and unmanaged code
Managed code is code that is executed by the Common Language Runtime (CLR) while unmanaged code is code that is executed outside of the CLR.
Managed code is written in high-level languages like C# or VB.NET and is compiled to Intermediate Language (IL) which is then executed by the CLR.
Unmanaged code is written in languages like C or C++ and directly compiled to machine code which is executed by the operating system.
Managed code provides automatic memory management, exception ...read more
Q8. All Linux commands
There are hundreds of Linux commands, each with its own purpose and syntax.
Basic commands: cd, ls, mkdir, rm, cp, mv, touch, cat, echo, pwd
File manipulation: grep, sed, awk, sort, cut, paste, diff, tar, gzip
System management: ps, top, kill, systemctl, service, ifconfig, ping, netstat
User management: useradd, userdel, passwd, su, sudo, chown, chmod
Networking: ssh, scp, ftp, telnet, curl, wget, nslookup, dig, traceroute
Package management: apt, yum, pacman, dpkg, rpm
Text editors...read more
Q9. What is Trigger?
A trigger is a special type of stored procedure that automatically executes when an event occurs in the database.
Triggers are used to maintain the integrity of the database by enforcing business rules or cascading changes.
They can be set to execute before or after an INSERT, UPDATE, or DELETE operation.
For example, a trigger can be used to update a related table when a record is inserted into another table.
Q10. Boxing vs unboxing
Boxing is the process of converting a value type to a reference type, while unboxing is the opposite process.
Boxing is implicit, unboxing is explicit
Boxing creates a new object on the heap, unboxing retrieves the value from the object
Boxing is slower than unboxing
Example: int num = 10; object obj = num; // boxing
Example: int num = (int)obj; // unboxing
Interview Process at Yethi Consulting
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month