Add office photos
CitiusTech logo
Engaged Employer

CitiusTech

Verified
3.4
based on 1.7k Reviews
Video summary
Filter interviews by
Software Engineer
Experienced
Skills
Clear (1)

20+ CitiusTech Software Engineer Interview Questions and Answers

Updated 14 Nov 2024

Q1. How would you scale up your application ?,if it fails on one instances how would you know where did it fail, explain has a relationship with real world example and write a code in java representative of the sam...

read more
Ans.

To scale up application, use load balancers and monitor logs to identify failures.

  • Use load balancers to distribute traffic across multiple instances

  • Monitor logs to identify where the failure occurred

  • Implement fault tolerance and redundancy to prevent future failures

  • Use auto-scaling to automatically add or remove instances based on traffic

  • Real-world example: Amazon Web Services (AWS) uses load balancers and auto-scaling to handle millions of requests

  • Code example: Use try-catch...read more

Add your answer
right arrow

Q2. What Prog Languages known? Prior Software Experience? How good on U.S. Client Face to Face and telephonic interaction for projects?

Ans.

I am proficient in Java, Python, and C++. I have 2 years of experience in software development. I have excellent communication skills for client interaction.

  • Proficient in Java, Python, and C++

  • 2 years of software development experience

  • Excellent communication skills for client interaction

Add your answer
right arrow
Q3. What are the different position property values in CSS?
Ans.

The position property values in CSS determine how an element is positioned in a document.

  • static: default value, elements are positioned according to the normal flow of the document

  • relative: positioned relative to its normal position

  • absolute: positioned relative to the nearest positioned ancestor

  • fixed: positioned relative to the viewport, does not move when scrolled

  • sticky: acts like a combination of relative and fixed positioning

Add your answer
right arrow
Q4. What are the different types of decorators in JavaScript?
Ans.

Decorators in JavaScript are functions that allow you to add new functionality to existing objects or functions.

  • Function decorators: Functions that take another function as an argument and return a new function that adds some kind of behavior.

  • Class decorators: Functions that are used to modify classes in JavaScript.

  • Method decorators: Functions that are used to modify methods within a class.

  • Property decorators: Functions that are used to modify properties within a class.

Add your answer
right arrow
Discover CitiusTech interview dos and don'ts from real experiences

Q5. What is dependency injection in angular and why do we need a constructor in component class

Ans.

Dependency injection is a design pattern used in Angular to inject dependencies into a component or service.

  • Dependency injection allows for loose coupling between components and services

  • It makes testing easier by allowing for easy mocking of dependencies

  • The constructor in a component class is used to inject dependencies

  • Dependencies are specified in the constructor using TypeScript's parameter decorator syntax

Add your answer
right arrow
Q6. What are structural directives in Angular?
Ans.

Structural directives in Angular are used to modify the structure of the DOM by adding or removing elements based on conditions.

  • Structural directives are preceded by an asterisk (*) in Angular templates.

  • Common structural directives include *ngIf, *ngFor, and *ngSwitch.

  • Example: <div *ngIf="condition">Content to show when condition is true</div>

Add your answer
right arrow
Are these interview questions helpful?

Q7. What different html attributes you have used so far

Ans.

I have used various HTML attributes such as id, class, src, href, alt, style, etc.

  • id

  • class

  • src

  • href

  • alt

  • style

Add your answer
right arrow
Q8. What are the different lifecycle hooks in Angular?
Ans.

Angular lifecycle hooks are methods that allow you to tap into the lifecycle of a component or directive.

  • ngOnChanges - called when an input property changes

  • ngOnInit - called once the component is initialized

  • ngDoCheck - called during every change detection run

  • ngAfterContentInit - called after content (ng-content) has been projected into the component

  • ngAfterContentChecked - called after every check of the projected content

  • ngAfterViewInit - called after the component's view has ...read more

Add your answer
right arrow
Share interview questions and help millions of jobseekers 🌟
man with laptop
Q9. What are the specificity rules in CSS?
Ans.

Specificity rules in CSS determine which styles are applied to an element when multiple conflicting styles are present.

  • Specificity is calculated based on the type of selector used (ID, class, element) and the number of each type of selector.

  • ID selectors have the highest specificity, followed by class selectors, and then element selectors.

  • Inline styles have the highest specificity and will always override external stylesheets.

  • Specificity is represented by a four-part value (a,...read more

Add your answer
right arrow

Q10. Gave a small coding test to print fizzbuzz according to divisibility condition

Ans.

Print FizzBuzz based on divisibility condition

  • Loop through numbers 1 to n

  • If number is divisible by 3, print 'Fizz'

  • If number is divisible by 5, print 'Buzz'

  • If number is divisible by both 3 and 5, print 'FizzBuzz'

  • Else, print the number

Add your answer
right arrow

Q11. What are the different position attributes in css

Ans.

CSS has various position attributes to position elements on a web page.

  • position: static

  • position: relative

  • position: absolute

  • position: fixed

  • position: sticky

Add your answer
right arrow

Q12. How does an angular application works

Ans.

Angular is a front-end framework that uses components to build dynamic web applications.

  • Angular applications are built using TypeScript, a superset of JavaScript.

  • Components are the building blocks of an Angular application.

  • Angular uses a hierarchical dependency injection system to manage dependencies.

  • Angular applications are loaded and run in the browser.

  • Angular applications can communicate with servers using HTTP requests.

Add your answer
right arrow

Q13. What are the css style specificities

Ans.

CSS specificity determines which style rules are applied to an element.

  • Specificity is calculated based on the number of selectors and their types.

  • Inline styles have the highest specificity.

  • IDs have higher specificity than classes and attributes.

  • The universal selector (*) has zero specificity.

  • The !important keyword overrides specificity.

  • Selectors with equal specificity are applied in the order they appear in the stylesheet.

Add your answer
right arrow
Q14. What is dependency injection?
Ans.

Dependency injection is a design pattern where the dependencies of an object are provided externally rather than created within the object itself.

  • Allows for easier testing by providing mock dependencies

  • Promotes loose coupling between components

  • Improves code reusability and maintainability

  • Commonly used in frameworks like Spring in Java

Add your answer
right arrow

Q15. Which design pattern were used in projects

Ans.

Various design patterns were used in projects including Singleton, Factory, and Observer.

  • Singleton pattern was used to ensure a class has only one instance and provide a global point of access to it.

  • Factory pattern was used to create objects without specifying the exact class of object that will be created.

  • Observer pattern was used to define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automaticall...read more

Add your answer
right arrow

Q16. What is package.json

Ans.

package.json is a configuration file used in Node.js projects to manage dependencies and scripts.

  • Contains metadata about the project such as name, version, and author

  • Lists dependencies and devDependencies required for the project

  • Allows for the creation of custom scripts to run tasks

  • Can be used to specify the main file of the project

  • Can be generated using 'npm init' command

Add your answer
right arrow

Q17. Different Structural directives used

Ans.

Structural directives are used to manipulate the structure of the DOM.

  • ngIf - conditionally adds or removes an element from the DOM

  • ngFor - repeats an element for each item in a list

  • ngSwitch - conditionally adds or removes elements based on a value

  • ngStyle - dynamically adds styles to an element

  • ngClass - dynamically adds classes to an element

Add your answer
right arrow

Q18. Different decorators and their functions

Ans.

Decorators are functions that modify the behavior of other functions.

  • Decorators are defined using the @ symbol in Python

  • They can be used to add functionality to a function without modifying its source code

  • Examples include @staticmethod, @classmethod, and @property

  • Decorators can also be used to add logging, caching, or authentication to a function

Add your answer
right arrow

Q19. What is angular.json

Ans.

angular.json is a configuration file used by Angular CLI to manage project settings.

  • Contains project configuration settings such as build options, asset paths, and environment variables.

  • Can be modified manually or through the Angular CLI.

  • Located in the root directory of an Angular project.

  • Example: "assets": ["src/favicon.ico", "src/assets"] specifies the asset paths for the project.

Add your answer
right arrow

Q20. Difference between interface and abstract class

Ans.

Interface is a contract for classes to implement, while abstract class can have some implementation.

  • Interface cannot have any implementation, only method signatures.

  • Abstract class can have both abstract and concrete methods.

  • A class can implement multiple interfaces but can only inherit from one abstract class.

  • Interfaces are used for achieving multiple inheritance in Java.

  • Example: interface Animal { void eat(); } abstract class Mammal { abstract void breathe(); }

Add your answer
right arrow

Q21. How authentication was done

Ans.

Authentication was done using a combination of username/password and token-based authentication.

  • User credentials (username/password) were verified against stored data in the database

  • Upon successful verification, a token was generated and sent to the user for subsequent requests

  • Token was validated for each request to ensure the user's identity and permissions

Add your answer
right arrow

Q22. How to replace server

Ans.

Replacing a server involves migrating data, setting up new hardware, and testing for functionality.

  • Backup all data and configurations from the old server

  • Set up the new server hardware and install necessary software

  • Migrate data and configurations to the new server

  • Test the new server for functionality and performance

  • Update DNS records and network configurations to point to the new server

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

Interview Process at CitiusTech Software Engineer

based on 17 interviews
3 Interview rounds
Technical Round - 1
Technical Round - 2
HR Round
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Engineer Interview Questions from Similar Companies

NetApp Logo
3.9
 • 27 Interview Questions
HCL Group Logo
3.6
 • 20 Interview Questions
Synopsys Logo
3.8
 • 10 Interview Questions
View all
Recently Viewed
REVIEWS
Tech Mahindra
No Reviews
INTERVIEWS
Tech Mahindra
No Interviews
SALARIES
Tech Mahindra
INTERVIEWS
Mystifly Consulting
No Interviews
INTERVIEWS
Cognizant
No Interviews
JOBS
Tech Mahindra
No Jobs
JOBS
Happiest Minds Technologies
No Jobs
INTERVIEWS
Black & White Business Solutions
No Interviews
INTERVIEWS
Divgi Torqtransfer Systems
No Interviews
INTERVIEWS
Cognizant
No Interviews
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

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