How well do you know your Angular trivia?
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!
1. When was Angular created?
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?
4. Does Angular allow for dynamic single page apps creation?
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.
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.
7. Can you use lambdas in Angular, or is that just a Java thing?
c) Lambdas? It’s all Greek to me.
8. Does Angular preserver whitespace?
9. Angular apps are modular. What are they called?
c) CommonJS module
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.
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!