Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 4 subjective questions TableViews

INT372 — Iphone Application Programming 20 questions with model answers. Write yours first, then compare.

Read the notes Practice MCQs
  1. Question 1 of 20

    Define UITableView and explain its role in an iPhone application.

  2. Question 2 of 20

    Explain the data source and delegate mechanisms of a UITableView.

  3. Question 3 of 20

    Describe the steps required to implement a simple table view that displays a list of programming languages.

  4. Question 4 of 20

    Explain the purpose of IndexPath in a table view. How are its section and row properties used?

  5. Question 5 of 20

    What is table-view cell reuse? Explain why dequeueReusableCell(withIdentifier:for:) is important.

  6. Question 6 of 20

    Distinguish between plain and grouped table-view styles.

  7. Question 7 of 20

    Describe how to organize and display data in multiple grouped sections of a table view.

  8. Question 8 of 20

    Explain how section headers and footers can be added to a UITableView using text.

  9. Question 9 of 20

    How can a custom view containing a label and an image be used as a table section header?

  10. Question 10 of 20

    Explain how an image can be displayed in a standard UITableViewCell.

  11. Question 11 of 20

    Describe the process of creating and using a custom UITableViewCell containing an image, a title, and a subtitle.

  12. Question 12 of 20

    Compare the standard cell styles provided by UITableViewCell.

  13. Question 13 of 20

    What is an indexed table view? Explain how to add a section index for alphabetical data.

  14. Question 14 of 20

    Explain how to detect the row selected by the user and display the selected item.

  15. Question 15 of 20

    Describe how to navigate from a selected table row to another view controller using a storyboard segue.

  16. Question 16 of 20

    Explain how to navigate programmatically from a table view to a detail view and pass the selected item.

  17. Question 17 of 20

    Differentiate between a table's section header and footer, and its tableHeaderView and tableFooterView.

  18. Question 18 of 20

    Explain how dynamic row height can be implemented for custom table-view cells.

  19. Question 19 of 20

    Discuss the important issues that must be considered when customizing reusable table-view cells.

  20. Question 20 of 20

    Design a table-view screen that uses grouped sections, custom cells, images, headers, row selection, and navigation to a detail screen. Explain the complete flow.

That's unit 4

Long answers stick best when they're tested again soon. Run the MCQs on this unit, then come back to the questions you found hardest.