Question
A man lost one-fourth of his initial amount in the
gambling after playing three rounds. The rule of Gambling is that if he wins he will receive Rs. 1000, but he has to give 50% of his total amount after each round. Luckily he won all the three round. Find the initial amount that he had.Solution
Let the Initial amount be Rs x According to the question, [(((x+1000)× 1/2+1000)× 1/2+1000) × 1/2] = x/4 [(x/2+ 1500) × 1/2+ 1000 ) × 1/2] = x/4 [x/4+ 1750] × 1/2 = x/4 x/8=875 x= 7000
In shell scripting, which symbol is used to redirect the standard output to a file, overwriting its contents?
Which command is used to combine the contents of multiple files?
Which symbol is used for logical AND in shell scripting?
Which operator is used to append output to a file?
Star schema consists of:
In shell scripting, which symbol represents all files in the current directory?
Metadata in a data warehouse primarily describes:
Which command is used to display the last few lines of a file?
Which special file enables interprocess communication using named pipes?
Which command is used to display the current working directory?