Question
Rails:
Basic:
OOPS :
Ques1: What is a class and object?
Ques2: How will you define a class (Real Time example) ?
Ques3: Why we need to create a class and why objects are created for a class ?
Ques4: What is use of class ?
Ques5: What is polymorphism, inheritance etc. Some basic oops concepts ?
Rails:
Basic:
- What's new in rails 4?
- Difference b/w rails 3 and rails 4?
- Difference b/w rails 2 and rails 4?
- Where will you write the reusable code for controller in rails 4 ? (concerns)
- Where will you write the reusable code for model in rails 4 ? (concerns)
- What are gems in rails?
- What is difference b/w gems and plugins?
- What is difference b/w symbol and string?
- What is caching? What is russian doll caching?
- Why don't we use page caching and action caching. Also drawbacks for the same?
- What is difference b/w string and symbol?
- Multiple inheritance in rails? And how can we use multiple inheritance in rails?
- Method Overloading in rails?
- Difference b/w include, extend and require?
- STI and Polymorphic associations?
- Different Examples for polymorphic association?
- About yield?
- Difference b/w class variables and instance variables?
- How will you get and set the values without using attr_accessible?
- How will you store foreign key to another column name?
- What is difference between include and join?
- Difference b/w proc and lambda?
- Practical use of proc and lambda?
- What is DRY principal?
- What are RESTful routes?
- How many actions generated by scaffold command in rails 4?
- What in difference b/w put and patch?
- What is difference b/w get, put and post?
- How can you define constructor in rails?
- What is use of map in rails?
- Best tool for security measurement in rails?
- How everything in object in rails?
- What are dynamic finders?
- What is difference between session and cookies?
- Dynamic Methods in rails?
- What is use of bang (!) operator in rails?
- What is use of module?
- Is rails interpreted or compiled language?
- Which files load first environment.rb and application.rb ? Difference?
- Access modifier in rails?
- Use of scope?
- What are sweepers and observers? Difference?
- Actions and method difference?
- What are filters?
- How render works? render is slow so how can we fast our rendering?
- What does request.xhr do?
- What is use js.erb file?
- Difference b/w render and redirect?
- How can we call third party service using ajax?
- What is Eager loading and lazy loading?
- What are validations? Give example?
- What is use of helper method?
- Sql Injection and cross site forgery request?
- What is difference b/w render and redirect?
- What are different type of joins?
- What are turbolinks?
- String and symbol which is better to use? (string GC)
- What is garbage collector?
- What are callbacks? Types?
- How around_filter works?
- Create DB design for project timesheets?
- Use and How index works?
- Preference of columns for indexing?
- How capistrano works?
- if everything is an object in rails so how class keyword in an object?
- Steps to increase page load speed?
- If we write redirect_to google.com in action ? will it come back to site? What will happen?
- Which loads first: layout's html file application.html.erb or action's html file like index.html.erb?
- If action is not available into the controller and html occurs for the action so will rails show error or not?
- How file loads? or hierarchy for loading the controller files?(alphabetically loads file)
- Use of config.ru?
- How routes call to particular action? An idea about routing?
- What are cron Jobs?
- How to connect multiple databases?
- Can a model file connect to some other database in rails? How?
- Middleware in rails?
- What are alias in rails?
- How to create runtime methods?
- How to create singleton class? an example in rails? (logs)
- What are mixins?
- What are virtual attributes?
- What are whitelist/strong parameters?
- Why we use strong parameters in rails 4? Reason behind that?
- What is use of super?
- Why we use self?
- Why not we use multiple inheritance and method overloading in rails?
- How many type of exceptions are in rails?
- How to enable you logging on production mode?
- Custom validations?
- Open classes?
- What are the use of initializers?
- Is internationalization occurs in rails?
- What is rake?
- Best practice to define constants?
- What are named scope in routing?
- What is use of concern in routing?
- What is use of transaction method in rails?
- What type of threading used in rails 4?
- Which javascript library use by default in rails 4?
- What is use of assets in rails ?
OOPS :
Ques1: What is a class and object?
Ques2: How will you define a class (Real Time example) ?
Ques3: Why we need to create a class and why objects are created for a class ?
Ques4: What is use of class ?
Ques5: What is polymorphism, inheritance etc. Some basic oops concepts ?
No comments:
Post a Comment