Govt Exams
The DISTINCT keyword in SQL removes duplicate rows from the result set. Example: SELECT DISTINCT column FROM table;
The correct spelling is 'Occasion' with double 'c' and double 's'. This is a common spelling error in English.
A teacher instructs a student, similarly a doctor treats a patient. The relationship is one of professional service provider to recipient.
The code represents the number of letters in the word. SNAKE has 5 letters, so SNAKE = 5.
5, 10, 20, 40, 80, 160, 320, ?
Each number is multiplied by 2. The sequence is 5×2^n. The next number should be 320×2 = 640. This is a geometric progression with ratio 2.
Fibonacci sequence: 1, 1, 2, 3, 5, 8, 13. The 7th number is 13.
log₂(8) means 2^? = 8. Since 2³ = 8, the answer is 3
String slicing s[1:4] returns characters from index 1 to 3 (4 is exclusive): 'e', 'l', 'l' = 'ell'
An exception is an event that occurs during program execution that disrupts the normal flow, requiring special handling
API stands for Application Programming Interface - a set of rules that allows different applications to communicate