Question
Which number from the following is divisible by 24?
/> A) 825196 B) 674328 C) 592416 D) 431232Solution
ATQ,
A number divisible by 24 must be divisible by both 3 and 8.
Divisible by 3 β Sum of digits is divisible by 3
Divisible by 8 β Last three digits form a number divisible by 8
Option A: 8 + 2 + 5 + 1 + 9 + 6 = 31 β Not divisible by 3
Option B: 6 + 7 + 4 + 3 + 2 + 8 = 30 β Divisible by 3
Last 3 digits: 328 β 328 Γ· 8 = 41 β Divisible by 8 β
Option C: 5 + 9 + 2 + 4 + 1 + 6 = 27 β Divisible by 3
Last 3 digits: 416 β 416 Γ· 8 = 52 β Divisible by 8 β
Option D: 4 + 3 + 1 + 2 + 3 + 2 = 15 β Not divisible by 3
Hence, Both Option B and C are divisible by 3 and 8
Any numbered relationship has how many participating entities?
What is the worst-case time complexity of inserting n2Β elements into an AVL tree with n elements initially?
Which technique is commonly used for visualizing the flow of data within a system in the form of diagrams?
What will be the output of the following code snippet?
int num = 10;
int *ptr = #
printf("%d", *ptr);
The SI unit for measuring frequency is:
Which cryptographic system uses two different keys for encryption and decryption?
What is the purpose of flow control in data communication?
Which concurrency control technique allows a transaction to read uncommitted data?
The preorder traversal of a binary search tree is 15, 10, 12, 11, 20, 18, 16, 19. Which one of the following is the postorder traversal of the tree?
What is the primary design goal of a combinational circuit?