Skip to main content

Multiple Choice Questions - Angular 4 Animations

Multiple Choice Questions - Angular 4 Animations


Angular's animation system lets you build animations that run with the same kind of native performance found in pure CSS animations. You can also tightly integrate your animation logic with the rest of your application code, for ease of control.
Angular animations are built on top of the standard Web Animations API and run natively on browsers that support it. [Via]

Answer the below quiz questions on Angular Animations and check your knowledge on the topic.

1. To make your applications ready for animations, you must include the AngularJS Animate library and then you must refer to the . . . . . module in your application.

A) ng-repeat
B) ngAnimation
C) ngAnimate
D) None of above

2. Using the . . . . . . animation function, the parent animation can allow the child animation to run at the exact correct time.

A) animateChild
B) childAnimate
C) animateInner
D) innerChild

3. Options as well as input params can also be passed into an animation binding value when the animation kicks off.

A) True
B) False

4. Animations are fired using animation property bindings which are prefixed with an . . . . symbol.

A) &
B) #
C) $
D) @

5. . . . . . . allows for child elements to be collected and animated against a bunch of animation steps. We can now grab inner elements and make a really cool multi-element animation sequence.

A) child()
B) query()
C) stagger()
D) animate()

6. [Choose all which are correct]
The major addition to the animation DSL in Angular 4.2 is the ability to configure/override options for each of the step-based animation methods. These methods are:

A) sequence([...], { /* options */ })
B) groups([...], { /* options */ })
C) trigger([...], { /* options */ })
D) transition([...], { /* options */ })

7. . . . . . . is an animation-specific function that is designed to be used inside of Angular's animation DSL language. It is used to kick off a reusable animation that is created using animation().

A) useAnimation
B) reuseAnimation
C) in-useAnimation
D) All of above

8. With ngAnimate module you can add CSS but not JavaScript-based animations to your projects.

A) True
B) False

9. It's always possible to make use of animation input parameters by setting even more data via the . . . . . property.

A) options.param
B) option.params
C) option.param
D) options.params

10. . . . . . reverts all the used styles in the animation back to their end state value.

A) styles("*")
B) style("+")
C) style("*")
D) style("#")

Answers

Also see: A good source of information on Angular Animation Features.

Comments

Popular posts from this blog

Conjunction Worksheet

Practice English Grammar Conjunctions with the below Conjunction worksheet. Apart from this Conjunction worksheet, you can also go through other Conjunction exercises: Conjunction exercise 1 , Conjunction exercise 2 . Co-ordinating Conjunctions A conjunction placed between words, phrases, clauses, or sentences of equal rank, e.g. and, but, or. [ Via ] Correlative Conjunctions They get their name from the fact that they work together (co-) and relate one sentence element to another. Correlative conjunctions include pairs like "both/and," "whether/or," "either/or," "neither/nor," "not/but" and "not only/but also". [ Via ] For example He'd rather run to school than walking. Identify Co-ordinating Conjunctions: 1. Many women and children came to see the movie. 2. I wrote to him, but she did not respond. 3. Her condition became worse, so she was taken to nearby hospital. 4. We should hire a cab, otherwise we will n...

50 Top DHCP Multiple Choice Questions and Answers

Below are the list of top 50 DHCP multiple choice questions and answers for freshers beginners and experienced DHCP Multiple Choice Questions and Answers 1. What is the purpose of the DHCP server? A � to provide storage for email B � to translate URLs to IP addresses C � to translate IPv4 addresses to MAC addresses D � to provide an IP configuration information to hosts Answer: D 2. How is the message sent from a PC2 when is first powers on and attempts to contact the DHCP Server? A � Layer 3 unicast B � Layer 3 broadcast C � Layer 3 multicast D � Without any Layer 3 encapsulation Answer: B 3. What is the default behavior of R1 when PC1 requests service from DHCP server? A � Drop the request B � Broadcast the request to R2 and R3 C � Forward the request to R2 D � Broadcast the request to R2, R3 and ISP Answer: A 4. Refer to the exhibit. Which rule does the DHCP server use when there is an IP address conflict? A. The address is removed from the pool until the conflict is resolved. B. Th...

PHP Constructors Multiple Choice Questions

PHP Constructors Multiple Choice Questions 1) PHP recognises constructors by the name . . . . . A) _construct B) __construct C) __constructor D) _constructor 2) In . . . . . constructors, it is important to remember that you have to call the parent constructor explicitly. A) Singleton B) secure C) public D) subclass 3) Constructor and destructor methods have no . . . . . . and are called automatically - they cannot be called explicitly and consequently their declarations need no access specifier. A) parameters B) destructor C) return value D) aproval 4) Unlike constructors, you cannot pass information to a destructor, because you are never sure when its going to be run. A) True B) False 5) You can invoke class constructors that don’t have any relation to the instantiated object by simply prefacing _constructor with the class name like A) classname::__construct() B) classname:__construct() C) classname=>__construct() D) classname->__construct() 6) . . . . . . is...