Question
How many numbers between 150 and 600 are divisible by
both 5 and 7?Solution
ATQ, Numbers which are multiple of both 5 and 7 are multiples of L.C.M of 5 and 7 i.e. 35 First multiple of 35 between 150 and 600 = 175 = ‘a’ Last multiple of 35 between 150 and 600 = 595 = an Common dierence = 35 = d Let, number of terms = n Using, an = a + (n – 1)d Where 595 = a + (n – 1) × d Or, 595 = 175 + (n – 1) × 35 Or, 35n – 35 = 595 – 175 = 420 So, n = (420 + 35) ÷ 35 = 13
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?