CBNITS
COMPUTER SYSTEMS WEST Interview Questions and Answers
Q1. Write a program to find factorial of a number using recursion.
Program to find factorial of a number using recursion.
Define a function that takes a number as input.
Check if the number is 0 or 1, return 1 in that case.
If not, call the function recursively with n-1 as input and multiply it with n.
Return the result.
Q2. Write a program to implement stack using class.
Program to implement stack using class
Create a class named Stack with necessary methods like push, pop, peek, isEmpty
Use an array or linked list to store the elements in the stack
Implement the push method to add elements to the top of the stack
Implement the pop method to remove and return the top element from the stack
Implement the peek method to return the top element without removing it
Implement the isEmpty method to check if the stack is empty
Q3. Write a program to remove duplicate elements from an array.
Program to remove duplicate elements from an array
Use a hashset to store unique elements
Iterate through the array and add non-duplicates to the hashset
Convert hashset back to array
Q4. What is the method for calculating Tax Deducted at Source (TDS)?
TDS is calculated based on the income slab rates and is deducted at the time of payment.
TDS rates vary based on the type of payment and income slab of the recipient.
TDS is deducted by the payer at the time of making payment to the payee.
The payer is required to deposit the deducted TDS to the government.
TDS certificates are issued to the payee as proof of tax deduction.
TDS can be calculated using online TDS calculators or manually based on the rates specified by the governmen...read more
Q5. Implement linked list
A linked list is a data structure where each element points to the next one.
Create a Node class with a value and a next pointer
Create a LinkedList class with a head pointer and methods to add, remove, and traverse nodes
Example: Node(5) -> Node(10) -> Node(15)
Example: LinkedList.add(5), LinkedList.add(10), LinkedList.add(15), LinkedList.remove(10)
Q6. What is your experience with payroll processing?
I have 5 years of experience processing payroll for a medium-sized company.
Managed bi-weekly payroll for 200+ employees
Processed payroll taxes and deductions accurately
Implemented new payroll software to streamline processes
Q7. Flutter state management approaches?
Flutter offers various state management approaches like Provider, Bloc, Redux, MobX, etc.
Provider: Simple and easy to use for small to medium-sized apps.
Bloc: Great for managing complex state and business logic.
Redux: Predictable state container for managing app state.
MobX: Observable state management with minimal boilerplate code.
Top HR Questions asked in COMPUTER SYSTEMS WEST
Interview Process at COMPUTER SYSTEMS WEST
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month