L&T Technology Services
30+ Sciometrix Interview Questions and Answers
Q1. 1. TCP v/s UDP 2. what is inline function 3. structure v/s union 4. pointers 5. c v/s c++ 6. Commands like GREP, KILL, PS, LS 7. questions on GIT 8. Deamon Process 9. file system storage 10. what is polymorphis...
read moreInterview questions for Senior Engineer position covering topics like TCP/UDP, inline functions, data structures, and more.
TCP is a reliable, connection-oriented protocol while UDP is unreliable and connectionless
Inline functions are small functions that are expanded by the compiler at the point of call
Structures are used to group related data while unions allow different data types to share the same memory space
Pointers are variables that store memory addresses
C is a procedu...read more
Q2. 3. Usage of Typedef for structures and Unions with the sample syntax?
Typedef is used to create an alias name for a data type, including structures and unions.
Typedef simplifies the code and makes it more readable.
Syntax: typedef struct/union { members } alias_name;
Example: typedef struct { int age; char name[20]; } Person;
Example: typedef union { int i; float f; } Number;
Q3. Write C program to reverse the string without using built in function
Program to reverse a string without using built-in functions in C
Create a function to reverse the string by swapping characters from start to end
Use two pointers, one pointing to the start of the string and the other pointing to the end
Swap the characters at the two pointers and move them towards each other until they meet in the middle
Q4. What are the different types of storage classes
The different types of storage classes in C programming are auto, register, static, and extern.
Auto storage class is the default storage class for all local variables.
Register storage class is used to define local variables that should be stored in a register instead of RAM.
Static storage class allows a variable to retain its value between function calls.
Extern storage class is used to give a reference of a global variable that is visible to all the program files.
Q5. What is mean by Dangling pointer
A dangling pointer is a pointer that points to a memory location that has been deallocated, leading to undefined behavior.
Dangling pointers can occur when memory is freed but the pointer is not set to NULL.
Accessing a dangling pointer can result in crashes or unexpected behavior.
Example: int *ptr = new int; delete ptr; // ptr is now a dangling pointer
Q6. How to select microcontroller? Do you know difference between i2c and spi
Microcontroller selection depends on project requirements, such as processing power, memory, peripherals, and cost. i2c is a serial communication protocol for connecting multiple devices, while SPI is a faster protocol for high-speed communication.
Consider project requirements like processing power, memory, peripherals, and cost when selecting a microcontroller.
i2c is a slower serial communication protocol commonly used for connecting multiple devices on the same bus.
SPI is a...read more
Q7. Write a c program to toggle the 3rd bit position
Toggle the 3rd bit position in a given number using bitwise operators in C.
Use bitwise OR operator with 0x04 to toggle the 3rd bit position.
Example: num ^= (1 << 2) will toggle the 3rd bit position in 'num'.
Q8. Determine the output for logic code on pointers
The question involves determining the output for logic code on pointers.
Pointer arithmetic can be used to access elements in an array.
Pointers can be dereferenced to access the value they point to.
Pointers can be used to pass variables by reference.
Q9. what are pointers? explain pass by reference
Pointers are variables that store memory addresses. Pass by reference allows a function to modify the original variable.
Pointers store memory addresses
Pass by reference allows a function to modify the original variable
Example: int* ptr = # // ptr stores the memory address of num
Example: void modify(int* ptr) { *ptr = 10; } // modifies the value of the variable pointed to by ptr
Q10. How will you do simulation of bolted and welded connections
Simulation of bolted and welded connections involves analyzing the behavior and performance of these connections under various loads and conditions.
For bolted connections, simulate the behavior of the bolts and the clamped parts using finite element analysis (FEA).
Consider factors such as bolt preload, friction, and material properties to accurately model the connection.
Analyze the stress distribution, deformation, and potential failure modes of the bolted connection.
For weld...read more
Q11. How to select microcontroller? Pcb design guidelines
Selecting a microcontroller involves considering factors like processing power, memory, peripherals, cost, and compatibility with the project requirements.
Identify project requirements such as processing speed, memory size, and required peripherals.
Consider the availability of development tools and community support for the chosen microcontroller.
Evaluate the cost of the microcontroller and its compatibility with other components in the system.
Ensure the microcontroller has t...read more
Q12. Expertise of the Tools used and effective communication
Expertise in tools and communication are crucial for a Senior Engineer.
Senior Engineers must have a deep understanding of the tools they use to ensure efficient and effective work.
Effective communication is essential for collaboration with team members and stakeholders.
Examples of tools include programming languages, software development kits, and project management software.
Senior Engineers should also be able to explain technical concepts to non-technical stakeholders.
Regul...read more
Q13. Write C program to multiply two matrices
Program to multiply two matrices in C
Declare two matrices and initialize them with values
Use nested loops to iterate through rows and columns of the matrices
Perform multiplication and store the result in a new matrix
Print the resulting matrix
Q14. Convert little endian to big endian
To convert little endian to big endian, reverse the order of bytes in the data.
Reverse the order of bytes in the data
For example, if you have the little endian value 0x12345678, in big endian it would be 0x78563412
Q15. What are static and extern modifiers
Static and extern are C++ modifiers used to control the scope and lifetime of variables and functions.
Static modifier is used to declare variables and functions that retain their values and scope throughout the program execution.
Extern modifier is used to declare variables and functions that are defined in another file or module.
Static variables are initialized only once and retain their values between function calls.
Extern variables and functions can be accessed from other f...read more
Q16. What are the key features Python ?
Key features of Python include simplicity, readability, versatility, and a large standard library.
Simple and easy to learn syntax
High-level language with dynamic typing
Versatile - used for web development, data analysis, artificial intelligence, etc.
Large standard library with built-in modules for various tasks
Q17. Difference between structure and union
Structure is a user-defined data type that allows storing different types of data in a single variable, while union is a data type that allows storing only one type of data at a time.
Structure allows storing different types of data in a single variable, while union allows storing only one type of data at a time.
In a structure, each member has its own memory location, while in a union, all members share the same memory location.
Structures are used when we need to store multipl...read more
Q18. Explain dynamic memory allocation with example
Dynamic memory allocation is the process of allocating memory during runtime.
Memory is allocated using functions like malloc(), calloc(), and realloc()
The allocated memory can be resized or freed using realloc() and free() functions
Example: int *ptr = (int*) malloc(5 * sizeof(int));
This allocates memory for 5 integers and returns a pointer to the first integer
Q19. What is memory leak
Memory leak is a situation where a program fails to release memory it has allocated, leading to a gradual loss of available memory.
Memory leaks occur when a program allocates memory but does not free it after use.
This can lead to a gradual loss of available memory, eventually causing the program or system to crash.
Common causes of memory leaks include improper management of dynamic memory allocation and circular references.
Examples of memory leaks include forgetting to free m...read more
Q20. What are the basics of C programming?
Basics of C programming include variables, data types, control structures, functions, and pointers.
Variables are used to store data, declared with a specific data type (int, float, char, etc.)
Control structures like if-else, loops (for, while) are used for decision making and repetition.
Functions are blocks of code that perform a specific task, can be called multiple times.
Pointers are variables that store memory addresses, used for dynamic memory allocation and manipulation.
Q21. C program on linked list
Implement a C program using linked list
Use struct to define the linked list node
Implement functions for insertion, deletion, and traversal
Handle edge cases like empty list or deleting the last node
Q22. Which commodities are u handling
I handle a variety of commodities including raw materials, finished goods, and equipment.
Raw materials such as steel, aluminum, and plastic
Finished goods like electronics, clothing, and furniture
Equipment such as machinery, vehicles, and tools
Q23. Howmuch supplier are u handling
I am currently handling 5 suppliers for various engineering projects.
I am responsible for managing relationships with 5 different suppliers
I oversee the procurement process for materials and services from these suppliers
I negotiate contracts and pricing with each supplier to ensure cost-effectiveness
I monitor supplier performance and address any issues that may arise
Examples: Supplier A for steel, Supplier B for electronics components, Supplier C for machining services
Q24. Howmany suppliers are you handling
I am currently handling relationships with 10 suppliers across various industries.
I manage relationships with 10 suppliers
Suppliers are from various industries
Examples: Supplier A - electronics, Supplier B - automotive
Q25. difference between Python 2 and Python 3
Python 2 and Python 3 are two different versions of the Python programming language with various differences.
Python 2 is legacy, Python 3 is the present and future
Print statement: Python 2 uses print as a statement, Python 3 uses print() as a function
Division: Python 2 performs integer division by default, Python 3 performs float division
Unicode support: Python 3 supports Unicode by default, Python 2 requires specifying 'u' before string literals
Syntax: Python 3 has stricter ...read more
Q26. what is python path?
Python path is the location where Python looks for modules and packages to import.
Python path is a list of directories that Python searches for modules when importing them.
It can be set using the PYTHONPATH environment variable.
Python path can also include the current working directory.
Example: PYTHONPATH=/usr/local/lib/python3.8
Example: import sys; print(sys.path)
Q27. Explain structure padding
Structure padding is the insertion of unused bytes between the members of a structure to align them in memory.
Padding is added to ensure that each member of the structure is aligned on a memory boundary that is a multiple of its size.
Padding is added by the compiler automatically.
Padding can affect the size of the structure and the performance of the program.
Example: struct example { char a; int b; char c; }; The size of this structure would be 12 bytes due to padding.
Example...read more
Q28. Explain memory layout in C
Memory layout in C refers to the organization of memory in a C program.
Memory is divided into four segments: stack, heap, data, and code
Stack stores local variables and function calls
Heap stores dynamically allocated memory
Data stores global and static variables
Code stores the program instructions
Memory layout can be visualized using a memory map
Q29. Power train selection Process
The power train selection process involves evaluating various factors to choose the most suitable power train for a vehicle.
Consider the vehicle's intended use and performance requirements
Evaluate the available power train options and their capabilities
Assess factors such as fuel efficiency, emissions, and cost
Test and validate the chosen power train to ensure it meets performance and safety standards
Q30. Sheetmetal design guidelines
Sheetmetal design guidelines ensure efficient and accurate fabrication of sheetmetal components.
Consider material selection based on strength, corrosion resistance, and cost.
Design parts with appropriate bend radii to prevent cracking or tearing.
Avoid sharp corners and edges to minimize stress concentration.
Ensure proper tolerances for hole sizes, bend angles, and overall dimensions.
Use standard sheet sizes to optimize material utilization and reduce waste.
Consider nesting pa...read more
Top HR Questions asked in Sciometrix
Interview Process at Sciometrix
Top Senior Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month