Digital System Engineer
Digital System Engineer Interview Questions and Answers

Asked in Infosys

Q. How do you implement threads in Python?
Python provides a built-in module 'threading' to implement threads.
Import the 'threading' module
Create a new thread using the 'Thread' class
Define the target function for the thread
Start the thread using the 'start()' method
Join the thread using the 'join()' method
Use locks to synchronize access to shared resources

Asked in Infosys

Q. What is IP address and DNS
IP address is a unique identifier assigned to devices on a network. DNS is a system that translates domain names to IP addresses.
IP address stands for Internet Protocol address
It is a numerical label assigned to each device connected to a network
It serves as a unique identifier for the device
DNS stands for Domain Name System
It is a system that translates domain names to IP addresses
For example, www.google.com is translated to an IP address like 172.217.6.196

Asked in Infosys

Q. What are ACID properties?
ACID properties are a set of properties that ensure database transactions are processed reliably.
ACID stands for Atomicity, Consistency, Isolation, and Durability.
Atomicity ensures that a transaction is treated as a single, indivisible unit of work.
Consistency ensures that a transaction brings the database from one valid state to another.
Isolation ensures that concurrent transactions do not interfere with each other.
Durability ensures that once a transaction is committed, it ...read more

Asked in EXL Service

Q. What are the differences between truncate, delete, and drop commands?
Truncate, delete, and drop are SQL commands used to remove data from a table.
Truncate removes all data from a table and resets the identity column
Delete removes specific rows from a table
Drop removes the entire table from the database
Truncate and drop cannot be rolled back, while delete can be
Truncate is faster than delete as it does not log individual row deletions

Asked in Infosys

Q. Compare sets, lists, and tuples.
Set, list, and tuple are data structures in Python with different properties.
A set is an unordered collection of unique elements.
A list is an ordered collection of elements that can be modified.
A tuple is an ordered collection of elements that cannot be modified.
Sets are useful for operations like union, intersection, and difference.
Lists are useful for storing and accessing data in a specific order.
Tuples are useful for returning multiple values from a function or protecting...read more

Asked in Infosys

Q. Write a function to calculate the average of an array of numbers.
Calculate average of an array.
Loop through the array and add all the elements
Divide the sum by the length of the array
Return the average
Asked in Prydan

Q. Write code to implement the bubble sort algorithm.
Bubble sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order.
Compare adjacent elements and swap them if they are in the wrong order
Repeat this process until the list is sorted
Time complexity is O(n^2)
Space complexity is O(1)
Example: [5, 3, 8, 4, 2] -> [3, 5, 4, 2, 8] -> [3, 4, 2, 5, 8] -> [3, 2, 4, 5, 8] -> [2, 3, 4, 5, 8] (sorted)
Interview Questions of Similar Designations

Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary


Reviews
Interviews
Salaries
Users

