Lesson 7 Quiz - CIST2381-Mobile Application Development

¡Supera tus tareas y exámenes ahora con Quizwiz!

The Xcode IDE runs on which computer architectures? A) Intel-based Macs with OS X 10.6.7 or later B) Intel-based PCs with Microsoft Windows 7 C) Both A and B D) Neither A nor B

A) Intel-based Macs with OS X 10.6.7 or later

Which line in the following code contains a syntax error? 0 func processHit(sender:) { 1 score += 1 2 let scoreString:String = "Score: \(score)" 3 scoreLabel.text = scoreString; 4 } A) Line 0 B) Line 1 C) Line 2 D) Line 3

A) Line 0

Like Java, Swift classes can implement multiple interfaces/delegates. A) True B) False

A) True

One benefit of external parameter names is that it includes the names of arguments in the parameter list during the call to make a function call clearer to read. A) True B) False

A) True

Xcode is the only IDE available to create apps for iOS. A) True B) False

A) True

In Swift, you can add IBAction to a function/method when its related to A) A method of another class B) A GUI object C) An object that performs actions D) An Activity

B) A GUI object

Which of the following design patterns are commonly seen in an iOS app? A) Delegate B) MVC C) Both A and B D) Neither A nor B

C) Both A and B

How do you access help files in Xcode? A) Click on File and then click on Help. B) Type the topic in the search bar at the top right of the application. C) Click the Organizer Button at the upper right and then click Documentation in the Organizer. D) Click the Help menu and then click the Search option.

C) Click the Organizer Button at the upper right and then click Documentation in the Organizer.

Which of the following is NOT a part of the common development cycle for iOS apps? A) Creation of a subclass of the UIViewController class B) Retrieving a View object from the UIViewController C) Instantiating an object of the created UIViewController subclass D) Displaying the retrieved View in a window

C) Instantiating an object of the created UIViewController subclass

Which line in the following code feature includes a syntax error? 0 func sayHello(sender: AnyObject) { 1 data = textField.text 2 let greeting:String = "Hello, " & data 3 label.text = greeting 4 } A) Line 0 B) Line 1 C) Line 2 D) Line 3

C) Line 2

Which of the following is NOT included in the accompanying figure? A) a UITextField B) a UILabel C) a NSString D) a UIButton

C) a NSString

A(n) ____ is a collection of assets, including header files, images, sounds and libraries for performing a certain task. A) asset library B) collection C) framework D) module

C) framework

Which of the following is NOT used to create the display shown in the accompanying figure? A) A UIButton B) A UILabel C) An int D) An NSTimer

D) An NSTimer

Which of the following frameworks/libraries should you add to an application that retrieves and displays your GPS coordinates? A) CoreData.framework B) CoreMotion.framework C) CFNetwork.framework D) CoreLocation.framework

D) CoreLocation.framework

Which of the following is the correct extension for an Storyboard file? A) IB B) IFB C) IF D) XIB

D) XIB


Conjuntos de estudio relacionados

NU 302 Management of Care Question Set 1

View Set

AD Banker Life & Health Chapter 5

View Set

Chapter 13.3 Study Guide Questions

View Set