Categories
Agile AJAX Angular CSS CSS3 HTML HTML5 JavaScript jQuery NodeJS UI

Javascript / UI / Angular Architect Questions and Answers

1.Difference between var let and const. ?

a. Var is hoisted in JS, let and const are not hoisted.

b. Let, const are block level, var is function level The candidate has to tell at least one of these apart from any other difference he tells.

2. What is a closure and how does it work

a. A closure is an inner function that has access to the outer (enclosing) function’s variables—scope chain.

A closure is an inner function that has access to the outer (enclosing) function’s variables—scope chain.

3. What is a JavaScript class

a. ES 6 standard introduced classes in JS, which internally use the prototypal approach to implement Class .

4. How does JS implement inheritance

a. JS uses prototypal inheritance in which objects inherit properties from other objects (or) JS uses prototypes to implement inheritance

5. What is the difference between == and === in JS

a. == checks only for the value, where === checks for both value and data type

6. What is the use of hasOwnProperty method in JS

a. This method returns true, only when the passed property is present directly on the object.

7. Explain call, apply and bind

a. Call and apply are used to invoke a method, by setting the context of ‘this’ keyword. Call takes comma separated individual parameters, and apply takes array of parameters as arguments

b. Bind method does the same operation as call and apply, but returns a new function definition instead of invoking the method

8. What is ‘arguments’ keyword in JS

a. Arguments is a special property in every function, that holds all the parameters passed to that function. Its an array-like object.

9. What is arrow function

a. Arrow function is introduced in ES 6 standard of JS, and does implicit binding of this property.

10. What are benefits of TypeScript

a. * TS provides type safety for the variables

Skills checked:

JS core – Intermediate / Advanced

  1. What is a closure and how it works in JavaScript
  2. What is a ‘hosting’ , How this works in JavaScript ?
  3. call, apply and bind with example
  4. Event bubbling and Event capturing
  5. event delegation
  6. prototypical inheritance / prototypical chain
  7. strict mode and usual mode
  8. What is EventLoop?

ECMA

  1. Difference between var, let and const?
  2. What is a promise and how it works?
  3. What is a arrow function and its difference from function syntax?
  4. Generator and how it works
  5. JS modules, export and export default
  6. async/await

Angular – Intermediate / Advanced

  1. Virtual DOM concept.
  2. Subscribe, Observables and Promises.
  3. Different ways of data bindings.
  4. Sequence of Angular Lifecycle Hooks
  5. Routing
  6. Reactive Forms.

React JS and Redux – Novice / Intermediate

  1. Virtual DOM concept.
  2. Explain lifecycle of React component.
  3. Difference between state and props.
  4. Redux
  5. Role of reducer

HTML – Novice / Intermediate

  1. What is a Doctype?
  2. quirks mode and standart mode
  3. new features in html5
  4. Html storage Localstorage and sessionstorage

CSS – Novice

  1. Difference between adaptive and responsive design?
  2. What is a repaint and reflow?
  3. Media query.
  4. Layout Methodology.
  5. How browser search selector?

Networking – Intermediate

  1. What is REST?
  2. REST principles.
  3. Difference between POST and PUT requests

Design Patterns – Advanced

  1. Factory Patterns
  2. Singleton Patterns

Unit testing

  1. TDD/BDD
  2. jasmine/karma

Processes

  1. GIT
  2. Code review process and tools
  3. CI/CD
  4. SOLID
  5. SCRUM
  6. Webpack
  7. IDE

Categories
Agile

Agile SCRUM interview questions and answers

What does SCRUM refers to in AGILE ? Scrum is a framework for Agile software development that emphasizes teamwork, accountability and iterative progress toward a well-defined goal. It is an agile way to manage a project think of it as a framework for managing a process.

Explain the Roles / Ceremonies /Artifiacts / Events used  in SCRUM ?
Scrum suggests 

three roles

             The team, 

             ScrumMaster, 

      and Product owner

  

four ceremonies

             The sprint planning meeting, 

             Daily Scrum, 

             Sprint review meeting, 

     and Sprint retrospective meeting.   

four formal events 

           Sprint Planning , 

           Daily Scrum , 

           Sprint Review, 

           Sprint Retrospective.

three artifacts

           The product increment, 

            Product backlog,

    and Sprint backlog.   

What is Sprint Burn Down Chart ?

Progress on a Scrum project can be tracked by means of a release burn down chart. The Sprint Burn down Chart is a graphic representation that shows the rate at which work is completed and how much work remains.

What is Sprint Backlog ? 
The sprint backlog is a list of tasks identified by the Scrum team to be completed during the Scrum sprint. 

What is extreme programming model? what activities are involved in it ? 
Extreme programming (XP) is a software development methodology which is intended to improve software quality and responsiveness taken to “extreme” levels to changing customer requirements. 

4 Activties of XP are : Listening, Designing , Coding and Testing.  

What are the Best Practices for Agile/SCRUM methodology ?

  • Daily meetings must not be longer than 15 minutes. 
  • Stand up meeting style is better for daily meetings.
  • Sprint length (in weeks) changes are not recommended
  • sprint hour capacity per story point is 6.5 hrs / day 
  • Prioritize the requirements in Product backlog 
  • Active stakeholders participation continuously
  • Collective Code Ownership 
  • regular Retrospective meeting for improvements   

what is retrospective meeting ? 
An Agile retrospective is a meeting that’s held at the end of an iteration in Agile software development. During the retrospective meeting the team reflects on what happened in the iteration and identifies actions for improvement going forward. 

What are the strength of Agile ? 

Strength of Agile are  

– improving communication between groups 

– A way of working against normal software development methodology 

– Allowing organizations to be flexible to take the products to market faster.