Upload Button Icon Add office photos

Filter interviews by

Shradha Computer Services Ruby on Rails Developer Interview Questions and Answers

Be the first one to contribute and help others!

Interview questions from similar companies

Interview experience
3
Average
Difficulty level
Easy
Process Duration
-
Result
-

I was interviewed in Jan 2024.

Round 1 - Technical 

(6 Questions)

  • Q1. Why is docker ps command used?
  • Ans. 

    The docker ps command is used to list all the running containers on a Docker host.

    • It provides information about the container ID, image used, command being run, status, ports, and names of the running containers.

    • It helps in monitoring and managing the containers on a Docker host.

    • The command can be used with various options to filter and format the output as per requirements.

    • Example: 'docker ps -a' lists all containers,...

  • Answered by AI
  • Q2. Why is docker system prune used?
  • Ans. 

    docker system prune is used to clean up unused Docker resources.

    • docker system prune helps to free up disk space by removing unused containers, images, networks, and volumes

    • It can be used to remove stopped containers, dangling images, unused networks, and unused volumes

    • The command can be customized with flags to specify which resources to prune

    • Example: docker system prune -a removes all unused resources, including stopp

  • Answered by AI
  • Q3. How is Ruby return keyword different from Java
  • Ans. 

    Ruby's return keyword is different from Java in terms of behavior and syntax.

    • In Ruby, the return keyword is optional and can be omitted.

    • Ruby's return keyword can be used to explicitly return a value from a method.

    • In Java, the return keyword is mandatory and must be used to return a value from a method.

    • Java's return keyword cannot be used to return from a block or lambda expression.

  • Answered by AI
  • Q4. How do you declare variable in ruby
  • Ans. 

    Variables in Ruby are declared by assigning a value to a name using the assignment operator (=).

    • To declare a variable, simply write the name of the variable followed by the assignment operator (=) and the value.

    • Ruby is dynamically typed, so you don't need to specify the type of the variable.

    • Variables can hold any type of data, including numbers, strings, arrays, hashes, etc.

    • Variable names in Ruby are case-sensitive and...

  • Answered by AI
  • Q5. List any 5 gems you have used in rails application
  • Ans. 

    1. Devise - authentication solution. 2. Paperclip - file attachment management. 3. Cancancan - authorization solution. 4. Sidekiq - background job processing. 5. RSpec - testing framework.

    • Devise: A flexible authentication solution for Rails applications.

    • Paperclip: A file attachment management library for ActiveRecord.

    • Cancancan: An authorization solution that provides a simple way to define abilities.

    • Sidekiq: A backgrou...

  • Answered by AI
  • Q6. What are migrations in rails
  • Ans. 

    Migrations in Rails are a way to manage database schema changes.

    • Migrations are Ruby classes that help modify the database schema.

    • They allow you to create, modify, or delete database tables, columns, and indexes.

    • Migrations provide a version control system for the database schema.

    • They ensure that all developers working on the project have the same database structure.

    • Migrations can be easily rolled back if needed, making ...

  • Answered by AI

Skills evaluated in this interview

Interview experience
1
Bad
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Azure cloud platform tech
  • Q2. Informatica tech stack ques
Round 2 - Technical 

(2 Questions)

  • Q1. Adf tech stack que
  • Q2. Scd type 2 implementation
  • Ans. 

    SCD Type 2 implementation involves tracking historical changes in data by creating new records for each change.

    • Identify the columns that need to be tracked for changes

    • Add effective start and end dates to track the validity of each record

    • Insert new records for changes and update end dates for previous records

    • Maintain a surrogate key to uniquely identify each version of the record

  • Answered by AI
Round 3 - Technical 

(2 Questions)

  • Q1. Dw related que ans
  • Q2. Solution design related que
Round 4 - HR 

(2 Questions)

  • Q1. Aspiration from my end
  • Q2. How soon can join
  • Ans. 

    I can join the team within 2 weeks.

    • I can start within 2 weeks of receiving the offer.

    • I need to give notice to my current employer.

    • I may need to relocate, which could affect my start date.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Don't join or even I would suggest not to apply or give interview to this pathetic company. I have cleared all my 4 rounds of interview including HR out of which 3 technical and 1 HR. 3 held on video conferencing and one face to face for which I have travelled almost 40 kms from my current location and they said without face to face they cannot proceed hence I had no option left but to travel, then when I entered into the office again put a laptop infront of me which is again video conferencing then I didn't understand why exactly they called me if they want to have it over video online.

Then after putting my lot of time and efforts when finally it comes to release the offer, then they stop picking up the calls and stop responding and the final excuses which I got from them for not releasing the offer is that their software will not allow them to release any offer which is more that 2 days of joining.

Such a pathetic company who even don't know that atleast if you are not releasing the offer, it's your duty to atleast tell the person that either they are not able to provide the compensation as discussed or they are looking parallelly for someone who can settle in less compensation.

Due to all this I have wasted almost my 3-4 weeks of time expecting that I will receive the offer, and didn't focus on other organisations which was ready to provide slightly lower than this.

Hence it's a total scam which is going here suggesting not to get trapped otherwise you will not only waste your time but also other good opportunities as well.

It's a total boycott for me, expecting the same from your end as well, so that they will understand that playing with someone's job is not a joke.

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Jul 2024. There were 2 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. Questions related to the CMS which I worked on.
  • Q2. Questions related to the CMS
Round 2 - Behavioral 

(2 Questions)

  • Q1. What kind of role do you want
  • Q2. What kind of work you were doing

Interview Preparation Tips

Interview preparation tips for other job seekers - Please please get into Wipro only after confirming if you are going into a project. If not, better avoid as we might end up in bench. If the Technical manager says there are projects. Confirm with them if they are active projects or projects in negotiation phase.
Interview experience
2
Poor
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - Technical 

(16 Questions)

  • Q1. What are custom hooks in React, and what are their use cases? Additionally, can you provide an example of a custom hook that performs an API call and utilizes the retrieved data?
  • Q2. What is the difference between useMemo and useCallback in React?
  • Q3. What is the difference between class-based components and functional components in React?
  • Q4. How can you implement the lifecycle of a React component in a functional component?
  • Q5. What are the various state management techniques available in React?
  • Q6. What is the architecture of Redux, and what purposes do middlewares serve within it?
  • Q7. What is hoisting in JavaScript?
  • Q8. What is event bubbling in JavaScript?
  • Q9. What are block scope and function scope in JavaScript?
  • Q10. Have you had experience working with semantic tags in HTML?
  • Q11. What are the various methods for creating an object in JavaScript?
  • Q12. What are the differences between shallow copy and deep copy in JavaScript?
  • Q13. What will be the output of the following JavaScript code fragment: `const a; function test() { console.log(a); }; test();`?
  • Q14. How can you use CSS to arrange elements in a row and column layout?
  • Q15. Have you utilized CSS preprocessors, and if so, which ones?
  • Q16. If I have assigned different colors to an ID and a class and applied both to the same element, which color will be applied based on CSS specificity precedence?

Interview Preparation Tips

Topics to prepare for Cognizant Senior Software Engineer interview:
  • Javascript
  • React.Js
  • HTML
  • CSS
Interview preparation tips for other job seekers - Possessing a deep understanding of JavaScript and React is essential. Interviewers may engage in mind games with candidates; therefore, we should remain calm and focused solely on the questions. Additionally, we need to be confident in our answers; otherwise, they may respond with doubt, asking, "Is that so?"
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Campus Placement and was interviewed in Nov 2024. There were 2 interview rounds.

Round 1 - Aptitude Test 

Its very easy
Basic maths questions learned up to 10
Basic Apptitude questions

Round 2 - Technical 

(5 Questions)

  • Q1. Tell me about your self Hi My name is Vikram Adithya I am an hard working and passionate engineering student currently perceiveing in gokaraju rangaraju institute of engineering and technology .I stay with...
  • Q2. Intervier asked about what kind of problems did you solved in leetcode? I said palindrome factorial matrix multiplication etc . Intervier said every one can solve this
  • Q3. He asked me about my project role i said I have done documentation in my project he said every one can do that
  • Q4. He asked me to write project code
  • Q5. He asked me any questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Answer carefully in infosys
If you crack it it is easy to get hired in infosys.
Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
No response

I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. What is the design of the microservices implemented in your current project?
  • Q2. Can you provide a program that prints the second largest number in both an array and a list, illustrating implementations using streams as well as traditional methods?
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Company Website and was interviewed in Nov 2024. There were 4 interview rounds.

Round 1 - Aptitude Test 

It was a simple Aptitude test designed to test your english proficiency and your quantitative skills.

Round 2 - Communication Assessment 

(1 Question)

  • Q1. Multiple questions meant to test your english communication proficiency
Round 3 - Coding Test 

There were 2 coding questions. The level of questions were not very high. The languages available for the round were Python, Java, C++, C, C#.

Round 4 - One-on-one 

(4 Questions)

  • Q1. Please Introduce yourself
  • Q2. What project did you work on in your final year?
  • Q3. Do you have any connections in the industry?
  • Q4. Did you undergo any Internships?
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Approached by Company and was interviewed in Oct 2024. There was 1 interview round.

Round 1 - Technical 

(3 Questions)

  • Q1. 1) OOPS in java, and told to explain abstraction, encapsulation, inheritance with practical code 2) Exception handling(globally), Authentication and authorization 3) SOLID principles and factory design pat...
  • Ans. 

    Interview questions for Software Engineer position covering OOPS concepts, exception handling, SOLID principles, Java 8 features, and Streams.

    • Abstraction in OOPS: Hiding implementation details. Example: Abstract class Shape with method draw().

    • Encapsulation in OOPS: Bundling data and methods that operate on the data. Example: Class Employee with private fields and public getters/setters.

    • Inheritance in OOPS: Reusing code...

  • Answered by AI
  • Q2. 1) Advantage of springboot over spring 2) Tell me all the anotations you know in spring 3) What are CRUD operations, write controller layer and use validating annotations like @NotNull, @valid etc. how to ...
  • Ans. 

    The interview questions cover various topics related to Spring framework, REST vs SOAP, JPA repository, Feign client, circuit breaker, and Spring Security.

    • Spring Boot provides a simpler and faster way to set up and run Spring applications compared to traditional Spring.

    • Common annotations in Spring include @Controller, @Service, @Repository, @Autowired, @Component, @RequestMapping, @GetMapping, @PostMapping, @PutMapping...

  • Answered by AI
  • Q3. 1) ACID properties 2) DBMS commands 3) inner queries 4) Joins 5) S3 bucket congif and how to handle file and upload and retrieve in s3 6) Ci/Cd basic flow and docker explaination

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare resume well and keep applying to jobs

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Referral and was interviewed in Oct 2024. There was 1 interview round.

Round 1 - One-on-one 

(5 Questions)

  • Q1. List down Java 8 features and use case
  • Ans. 

    Java 8 introduced several new features including lambda expressions, streams, and functional interfaces.

    • Lambda expressions: Allow for more concise and readable code by enabling functional programming.

    • Streams: Provide a way to work with collections of objects in a more functional style.

    • Functional interfaces: Interfaces with a single abstract method, used to enable lambda expressions.

    • Optional class: Helps to avoid null p...

  • Answered by AI
  • Q2. List down Spring boot annotation used
  • Ans. 

    Spring boot annotations are used to simplify the development process by providing metadata to the Spring framework.

    • 1. @SpringBootApplication - Main annotation to indicate the main class of a Spring Boot application.

    • 2. @RestController - Annotation for RESTful web services.

    • 3. @Autowired - Dependency injection annotation.

    • 4. @GetMapping, @PostMapping, @PutMapping, @DeleteMapping - Annotations for mapping HTTP requests to c...

  • Answered by AI
  • Q3. Difference between String builder and String Buffer
  • Ans. 

    String Builder is not synchronized and faster, while String Buffer is synchronized and slower.

    • String Builder is not thread-safe, while String Buffer is thread-safe.

    • String Builder is faster due to lack of synchronization, while String Buffer is slower due to synchronization.

    • String Builder is recommended for single-threaded operations, while String Buffer is recommended for multi-threaded operations.

  • Answered by AI
  • Q4. What is String pool
  • Ans. 

    String pool is a storage area in memory where strings are stored to optimize memory usage by reusing common strings.

    • String pool helps in reducing memory usage by storing only one copy of each unique string.

    • Strings created using double quotes are stored in the string pool.

    • Strings created using new keyword are not stored in the string pool.

  • Answered by AI
  • Q5. Number of memory type have. like heap memory , stack
  • Ans. 

    There are two main types of memory in a computer system: stack memory and heap memory.

    • Stack memory is used for static memory allocation and is managed by the compiler. It is typically faster but limited in size.

    • Heap memory is used for dynamic memory allocation and is managed by the programmer. It is slower but has a larger size.

    • Examples: C programming language uses stack memory for function calls and heap memory for dy

  • Answered by AI

Interview Preparation Tips

Topics to prepare for IBM Senior Software Engineer interview:
  • Collections
  • java 8
  • Spring Boot
  • tsl
  • SSL
  • OOPS
  • String pool
  • Heap memory
  • Strig builder
  • String buffer

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-

I applied via Campus Placement

Round 1 - Technical 

(3 Questions)

  • Q1. Can you tell me about yourself?
  • Ans. 

    I am a passionate software engineer with a strong background in computer science and experience in developing innovative solutions.

    • Completed a Bachelor's degree in Computer Science from XYZ University

    • Proficient in programming languages such as Java, Python, and C++

    • Worked on projects involving web development, database management, and machine learning

    • Strong problem-solving skills and ability to work in a team environmen

  • Answered by AI
  • Q2. What was your role and contributions in your projects?
  • Ans. 

    I was responsible for designing and implementing new features, fixing bugs, and optimizing performance in various projects.

    • Designed and implemented new features based on client requirements

    • Fixed bugs reported by QA team or end users

    • Optimized performance by refactoring code or improving algorithms

    • Collaborated with team members to ensure project deadlines were met

  • Answered by AI
  • Q3. Are you willing to relocate?
  • Ans. 

    Yes, I am open to relocating for the right opportunity.

    • I am open to relocating for the right job opportunity

    • I am flexible and willing to move for the right position

    • I have relocated for previous jobs and am comfortable with the process

  • Answered by AI

Tell us how to improve this page.

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.2k Interviews
Accenture Interview Questions
3.9
 • 8k Interviews
Infosys Interview Questions
3.7
 • 7.5k Interviews
Wipro Interview Questions
3.7
 • 5.5k Interviews
Cognizant Interview Questions
3.8
 • 5.5k Interviews
Amazon Interview Questions
4.1
 • 5k Interviews
Capgemini Interview Questions
3.8
 • 4.7k Interviews
Tech Mahindra Interview Questions
3.6
 • 3.8k Interviews
HCLTech Interview Questions
3.5
 • 3.7k Interviews
Genpact Interview Questions
3.9
 • 3k Interviews
View all
Compare Shradha Computer Services with

TCS

3.7
Compare

Accenture

3.9
Compare

Wipro

3.7
Compare

Cognizant

3.8
Compare

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
Did you find this page helpful?
Yes No
write
Share an Interview