1. Pentalog
TS quizzes
- how to write empty decorator
- oldest version of JS that TS can transpile to
- default target of tsconfig.json
- how to write TreeNode data type
- any type is for...
- outFile is for...
- type annotation is transpiled to JS as ...
- JS is compatible with TS
- array vs tuple
- supported types of TS
- access modifier of properties in class
- read-only type in class
- enum is for...
enum Direction {
}
14. what's value of Down
Angular quizzes
- role of interceptor
- syntax to lazy-load a module
- type of valuechanges in formcontrol
- selector used to style a component based on a condition outside of the view
- when impure pipe run
- Which syntax completes the following code so that it dis plays 'Hello Angular!', given that isTrue = false; ? <span>Hello <span …›world</span></span><ng-template #hi>Angular</ng-template>
- How can you have a separate instance of service "MyMockService" in every in stance of a component?
- How many times will console.log be called in the following example? import {of} from 'rxjs'; of([2,3,41).subscribe({next: n => console.log(n)})
- Which code sets the colspan attribute on the td element?
- At what lifecycle hook will ViewChild query be accessible? @ViewChild(foo', (static: false}) foo: ElementRef
- What is the syntax for a template reference variable?
- What is differential loading?
- What is the default value of 'ViewEncapsulation'?
- How can you specify an alternative class provider?
Interview questions with tech lead
- các rxjs operation hay dùng
- rxjs map vs. switchMap
- viewEncapsulation
- control value accessor
- tại sao data trong 1 service không bị mất khi chuyển trang
- directive
- làm thế nào để ng-content select đúng template
- nodejs nhiều version khác nhau thì quản lý như nào
- dùng gì để provide data cho một page trc khi chuyển đến
- dùng Promise ở browser thì có cần import thư viện gì k
1.1 QIMA
Interview questions with customer
- life cycle hook
- change detection
- Promise vs. Observable
- testing framework
- omit types
Pair programming
- create a simple app using mock data with interfaces
<failed>
1.2 3T Logistics
Interview questions with customer
- kể về project hiện tại, vai trò của bạn
- cách giao tiếp giữa 2 component
- trình bày về subject, observable
- bạn dùng primeNg, material chưa, version nào
- bạn đã dùng state management lib nào chưa
- dùng gì để manipulate dom
- bạn có câu hỏi gì cho chúng tôi
2. Produgie
Test
- pipe: date, currency, percent
- template attribute (div color)
- component input
1st interview (Tech member)
- Làm sao giải toả căng thẳng trong công việc
...
2st interview (CTO)
- Mô tả team đã làm trước đây: process, testing như thế nào?
- Code coverage có nên đạt 100%
- Nói thế nào với PO về TDD?
- So sánh multi-tenancy product (B2B) với end-user product (B2C) ở khía cạnh UI/UX
- Process để deploy hotfix lên production giả sử có 3 môi trường (dev, UAT, prod)
- Khái niệm micro-ui
- So sánh Angular với React? Chọn lựa cái nào?
3. FPT Da Nang
- Lifecycle hooks
- Promise vs. Observable
- Rxjs switchMap vs. mergeMap
- State management, dùng gì để qly state
- Performance profiling, thông số nào quan trọng
- Bạn đã làm ứng dụng real-time chưa?
- Thư viện để vẽ đồ thị (plotly)
4. Xebia
- Angular directive, ngIf vs ngShow
- Html5 vs html4
- JS hoisting
- JS prototype
- Describe your project architecture
- How a component get data from main app
<no response>
5. Nashtech
- mô tả task bạn khiến tự hào
- css architecture
- xử lý search input (debounceTime, switchMap)
- nếu gặp task khó thì xử lý như nào
- refresh token khi bị expire (interceptor)
- cắt html trang vnexpress hết bao lâu
- thiết kế app frontend như nào để dễ scale
- thiết kế lại 1 trang như cragslist để responsive mà k dùng frontend framework (e.g bootstrap)
- git - flow để fix 1 bug trên production
- Ngoài Angular thì bạn có biết React, Vue? chấm điểm mức thành thạo
6. Contemi
- component lớn nhất bạn đã làm
- angular change detection, so sánh onPush và Default
- làm sao angular phát hiện change của giá trị binding
- hàm async trong js, tại sao nói js là single thread nhưng xử lý được bất đồng bộ
- bạn đã làm chart, form chưa
- real-time app cơ chế như nào
- cơ chế của authentication (OAuth2, OIDC, SSO, 3-step handshake???)
- các issue hay gặp phải khi code angular
- bạn có dùng lazyload
- unit test dùng framework gì, code coverage bao nhiêu, có thấy hữu ích không
7. TDT Asia
- Tại sao JS single thread mà xử lý dc nhiều tác vụ cùng lúc
- nếu setTimeout = 4 rồi setTimeout = 3, thì cái nào chạy trước; với setTimeout = 0 thì sao?
- các form trong angular
- muốn gửi data theo format multi-path thì cần config như nào
- phân biệt Array map, filter, reduce
- làm sao query được item trong html theo 1 phần của id (e.g id="item-123")
- review code theo các tiêu chí nào
- phân biệt localstorage, sessionstorage, cookie
- pipe dùng để làm gì, có limit số pipe cho 1 variable k?
- làm sao để set global variable trong angular
- Phân biệt Array push và concat
- Các loại pipe, phân biệt pure và impure pipe
- Closure, ví dụ về trường hợp bạn đã dùng trong Angular
- Validator của ReactiveForm được viết như nào
- Các CSS position, dùng position absolute thì phải lưu ý gì?
- Grid của bootstrap 4 dùng kỹ thuật gì, nếu không dùng flex thì làm sao để tạo layout
- Responsive theo từng màn hình device như thế nào
- mobile first responsive
- phân biệt switchMap và exhaustMap, nếu có error thì có chạy tiếp k
- forkJoin vs. combineLatest
9. Tokenize
- tối ưu performance ở project bạn đã làm
- nếu 1 trang gallery có nhiều ảnh với các kích thước khác nhau muốn hiển thị theo chiều dọc hoặc ngang thì dùng layout như nào
- lazy load khi cuộn trang như nào
- phân biệt localstorage, session storage, cookie
- nếu muốn làm seo cho search engine thì cần thêm thẻ gì, ở client side thì config seo như nào
- toán tử ??, ||
- const obj = { a: "one", b: "two", a: "three" }; console.log(obj)
- tính chất của Observable, so sánh với mô hình pub/sub
- thiết kế component search call từ API với các button search, clear (mô tả rõ html, css, js)
- viết hàm async tính giai thừa của n (n >= 0)
- bộ nhớ heap và stack của browser
- arrow function khác gì function thường, con trỏ this dùng ở đó như nào
- cho biết kết quả của đoạn code sau
function Person(firstName, lastName) {
this.firstName = firstName;
this.lastName = lastName;
}
const lydia = new Person("Lydia", "Hallie");
const sarah = Person("Sarah", "Smith");
console.log(lydia);
console.log(sarah);
No comments:
Post a Comment