Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Cognizant Team. If you also belong to the team, you can get access from here

Cognizant Verified Tick

Compare button icon Compare button icon Compare
3.8

based on 48.9k Reviews

Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards

zig zag pattern zig zag pattern

Filter interviews by

Cognizant IOS Developer Interview Questions and Answers

Updated 1 Aug 2024

Cognizant IOS Developer Interview Experiences

2 interviews found

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

IOS Developer Interview Questions & Answers

user image Anonymous

posted on 27 Feb 2022

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

IOS Developer Interview Questions Asked at Other Companies

Q1. 1 - MVC PATTERN 2- CLOUSERS & it's type 3- Google SDK like Go ... read more
asked in Movius Corp
Q2. What will be the output of the following Swift code: \n\nstruct s ... read more
asked in Capgemini
Q3. What’s difference between class and structure
asked in Movius Corp
Q4. What is the difference between the Liskov Substitution Principle ... read more
asked in Movius Corp
Q5. What is the time complexity for finding the longest common prefix ... read more

Interview questions from similar companies

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

I applied via Approached by Company and was interviewed in Jun 2024. There were 2 interview rounds.

Round 1 - Technical 

(3 Questions)

  • Q1. Solid principle
  • Q2. Weak and unowned reference difference
  • Q3. All basic to advance question asked
Round 2 - HR 

(1 Question)

  • Q1. Basic information about yourself and salary discussion

Interview Preparation Tips

Interview preparation tips for other job seekers - Be prepared for basic ios question along with few programming questions
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
4-6 weeks
Result
Selected Selected

I applied via LinkedIn and was interviewed in Mar 2024. There was 1 interview round.

Round 1 - One-on-one 

(6 Questions)

  • Q1. What is Weak & Unowned , ARC?
  • Ans. 

    Weak & Unowned references are used in ARC to prevent retain cycles in Swift programming.

    • Weak references do not increase the retain count of an object, and automatically become nil when the object is deallocated.

    • Unowned references do not keep a strong reference to the object, and can become a dangling pointer if the object is deallocated.

    • ARC (Automatic Reference Counting) is a memory management system used in Swift to a

  • Answered by AI
  • Q2. What is Autoclosure?
  • Ans. 

    Autoclosure is a feature in Swift that automatically wraps an expression in a closure.

    • Autoclosure is used to delay evaluation of an expression until it is actually needed.

    • It is commonly used with functions that take closures as arguments, allowing the caller to pass in a regular value instead of a closure.

    • Autoclosures are created by adding @autoclosure attribute before the closure's parameter type.

  • Answered by AI
  • Q3. Code snippets for optional binding, find error ?
  • Ans. 

    Optional binding in Swift helps to safely unwrap optionals and check for nil values.

    • Use if let or guard let to safely unwrap optionals and bind the value to a new constant or variable.

    • Check for nil values before using the unwrapped value to avoid runtime errors.

    • Example: if let name = optionalName { print(name) }

    • Example: guard let age = optionalAge else { return }

  • Answered by AI
  • Q4. What are Access Controls/modifiers? public vs open?
  • Ans. 

    Access controls/modifiers determine the visibility and accessibility of classes, methods, and properties in object-oriented programming.

    • public access control allows a class, method, or property to be accessed from anywhere in the code

    • open access control allows a class to be subclassed outside of the module where it is defined

    • public is commonly used in Swift for most cases, while open is used when you want to allow subc

  • Answered by AI
  • Q5. Protocol vs Closures?
  • Ans. 

    Protocols define a blueprint of methods, properties, and other requirements that a class or struct must adopt. Closures are self-contained blocks of functionality that can be passed around and used in your code.

    • Protocols define a set of methods, properties, and other requirements that a class or struct must implement.

    • Closures are self-contained blocks of functionality that can capture and store references to any consta...

  • Answered by AI
  • Q6. How you use GIT, How to manage conflicts?
  • Ans. 

    I use GIT for version control and manage conflicts by resolving them through communication and collaboration.

    • Regularly commit changes to keep track of progress

    • Pull latest changes before making any updates to avoid conflicts

    • Communicate with team members to resolve conflicts efficiently

    • Use tools like Git merge or Git rebase to resolve conflicts

    • Document resolution process for future reference

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Kindly brush up the basic things of iOS e,g Optional, ARC, Concurrency, Access Controls, closures their type, protocol delegate pattern etc.

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
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
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Aptitude Test 

Easy aptitude english and logical reasoning.

Round 2 - One-on-one 

(2 Questions)

  • Q1. Tell me About yourself
  • Q2. Swift advantages and disadvantages
  • Ans. 

    Swift is a powerful and modern programming language for iOS development, but it has its own set of advantages and disadvantages.

    • Advantages: faster performance, safer code with optionals, easier to read and write code, interoperability with Objective-C

    • Disadvantages: steep learning curve for beginners, limited community support compared to other languages like Java or Python

  • Answered by AI
Round 3 - HR 

(1 Question)

  • Q1. Salary expectation and current salary

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Auto closures and Escaping closures
  • Q2. Cardinality and string reverse coding
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Recruitment Consulltant and was interviewed in Mar 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. What is closure? Life cycle of escaping closure?
  • Ans. 

    A closure is a self-contained block of code that can be passed around and used in your code. An escaping closure is a closure that is called after the function it was passed to has returned.

    • Closure is a block of code that can be passed around and used in your code.

    • Escaping closure is called after the function it was passed to has returned.

    • Example: Using a completion handler in a network request to handle the response a

  • Answered by AI
  • Q2. What is multi threading?
  • Ans. 

    Multi threading is the ability of a CPU to execute multiple threads concurrently, allowing for improved performance and responsiveness in applications.

    • Allows for parallel execution of tasks, improving performance

    • Enables applications to remain responsive while performing intensive tasks

    • Can lead to synchronization issues if not managed properly

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Capgemini IOS Developer interview:
  • Closure
  • IOS
  • Design Patterns
  • Multithreading
Interview preparation tips for other job seekers - Prepare well of closure concepts, Multi threading, classes/structures, data structures, Design Patterns questions

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

Cognizant Interview FAQs

How many rounds are there in Cognizant IOS Developer interview?
Cognizant interview process usually has 2 rounds. The most common rounds in the Cognizant interview process are Technical, One-on-one Round and Coding Test.
How to prepare for Cognizant IOS Developer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Cognizant. The most common topics and skills that interviewers at Cognizant expect are Swift, Objective C, IOS, Cocoa Touch and IPhone.
What are the top questions asked in Cognizant IOS Developer interview?

Some of the top questions asked at the Cognizant IOS Developer interview -

  1. What is optional, difference between struct and cla...read more
  2. Difference betweenClass And Str...read more
  3. Static Key w...read more

Tell us how to improve this page.

Cognizant IOS Developer Interview Process

based on 1 interview

Interview experience

5
  
Excellent
View more
Cognizant IOS Developer Salary
based on 65 salaries
₹4.5 L/yr - ₹19 L/yr
59% more than the average IOS Developer Salary in India
View more details

Cognizant IOS Developer Reviews and Ratings

based on 1 review

5.0/5

Rating in categories

5.0

Skill development

5.0

Work-life balance

5.0

Salary

4.0

Job security

5.0

Company culture

4.0

Promotions

5.0

Work satisfaction

Explore 1 Review and Rating
Associate
72.4k salaries
unlock blur

₹5.1 L/yr - ₹16 L/yr

Programmer Analyst
55.5k salaries
unlock blur

₹2.4 L/yr - ₹9.7 L/yr

Senior Associate
48.4k salaries
unlock blur

₹9 L/yr - ₹27.2 L/yr

Senior Processing Executive
28.8k salaries
unlock blur

₹1.8 L/yr - ₹9 L/yr

Technical Lead
17.6k salaries
unlock blur

₹5.9 L/yr - ₹24.2 L/yr

Explore more salaries
Compare Cognizant with

TCS

3.7
Compare

Infosys

3.6
Compare

Wipro

3.7
Compare

Accenture

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