Upload Button Icon Add office photos

Filter interviews by

H M S Foods IOS Developer Interview Questions and Answers

Be the first one to contribute and help others!

Interview questions from similar companies

I applied via Recruitment Consulltant and was interviewed before Feb 2021. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. What is optional, difference between struct and class?
  • Ans. 

    Optional is a type in Swift that can hold a value or be nil. Struct and class are both used to define custom data types.

    • Optional is denoted by a question mark (?) and is used to handle nil values.

    • Structs are value types and are passed by value, while classes are reference types and are passed by reference.

    • Structs have a default memberwise initializer, while classes do not.

    • Classes can inherit from other classes, while s...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Study the basics, and the interview depends on client requirement.

Skills evaluated in this interview

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

(2 Questions)

  • Q1. Arc in swift...
  • Ans. 

    ARC (Automatic Reference Counting) in Swift is a memory management system used to automatically manage memory allocation and deallocation.

    • ARC keeps track of how many references there are to an object and automatically deallocates it when there are no more references.

    • Use strong reference cycles can lead to memory leaks, so use weak or unowned references to break the cycle.

    • ARC is the default memory management system in S...

  • Answered by AI
  • Q2. Automstic referenc counting
Round 2 - Technical 

(2 Questions)

  • Q1. Mvvm in swift....
  • Ans. 

    MVVM (Model-View-ViewModel) is an architectural design pattern commonly used in iOS development to separate concerns and improve code maintainability.

    • MVVM separates the user interface (View) from the business logic (ViewModel) and data (Model).

    • ViewModel acts as an intermediary between the View and the Model, handling user interactions and updating the data.

    • Swift provides tools like Combine framework for reactive progra...

  • Answered by AI
  • Q2. Model view viewmodel

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - HR 

(1 Question)

  • Q1. Tell me about your self
  • Ans. 

    I am an experienced IOS Developer with a passion for creating innovative and user-friendly mobile applications.

    • Over 5 years of experience in IOS app development

    • Proficient in Swift and Objective-C programming languages

    • Strong understanding of mobile UI/UX design principles

    • Familiar with RESTful APIs and third-party libraries

    • Developed and launched multiple successful IOS apps, such as XYZ and ABC

  • Answered by AI
Round 2 - Technical 

(2 Questions)

  • Q1. Basic ios questions
  • Q2. Difference between let and var
  • Ans. 

    let is used for constants that do not change, var is used for variables that can change

    • let is used for constants that do not change

    • var is used for variables that can change

    • let variables cannot be reassigned once they are set

    • var variables can be reassigned multiple times

  • Answered by AI

Skills evaluated in this interview

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

I applied via LinkedIn and was interviewed before Aug 2023. There were 2 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. Basic Swift and Objective c
  • Q2. Deep into iOS Swift and Objective C
Round 2 - Technical 

(2 Questions)

  • Q1. Deep in Development and Coding test
  • Q2. Management related questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare well
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed before Oct 2023. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. How do you manage local data?
  • Ans. 

    Local data is managed using Core Data framework in iOS development.

    • Use Core Data framework to create, read, update, and delete local data.

    • Utilize entities, attributes, and relationships to model the data.

    • Implement fetch requests to retrieve data based on specific criteria.

    • Use NSManagedObject subclasses to represent data objects.

    • Utilize NSPersistentContainer to manage the Core Data stack.

  • Answered by AI
  • Q2. How can you create dynamic UI like amazon?
  • Ans. 

    Dynamic UI like Amazon can be created using a combination of responsive design, data-driven content, and user personalization.

    • Utilize responsive design principles to ensure the UI adapts to different screen sizes and devices.

    • Implement data-driven content to display relevant information based on user preferences and behavior.

    • Use user personalization techniques such as recommendations, personalized product suggestions, a...

  • Answered by AI

Skills evaluated in this interview

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

I applied via Recruitment Consulltant and was interviewed before Aug 2023. There were 3 interview rounds.

Round 1 - One-on-one 

(2 Questions)

  • Q1. Difference betweenClass And Struct
  • Ans. 

    Classes are reference types, while structs are value types in Swift.

    • Classes are reference types, meaning they point to the same memory location when assigned to a new variable.

    • Structs are value types, meaning they create a new copy when assigned to a new variable.

    • Classes support inheritance, while structs do not.

    • Classes can have deinitializers, while structs cannot.

    • Classes can be typecasted, while structs cannot.

  • Answered by AI
  • Q2. Static Key work
Round 2 - Coding Test 

Find the index of the first occurrence in string

Round 3 - HR 

(2 Questions)

  • Q1. Salary Expectation
  • Q2. Any leave plans in next six months
  • Ans. 

    Yes, I have planned a vacation in the next six months.

    • I have scheduled a week-long trip to Europe in September.

    • I also plan to take a few days off around Christmas to visit family.

    • I have informed my team in advance and ensured that my work will not be affected.

  • Answered by AI

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(5 Questions)

  • Q1. Encription and decription in swift
  • Ans. 

    Encryption and decryption in Swift involves using cryptographic algorithms to encode and decode data securely.

    • Use common encryption algorithms like AES or RSA for encryption.

    • Implement encryption using libraries like CommonCrypto or CryptoSwift.

    • Store encryption keys securely and use secure protocols for data transmission.

    • Example: Encrypting a string using AES encryption in Swift.

  • Answered by AI
  • Q2. Keychain access in swift
  • Ans. 

    Keychain access in Swift allows secure storage of sensitive information like passwords, tokens, etc.

    • Use Keychain Services API to securely store and retrieve sensitive data.

    • Keychain items are stored securely in the device's keychain and are encrypted.

    • Access keychain items using unique identifiers called keys.

    • Use Keychain Swift library for easier implementation.

  • Answered by AI
  • Q3. Class vs struct
  • Ans. 

    Classes are reference types, while structs are value types in Swift.

    • Classes are reference types, meaning they point to the same instance in memory when assigned to a new variable.

    • Structs are value types, meaning they create a new copy when assigned to a new variable.

    • Use classes for complex data structures or when you need inheritance, use structs for simple data types or when you want value semantics.

    • Example: class Per...

  • Answered by AI
  • Q4. If let and guard let
  • Q5. Grand central dispatch in swift
  • Ans. 

    Grand Central Dispatch (GCD) is a technology in Swift for managing concurrent operations.

    • GCD allows developers to perform tasks concurrently without having to manage threads manually.

    • It provides a high-level API for managing tasks and executing them on different queues.

    • Developers can use GCD to perform tasks in the background, update the UI on the main thread, and more.

  • Answered by AI

Skills evaluated in this interview

Interview experience
2
Poor
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Apr 2024. There were 3 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. Basic interview swift questions (medium to hard)
  • Q2. Coding to find correct or whats wrong
Round 2 - Coding Test 

Machine test with collection view and api using url session

Round 3 - One-on-one 

(1 Question)

  • Q1. Technical questions of different scenarios
Interview experience
4
Good
Difficulty level
Easy
Process Duration
6-8 weeks
Result
Selected Selected

I applied via Recruitment Consulltant and was interviewed in Aug 2023. There were 2 interview rounds.

Round 1 - One-on-one 

(1 Question)

  • Q1. Basic questions related to Swift like closure, optionals, gcd, operations. Questions related to sdks like firebase, push notifications
Round 2 - One-on-one 

(1 Question)

  • Q1. It was about the projects, methodologies used, architecture, roles and responsibilities in team.

Interview Questionnaire 

2 Questions

  • Q1. Struct vs Class
  • Ans. 

    Struct is value type while Class is reference type in Swift. Structs are passed by value while Classes are passed by reference.

    • Structs are ideal for small data types like coordinates, colors, etc.

    • Classes are ideal for larger data types like view controllers, network managers, etc.

    • Structs are immutable by default while Classes are mutable.

    • Structs cannot inherit from other types while Classes can.

    • Structs are stack alloca

  • Answered by AI
  • Q2. MultiThreading Related Questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Strong basic knowledge required

Skills evaluated in this interview

Tell us how to improve this page.

Compare H M S Foods with

TCS

3.7
Compare

Accenture

3.8
Compare

Wipro

3.7
Compare

Cognizant

3.7
Compare
Did you find this page helpful?
Yes No
write
Share an Interview