Development Consultant
Development Consultant Interview Questions and Answers

Asked in CSG International

Q. Write a program to reverse a sentence. Input: I'm the boss output: boss the I'm
This program reverses a sentence by splitting it into words and then reversing the order of the words.
Split the sentence into an array of words using a space as the delimiter
Create an empty array to store the reversed words
Iterate through the array of words in reverse order and add each word to the new array
Join the reversed words array into a single string using a space as the delimiter

Asked in CSG International

Q. If you are from a telecom background, describe the overall flow in brief.
Telecom background involves designing, implementing and maintaining communication networks.
Designing and implementing communication networks
Maintaining and upgrading existing networks
Ensuring network security and reliability
Managing network resources and optimizing performance
Providing technical support to customers
Examples: 4G/5G networks, fiber optic cables, satellite communication systems

Asked in TO THE NEW

Q. Write an SQL query to find the second highest salary from an Employee table.
To find the second highest salary in a table, use the SQL query with the MAX function and a subquery.
Use the MAX function to find the highest salary in the table
Use a subquery to exclude the highest salary and find the maximum of the remaining salaries
Combine the two queries to get the second highest salary

Asked in Infogain

Q. Write Spark code to implement SCD type 2.
Implementing SCD type2 in Spark code
Use DataFrame operations to handle SCD type2 changes
Create a new column to track historical changes
Use window functions to identify the latest record for each key
Update existing records with end dates and insert new records with start dates

Asked in IBM

Q. What is the difference between cache and persist?
Cache stores data temporarily for faster access, while persist saves data permanently.
Cache is temporary storage used to store frequently accessed data for faster retrieval.
Persist saves data permanently, typically to a disk or database.
Cache is often used in web applications to store frequently accessed data like images or scripts.
Persist is commonly used to store user data or application settings that need to be retained even after the application is closed.
Development Consultant Jobs



Interview Questions of Similar Designations



Reviews
Interviews
Salaries
Users

