XJavascript.com
Toggle Menu
Home
Online Javascript Compiler
Tutorials
JavaScript Tutorials
TypeScript Tutorials
Blog
All Posts
Frontend Frameworks (React / Vue / Angular)
Evaluate your knowledge of key frontend frameworks built on JavaScript and TypeScript.
1. Which framework uses a virtual DOM for efficient rendering?
React
Vue
Angular
2. Which framework is developed and maintained by Google?
React
Vue
Angular
3. In React, which hook is used to manage state in functional components?
useState
useEffect
useContext
4. Vue.js uses which template syntax by default?
HTML-based
JSX
TypeScript
5. Angular is primarily written in which programming language?
JavaScript
TypeScript
CoffeeScript
6. Which React feature allows reusing component logic without extra DOM elements?
Higher-Order Components (HOCs)
Hooks
Fragments
7. Vue 3's Composition API is based on which core concept?
Options API
Composition Functions
Mixins
8. Angular components are defined using which decorator?
@Component
@Directive
@Injectable
9. Which command starts a Vue.js development server using Vue CLI?
npm start
vue serve
ng serve
10. React's 'create-react-app' tool is used for what purpose?
State management
Routing
Project scaffolding
11. Which of these are considered frontend JavaScript frameworks? (Select all that apply)
React
Django
Vue.js
Angular
Flask
12. Which of these are state management libraries for Vue.js? (Select all that apply)
Redux
Vuex
Pinia
MobX
13. Which React hooks are used for side effects? (Select all that apply)
useEffect
useState
useLayoutEffect
useRef
14. Which Angular modules are essential for routing? (Select all that apply)
RouterModule
FormsModule
Routes
HttpClientModule
15. React is classified as a UI library, not a full-featured framework.
True
False
16. Vue.js was created by Evan You while working at Google.
True
False
17. Angular 2+ is backward compatible with AngularJS (version 1.x).
True
False
18. What does 'JSX' stand for in React?
19. Name the official routing library for Vue.js.
20. What is the default port number for Angular's development server when using 'ng serve'?
Reset
Answered 0 of 0 — 0 correct