Associate Software Engineer Trainee

Associate Software Engineer Trainee Interview Questions and Answers for Freshers

Updated 16 Jul 2025

Q. What are call by reference and call by value?

Ans.

Call by reference and call by value are two ways of passing arguments to a function.

  • Call by value passes a copy of the argument to the function, while call by reference passes a reference to the original argument.

  • In call by value, changes made to the argument inside the function do not affect the original value, while in call by reference, changes made to the argument inside the function affect the original value.

  • Call by value is used for simple data types like integers and f...read more

2d ago

Q. You are given an array of integers powers where each value represents the power of a monster. On each turn, we choose the two heaviest monsters and smash them together. Suppose the heaviest two monsters have po...

read more
Ans.

Simulate smashing monsters with powers until only one remains.

  • Create a max heap to store the powers of monsters.

  • Repeatedly smash the two monsters with the highest powers until only one remains.

  • Return the power of the last remaining monster.

Asked in TCS

3d ago

Q. How do you delete a file in Python?

Ans.

To delete a file in Python, use the os.remove() method.

  • Import the os module

  • Use os.remove() method to delete the file

  • Specify the file path as the argument to os.remove() method

Asked in TCS

5d ago

Q. What are Pointers?

Ans.

Pointers are variables that store memory addresses of other variables.

  • Pointers allow direct access to memory locations.

  • They can be used to pass values between functions.

  • Pointers can be used to create dynamic data structures.

  • Example: int *ptr; ptr = # *ptr = 10;

  • Example: void swap(int *a, int *b) { int temp = *a; *a = *b; *b = temp; }

Are these interview questions helpful?
6d ago

Q. What are Arrays?

Ans.

Arrays are a collection of similar data types stored in contiguous memory locations.

  • Arrays can be of any data type, including integers, floats, characters, and objects.

  • Arrays are accessed using an index starting from 0.

  • Arrays can be one-dimensional, two-dimensional, or multi-dimensional.

  • Example: int arr[5] = {1, 2, 3, 4, 5};

  • Example: char str[6] = {'H', 'e', 'l', 'l', 'o', '\0'};

Asked in F5 Networks

1d ago

Q. Process vs Thread

Ans.

Processes are independent instances of a program, while threads are smaller units within a process that can run concurrently.

  • Processes have their own memory space, while threads share memory within a process.

  • Processes are heavyweight, while threads are lightweight.

  • Processes communicate with each other through inter-process communication mechanisms, while threads can communicate directly.

  • Example: A web browser running multiple tabs is a process, and each tab running JavaScript...read more

Associate Software Engineer Trainee Jobs

jungleworks logo
Associate Software Engineer Trainee 0-1 years
jungleworks
3.2
Mohali
Jungleworks logo
Associate Software Engineer Trainee 0-1 years
Jungleworks
3.2
Mohali
inMorphis logo
Associate Software Engineer Trainee 1-3 years
inMorphis
4.1
Noida

Interview Experiences of Popular Companies

TCS Logo
3.6
 • 11.1k Interviews
Infosys Logo
3.6
 • 7.9k Interviews
Sasken Logo
3.8
 • 82 Interviews
View all
Interview Tips & Stories
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Associate Software Engineer Trainee Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+

Reviews

10L+

Interviews

4 Cr+

Salaries

1.5 Cr+

Users

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits