A class of 30 students occupy a classroom containing 5 rows of seats with 8 seats in each row. If the students seat themselves at random, then the probability that sixth seat in the fifth row will be empty is
Asked in GPSC Assistant Director (IT), Class-1 2025
Answer under review: our editors are checking this question. Try the other GPSC Prelims previous year questions questions meanwhile.
More GPSC Prelims previous year questions questions
- Let an be the number of n-bit strings that do NOT contain two consecutive 1s. Which one of the following is the recurrence relation for an?
- There are n unsorted arrays: A1 ,A2 ,...,An . Assume that n is odd. Each of A1 ,A2 ,...,An contains n distinct elements. There are no common elements between any two arrays. The worst-case Asymptotic Notation of computing the median of the medians of A1 ,A2 ,...,An is ________ .
- The master theorem
- The recurrence relation capturing the optimal execution time of the Towers of Hanoi problem with n discs is
- Match the following: (P) Prim's algorithm for minimum spanning tree (i) Backtracking (Q) Floyd-Warshall algorithm for all pairs shortest paths (ii) Greedy method (R) Mergesort (iii) Dynamic programming (S) Hamiltonian circuit (iv) Divide and conquer
- If n is a power of 2, then the minimum number of multiplications needed to compute an is
- Which of the following algorithms solves the all pair shortest path problem?
- Consider the string abbccddeee. Each letter in the string must be assigned a binary code satisfying the following properties: For any two letters, the code assigned to one letter must not be a prefix of the code assigned to the other letter. For any two letters of the same frequency, the letter which occurs earlier in the dictionary order is assigned a code whose length is at most the length of the code assigned to the other letter. Among the set of all binary code assignments which satisfy the above two properties, what is the minimum length of the encoded string?