Wednesday, August 3, 2016

Advanced Javascript interview questions

  1. Difference b/w Html4 and Html5
    Different and difference Doctype
    HTML 5 different Tags
    CSS selectors
    CSS3 animation
    display inline and block difference
    float type and solving issue
    position type and difference
    CSS sudo
    HTML performace
    Html accessablity
    CSS child selector
    image fail handling in UI
    jquery selectors
    jquery event bindings
    event unbindings
    event stoping methods
    differnce in javascript vs jquery selector
    jquery onload
    jquery ajax formats
    this' object and its behaviours in OOJS
    Classes and more questions
    Difference between 'visibility: hidden' and 'display:none'
    Difference between fixed, absolute and relative positions and few questions on this
    Questions on Doctype
    Different browser and document modes
    Where do you keep JS and CSS files on your html page
    sprite images
    z-index and its scenario
    jquery click events
    private,privilaged and public functions and variables based question
    selectors in html
    How do you optimise your page performance
    datatypes in javascript
    prototypes in javascript
    this' object and its behaviours in OOJS
    Difference between Null and undefined
    They will give one scenario and asks for the result about Null and undefined
    "==" and "===" difference
    Again scenario based result will be asked for "==" and "==="
    DOM Manipulations using pure Javascript like "getElementByID" and this is also not straight question scenario based
    Few Questions on Object and questions on object manipulations
    Difference between 'for' and 'for-in' loops again scenario based questions
    Closures and few questions on this
    Classes and more questions
    Hoisting scenarion based questions
    How to implement Inhertance in JS
    How will you define public, protect and private variables and scenario based questions
    How will you access outer finctions object in inner functions
    this' object and its behaviours in OOJS
    One scenario will be given and we need to give optimal solution for that scenario
    Questions on Doctype
    Different browser and document modes
    Difference between 'visibility: hidden' and 'display:none'
    Difference between fixed, absolute and relative positions and few questions on this
    Question on Overflow
    Name few elements of block and inline elements
    Difference between inline and inline-block
    Quirk mode
    How do you optimise your page performance
    Where do you keep JS and CSS files on your html page
    difference between xhtml and html
    Doctype
    browser mode and doc mode
    overflow
    positions and based scenarios
    float
    type of selectors and there precedence
    what is dom
    event delegation
    event capturing and bubbling
    prototypes and scenarios
    closures and scenarios
    new keyword based questions
    private,privilaged and public functions and variables based question
    global scope
    static functions
    constructors
    how many ways to invoke function
    how to ways to create object
    inheritance based questions
    hasownproperty keyword related questions
    DOM Manipulations using pure Javascript like "getElementByID" and this is also not straight question scenario based
    "==" and "===" difference
    Few Questions on Object and questions on object manipulations
    How to implement Inhertance in JS
    What is YUI
    Key Components of YUI
    Find duplicates and their number of occurances in an array
    How to position a div to center using css
    Event Propogation
    Event Bubbling
    Event Delegation
    Event object's functions
    Scope of private variables
    Practical usage of prototyping
    Overriding of prototype object
    new operator usage
    display inline and block difference
    ‘this' object and its behavior’s in OOJS
    Difference between Null and undefined
    Difference between == and ===
    They will give one scenario and asks for the expected results. Ex: var a=10; function add(){ alert(a); var a=20; alert(a); } add();
    this' object related question. this is not straight question they will create some functions and we have to explaining the execution of that functions.
    How many ways to create object in javascript and object related questions
    Questions on typeof and instanceof in js.
    Functions related questions, this is also not straight question
    Difference between margin and padding.
    How to handle dynamic events in javascript
    Variables in javascript
    Conditions in javascript.
    Candidate Self Introduction (on skillset, experience etc…)
    Difference between HTML4 and HTML5
    Explain different Doctypes
    Different HTML5 elements
    CSS3
    CSS3 Animation
    What is Responsive Web Design
    Difference between Block level and Inline elements
    Solving the issues in different Float types
    Different positions in CSS and their difference
    CSS Box Model
    HTML Performace
    Web Accessablity
    jQuery Selectors
    jQuery Event Bindings
    Difference between bind() , live() methods in jQuery
    Event Stoping Methods
    jQuery Ajax Formats
    How you will divide wrapper into Leftnav section and Content section using float,display and position properties of css ?
    null , undefined difference
    Explain event.stopImmediatePropagation(), stopPropagation, preventDefault() methods ?
    How to position a div to center using css
    display inline and block difference and give examples
    Event Bubbling
    Event Delegation
    conditional statemnts --> x || y ==> null ||undefined , 0 ||null and some other combinations of 0 , null, undefined ,-ve numbers, etc
    Scope of variables
    'this'--- based questions
    datatypes in JS
    namespacing in Js and for what purpose we will use it ?
    how will you achieve 'inheritance' in JS
    what happens to page when DTD is not mentioned ..?-- it will go to Quirks Mode
    Result of the following ..? function a(){ return this;} a();
    difference between . and [] operator while accessing object data members and methods ?
    a={k:10,b:function(){ return this;}}; a.b(); -- > Result ?
    a={k:10,b:function(){ return this;}}; var j=a.b();j.b; -- > Result ?
    a={k:10,b:function(){ return this;}}; var j=a.b();j.b(); -- > Result ?
    a={i:10,j:20}; var b=a;b.i=30;console.log(a); -- > Result ?
    a={k:10,b:function(){ return this.k ;}}; var j=a.b();console.log(j);--- 10
    a={k:10,b:function(){ return this.k ;}}; var j=a.b;console.log(j());---- undefined
    function add(){ //function defination for Adding numbers goes here }; add(1,2); add(1,2,3);--> how the function definition access this paraments in the function call ?
    Event capturing
    How do you iterate an object ..?--- by using ' for -in ' loop
    Functional Closures
    Types of Functions
    what is Hoisting in JS
    What is the difference between inline and block?
    Types of css. Which is more efficient?
    typeOf operator. What does it return?
    Functions
    Write a function to find sum of arguments passed. (number of arguments is not fixed)
    Data types
    function a() { return this; } --> Call this function such that value of 10 is returned.
    Questions from projects in Resume
    what will happen if we write DOCTYPE  at the end of the HTML document
    json structure
    CSS specificity 
    Different types of function in Javascript
    var x=10; function(){  alert(x); var x=20; alert(x);} what will alert as x
    how to reuse a block of html code using Javascript
    there is one issue in our web page which can be solve by using javascript and css, which one you will use why? 
    what are specialities of different javscript frameworks
    object, classes polymorphism
    example based questions on Null and undefined
    datatypes in javascript
    scope of variables
    display inline and inline-block difference
    jquery ajax formats
    What is Responsive Web Design, different tyoes of layouts
    prototypes 
    closure functions, why closures
    constructors
    array with different datatypes
    difference between window.onload, document.ready
    How many ways to create object in javascript and object related questions
    declaration and initialization example
    a={k:10,b:function(){ return this;}}; var j=a.b();j.b(); 
    How to execute part of the javascript code.
    Difference between javascript and jqueary
    local variable vs global variable
    Different DOCTYPE'S
    Event handlers
    Ajax and JSON

No comments: