days
-4
0
hours
0
-7
minutes
0
-1
seconds
-5
-3
search
Trivial pursuit

How well do you know your Angular trivia?

Jane Elizabeth
Eclipse IDE Jenkins Akka npm MapR GitLab Sauce Labs JavaFX MicroProfile Apache Cassandra NetBeans Theia jOOQ Docker ArangoDB Hyperledger Couchbase Apache Spark JUnit
© Shutterstock / Frazao

We’re celebrating the release of Angular 5 with a return to our programming pub quiz series! Today, we’re testing your knowledge about Angular. Do you know everything there is to know about this framework?

We’re super excited about the all-new Angular 5. If you want to see what is in the latest version of this amazing framework, head here for our review. But to celebrate, we’re going back to our old series: the programming pub quiz! Today, we’re going over your knowledge of Angular trivia!

Let’s get down to business!

Questions

1. When was Angular created?
a) 2007
b) 2009
c) 2011
d) 2012

2. What’s with Angular’s idiosyncratic numbering system?
a) Angular prefers to be known by a mononym, much like Cher or Madonna.
b) Angular is afraid of the number 3 due to a traumatic experience at a Blue Man Group Concert.
c) To confuse you. Just you. Everyone else understands why this has happened.
d) Several Angular components had evolved faster than others, so the whole set was unified and jumped straight from 2 to 4 to even things out.

3. Is there a difference between the original Angular.js and the modern Angular, other than a few version numbers?
a) Yes
b) No

4. Does Angular allow for dynamic single page apps creation?
a) Yes
b) No

SEE MORE: Angular: One framework

5. Why is Angular mostly written in Typescript?
a) TypeScript has great tooling, like advanced autocompletion, navigation, and refactoring, all of which are great for large projects.
b) TypeScript is a superset of JavaScript.
c) TypeScript makes abstractions explicit.
d) All of the above.

6. As of 5.0.0, production builds created with the CLI will not apply the build optimizer by default.
a) True
b) False

7. Can you use lambdas in Angular, or is that just a Java thing?
a) Yes
b) No
c) Lambdas? It’s all Greek to me.

8. Does Angular preserver whitespace?
a) True
b) False

9. Angular apps are modular. What are they called?
a) docker_container
b) module
c) CommonJS module
d) NgModules

SEE MORE: Angular, Ember and Vue: Is choosing a framework simply a matter of taste?

It’s Angular time

1. Trick question! Angular was initially started at Google in b) 2009. However, it wasn’t released until d) 2012. I’ll give half-points if you only picked one of the two correct answers.

2. d) Differing rates of evolution. We talked about this when Angular 4 first came out; apparently, version numbers of all Angular components were to be unified, with the Angular Router having already been developed up to version 3 and consequently had to be upgraded to v4 now. Version 4 was therefore chosen for the entire Angular Framework in the way of unification.

3. a) Yes. Angular was a ground-up rewrite and has many differences from the original Angular.js, including different expression syntax, more modularity, and a love of TypeScript.

4. a) Yes. Angular does allow for dynamic single page app creation. In fact, it’s kind of their thing.

5. d) All of the above. Victor Savkin explains more as to why TypeScript is in a sweet spot that makes it a great choice for most projects.

6. b) False! The build optimizer is a tool included in our CLI for making your bundles smaller using our semantic understanding of your Angular application. It will be applied by default.

7. a) Yes, you can use lambdas in Angular. Find out more here!

8. a) True. Historically tabs, newlines, and spaces in your templates have been faithfully recreated and included in your build by the compiler. Now, you can choose whether or not to preserve this whitespace with 5.0.0.

9. d) NgModules. NgModules are a big deal. The other modules names are from Docker, Python, and JavaScript, respectively.

SEE MORE: Angular vs. React – Who’s one step ahead?

Scores

So, how well did you do in our Angular trivia test? See where you stack up:

0 – 3 correct: You’re just a Angular beginner. Time to hit the books and do a bit more studying.

4 – 5 correct: You’re pretty solid in your Angular history, but you should pay closer attention to some things!

6 – 8 correct: Nice! You really know your stuff!

9 correct: You are an Angular master.

Programming Pub Quiz

Have you tried our other pub quizzes? Test your knowledge of other programming languages!

Author
Jane Elizabeth
Jane Elizabeth is an assistant editor for JAXenter.com.

Leave a Reply

Be the First to Comment!

avatar
400
  Subscribe  
Notify of