Development Consultant
Development Consultant Interview Questions and Answers
Q1. 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
Q2. If you are from a telecom background then overall flow in a 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
Q3. SQL queries: 2nd highest salary
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
Q4. write a spark code to implement SCD type2.
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
Q5. 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
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