Sunday, 22 July 2012

DBMS Basic Interview Questions and Answers


DBMS Basics  Interview Questions

Following are the DBMS Basics  Interview Questions presenting here are collected from various students, professors, websites. 

DBMS Interview Questions

1. What is database?

Ans:- A database is a logically coherent collection of data with some inherent meaning, representing some aspect of real world and which is designed, built and populated with data for a specific purpose.

2. What is DBMS?

Ans:- It is a collection of programs that enables user to create and maintain a database. In other words it is general-purpose software that provides the users with the processes of defining, constructing and manipulating the database for various applications.

3. What is a Database system?

Ans:- The database and DBMS software together is called as Database system.

4. What are the advantages of DBMS?

Ans:- Redundancy is controlled.
Unauthorised access is restricted.
Providing multiple user interfaces.
Enforcing integrity constraints.
Providing backup and recovery.

5. What are the disadvantage in File Processing System?

Ans:- Data redundancy and inconsistency.
Difficult in accessing data.
Data isolation.
Data integrity.
Concurrent access is not possible.
Security Problems.

6. Describe the three levels of data abstraction?

Ans:- The are three levels of abstraction:

Physical level: The lowest level of abstraction describes how data are stored.
Logical level: The next higher level of abstraction, describes what data are stored in database and what relationship among those data.
View level: The highest level of abstraction describes only part of entire database.

7. Define the "integrity rules"?

Ans:- There are two Integrity rules.

Entity Integrity: States that "Primary key cannot have NULL value"
Referential Integrity: States that "Foreign Key can be either a NULL value or should be Primary Key value of other relation.

8. What is extension and intension?

Ans:- Extension: It is the number of tuples present in a table at any instance. This is time dependent.
Intension: It is a constant value that gives the name, structure of table and the constraints laid on it.

9. What is System R? What are its two major subsystems?

Ans:- System R was designed and developed over a period of 1974-79 at IBM San Jose Research Center. It is a prototype and its purpose was to demonstrate that it is possible to build a Relational System that can be used in a real life environment to solve real life problems, with performance at least comparable to that of existing system.
Its two subsystems are

Research Storage
System Relational Data System.

10. How is the data structure of System R different from the relational structure?

Ans:- Unlike Relational systems in System R

Domains are not supported
Enforcement of candidate key uniqueness is optional
Enforcement of entity integrity is optional
Referential integrity is not enforced

11. What is Data Independence?

Ans:- Data independence means that "the application is independent of the storage structure and access strategy of data". In other words, The ability to modify the schema definition in one level should not affect the schema definition in the next higher level.
Two types of Data Independence:

Physical Data Independence: Modification in physical level should not affect the logical level.
Logical Data Independence: Modification in logical level should affect the view level.
NOTE: Logical Data Independence is more difficult to achieve

12. What is a view? How it is related to data independence?

Ans:- A view may be thought of as a virtual table, that is, a table that does not really exist in its own right but is instead derived from one or more underlying base table. In other words, there is no stored file that direct represents the view instead a definition of view is stored in data dictionary. 

Growth and restructuring of base tables is not reflected in views. Thus the view can insulate users from the effects of restructuring and growth in the database. Hence accounts for logical data independence.

13. What is Data Model?

Ans:- A collection of conceptual tools for describing data, data relationships data semantics and constraints.

14. What is E-R model?

Ans:- This data model is based on real world that consists of basic objects called entities and of relationship among these objects. Entities are described in a database by a set of attributes.

15. What is Object Oriented model?

Ans:- This model is based on collection of objects. An object contains values stored in instance variables with in the object. An object also contains bodies of code that operate on the object. These bodies of code are called methods. Objects that contain same types of values and the same methods are grouped together into classes.

16. What is an Entity?

Ans:- It is a 'thing' in the real world with an independent existence.

17. What is an Entity type?

Ans:- It is a collection (set) of entities that have same attributes.

18. What is an Entity set?

Ans:- It is a collection of all entities of particular entity type in the database.

19. What is an Extension of entity type?

Ans:- The collections of entities of a particular entity type are grouped together into an entity set.

20. What is Weak Entity set?

Ans:- An entity set may not have sufficient attributes to form a primary key, and its primary key compromises of its partial key and primary key of its parent entity, then it is said to be Weak Entity set.

Elico ltd Recruitment for Design Engineers

Walk-In @ "Elico Ltd": Design Engineers : On 25.07.12 @ Hyderabad
Company        Elico Limited
Website          www.elico.co
Eligibility        B.Tech/B.E. - Mechanical, Diploma - Mechanical
Experience     0-3 Years
Location         Hyderabad
Elico Limited
Job Role: Design Engineers
Job Summary :
Fresher with Diploma / B.Tech - 70%( 2011 - 2012 passouts)
Note: Pro- E & Auto- Cad is compulsory.
Preferably Male candidates with 0-3 years exp. can Apply.

Candidates Should be very good in Auto Cad and Pro - E.

Should have good technical drawing knowledge.

Should have knowledge of Design and development of product.

Should be interested for a product base atmosphere.

Should be energetic, positive and should have learning attitude.

Should have command over current job profile.
If Interested Directly walk-in on 25.07.12 at 2.00PM.
Venue:Elico Limited, B:90, A.P.I.E., Near Bharath Nagar Railway Station, Sanath Nagar, Hyderabad: 18.


HP Recruitment for Freshers


    
"Hewlett-Packard" Hiring: Entry Level Software Engineering @ Across India
Company        Hewlett-Packard
Website          www.hp.com
Eligibility        BE/BTech
Experience     Freshers
Location         Across India
Hewlett-Packard
Job Role: Entry Level Software Engineering
Job Summary :
Education Qualification & Work Experience:

· BE/BTech from a Tier 1 Engineering institute

· Field of education - Computer Science, Information Science and Technology, Electronics Engineering etc.

· Strong academic record (minimum of 70% aggregate score)

Competency Requirements:


· Passion and deep technical competency in basic computer science and software engineering principles and processes.

· Strong problem solving skills

· Competent programming aptitude with excellent computation skills

· Self motivated to continuously upgrade one's knowledge, keep abreast of latest developments in the software engineering field and evaluate its application in the business area on a consistent basis.

. Exceptional commitment to stay focused in one's pursuit towards excellence with demonstrated results of the same.

Saturday, 21 July 2012

Friday, 20 July 2012

Thursday, 19 July 2012

Sample Papers for CAT Exam Preparation




Those who are preparing to study in any of the reputed MBA institutes in India, they are well aware of the Common Admission Test, better known as CAT.This is a test held annually for the admission to the Post-graduate and Fellow Programs in management courses of several management institutes in India including top business management schools like IIM Ahmedabad, IIM Lucknow, IIM Kolkata, IIM Kozhikode, IIM Indore , IIM Bangalore, FMS New Delhi, JBIMS Mumbai , SPJIMR Mumbai, IILMGSM, IMT Ghaziabad, MDI Gurgaon, NITIE Mumbai.CAT examination is conducted by the Indian Institutes of Management (IIM) and it is on the basis of CAT result that the eligible candidates are short listed and called for a Group Discussion and Personal Interview.
CAT is considered to be a major requirement for a candidate seeking admission to the prestigious management institutes of India. The percentile secured in CAT is assessed by the B-Schools in India for short-listing candidates for admissions to their various MBA Programs.
The Common Admission Test application form and the bulletin can be obtained from Monday, 30th August to Monday, 4th October from the selected branches of Axis Bank on payment of Rs. 1400/- (Rs. 700/- for SC/ST candidates). Under exceptional circumstances, CAT 2010 application form and bulletin can also be obtained from any of the IIMs by sending a crossed demand draft of Rs. 1400/- (Rs. 700/- for SC/ST candidates) drawn in favor of the respective IIM. Request for the bulletin should be accompanied by a cloth lined self-addressed unstamped envelope of 12” x 10”. IIMs Participating in CAT: IIM Ahmedabad, IIM Bangalore, IIM Kolkata, IIM Lucknow, IIM Indore, IIM Kozikode, IIM Shillong, IIM Ranchi, IIM Rohtak.


Sample Papers For CAT Exam 


  • Sample Paper 1



  • Sample Paper 2



  • Sample Paper 3

  • CAT 2012 from October 11

    The Common Admission Test (CAT) for 2012 for admission to Indian Institutes of Management will be held from October 11 to November 6. It will be coordinated by IIM, Kozhikode.

    The test comprises two sections that are separately timed. Each of the sections will be of 70-minute duration. There will be 30 questions in each section. The sections are to test quantitative ability and data interpretation, verbal ability and logical reasoning.

    Once a section ends, candidates can no longer go back to it. They will be presented with the section on quantitative ability and data interpretation first, followed by verbal ability and logical reasoning.

    Vouchers for applications will be issued from July 30 to September 17 from the authorised bank and online registration can be made from July 30 to September 19. The results will be announced on January 9.

    Walk-In"Innominds": Technical Graduates : On 21st & 22nd July @ Hyderabad


    Company        Innominds Software (P) Limited
    Website          www.innominds.com
    Eligibility        MCA/BE/B.Tech

    Experience     0-1 Year
    Location         Hyderabad
    Innominds Software (P) Limited
    Job Role: Technical Graduates
    Job Summary :
    Eligibility:

    SSC and Intermediate - 80% & above

    Graduation (MCA/BE/B.Tech) 65% & above
    Written tests:-

    Java / C, Aptitude & Communication (1.5hours)
    Walk-In Date - 21st & 22nd July 2012 (Saturday & Sunday) @ 10AM - 4PM
    Venue : Q City Auditorium, (In cafeteria)
    Address: 
    Block B, Q City, Nanakramguda, Gachibowli, Hyderabad 500032.
    Please send the profiles matching the criteria to careers@innominds.com on or before 2pm on 20th July 2012.
    Candidates with the above eligibility can also walk-in directly between 10am 4pm on 21st & 22nd July 2012 withcopy of resume

    Wednesday, 18 July 2012

    Tuesday, 17 July 2012

    KV Rao Sir(Satya Institute) Java Meterial


        Mr.KV Rao sir , is the best faculty i have ever seen.He maintains punctuality and discipline in the class room.He will make you to understand the subject(JAVA) even if u dnt know any programing language also , just attend a demo class of him and u will definitely join there for sure.((Very famous for core java)).He will be available at Sathya Technologies Ameerpet, Hyderabad.
                                                                    When i joined Sathya i didnt know anything about JAVA but now(after attending his classes) i am able to develop applications in JAVA.He will make u feel that JAVA is simple and so it is thats it.
                                                   Here is the KV Rao sir core java and advance java notes,  i am here providing u some useful information regarding the notes of KV Rao sir core java notes and JAVA programing language conventions , standards. Hope it will be useful for u...




    Monday, 16 July 2012

    Google Off Campus


     

    (Freshers / Experienced) Walk-In : Multiple Skills @ All India

    Walk-In Location(s) : Bangalore / Hyderabad / Chennai / Delhi / Pune / Kolkatta

    ..................................................

    Job Position 1: Account Planner

    Job Position : Account Planner

    Job Location : Hyderabad / Gurgaon

    The Area : SMB Sales and Operations

    Responsibilities :-
    • Identify incremental opportunity within accounts and collaborating with the team and its Account Manager to implement the plan
    • Understand and implement account and campaign optimization plans and execute flawlessly on the techniques and types of optimization
    • Create reports to support or aid the optimization/incremental opportunity, strategize and support the team’s requirements for report creation and their analysis
    • Contribute to the overall achievement of the team's revenue and non-revenue targets

    ..................................................

    Job Position 2AdWords Representative

    Job Position : AdWords Representative

    Job Location : Hyderabad / Gurgaon

    The Area : Online Sales and Operations

    Responsibilities :
    • Check ad content, quality, and accuracy in an efficient, thorough manner.
    • Provide excellent customer service to Google's advertisers via email, phone, and chat.
    • Optimize keyword lists and ads to maximize advertisers' return on investment.
    • Work with a portfolio of advertiser accounts to provide focused account management.

    ..................................................

    Job Position 3: AdWords Associate

    Job Position : AdWords Associate

    Job Location : Hyderabad / Gurgaon

    The Area : Online Sales and Operations

    Responsibilities :
    • Provide excellent customer service to Google's advertisers and manage client advertising accounts by responding to inquiries.
    • Develop and utilize approaches to provide strategic advice to clients on how to improve the utilization of their advertising budgets.
    • Build strong relationships with customers and educate them on new product features by proactively and creatively identifying solutions to client issues.
    • Work collaboratively with your team to develop new account management techniques.
    • Identify, lead, and execute product and process innovation to increase advertiser performance and their investments.

    ..................................................

    Please Carry (mandatory) :
    • Updated Resume Copy
    • Photo ID proof

    Walk-In Date : On 21st & 22nd July 2012


    Time Slots : 10.00 AM, 1.00 PM and 3.00 PM

    Sunday, 15 July 2012

    Wednesday, 11 July 2012

    Java Basics Interview Questions


    Java Basics Interview Questions

    Following are the  Java Basics Interview Questions  presenting here are collected from various students, professors, websites.

    1. What is the difference between a constructor and a method?

    Ans:- A constructor is a member function of a class that is used to create objects of that class. It has the same name as the class itself, has no return type, and is invoked using the new operator.

    A method is an ordinary member function of a class. It has its own name, a return type (which may be void), and is invoked using the dot operator.

    2. What is the purpose of garbage collection in Java, and when is it used?

    Ans:- The purpose of garbage collection is to identify and discard objects that are no longer needed by a program so that their resources can be reclaimed and reused.

    A Java object is subject to garbage collection when it becomes unreachable to the program in which it is used.

    3. Describe synchronization in respect to multithreading.

    Ans:- With respect to multithreading, synchronization is the capability to control the access of multiple threads to shared resources.

    Without synchonization, it is possible for one thread to modify a shared variable while another thread is in the process of using or updating same shared variable. This usually leads to significant errors.

    4. What is an abstract class?

    Ans:- Abstract class must be extended/subclassed (to be useful). It serves as a template. A class that is abstract may not be instantiated (ie. you may not call its constructor), abstract class may contain static data.

    Any class with an abstract method is automatically abstract itself, and must be declared as such. A class may be declared abstract even if it has no abstract methods. This prevents it from being instantiated.

    5. What is the difference between an Interface and an Abstract class?

    Ans:- An abstract class can have instance methods that implement a default behavior. An Interface can only declare constants and instance methods, but cannot implement default behavior and all methods are implicitly abstract.

    An interface has all public members and no implementation. An abstract class is a class which may have the usual flavors of class members (private, protected, etc.), but has some abstract methods.

    6. Explain different way of using thread?

    Ans:- The thread could be implemented by using runnable interface or by inheriting from the Thread class. The former is more advantageous, 'cause when you are going for multiple inheritance, the only interface can help.

    7. What is an Iterator?

    Ans:- Some of the collection classes provide traversal of their contents via a java.util.Iterator interface. This interface allows you to walk through a collection of objects, operating on each object in turn.

    Remember when using Iterators that they contain a snapshot of the collection at the time the Iterator was obtained; generally it is not advisable to modify the collection itself while traversing an Iterator.

    8. State the significance of public, private, protected, default modifiers both singly and in combination and state the effect of package relationships on declared items qualified by these modifiers.

    Ans:- public: Public class is visible in other packages, field is visible everywhere (class must be public too)
    private : Private variables or methods may be used only by an instance of the same class that declares the variable or method, A private feature may only be accessed by the class that owns the feature.
    protected : Is available to all classes in the same package and also available to all subclasses of the class that owns the protected feature. This access is provided even to subclasses that reside in a different package from the class that owns the protected feature.
    What you get by default ie, without any access modifier (ie, public private or protected). It means that it is visible to all within a particular package.

    9. What is static in java?

    Ans:- Static means one per class, not one for each object no matter how many instance of a class might exist. This means that you can use them without creating an instance of a class.Static methods are implicitly final, because overriding is done based on the type of the object, and static methods are attached to a class, not an object.

    A static method in a superclass can be shadowed by another static method in a subclass, as long as the original method was not declared final. However, you can't override a static method with a nonstatic method. In other words, you can't change a static method into an instance method in a subclass.

    10. What is final class?

    Ans:- A final class can't be extended ie., final class may not be subclassed. A final method can't be overridden when its class is inherited. You can't change value of a final variable (is a constant).

    11. What if the main() method is declared as private?

    Ans:- The program compiles properly but at runtime it will give "main() method not public." message.

    12. What if the static modifier is removed from the signature of the main() method?

    Ans:- Program compiles. But at runtime throws an error "NoSuchMethodError".

    13. What if I write static public void instead of public static void?

    Ans:- Program compiles and runs properly.

    14. What if I do not provide the String array as the argument to the method?

    Ans:- Program compiles but throws a runtime error "NoSuchMethodError".

    15. What is the first argument of the String array in main() method?

    Ans:- The String array is empty. It does not have any element. This is unlike C/C++ where the first element by default is the program name.

    16. If I do not provide any arguments on the command line, then the String array of main() method will be empty or null?

    Ans:- It is empty. But not null.

    17. How can one prove that the array is not null but empty using one line of code?

    Ans:- Print args.length. It will print 0. That means it is empty. But if it would have been null then it would have thrown a NullPointerException on attempting to print args.length.

    18. What environment variables do I need to set on my machine in order to be able to run Java programs?

    Ans:- CLASSPATH and PATH are the two variables.

    19. Can an application have multiple classes having main() method?

    Ans:- Yes it is possible. While starting the application we mention the class name to be run. The JVM will look for the Main method only in the class whose name you have mentioned.

    Hence there is not conflict amongst the multiple classes having main() method.

    20. Can I have multiple main() methods in the same class?

    Ans:- No the program fails to compile. The compiler says that the main() method is already defined in the class.