Midterm Flashcards
Carrying camera, phone, music player
Not an example of device convergence
Libraries used for development
- tools for testing code
- documentation about the libraries
Software development kit includes the following
True
Integrated development environment usually makes it easier to work with SDK
Functions
You can pass parameters to which of the following
x = 10 y =15
15 is printed onscreen
a < b evaluates to false
Then a>=b is true
3
array 1,2,3,4 what value element index 2
A for loop
1,2,3,4
Tom Duffy
myName = “Tom Duffy”;
Requires VM to run apps
Doesnt describe smartphone?
Write once, run anywhere
Java’s premise
Collection of resources
- allows nonnative programs to run
- runs on host OS
Which describes VM?
IBM and BellSouth
Introduced first smartphone
Android platform
Google released in 2008
Its open source
True of the android platform
Both a and b
Android software updates
Most users install updates
True of iOS software updates
Chapter 3
Your program compiles only if you follow best practices
False
Procedural programming languages, code runs linearly
True
Object oriented programs follow the loose coupling principle to facilitate accessing data stored in objects
False
Not an object oriented language
C
Classes can be thought of as templates for which of the following
Creating objects
Data members whose scope is the entire class are called which of following
Instance variables
Which of the following is the process of creating an object from class
Instantiation
Constructor methods do which of following
Supply data at creation time
- Initialize objects
By bundling data and behaviors into discrete units, encapsulation ensures..
Protection from access by outside programs
Statements about superclasses
They provide methods and data to subclasses
- theyre more abstract than subclasses
Statements about subclasses is true
Provide more info than superclasses
Programming languages supports multiple inheritance
C++
Polymorphism is…
an object’s capability to be treated as a different type
Model View Controller design pattern is used to do which of following
Separate application data from its visual representation