Question
How many 8 digit numbers can be formed using the digits
1, 2, 0, 2, 4, 1, 2, 4 ?Solution
There are 8 digits 1, 2, 0, 2, 4, 1, 2, 4 in which 1 occurs 2 times, 2 occurs 3 times and 4 occurs 2 times ∴ Number of 8 digit numbers = 8!/(2! ×3! ×2!) = 1680 But out of these 1680 numbers there are some numbers which begin with ‘0’ and they are not 8 digit numbers The numbers of such numbers beginning with ‘0’ = 7!/(2! ×3! ×2!) = 210 Hence the required number of 8 digit numbers = 1680 – 210 = 1470
What is the purpose of the Program Counter (PC) in CPU control design?
In BGP path selection, which attribute is considered first?
In unsupervised learning, what is the primary goal?
Which type of memory is faster to access and closer to the processor, providing temporary storage for frequently used data?
Which scheduling policy ensures fairness by giving each job an equal time slice?
In the context of sorting algorithms, which one of the following is not a comparison-based sorting algorithm?
How do you print the value of a variable ‘x’ in Python?
Boolean occupies how much space in a 32 bit system
What is Inter-Process Communication (IPC) in the context of computer systems?
The ages of a group of 10 people are as follows: 25, 28, 30, 32, 35, 35, 38, 40, 42, and 45. Calculate the mean and median age of this group.