Showing posts with label rbs. Show all posts
Showing posts with label rbs. Show all posts

RBS C# dotnet interview questions

RBS C# dotnet interview questions
Please friends to contribute questions of company interviews you attended mail us cinterviews.blogspot.com@gmail.com it will be useful for our job search community.www.cinterviews.com appreciates your contribution

Question 1. What technologies you worked for?
Answer. C#, VB, Oracle , SQL Server , ASP.NET, JavaScript
Question 2. Lets start with C#, What is modularization?
Answer. Modularization is dividing functionality into different small modules, so that we can reuse the functionality and make it simple to use.
Question 3. Any other use of modularization and Layered application?
Answer. We can add layer to keep different group of functionalities different. and changing one layer does not effect others.
Question 4. Where does the object and its internal variable int i and string s store, in heap or in stack.
Answer. i think int goes to stack
Question 5. What is garbage collector?
Answer. it used to release the memory. and run in non deterministic manner.
Question 6 Can we run Garbage collector manually and its recommended?
Answer. Yes we can by gc.collect(), it is not recommended.
Question 7. What is overloading and overriding?
Answer. overriding is having same method in base and drive class and deciding at runtime which one to call.
Question 8. What is difference between the runtime polymorphism and overriding.
Answer. both are same.
Question 9. Difference between string builder and string?
Answer. string builder is mutable and string immutable.
Question 10. can we pass object with ref parameter like fun(ref Obj)?
Answer.yes
Question 11. what is difference between fun(obj) and fun(ref obj)?
Answer. by passing obj we are directly passing object while using ref it passes the address of object.
Question 12. if we have two function abc(int a, int b) and abc(int a, int b, int c) in base class and we derive it in drive class and implement it. in drive class it is overloading or overriding?
Answer. both overloading and overriding.
Question 13. can we have multiple try blocks, can we have multiple catch blocks, can we have multiple finally blocks?
Answer. multiple try yes separate blocks, multiple catch -yes, multiple finally - no
Question 14. What is cluster index and noncluster index ?
Answer.
cluster index is physical sorting on table while non cluster index is logical sorting on table.
Question 15. we have a query,
select a, b from table1
where a=a1 and b=b1 and c= c1
on what column will you define the index?
Answer. a, b
Question 16. we have a table empl
emp_id, salary, division
get the employee list whose salary is greater than the average salary of their division?
Answer.
Question 17. there is two tables
emp_id, salary, division_id - emp table
division_id , div_name - div table
get the maximum salary if every division?
Answer.
Question 18. What patterns you used in C# code?
Answer. Singleton, facade
Question 19. Write a code to implement a singleton pattern?
Answer.
Question 20. write a code to check balance brackets in a string? ((()))
Answer.
Please friends to contribute questions of company interviews you attended mail us cinterviews.blogspot.com@gmail.com it will be useful for our job search community.www.cinterviews.com appreciates your contribution

RBS Interview

RBS Interview
1. Write a program in Java to return fibonacci series in an array upto n numbers of the series :
int[] getFibonacci(int n);

2. Write a program to set a given name-value pair in cache so that the value expires after 5 min, the methods could be :

String getValue(String name); // Returns value corresponding to given name, if getValue is called after 5 min of calling setValue for the same pair, this will return null
String setValue(String name, String value); // Sets name, value pair in the cache and expires the data from cache after 5 min of upload

3. Give a design for desktop search engine including different components, data structure used, designs

4. Design a schema for School Management System for teachers, students and subjects where :
a). A teacher can teach to any number of studetns
b). A student can be taught by any number of teachers
c). A teacher can teach many subjects and a subject can be taught by many teachers
d). A student can study any number of subjects

Design the schema considering there are 15 subjects, 100 teachers and 1000 students so that the reports can be generated for conditions like
- Generate report for all the teachers who are teaching a particular subject to students

5. How can we make a class clonable?

6. Give a design for a system which has :
a). A flat-file database system
b). 10-20 processes reading/updating the DB system

Design this considering in mind that there could be clashes when more than 1 process will update the DB and you've to manage this so this conflict can never happen.

7. Why is java platform independent?

8. How you will design a system which needs 100 identical processes to perform some tasks? How many threads can be spawned to optimize this without degrading system performance?

Royal Bank Of Scotland Interview Questions Testing

Royal Bank Of Scotland Interview Questions Testing
  1. What is 80/20 rule in software testing?
  2. At what stage in the sdlc testing should be started?
  3. What HLD and LLD’s in Design phase of SDLC?
  4. Which bug tracking tool your company uses and why?
  5. Can we Test a Web Application without using automation tools?
  6. What a test engineer should be capable of in your words?
  7. Rate yourself in QTP between 1 to 10?
  8. What is Object Repository and how many types?
  9. How to add a Synchronization point while Recording?