Deck 10: Move Creating Animation and Graphics

Full screen (f)
exit full mode
Question
Which property in an animation-list specifies how many milliseconds to display each image?

A) length
B) time
C) duration
D) display
Use Space or
up arrow
down arrow
to flip the card.
Question
Which statement should be placed in an animation-list to make an animation play once and then stop?

A) android:duration=1
B) android:oneshot="true"
C) android:duration="1"
D) android:oneshot="false"
Question
Tween animation uses a sequence of images similar to Frame animation.
Question
Which statement should be placed in an animation-list to make an animation play continuously until the user intervenes?

A) android:duration=0
B) android:oneshot="true"
C) android:duration=-1
D) android:oneshot="false"
Question
Which of the following is an attribute of the animation-list that determines whether an animation plays once and then stops or continues to play until the user intervenes?

A) Class
B) AnimationDrawable
C) Motion tween
D) Android:oneshot
Question
In the Relative layout, an ImageView control displays the animation images.
Question
The oneshot attribute is added to the code in which tag?

A) opening logic list tag
B) opening animation-list tag
C) opening linked list tag
D) opening drawable tag
Question
What happens to images that extend beyond the original boundaries of the View object?

A) they are scaled smaller
B) they are clipped
C) they are discarded
D) they are hidden
Question
A motion tween specifies the end state of an object.
Question
An animation-list root element references images stored in the layout folder.
Question
Which of the following specifies a start state of an object, and then animates the object using a uniform transition type?

A) frame animation
B) animated GIF
C) vector animation
D) motion tween
Question
Frame animation assigns a sequence of photos to play as in a slide show with a predefined interval between images.
Question
The Android high API versions have more features but fewer users than low API versions.
Question
What creates an animation by performing a series of transformations on a single image?

A) Tween animation
B) Projected animations
C) Frame animation
D) Animated gifs
Question
Animation of an object by a motion tween uses a uniform transition type such as rotating an infinite number of times.
Question
Android provides three types of animation: Frame, Wave, and Tween.
Question
What feature of a computer displays many images in rapid succession or displays many changes to one image to create the illusion of movement?

A) orientation
B) multitasking
C) animation
D) pixelation
Question
If you are building an app based on a brand new feature, then you must target the latest platform.
Question
Which of the following assigns a sequence of photos to play as in a slide show with a predefined interval between images?

A) Tween animation
B) frame animation
C) vector animation
D) sequence animation
Question
An instance of AnimationDrawable is instantiated as a class variable because it is used in multiple methods within the MainActivity class.
Question
Which method begins the movement in a Frame animation?

A) move()
B) start()
C) animate()
D) begin()
Question
Applying the Tween rotation animation, which of the following methods begins animating a View object by calling the AnimationUtils class utilities to access the resources necessary to load the animation?

A) viewAnimation
B) getAnimation
C) newAnimation
D) startAnimation
Question
In Android development, what are frame-based animations and image transitions defined as?

A) instances
B) images
C) drawables
D) objects
Question
By what method are drawable images in an animation-list connected to an instance of an ImageView object ?

A) getBackgroundResource
B) setBackgroundImage
C) getBackgroundReference
D) setBackgroundResource
Question
What do button controls use to await user interaction?

A) getButton
B) setOnClickListener
C) btnStart
D) btTween
Question
When the XML file is added to the Android project, the Android resource type is selected and animation-list is specified as which element of the XML code?

A) main
B) first
C) last
D) root
Question
Which of the following terms best describes a transition that changes objects from one state to another?

A) tween effect
B) animation
C) animation-list
D) emulator
Question
When creating an XML file for an animation-list, what resource type should you select?

A) Drawable
B) Color
C) Animator
D) XML
Question
Which statement correctly completes the following code to begin a Tween rotation animation? imgRotate.startAnimation(AnimationUtils.loadAnimation ...

A) (this, R.anim.rotation));
B) .rotation( this.R.anim ));
C) ( R.anim.rotation , this));
D) .R.anim( rotation, this));
Question
A series of __________________ on a single image in Tween animations can include changes in position, size, rotation, and transparency on the contents of a View object .
Question
Which statement launches an intent to start an activity named Tween?

A) startIntent (new Intent (MainActivity.this, Tween.class));
B) startActivity (new Intent (MainActivity.this, Tween.class));
C) startActivity (new Activity (MainActivity.this, Tween.class));
D) startIntent (new Activity (MainActivity.this, Tween.class));
Question
A(n) ____________________ specifies a start state of an object, and then animates the object using a uniform transition type such as rotating a predetermined number of times or an infinite number of times.
Question
_____________ animation assigns a sequence of photos to play as in a slide show with a predefined interval between images.
Question
A sequence of animation instructions defines the Tween animation using either ____________________ or Android code .
Question
Which of the following provides the methods for drawable animations to create a sequence of frame-by-frame images?

A) AnimatedGraphic constructor
B) AnimationList class
C) AnimationDrawable class
D) startAnimation constructor
Question
What has predefined "stretching" areas that maintain the same look on different screen sizes?

A) 9-patch image
B) animation-list
C) ImageView
D) AnimationDrawable
Question
Which statement completes the following code to instantiate the ImageView control named imgTween? ImageView imgRotate = (ImageView) ...

A) findViewById(R.id.imgTween);
B) findViewById(id.imgTween);
C) findViewById(imgTween);
D) findViewById(R.imgTween.id);
Question
What property of an image can be set to any full Drawable resource such as a . P n g file, a 9-patch image file, or a solid color designated with hexadecimal code such as #FF0000?

A) Background
B) Theme
C) layoutMode
D) transitionName
Question
To create the illusion of _______________, a cartoon image can be displayed on the screen and repeatedly replaced by a new image that is similar, but slightly advanced in the time sequence.
Question
Which of the following terms best describes a cross-platform graphics API that specifies a standard software interface for 3D graphics processing hardware and uses a coordinate system to map the image to the screen?

A) 3DGraphics
B) AnimationGraphics
C) GraphicsLibrary
D) OpenGL
Question
The animation-list code includes the _______________ property, which is set to true by default.
Question
The AnimationDrawable object can be accessed using the ____________________ method.
Question
____________________ and Tween animation are two types of animation provided by Android.
Question
Buttons use a(n) _____________________ method to await user interaction.
Question
After associating AnimationDrawable with the animation images and coding the buttons, you can use the ____________________ ( ) and ____________________ ( ) methods of the drawable objects to control the Frame animation.
Question
The ____________________ property of a Tween rotation animation defines how many times the image should rotate.
Question
Each item in the animation-list specifies how many milliseconds to display each image using the ____________________ property.
Question
The start( ) method launches the animation xml file displaying the ____________________ items.
Question
Frame-by-frame animations are also known as ________________ animations.
Question
Common ____________________ animations include rotating timers, e-mail symbols, Activity icons, page-loading animations, cartoons, and other useful user interface elements .
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/50
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 10: Move Creating Animation and Graphics
1
Which property in an animation-list specifies how many milliseconds to display each image?

A) length
B) time
C) duration
D) display
C
2
Which statement should be placed in an animation-list to make an animation play once and then stop?

A) android:duration=1
B) android:oneshot="true"
C) android:duration="1"
D) android:oneshot="false"
B
3
Tween animation uses a sequence of images similar to Frame animation.
False
4
Which statement should be placed in an animation-list to make an animation play continuously until the user intervenes?

A) android:duration=0
B) android:oneshot="true"
C) android:duration=-1
D) android:oneshot="false"
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
5
Which of the following is an attribute of the animation-list that determines whether an animation plays once and then stops or continues to play until the user intervenes?

A) Class
B) AnimationDrawable
C) Motion tween
D) Android:oneshot
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
6
In the Relative layout, an ImageView control displays the animation images.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
7
The oneshot attribute is added to the code in which tag?

A) opening logic list tag
B) opening animation-list tag
C) opening linked list tag
D) opening drawable tag
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
8
What happens to images that extend beyond the original boundaries of the View object?

A) they are scaled smaller
B) they are clipped
C) they are discarded
D) they are hidden
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
9
A motion tween specifies the end state of an object.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
10
An animation-list root element references images stored in the layout folder.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
11
Which of the following specifies a start state of an object, and then animates the object using a uniform transition type?

A) frame animation
B) animated GIF
C) vector animation
D) motion tween
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
12
Frame animation assigns a sequence of photos to play as in a slide show with a predefined interval between images.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
13
The Android high API versions have more features but fewer users than low API versions.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
14
What creates an animation by performing a series of transformations on a single image?

A) Tween animation
B) Projected animations
C) Frame animation
D) Animated gifs
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
15
Animation of an object by a motion tween uses a uniform transition type such as rotating an infinite number of times.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
16
Android provides three types of animation: Frame, Wave, and Tween.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
17
What feature of a computer displays many images in rapid succession or displays many changes to one image to create the illusion of movement?

A) orientation
B) multitasking
C) animation
D) pixelation
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
18
If you are building an app based on a brand new feature, then you must target the latest platform.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
19
Which of the following assigns a sequence of photos to play as in a slide show with a predefined interval between images?

A) Tween animation
B) frame animation
C) vector animation
D) sequence animation
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
20
An instance of AnimationDrawable is instantiated as a class variable because it is used in multiple methods within the MainActivity class.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
21
Which method begins the movement in a Frame animation?

A) move()
B) start()
C) animate()
D) begin()
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
22
Applying the Tween rotation animation, which of the following methods begins animating a View object by calling the AnimationUtils class utilities to access the resources necessary to load the animation?

A) viewAnimation
B) getAnimation
C) newAnimation
D) startAnimation
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
23
In Android development, what are frame-based animations and image transitions defined as?

A) instances
B) images
C) drawables
D) objects
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
24
By what method are drawable images in an animation-list connected to an instance of an ImageView object ?

A) getBackgroundResource
B) setBackgroundImage
C) getBackgroundReference
D) setBackgroundResource
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
25
What do button controls use to await user interaction?

A) getButton
B) setOnClickListener
C) btnStart
D) btTween
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
26
When the XML file is added to the Android project, the Android resource type is selected and animation-list is specified as which element of the XML code?

A) main
B) first
C) last
D) root
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
27
Which of the following terms best describes a transition that changes objects from one state to another?

A) tween effect
B) animation
C) animation-list
D) emulator
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
28
When creating an XML file for an animation-list, what resource type should you select?

A) Drawable
B) Color
C) Animator
D) XML
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
29
Which statement correctly completes the following code to begin a Tween rotation animation? imgRotate.startAnimation(AnimationUtils.loadAnimation ...

A) (this, R.anim.rotation));
B) .rotation( this.R.anim ));
C) ( R.anim.rotation , this));
D) .R.anim( rotation, this));
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
30
A series of __________________ on a single image in Tween animations can include changes in position, size, rotation, and transparency on the contents of a View object .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
31
Which statement launches an intent to start an activity named Tween?

A) startIntent (new Intent (MainActivity.this, Tween.class));
B) startActivity (new Intent (MainActivity.this, Tween.class));
C) startActivity (new Activity (MainActivity.this, Tween.class));
D) startIntent (new Activity (MainActivity.this, Tween.class));
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
32
A(n) ____________________ specifies a start state of an object, and then animates the object using a uniform transition type such as rotating a predetermined number of times or an infinite number of times.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
33
_____________ animation assigns a sequence of photos to play as in a slide show with a predefined interval between images.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
34
A sequence of animation instructions defines the Tween animation using either ____________________ or Android code .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
35
Which of the following provides the methods for drawable animations to create a sequence of frame-by-frame images?

A) AnimatedGraphic constructor
B) AnimationList class
C) AnimationDrawable class
D) startAnimation constructor
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
36
What has predefined "stretching" areas that maintain the same look on different screen sizes?

A) 9-patch image
B) animation-list
C) ImageView
D) AnimationDrawable
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
37
Which statement completes the following code to instantiate the ImageView control named imgTween? ImageView imgRotate = (ImageView) ...

A) findViewById(R.id.imgTween);
B) findViewById(id.imgTween);
C) findViewById(imgTween);
D) findViewById(R.imgTween.id);
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
38
What property of an image can be set to any full Drawable resource such as a . P n g file, a 9-patch image file, or a solid color designated with hexadecimal code such as #FF0000?

A) Background
B) Theme
C) layoutMode
D) transitionName
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
39
To create the illusion of _______________, a cartoon image can be displayed on the screen and repeatedly replaced by a new image that is similar, but slightly advanced in the time sequence.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
40
Which of the following terms best describes a cross-platform graphics API that specifies a standard software interface for 3D graphics processing hardware and uses a coordinate system to map the image to the screen?

A) 3DGraphics
B) AnimationGraphics
C) GraphicsLibrary
D) OpenGL
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
41
The animation-list code includes the _______________ property, which is set to true by default.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
42
The AnimationDrawable object can be accessed using the ____________________ method.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
43
____________________ and Tween animation are two types of animation provided by Android.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
44
Buttons use a(n) _____________________ method to await user interaction.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
45
After associating AnimationDrawable with the animation images and coding the buttons, you can use the ____________________ ( ) and ____________________ ( ) methods of the drawable objects to control the Frame animation.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
46
The ____________________ property of a Tween rotation animation defines how many times the image should rotate.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
47
Each item in the animation-list specifies how many milliseconds to display each image using the ____________________ property.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
48
The start( ) method launches the animation xml file displaying the ____________________ items.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
49
Frame-by-frame animations are also known as ________________ animations.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
50
Common ____________________ animations include rotating timers, e-mail symbols, Activity icons, page-loading animations, cartoons, and other useful user interface elements .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 50 flashcards in this deck.