HP3-LESSON9-Version2

HP3-LESSON9-Version2

6th - 7th Grade

40 Qs

quiz-placeholder

Similar activities

LATIHAN SUMATIF 4

LATIHAN SUMATIF 4

7th Grade

41 Qs

Database - Intermediate Level Review

Database - Intermediate Level Review

6th - 8th Grade

37 Qs

ICT Q3

ICT Q3

7th Grade

40 Qs

Class 6  ICT Practice Paper

Class 6 ICT Practice Paper

6th - 8th Grade

35 Qs

Data Validation, Sorting and Searching a database

Data Validation, Sorting and Searching a database

7th - 8th Grade

40 Qs

Python  Review

Python Review

6th Grade

40 Qs

Microsoft Excel - Basics

Microsoft Excel - Basics

7th Grade - University

45 Qs

PPL Game

PPL Game

1st - 12th Grade

40 Qs

HP3-LESSON9-Version2

HP3-LESSON9-Version2

Assessment

Quiz

Computers

6th - 7th Grade

Medium

Created by

chien nguyen

Used 2+ times

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the purpose of UITableViewDelegate and UITableViewDataSource in Swift?
To manage user interactions and data display in a UITableView
To handle networking requests
To manage UI animations
To create new view controllers

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the role of @IBOutlet weak var tableView: UITableView! in the code?
It creates a new UITableView instance
It connects the table view in the storyboard to the code
It declares a variable without initializing it
It assigns a weak reference to another view controller

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What type of data structure is listSound in the provided code?
Dictionary
Set
Array
Tuple

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct method to return the number of rows in a UITableView section?
func numberOfSections(in tableView: UITableView) -> Int
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
func numberOfRowsInSection(_ tableView: UITableView) -> Int
func tableView(numberOfRowsInSection section: Int) -> Int

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What function is responsible for creating and configuring each table view cell?
viewDidLoad()
didSelectRowAt indexPath:
cellForRowAt indexPath:
numberOfRowsInSection:

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which method is automatically called when the view is loaded into memory?
viewDidLoad()
viewWillAppear()
viewDidAppear()
init()

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the file extension of a Swift source file?
.sw
.swift
.swiftx
.swi

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?