亿搜题库-好用方便快捷的题库

免费慕课 iOS开发技术(苏州市职业大学)1207002812 最新慕课中国大学MOOC答案-亿搜题库

2078291 35 ℃ 0 条

模块一测验

1、单选题:
‏控制器加载完成后,首先会调用哪个方法来加载视图(    )。​
选项:
A: viewDidAppear
B: viewWillAppear
C: viewDidLoad
D: loadView
答案: 【 viewDidLoad

2、单选题:
‎下列选项中,无法定义控件位置的属性是(    )。‎
选项:
A: center
B: bounds
C: frame
D: tag
答案: 【 tag

3、单选题:
​self表示(     )。‎
选项:
A: 父类
B: 子类
C: 当前类
D: 当前类的实例对象
答案: 【 当前类的实例对象

4、单选题:
‌当系统检测到内存紧张时,会调用以下哪个方法(     )。​
选项:
A: viewDidAppear
B: viewWillDisappear
C: didReceiveMemoryWarning
D: viewDidDisappear
答案: 【 didReceiveMemoryWarning

5、单选题:
‍程序启动完毕之后,首先会调用以下哪个方法(    )。‌
选项:
A: applicationWillResignActive:
B: applicationDidEnterBackground:
C: applicationDidBecomeActive:
D: application: didFinishLaunchingWithOptions:
答案: 【 application: didFinishLaunchingWithOptions:

6、单选题:
‌下列选项中,用于唯一标识应用程序的是(    )。‎
选项:
A: Bundle ID
B: Bundle Seed ID
C: App ID
D: UDID
答案: 【 Bundle ID

7、单选题:
​下面选项中,哪个不是IBAction弹出对话框选择或填写字段(    )。‍
选项:
A: Connection
B: Name
C: Type
D: Storage
答案: 【 Storage

8、单选题:
‏下列选项中,用于设置文本对齐方式的属性是(    )。‏
选项:
A: text
B: textColor
C: textAlignment
D: font
答案: 【 textAlignment

9、单选题:
‍MVC模式中的M、V、C分别指(     )。‎
选项:
A: 模态、视图、控制器
B: 模型、视图、控制器
C: 模型、控制器、视图
D: 视图、模型、模型、控制器
答案: 【 模型、视图、控制器

10、单选题:
‌面向对象的特性不包括(    )。‍
选项:
A: 封装
B: 继承
C: 多态
D: 构造
答案: 【 构造

11、判断题:
‍苹果公司的创始人是乔布斯。 ​
选项:
A: 正确
B: 错误
答案: 【 正确

12、判断题:
​在申请加入iOS开发之前,开发者必须拥有一个苹果账号。‎
选项:
A: 正确
B: 错误
答案: 【 正确

13、判断题:
‏每个视图控制器都有一个根视图。​
选项:
A: 正确
B: 错误
答案: 【 正确

14、判断题:
‎AppDelegate是工程中的普通文件,可以将其删除。‏
选项:
A: 正确
B: 错误
答案: 【 错误

15、判断题:
‍按钮既能显示文字,又能显示图片。‍
选项:
A: 正确
B: 错误
答案: 【 正确

16、判断题:
‎标签控件用于显示文字,无法与用户交互。‍
选项:
A: 正确
B: 错误
答案: 【 正确

17、判断题:
‎图片控件使用UIImageView表示,继承自UIView类。‎
选项:
A: 正确
B: 错误
答案: 【 正确

18、判断题:
‌UITextField文本框中的键盘类型是固定的,不可以设置。‍
选项:
A: 正确
B: 错误
答案: 【 错误

19、判断题:
‏UITextField控件的Placeholder属性表示文本中的输入内容。‌
选项:
A: 正确
B: 错误
答案: 【 错误

20、判断题:
​tag属性用于唯一标识控件,可以作为控件的引用。‍
选项:
A: 正确
B: 错误
答案: 【 正确

模块三 UI高级开发

模块三测验

1、单选题:
‌如要指定表视图的行高,可通过哪个方法实现(      )。​
选项:
A: tableView: viewForHeaderInSection
B: tableView: viewForFooterInSection
C: tableView: heightForRowAtIndexPath
D: tableView: didSelectRowAtIndexPath
答案: 【 tableView: heightForRowAtIndexPath

2、单选题:
​表视图确认删除或插入操作,需要调用哪个方法实现(      )。‎
选项:
A: setEditing:animated
B: tableView:editingStyleForRowAtIndexPath:
C: tableView:commmitEditingStyle:forRowAtIndexPath:
D: tableView:canMoveRowAtIndexPath:
答案: 【 tableView:commmitEditingStyle:forRowAtIndexPath:

3、单选题:
‏下列方法中,用于为表视图添加索引的是(      )。‍
选项:
A: tableView:editingStyleForRowAtIndexPath:
B: sectionIndexTitlesForTableView
C: tableView:commmitEditingStyle:forRowAtIndexPath: 
D: tableView:moveRowAtIndexPath:toIndexPath:
答案: 【 sectionIndexTitlesForTableView

4、单选题:
​设定单元格编辑图标的风格,需要调用哪个方法实现(      )。​
选项:
A: setEditing:animated
B: tableView:editingStyleForRowAtIndexPath: 
C: tableView:commmitEditingStyle:forRowAtIndexPath: 
D:  tableView:canMoveRowAtIndexPath: 
答案: 【 tableView:editingStyleForRowAtIndexPath: 

5、单选题:
‍搜索栏文本内容发生变化时,会激发哪个方法(      )。‏
选项:
A: searchBarShouldEndEditing: 
B: searchBarShouldBeginEditing:
C: searchBar:shouldChangeTextInRange:replacementText:
D: searchBar:textDidChange:
答案: 【 searchBar:textDidChange:

6、单选题:
‏如果要移动单元格,需要调用哪个方法实现(      )。‌
选项:
A: setEditing:animated
B: tableView:editingStyleForRowAtIndexPath: 
C: tableView:commmitEditingStyle:forRowAtIndexPath:
D: tableView:moveRowAtIndexPath:toIndexPath:
答案: 【 tableView:moveRowAtIndexPath:toIndexPath:

7、单选题:
‎若要实现单击某个单元格执行指定操作,通过哪个方法实现(   )。‍
选项:
A: tableView: viewForHeaderInSection
B: tableView: viewForFooterInSection
C: tableView: heightForRowAtIndexPath
D: tableView: didSelectRowAtIndexPa

发表评论 (已有0条评论)

快来评论,快来抢沙发吧~