Mobile Application Development Midterm
During an agile project, planning occurs at which of the following levels
All of the Above
What is the output of running the following code? string name = "Mark" name[3] = 'c' print name
An error
To add a string literal block to an app, on which tab do you find the Textblock?
Built-in
What is the correct order to start the emulator in the Blocks Editor window?
Click 'New emulator', slide the green lock icon right to unlock, click 'Connect to Device', and select the emulator to start your app.
Used for developing 2D and 3D games for Windows Phone 7, what does XNA stand for?
XNA is not an acronym
Which phone has the highest screen resolution?
iPhone 4
Which of the following is NOT a life cycle method in the Activity component?
onInit()
What are the names of the two parts of a CSS declaration?
property and value
What data type should be used when keeping track of a name?
string
What is the correct order for the standard development process?
write, compile, run, debug
Which of the following is NOT a consideration for choosing a platform for your apps?
Do you have a device that works with this platform?
What does DOM stand for?
Document Object Model
This practice helps define written information for your deliverables throughout the life cycle in parallel to the creation of the rest of the solution.
Documentation
Which of the following is NOT represented as a block?
Errors
Which is NOT part of the application life cycle?
Exited
The Unified Process (UP) divides the project into iterations focused on delivering incremental value to stakeholders in a unpredictable manner.
False
Which of the following is NOT a property of Content Providers?
Format output
Which company developed the Android platform?
Which files types correspond to the View and Controller tiers of the MVC design pattern?
HTML and CSS provide the View tier, while JavaScript combined with the event attributes in HTML provides the Controller view.
Which of the following is a preferred tool for Android development?
IBM Eclipse
What is the proper placement of parameters in a function or method definition?
Inside the parentheses
Which of the following is a preferred tool for iOS development?
Interface Builder
What happens to the grayed-out, temporary text displayed in a text box when a user begins to enter information?
It disappears
Which of the following is NOT a language used to develop Web Applications?
Java
What is the difference between the CLR and the Dalvik virtual machines?
Location in the platform stack
What is the name for components that are not displayed to the user?
Non-visible
Which of the following is the platform language for iOS?
Objective-C
An app that is close to being completed is best tested using which of the following methods?
On physical devices
Which section of the App Inventor workspace lists components available for use in your app in expandable groups?
Palette
Which now dissolved company led the smartphone industry before the advent of the iPhone?
Palm
What is the result of the following code?num x = 0 num y = 10 while x < y print y * y x = x + 1 endwhile
Prints 100 ten times
The C programming language is considered what type of language?
Procedural
Which of the following is the best example of encapsulation?
A Rectangle object displaying its own data onscreen.
In Objective-C methods, arguments are separated with which punctuation mark?
colons (:)
What is the CSS property that controls text's color?
color
The open-source rendering engine developed from the Konqueror browser's KHTML engine was created by which company?
Apple
What term is used to identify when an object hands off some functionality to another object?
Delegate
Which term describes installing an app on a device or emulator?
Deploy
What is the extension used for JavaScript files?
.js
In the pseudocode statement num x = 1, which part is a literal?
1
If the second argument to a call of setTimeout is 1000, how long will the code wait to execute the instructions given by the first argument?
1 second
In the following code, how many Rectangle objects are instantiated?Rectangle rect1 = new Rectangle(); rect1.length = 4.0; rect1.width = 2.0; rect1 = new Rectangle(2.0, 1.0);
2
According to Netscape co-founder Mark Andreessen, approximately how many people will own mobile phones worldwide, in the next 10 years?
5 billion
What is the default port number for the emulator?
5554
What is the definition of a Web Application?
A collection of resources on a publicly accessible server that provides some sort of functionality
What happens when you select the Download to this Computer option from the Package for Phone menu?
An Android package, or .apk file, is downloaded to the user's computer.
What happens when you select the Show Barcode option from thePackage for Phone menu?
An image is created that shows a machine-readable URL pointing to the app.
This practice involves high-level architectural modeling to identify a viable technical strategy for your solution.
Architecture envisioning
In iOS, apps sit on top of which layer?
CocoaTouch
Which of the following is NOT created and loaded byUIApplicationMain() in the iOS app life cycle?
CocoaTouch
What symbol is used to separate the two parts of a CSS declaration?
Colon (:)
Which Android component does NOT have life cycle events?
Content Provider
The block in the associated figure is an example of which type of Built-In blocks?
Control
Testing occurs at the end of the agile life cycle.
False
The Agile methodology is a kind of sequential, stage-based approach, which became
False
How do you implement a separate stylesheet for mobile devices?
In the HTML declaration, add media="handheld" to indicate that a specific style sheet should be used for handheld or small devices.
An ______________ approach plans on learning from feedback on the deliveries and sets aside time to use this feedback to make improvements.
Iterative
Which of the following is the platform language for Android?
Java
The Blocks Editor is what type of application?
Java Web Start
Which of the following is NOT a derivative of C?
JavaScript
Which of the following is NOT a server-side technology?
JavaScript
Which of the following Agile models has its roots in manufacturing?
Lean Programming (JIT)
Which line in the following code does NOT include a syntax error? 0 #scoreLabel { 1 font-family: Arial,Helvetica,sans-serif; 2 color: #00099; 3 position; absolute; 4 top: 10px 5 left: 10px; 6 }
Line 1
Which line in the following code includes a syntax error? 0 function moveImage(top, left){ 1 document.getElementById('image').style.top = top; 2 document.getElementByID('image').style.left = left; 3 }
Line 2
How is a random number generated in JavaScript?
Math.random()
Assume that the value of TextBox1 will be set to the value of the variabletemp. Which of the following sets of code will NOT set Label1.Text to the cube of the Text value of TextBox1?
Option B
What is the correct way to retrieve the value from a component namedTextBox1?
TextBox1.Text
What property is used to set the text that will display in an app's top information bar?
Title
Which term is used when an application on Windows Phone 7 is deactivated because it no longer has the focus?
Tombstoned
In an app, the Model tier of the MVC design pattern may be just the text on the page.
True
To deal with the many business, organization, and technical complexities the development organization faces, the disciplined agile delivery process needs to adapt, or scale.
True
Given the inheritance tree in the accompanying figure, which is a list of all subclasses?
UnpoweredVehicle, PoweredVehicle, Bicycle, Skateboard, Motorcycle, Car
Testing the graphical user interface (GUI) during the early stages of development is best done using which of the following methods?
Using the emulator
The following HTML code is most likely in which tier of the Model-View-Controller design pattern?
View
What is the name of the environment manipulator add-on for Firefox, which can be used to simulate different user environments?
Web Developer
What is the name of the open-source rendering engine developed as a derivative of the Linux Konqueror browser's KHTML engine?
Webkit
Which phone is available in a 32 GB model?
iPhone 4
In an array of length n, what is the index of the last element?
n - 1
Broadcast Receivers are only valid within the scope of which method?
onReceive()
Which of the following is a correct definition for a Rectangle class in Java?
public class Rectangle { double length; double width; public double getArea() { return length * width; } public double getPerimeter() { return 2 * (length+width); } }