Question
How many five digit numbers can be formed using the
digits 0, 1, 2, 3, 4 and 5 which are divisible by 5, without repeating the digits?Solution
CASE 1: If last digit is 0, number of 5 digit can be formed by using the 1, 2,3,4& 5 = 5× 4×3×2 = 120 CASE 2: If last digit is 5, number of 5 digit can be formed by using the 0, 1, 2, 3 & 4 = 4× 4×3×2 = 96 (as a number can never start with 0) So total number of digits = 120 + 96 = 216
What is the scope of a variable declared inside a block of code (e.g., within curly braces)?
An ADT defines:
In CPU design, what does the Control Unit (CU) primarily handle?
What is the purpose of the Index Manager in RDBMS architecture?
What is the definition of an NP-hard problem?
CDMA is a communication technique that allows multiple users to share the same frequency band simultaneously by using unique codes to differentiate the...
Which keyword is used to implement inheritance in most programming languages?
In a DBMS, what is the primary purpose of a locking protocol?
Which cryptographic system uses two different keys for encryption and decryption?
What is the main purpose of subnetting?