Thursday, 22 October 2015

Data Structures Interview Questions

Data Structures Interview Questions

1. If h is any hashing function and is used to hash n keys in to a table of size m, where n<=m, the expected number of collisions involving a particular key x is :

1. less than 1.                  2. less than n.                      3. less than m.                  4. less than n/2.

2. The time required to delete a node x from a doubly linked list having n nodes is

1. O (n)                            2. O (log n)                                3. O (1)                       4. O (n log n)

3. Which of the following sorting methods would be most suitable for sorting a list which is almost sorted

1. Bubble Sort                2. Insertion Sort                      3. Selection Sort               4. Quick Sort

4. A graph with n vertices will definitely have a parallel edge or self loop if the total number of edges are
1. greater than n–1              2. less than n(n–1)         3. greater than n(n–1)/2              4. less than n2/2

5. An ADT is defined to be a mathematical model of a user-defined type along with the collection of all ____________ operations on that model.

1. Cardinality                    2. Assignment                     3. Primitive               4. Structured

6. Which of the following sorting algorithm is stable

1. insertion sort.             2. bubble sort.                  3. quick sort.             4. heap sort.

7. Which of the following is not the required condition for binary search algorithm?

1. The list must be sorted                2. there should be the direct access to the middle element in any sublist
3. none of above                      4. There must be mechanism to delete and/or insert elements in list

8. When new data are to be inserted into a data structure, but there is no available space; this situation is usually called

1. underflow                2. overflow              3. houseful                  4. saturated

9. Which of the following is two way list?

1. grounded header list                                                    2. circular header list
3. linked list with header and trailer nodes                4. none of above

10. The complexity of the average case of an algorithm is

1. Much more complicated to analyze than that of worst case
2. Much more simpler to analyze than that of worst case
3. Sometimes more complicated and some other times simpler than that of worst case
4. None or above

11. Which of the following is not a limitation of binary search algorithm?

1. must use a sorted array
2. requirement of sorted array is expensive when a lot of insertion and deletions are needed
3. there must be a mechanism to access middle element directly
4. binary search algorithm is not efficient when the data elements are more than 1000.

12. B Trees are generally

1. very deep and narrow       2. very wide and shallow      3. very deep and very wide     4. cannot say

13. A binary tree in which if all its levels except possibly the last, have the maximum number of nodes and all the nodes at the last level appear as far left as possible, is known as

1. full binary tree.            2. AVL tree.         3. threaded tree.             4. complete binary tree.

14. One can convert a binary tree into its mirror image by traversing it in

1. inorder                   2. preorder                3. postorder                   4. any order

15. The number of leaf nodes in a complete binary tree of depth d is

1. 2d                            2. 2d–1+1                    3. 2d+1+1                      4. 2d+1

Tuesday, 20 October 2015

Rudramadevi (2015) full movie download 425MB DVDScr Hindi Dubbed


Ratings: 7.5/10
Directed By: Gunasekhar
Released On: 9 October 2015
Genre(s): Action, Biography, History
Movie Star Cast: Anushka Shetty, Allu Arjun, Rana Daggubati

Synopsis: The story of queen Rudrama Devi’s reign in southernIndia during the 13th century.











    



HD LINK 720P   (1.53 GB)


Sunday, 18 October 2015

Mera Krodh (2015) download full movie HDRip Dual Audio 720P [Hindi-Telugu] – Uncut


Ratings: 6.7/10
Genre(s): Action
Subtitles: English
Directed by: Samuthirakani
Released On: 14 January 2010
Star Cast: Ravi Teja, Allari Naresh, Siva Balaji
Synopsis: Karunakar (Ravi Teja), Malli (Allari Naresh) and Chandu  (Siva Balaji) are close friends and each of them has individual goals. Karunakar is in love with his cousin (Priyamani) whose father wants him to get a government job first. Malli dreams of going to a foreign land as soon as he gets his passport, while Chandu aims to set up a Computer training centre and is in love with Karunakar’s sister Pavithra (Abhinaya). The trio enjoy life hanging out together. Karunakar’s friend Santosh (Surya Teja), son of a politician (Roja), is in love with his family’s arch rival’s daughter. The three friends come forward to unite these love birds against all odds. In the process, Karunakar loses job and misses his cousin, Malli loses his hearing, and Chandu has his leg amputated. 10 days later, the married lovers seek divorce. The friends, who sacrificed so much to unite them, now teach them a lesson.

       Screen Shot Of Tollywood Movie Mera Krodh (2015) In Telugu And Hindi Dubbed Full Movie Free Download And Watch Online at worldfree4u.com


       


       
Direct 1
   

Core Java with OCJP_SCJP Language Fundamentals Part-5 __ Literals part-2



Boolean Literals

               The only allowed values for boolean datatype are true, false.

             Which of the following are valid declaration

         
  
     

                                           

character literal

A char literal can be represented as a single character with in single quotes.
Ex:
                      

we can represent a char literal by using it’s Unicode value. For the allowed Unicode values are 0 to 
65535.
Ex:
         

we can represent a char literal by using Unicode representation which is nothing but
\uxxxx’
Ex-
    
                                                                 

                                 
  
                       








we can also represent a char literal by using escape character.
Ex:
      
                                                              
The following is the list of all possible escape characters in java.             
                                                            
Which of the following char declarations are valid?  
       

                                      

  String literal


                      A sequence of character with in double quotes is String literal.

All Coupon

 All Coupon