Deck 10: Move Creating Animation and Graphics
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/50
العب
ملء الشاشة (f)
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
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"
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"
A) android:duration=0
B) android:oneshot="true"
C) android:duration=-1
D) android:oneshot="false"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
A) Class
B) AnimationDrawable
C) Motion tween
D) Android:oneshot
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
6
In the Relative layout, an ImageView control displays the animation images.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
A) opening logic list tag
B) opening animation-list tag
C) opening linked list tag
D) opening drawable tag
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
A) they are scaled smaller
B) they are clipped
C) they are discarded
D) they are hidden
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
9
A motion tween specifies the end state of an object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
10
An animation-list root element references images stored in the layout folder.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
A) frame animation
B) animated GIF
C) vector animation
D) motion tween
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
12
Frame animation assigns a sequence of photos to play as in a slide show with a predefined interval between images.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
13
The Android high API versions have more features but fewer users than low API versions.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
A) Tween animation
B) Projected animations
C) Frame animation
D) Animated gifs
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
16
Android provides three types of animation: Frame, Wave, and Tween.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
A) orientation
B) multitasking
C) animation
D) pixelation
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
18
If you are building an app based on a brand new feature, then you must target the latest platform.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
A) Tween animation
B) frame animation
C) vector animation
D) sequence animation
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
21
Which method begins the movement in a Frame animation?
A) move()
B) start()
C) animate()
D) begin()
A) move()
B) start()
C) animate()
D) begin()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
A) viewAnimation
B) getAnimation
C) newAnimation
D) startAnimation
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
A) instances
B) images
C) drawables
D) objects
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
A) getBackgroundResource
B) setBackgroundImage
C) getBackgroundReference
D) setBackgroundResource
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
25
What do button controls use to await user interaction?
A) getButton
B) setOnClickListener
C) btnStart
D) btTween
A) getButton
B) setOnClickListener
C) btnStart
D) btTween
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
A) main
B) first
C) last
D) root
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
A) tween effect
B) animation
C) animation-list
D) emulator
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
A) Drawable
B) Color
C) Animator
D) XML
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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));
A) (this, R.anim.rotation));
B) .rotation( this.R.anim ));
C) ( R.anim.rotation , this));
D) .R.anim( rotation, this));
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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 .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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));
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));
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
33
_____________ animation assigns a sequence of photos to play as in a slide show with a predefined interval between images.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
34
A sequence of animation instructions defines the Tween animation using either ____________________ or Android code .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
A) AnimatedGraphic constructor
B) AnimationList class
C) AnimationDrawable class
D) startAnimation constructor
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
A) 9-patch image
B) animation-list
C) ImageView
D) AnimationDrawable
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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);
A) findViewById(R.id.imgTween);
B) findViewById(id.imgTween);
C) findViewById(imgTween);
D) findViewById(R.imgTween.id);
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
A) Background
B) Theme
C) layoutMode
D) transitionName
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
A) 3DGraphics
B) AnimationGraphics
C) GraphicsLibrary
D) OpenGL
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
41
The animation-list code includes the _______________ property, which is set to true by default.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
42
The AnimationDrawable object can be accessed using the ____________________ method.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
43
____________________ and Tween animation are two types of animation provided by Android.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
44
Buttons use a(n) _____________________ method to await user interaction.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
46
The ____________________ property of a Tween rotation animation defines how many times the image should rotate.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
47
Each item in the animation-list specifies how many milliseconds to display each image using the ____________________ property.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
48
The start( ) method launches the animation xml file displaying the ____________________ items.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
49
Frame-by-frame animations are also known as ________________ animations.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
50
Common ____________________ animations include rotating timers, e-mail symbols, Activity icons, page-loading animations, cartoons, and other useful user interface elements .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck