SER 423 Midterm Exam Questions With
Complete Solutions
(T/F) Android Devices (ARM-based) use a register based bytecode
| | | | | | | | |
instead of a stack based bytecode - CORRECT ANSWER✔✔-TRUE
| | | | | | | |
(T/F) With ART, the dex2oat tool is used to convert the bytecode to
| | | | | | | | | | | | |
object code at the time the mobile app is installed on the device -
| | | | | | | | | | | | | |
CORRECT ANSWER✔✔-TRUE |
(T/F) Dalvik runtime uses Java Virtual Machine compatible .class files
| | | | | | | | | |
without conversion - CORRECT ANSWER✔✔-FALSE
| | | |
(T/F) Android studio uses a Java Compiler that produces .class files the
| | | | | | | | | | | |
same as is done for desktop apps - CORRECT ANSWER✔✔-TRUE
| | | | | | | | |
(T/F) Android studio converts .dex files into .class files while building the
| | | | | | | | | | |
app bundle (apk file) - CORRECT ANSWER✔✔-FALSE - Does the
| | | | | | | | | | |
opposite, converts .class to .dex
| | | |
(T/F) DEX (.dex) byte-code format is register based, while .class file
| | | | | | | | | | |
bytecode is stack-based - CORRECT ANSWER✔✔-TRUE
| | | | |
, (T/F) Android versions prior to version 4.4 use the Dalvik JVM, which
| | | | | | | | | | | |
includes a JIT (just in time). - CORRECT ANSWER✔✔-TRUE
| | | | | | | |
(T/F) JIT compiles some parts of the apps byte code into machine code
| | | | | | | | | | | | |
at runtime, based on profiling - CORRECT ANSWER✔✔-TRUE
| | | | | | |
(T/F) Xcode uses a cross-compiler to produce code that is directly
| | | | | | | | | | |
executable on the device - CORRECT ANSWER✔✔-TRUE
| | | | | |
(T/F) iOS iPhone devices use ARM-Based architechture - CORRECT
| | | | | | | | |
ANSWER✔✔-TRUE
(T/F) Android supports MIPS and Intel ATOM - CORRECT ANSWER✔✔-
| | | | | | | | |
TRUE
(T/F) Most Android devices also use ARM-based architechture -
| | | | | | | | |
CORRECT ANSWER✔✔-TRUE
|
(T/F) Swift compiles to a byte code similar to that of Java bytecode -
| | | | | | | | | | | | | |
CORRECT ANSWER✔✔-FALSE
|
Complete Solutions
(T/F) Android Devices (ARM-based) use a register based bytecode
| | | | | | | | |
instead of a stack based bytecode - CORRECT ANSWER✔✔-TRUE
| | | | | | | |
(T/F) With ART, the dex2oat tool is used to convert the bytecode to
| | | | | | | | | | | | |
object code at the time the mobile app is installed on the device -
| | | | | | | | | | | | | |
CORRECT ANSWER✔✔-TRUE |
(T/F) Dalvik runtime uses Java Virtual Machine compatible .class files
| | | | | | | | | |
without conversion - CORRECT ANSWER✔✔-FALSE
| | | |
(T/F) Android studio uses a Java Compiler that produces .class files the
| | | | | | | | | | | |
same as is done for desktop apps - CORRECT ANSWER✔✔-TRUE
| | | | | | | | |
(T/F) Android studio converts .dex files into .class files while building the
| | | | | | | | | | |
app bundle (apk file) - CORRECT ANSWER✔✔-FALSE - Does the
| | | | | | | | | | |
opposite, converts .class to .dex
| | | |
(T/F) DEX (.dex) byte-code format is register based, while .class file
| | | | | | | | | | |
bytecode is stack-based - CORRECT ANSWER✔✔-TRUE
| | | | |
, (T/F) Android versions prior to version 4.4 use the Dalvik JVM, which
| | | | | | | | | | | |
includes a JIT (just in time). - CORRECT ANSWER✔✔-TRUE
| | | | | | | |
(T/F) JIT compiles some parts of the apps byte code into machine code
| | | | | | | | | | | | |
at runtime, based on profiling - CORRECT ANSWER✔✔-TRUE
| | | | | | |
(T/F) Xcode uses a cross-compiler to produce code that is directly
| | | | | | | | | | |
executable on the device - CORRECT ANSWER✔✔-TRUE
| | | | | |
(T/F) iOS iPhone devices use ARM-Based architechture - CORRECT
| | | | | | | | |
ANSWER✔✔-TRUE
(T/F) Android supports MIPS and Intel ATOM - CORRECT ANSWER✔✔-
| | | | | | | | |
TRUE
(T/F) Most Android devices also use ARM-based architechture -
| | | | | | | | |
CORRECT ANSWER✔✔-TRUE
|
(T/F) Swift compiles to a byte code similar to that of Java bytecode -
| | | | | | | | | | | | | |
CORRECT ANSWER✔✔-FALSE
|