• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 13 páginas
Examen

Mobile App Development

Document preview thumbnail
Vista previa 2 fuera de 13 páginas

The package name: - answer-uniquely identifies the app on the device should be unique on the Google Play store Once you publish the app with this package name that name should never be changed. If you were to change the package name, existing users of your application will not see the app as an update Which of the following is the correct output for this code: var x= arrayOf(10, 20, 30) println(x[1]) - answer-20 The IDE for iOS Development is called - answer-XCode Which of the following is the correct code to print out Hello, Android ATC and then have the cursor go to the next line. - answer-fun main(args: ArrayString){ println("Hello, Android ATC") } The language for iOS development is called: - answer-Swift In Kotlin, which is the correct way to define the variable X as an immutable variable called X and assign it the value of 1? - answer-val X=1 Which of the following will correctly create an application that will display "Hello World"? - answer-fun main(args: ArrayString){ printIn("Hello World") } In Kotlin "Float" value range is: - answer-single-precision 32 bit floating point In Kotlin Byte value range is: - answer-0 - 255 Which of the following are implicitly defined integer variables? - answer-var x=9 var y=9 The programming language we will be using for Android app development is called - answer-Kotlin In Kotlin, Double value range is: - answer-double-precision 64 bit floating point Which of the following statements will correctly allow the user to enter an integer - answer-var z = IOf(readLine()) var z=readLine()!!.toInt() The Android App package name should include: - answer-Two to three words separated by dots. in Kotlin "Int" value range is: - answer--2,147,483,648 to 2,147,483,647 The operating system for iOS development is - answer-MacOS In Kotlin, which of the following are true about characters: - answer-Data type is Char Always enclosed in single quotes Android Studio is built for Kotlin development; therefore, you can create a "New Kotlin Project" - answer-False Which of the following will compile clean (not produce an error). - answer-var price:Float = 5.2f In Kotlin, "Long" value range is: - answer-64 bit signed Kotlin code depends on what you write in the ______. This is the "starting point" of the application. It calls out to other functions / classes / libraries. - answer-main function To create an iOS app you have to go to the _______ template page to start your app - answer-iOS Any method / function / block of code written outside the main function will be considered a definition and will be called from the main function to do its work. - answer-True Which of the following will add the variables x and y together and then assign the results to z? - answer-z=(y) z=x+y The Kotlin plugin is bundled with Android Studio version ___ and later. - answer-3.0 The IDE used for developing Android Apps is called - answer-Android Studio In Kotlin "Short" value range is: - answer--32768 to 32767 What is the output of the following code? var x:Byte =10 var y:Byte=15 fun main(args: ArrayString){ var z=x+y println("z = $z") } - answer-z = 25 If I wanted to create a new class called Cat that will contain all properties and methods of the Animal class which was previously defined, I could write the following code: - answer-class Cat():Animal() In Kotlin, a function requires at least 1 item in the parameter list. - answer-False Match the following words with its appropriate definition 1) Class 2) Constructors 3) Object 4) Inheritance 5) Abstract Class 6) Interface 7) Generic Class 8) Enum 9) Instance Variables 10) Class Variables 11) Public Variables 12) Private Variables 13) Protected Variables - answer-Class - blueprint from which objects are created Constructors - Executed to create objects from the class definition Object - Single instance of a class Inheritance - Allows the developer to reuse properties and methods from an existing class Abstract Class - at least one members of a class is defined but has no implementation details Interface - No members of the class has an implementation Generic Class - A class that allows a function to handle data types specified when calling the class Enum - A data type that enables a variable to be a set of constants that the developer has defined Instance Variables - variables in which each instance of a class has it's own copy of the variable Class Variables - variables in which all instances of a class contains the same value Public Variables - variables that are accessible from all classes that access the selected class Private Variables - variables accessible only within their own class Protected Variables - a variable that is accessible only from the current class and any subclass of that class The ___________ statement is used to exit a method and then return the result of an operation to the function that called it. - answer-Return The When statement is similar in concept to the java switch statement. It can have a number of execution paths. - answer-True Study the following code: class Cats{ val numberOfCats = 0 } The numberOfCats is an immutable variable which can't be changed after it is set. - answer-True fu

Vista previa del contenido

MOBILE APP DEVELOPMENT QUESTIONS AND
ANSWERS
The package name: - answer-uniquely identifies the app on the device

should be unique on the Google Play store

Once you publish the app with this package name that name should never be changed.

If you were to change the package name, existing users of your application will not see the app as an
update

Which of the following is the correct output for this code:
var x= arrayOf(10, 20, 30)
println(x[1]) - answer-20

The IDE for iOS Development is called - answer-XCode

Which of the following is the correct code to print out Hello, Android ATC and then have the cursor go to
the next line. - answer-fun main(args: Array<String>){
println("Hello, Android ATC")
}

The language for iOS development is called: - answer-Swift

In Kotlin, which is the correct way to define the variable X as an immutable variable called X and assign it
the value of 1? - answer-val X=1

Which of the following will correctly create an application that will display "Hello World"? - answer-fun
main(args: Array<String>){
printIn("Hello World")
}

In Kotlin "Float" value range is: - answer-single-precision 32 bit floating point

In Kotlin Byte value range is: - answer-0 - 255

Which of the following are implicitly defined integer variables? - answer-var x=9

var y=9

The programming language we will be using for Android app development is called - answer-Kotlin

In Kotlin, Double value range is: - answer-double-precision 64 bit floating point

, Which of the following statements will correctly allow the user to enter an integer - answer-var z =
Integer.valueOf(readLine())

var z=readLine()!!.toInt()

The Android App package name should include: - answer-Two to three words separated by dots.

in Kotlin "Int" value range is: - answer--2,147,483,648 to 2,147,483,647

The operating system for iOS development is - answer-MacOS

In Kotlin, which of the following are true about characters: - answer-Data type is Char

Always enclosed in single quotes

Android Studio is built for Kotlin development; therefore, you can create a "New Kotlin Project" -
answer-False

Which of the following will compile clean (not produce an error). - answer-var price:Float = 5.2f

In Kotlin, "Long" value range is: - answer-64 bit signed

Kotlin code depends on what you write in the ______. This is the "starting point" of the application. It
calls out to other functions / classes / libraries. - answer-main function

To create an iOS app you have to go to the _______ template page to start your app - answer-iOS

Any method / function / block of code written outside the main function will be considered a definition
and will be called from the main function to do its work. - answer-True

Which of the following will add the variables x and y together and then assign the results to z? - answer-
z=x.plus(y)

z=x+y

The Kotlin plugin is bundled with Android Studio version ___ and later. - answer-3.0

The IDE used for developing Android Apps is called - answer-Android Studio

In Kotlin "Short" value range is: - answer--32768 to 32767

What is the output of the following code?
var x:Byte =10
var y:Byte=15
fun main(args: Array<String>){
var z=x+y
println("z = $z")
} - answer-z = 25

Información del documento

Subido en
30 de septiembre de 2024
Número de páginas
13
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$11.49

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
TOPDOCTOR
5.0
(1)
Vendido
10
Seguidores
5
Artículos
3387
Última venta
1 año hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes