Senior Analyst - SSE
Senior Analyst - SSE Interview Questions and Answers
Q1. Program - Print num from 1 - 50 and when a num is divisble by
Program to print numbers from 1-50 and replace multiples of 3, 5 and 15 with specific words.
Use a loop to iterate through numbers 1-50
Use if-else statements to check if the number is divisible by 3, 5 or 15
If divisible by 3, print 'Fizz'
If divisible by 5, print 'Buzz'
If divisible by 15, print 'FizzBuzz'
If not divisible by any, print the number itself
Q2. Print N Numbers and print FOOBAA is num is divisble by 5 and 3 . Print Foo if divisible by 5 and Bar if divisible by 3
Print numbers and FOOBAA if divisible by 5 and 3 respectively. Print Foo if divisible by 5 and Bar if divisible by 3.
Use a loop to iterate through the numbers from 1 to N
Check if the number is divisible by both 5 and 3, print FOOBAA
If the number is divisible by 5, print Foo
If the number is divisible by 3, print Bar
If the number is not divisible by either 5 or 3, print the number itself
Q3. What are Java Stream and Functional Interfaces. Coding programs
Java Stream is a sequence of elements supporting functional-style operations. Functional Interfaces are interfaces with only one abstract method.
Java Stream is used to perform operations on collections of objects.
Functional Interfaces are used to implement lambda expressions.
Stream API provides a set of functional interfaces such as Predicate, Consumer, Function, and Supplier.
Example: Stream
stream = Arrays.stream(new Integer[]{1, 2, 3, 4, 5}); Example: Functional Interface - ...read more
Q4. What is Microservice
Microservices are small, independent, and loosely coupled services that work together to form a larger application.
Microservices are designed to be modular and scalable.
Each microservice performs a specific task and communicates with other microservices through APIs.
Microservices can be developed and deployed independently of each other.
Examples of microservices include Netflix, Amazon, and Uber.
Microservices architecture is often used in cloud-native applications.
Interview experiences of popular companies
Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Reviews
Interviews
Salaries
Users/Month