Add office photos
Engaged Employer

Navigators Software

3.8
based on 150 Reviews
Filter interviews by

10+ Cactus IT Solutions Interview Questions and Answers

Updated 22 Nov 2024
Popular Designations

Q1. Difference between encapsulation and dat abstraction

Ans.

Encapsulation is the concept of bundling data and methods that operate on the data, while data abstraction is the concept of hiding the implementation details and showing only the necessary details to the user.

  • Encapsulation involves bundling data and methods together in a class, providing access control to protect data from outside interference.

  • Data abstraction involves hiding the implementation details and showing only the necessary details to the user, allowing for easier u...read more

Add your answer

Q2. Difference between stateless server and stateful

Ans.

Stateless server does not store any client session information, while stateful server stores client session information.

  • Stateless server treats each request as an independent transaction.

  • Stateful server maintains client session information between requests.

  • Stateless servers are easier to scale horizontally.

  • Stateful servers are more complex to scale due to session data.

  • Examples: Stateless - RESTful APIs, Stateful - TCP connections.

Add your answer

Q3. Difference between parameters vs arguments?

Ans.

Parameters are variables in a function definition, while arguments are the actual values passed to the function.

  • Parameters are defined in the function signature, arguments are passed when calling the function.

  • Parameters are placeholders for data, arguments are the actual data passed to the function.

  • Parameters are used to initialize variables within a function, arguments are the values assigned to those variables.

  • Example: function add(a, b) { return a + b; } - 'a' and 'b' are ...read more

Add your answer

Q4. Difference between shallow and deep copy

Ans.

Shallow copy creates a new object but does not duplicate nested objects, while deep copy creates a new object with all nested objects duplicated.

  • Shallow copy only copies the references of nested objects, not the objects themselves.

  • Deep copy creates new instances of all nested objects.

  • Shallow copy is faster and more memory efficient, but changes to nested objects in the original object will reflect in the copied object.

  • Deep copy is slower and consumes more memory, but changes ...read more

Add your answer
Discover Cactus IT Solutions interview dos and don'ts from real experiences

Q5. Parse a csv file without pandas

Ans.

Parsing a csv file without pandas

  • Open the csv file using the built-in open() function

  • Read the file line by line using a for loop

  • Split each line by the comma delimiter to get individual values

Add your answer

Q6. Difference between put and patch method

Ans.

Put method is used to create or replace a resource, while patch method is used to update a resource partially.

  • Put method is idempotent, meaning multiple identical requests will have the same effect as a single request.

  • Patch method is not idempotent, as multiple identical requests may have different effects.

  • Put method requires the client to send the entire updated resource, while patch method only requires the specific changes to be sent.

  • Put method is typically used for creati...read more

Add your answer
Are these interview questions helpful?

Q7. Difference between List and tuple

Ans.

List is mutable, tuple is immutable in Python.

  • List can be modified after creation, tuple cannot be modified

  • List is defined using square brackets [], tuple using parentheses ()

  • List is used for collections of items that may change, tuple for fixed collections

Add your answer

Q8. What is rest api

Ans.

REST API is a set of rules and conventions for building and interacting with web services using HTTP methods.

  • REST stands for Representational State Transfer

  • It uses standard HTTP methods like GET, POST, PUT, DELETE

  • It is stateless, meaning each request from a client to a server must contain all the information needed to understand the request

  • Responses are typically in JSON or XML format

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. Left join vs right join

Ans.

Left join includes all records from the left table and matching records from the right table, while right join includes all records from the right table and matching records from the left table.

  • Left join keeps all records from the left table, even if there are no matches in the right table.

  • Right join keeps all records from the right table, even if there are no matches in the left table.

  • Example: Left join - SELECT * FROM table1 LEFT JOIN table2 ON table1.id = table2.id

  • Example:...read more

Add your answer

Q10. Database Acid properties

Ans.

ACID properties are a set of properties that guarantee database transactions are processed reliably.

  • ACID stands for Atomicity, Consistency, Isolation, Durability

  • Atomicity ensures that all operations in a transaction are completed successfully or none at all

  • Consistency ensures that the database remains in a consistent state before and after the transaction

  • Isolation ensures that transactions are independent of each other

  • Durability ensures that once a transaction is committed, i...read more

Add your answer

Q11. Difference betweenList Vs tupple

Ans.

List is mutable and can be changed, while tuple is immutable and cannot be changed.

  • List can be modified using methods like append, remove, and pop.

  • Tuple elements cannot be changed once assigned.

  • Lists are denoted by square brackets [], while tuples are denoted by parentheses ().

Add your answer

Q12. What is decorator?

Ans.

A decorator is a design pattern in object-oriented programming that allows behavior to be added to individual objects, either statically or dynamically, without affecting the behavior of other objects.

  • Decorators are used to modify the behavior of functions or classes without changing their source code.

  • They are often used for adding functionalities like logging, caching, or authentication to existing code.

  • In Python, decorators are denoted by the @ symbol and are commonly used ...read more

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Cactus IT Solutions

based on 3 interviews in the last 1 year
Interview experience
4.0
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top System Engineer Interview Questions from Similar Companies

3.7
 • 13 Interview Questions
3.9
 • 12 Interview Questions
3.9
 • 11 Interview Questions
4.1
 • 11 Interview Questions
4.0
 • 10 Interview Questions
3.7
 • 10 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

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

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter