.
  Vyom World.com . Let's Touch the Sky Together!  
.

Home
VyomWorld.com Home
Interview Questions
VyomLinks.com Home
JobsAssist.com Home
Vyom Network
Contact Us
Jobs & Careers
Resume Submitter
Placement Papers
IT Companies Directory
Computer Jobs
Interview Questions
Online Exams
Vyom Career eMag.
Fun
Send FREE SMS!
SMS Jokes
Source Codes Library
Source Codes Home
ASP Source Codes
C Source Codes
C++ Source Codes
COBOL Source Codes
Java Source Codes
Pascal Source Codes
Submit Source Codes
GATE
GATE an Overview
GATE Preparation
Study Materal
GRE
GRE an Overview
GRE Questions
GRE Preparation
GRE Universities
TOEFL Preparation
TOEFL Resources
GMAT Preparation
GMAT Resources
MBA Preparation
MBA Resources
Networking Concepts
Networking Concepts
Testing Preparation
Testing Resources
Webmasters
Free Traffic Builder
Webmaster Articles
Web Hosting
Tutorials
Hardware Tutorial
1500 Free eBooks New!


Home » Placement Papers » Kshema Placement Papers » Kshema Previous Year Placement Paper

 

Kshema Placement Paper -: Aptitude Questions And Answers


Advertisements
Advertisements




Kshema Previous Years Solved Sample Placement Papers

  1. A binary tree that has n leaf nodes. The number of nodes of degree 2 in this tree is:

    1) n

    2) n - 1

    3) log2n

    4) n^2

    Ans: Option 2
    Solution:
    In a binary tree, the number of nodes of degree 2 is always \( n - 1 \), where \( n \) is the number of leaf nodes.
  2. Which of the following is true about the characteristics of abstract data types?
    i) It exports a type. ii) It exports a set of operations.

    1) False, False

    2) True, True

    3) True, False

    4) False, True

    Ans: Option 2
    Solution:
    Abstract Data Types (ADTs) export a type and a set of operations that can be performed on the data type.
  3. A machine took 200 sec to sort 200 names, using bubble sort. In 800 sec, it can approximately sort:

    1) 800 names

    2) 400 names

    3) 750 names

    4) 800 names

    Ans: Option 2
    Solution:
    Bubble sort has a time complexity of \( O(n^2) \). For 200 names, \( 200^2 = 40000 \) operations take 200 sec. In 800 sec, the machine can perform \( 4 \times 40000 \) operations, which corresponds to \( \sqrt{4 \times 40000} = 400 \) names.
  4. The average search time of hashing with linear probing will be less if the load factor:

    1) equals one

    2) is far less than one

    3) is far greater than one

    4) none of these

    Ans: Option 2
    Solution:
    A lower load factor (less than 1) reduces collisions, improving the average search time in hashing with linear probing.
  5. The initial configuration of the queue is a,b,c,d (a is the front end). To get the configuration d,c,b,a one needs a minimum of:

    1) 3 deletions and 4 additions

    2) 3 deletions and 3 additions

    3) 3 additions and 2 deletions

    4) 2 deletions and 3 additions

    Ans: Option 2
    Solution:
    Delete 3 elements (a, b, c) and re-add them to the rear in reverse order (c, b, a).
  6. State true or false:
    i) The degree of root node is always zero. ii) Nodes that are not root and not leaf are called as internal nodes.

    1) False, False

    2) True, True

    3) False, True

    4) True, False

    Ans: Option 3
    Solution:
    The degree of the root node is not zero; it depends on its children. Internal nodes are correctly described in the second statement.
  7. The number of binary trees with 3 nodes which when traversed in post order gives the sequence A,B,C is:

    1) 9

    2) 3

    3) 7

    4) 5

    Ans: Option 4
    Solution:
    Using the properties of binary trees and considering permutations, the count is 5.
  8. Which of the following is not an internal sort?

    1) Insertion Sort

    2) Merge Sort

    3) Heap Sort

    4) Bubble Sort

    Ans: Option 2
    Solution:
    Merge sort is an external sort as it can handle data that doesn't fit into memory.
  9. Consider the tree arcs of a BFS traversal from a source node W in an unweighted, connected, undirected graph. The tree T formed by the tree arcs is a data structure for computing:

    1) The shortest path from W to every vertex in the graph.

    2) The shortest paths from W to only those nodes that are leaves of T.

    3) The longest path in the graph.

    4) The shortest path between every pair of vertices.

    Ans: Option 1
    Solution:
    BFS traversal guarantees shortest paths from the source node W to all reachable vertices in an unweighted graph.
  10. The number of swapping needed to sort numbers 8,22,7,9,31,19,5,13 in ascending order using bubble sort is:

    1) 12

    2) 11

    3) 14

    4) 13

    Ans: Option 4
    Solution:
    Bubble sort repeatedly swaps adjacent elements to place them in order. Counting the swaps, we need 13 swaps.
  11. The postfix expression for * + a b - c d is:

    1) ab cd + - *

    2) ab + cd * -

    3) ab + - cd *

    4) ab + cd - *

    Ans: Option 4
    Solution:
    Converting the infix expression step-by-step results in "ab + cd - *".
  12. Given two sorted lists of size m and n respectively. The number of comparisons needed in the worst case by the merge sort algorithm will be:

    1) min(m,n)

    2) mn

    3) max(m,n)

    4) m+n-1

    Ans: Option 4
    Solution:
    Merging two sorted lists in the worst case involves \( m + n - 1 \) comparisons.




 


.

Recently Updated: New Placement Papers added.
Vyom Network : Web Hosting | Dedicated Server | Free SMS, GRE, GMAT, MBA | Online Exams | Freshers Jobs | Software Downloads | Programming & Source Codes | GRE Preparation | Jobs, Discussions | Software Listing | Free eBooks | Free eBooks | Free Business Info | Interview Questions | Free Tutorials | International Business Information | IAS Preparation | Jokes, Songs, Fun | Free Classifieds | Free Recipes | FAQs | Free Downloads | Bangalore Info | Tech Solutions | Project Outsourcing, Web Hosting | GATE Preparation | MBA Preparation | SAP Info | Excellent Mobiles | Software Testing | Interview Questions | Freshers Jobs | Server Insiders | File Extension Directory

Copyright ©2003-2025 Vyom Technosoft Pvt. Ltd., All Rights Reserved. Read our Privacy Policy