HomeExamsApple & MobilityTETAMOBDEVIC1050
TETAMOBDEVIC1050

Infosys Certified iOS Swift App Developer

Practice with real exam-pattern questions for Infosys Certified iOS Swift App Developer. Each question includes a detailed explanation to help you understand the concept, not just memorise the answer. Try 10 questions free — no login required.

BeginnerApple & Mobility90 min
Free questions

10 Infosys Certified iOS Swift App Developer practice questions with answers

Real Lex exam-pattern multiple-choice questions for the Infosys Certified iOS Swift App Developer certification. Each question includes the correct answer. The full question bank is available to Premium members.

  1. Question 1

    When the below code finishes execution, how many strings will the names array contain ?

    let names = [String]()
    names.append("Annie")
    names.append("John")
    names.append("Derik")
    
    

    • 0Correct
    • BCode will compile but not run
    • C3
    • DCode will not compile
  2. Question 2

    let names = ["Amy","Sam","Sandy"]

    By using the names array, I would like to print as below: Select the correct code snippet for that

    Hello, Amy!
    Hello, Sam!
    Hello, Sandy!
    
    A. for i in 0...names.count {
         print("Hello , \(names[i]) !")
    }
    
    
    B. for i in 0..names.count {
         print("Hello , \(names[i]) !")
    }
    
    
    C. for i in 0..<names.count {
         print("Hello , \(names[i]) !")
    }
    
    
    D. for i in 0..<names.length {
         print("Hello , \(names[i]) !")
    }

    • A onlyCorrect
    • BB only
    • CC only
    • DD only
  3. Question 3

    Which of the following statements is correct about Tuple?

    • A Tuple function can return multiple valuesCorrect
    • BTuple is a collection of same data types
    • CTuple is a collection of different data types
    • DWe can write function inside it
  4. Question 4

    When the below code finishes execution, what will be the value of "streets" ?

    var streets = ["Acacia Road", "Buckfast Street", "Corn Street", "Ducal Place", "English Street"]
    streets[1] = "?"
    print(streets)
    

    • ["Acacia Road", "?", "Buckfast Street", "Corn Street", "Ducal Place", "English Street"]Correct
    • B["Acacia Road", "?", "Corn Street", "Ducal Place", "English Street"]
    • C["?"]
    • D["?", "Buckfast Street", "Corn Street", "Ducal Place", "English Street"]
  5. Question 5

    Select the true statements from below: (Choose 3)

    • If user assign an array, a set, or a dictionary to a constant, that collection is immutable, and its size and its contents cannot be changed.Correct
    • BIn Swift, user can declare and implement their own custom operators like +++, +-*
    • CTo find the total count of characters in a string, str, we use str.length()
    • DTo find the total capacity of an array, arr, we use arr.capacity()
  6. Question 6

    What will be printed once the below code is executed ?

    var arrayA:[String] = []               
    var arrayB = [String]()  
    
    if (arrayA == arrayB)
    	{print ("arrayA and arrayB are the same")}
    else 
    	{print ("arrayA and arrayB are different")}
    

    • Compilation ErrorCorrect
    • BRuntime Error
    • CarrayA and arrayB are the same
    • DarrayA and arrayB are the different
  7. Question 7

    What will be the value of message variable when printed ?

    var message = "Apple is my favorite fruit"                //Line 1
    message.replacingOccurrences(of: "Apple", with: "Mango")  //Line2
    print(message)
    

    • Error in Line 1 as datatype of message variable is not declaredCorrect
    • BError in Line 2 as “replacingOccurrences” method is invalid
    • CMango is my favorite fruit
    • DApple is my favorite fruit
  8. Question 8

    What output will be produced by the below code ?

    let number = 9.0
    print("\(number) squared is \(number * number), and its square root is \(sqrt(number))")
    

    • "9 squared is 9 * 9, and its square root is sqrt(9)"Correct
    • B"9 squared is 81 , and its square root is 3"
    • C"9.0 squared is 81.0 ,and its square root is 3.0"
    • DThis code will not compile
  9. Question 9

    Below code snippet is an example of :

    let certName:String? = "Swift"
    	if let digitalTag = certName {
    		print(digitalTag)
    	}
    

    • Force UnwrappingCorrect
    • BOptional Binding
    • COptional Chaining
    • DImplicitly Unwrapped Optional
  10. Question 10

    _________ enable you to create and pass around groupings of values and can return multiple values from a function as a single compound value.

    • TuplesCorrect
    • BDictionary
    • CArrays
    • DAll of the above
Pricing

Pay once. Clear every cert this year.

One subscription, full Telegram channel access, every PDF posted during your membership.

Monthly
50% OFF
₹1,300₹2,600
Per month · cancel anytime
  • Full access to all 1,357+ certifications
  • Monthly updated question banks
  • Telegram private channel access
  • Cancel anytime
Get Monthly
POPULAR
Quarterly
44% OFF
₹1,800₹3,200
That's ₹600/mo · billed for 3 months
  • Everything in Monthly
  • Save ₹2,100 vs monthly billing
  • Priority answer key requests
  • Best for increasing DQ score fast
Get Quarterly
BEST VALUE
Lifetime
52% OFF
₹2,400₹5,000
One-time · lifetime access
  • Everything in Quarterly
  • Lifetime channel access — no renewals
  • All future certifications included
  • Priority response from admin team
Get Lifetime
FAQ

Common questions, straight answers.

A monthly-updated Telegram channel where we post real exam-pattern question banks and detailed answer keys for 1,357+ Infosys Lex certifications. You join once, you get every PDF posted during your membership.

Right after payment on our Graphy page, you'll receive a private invite link to the Telegram channel. Access is instant — usually under 30 seconds.

We compile question banks from the actual Lex test pattern, sourced and verified by 180K+ community members who've recently cleared these exams. Match rate is consistently 85–95%.

Every single month. When Infosys rolls out new versions of certifications, we post updated dumps within 7–10 days. You'll see channel activity weekly.

Clearing certifications is one of the highest-weighted DQ factors. Members typically clear 3–5 certifications in their first 3 months, which moves DQ scores up by a full band.

i
InfyLexDumps

Independent exam preparation platform for Infosys Lex certifications. Real exam-pattern question banks, monthly updates, 180K+ community members.

Join Premium Telegram
Contact
  • @prepflixadmin
  • admin@prepflix.net
This platform is an independent educational resource and is not affiliated with or endorsed by Infosys Ltd. All certification names referenced are property of their respective owners.
© 2026 InfyLexDumps
Join Premium Telegram