Question
Alex has read 5/6 of a book, while Tina has read only
3/5 of the book she is reading. Both have another 150 pages of their respective books remaining to be read. What fraction of the number of pages read by Alex has been read by Tina?Solution
Alex has read 5/6 of a book. Remaining = 1 - 5/6 = 1/6 Tina has read 3/5 of her book. Remaining = 1 - 3/5 = 2/5 For Alex: 1/6 = 150 pages, so total = 900 pages For Tina: 2/5 = 150 pages, so total = 375 pages Fraction of pages read by Alex that have been read by Tina: Pages read by Tina = 375 * 3/5 = 225 Pages read by Alex = 900 * 5/6 = 750 Fraction = 225 / 750 = 3/10
How do you access the value of a variable named `USERNAME` in a shell script?
Slowly Changing Dimension (SCD) is used to:
In shell scripting, how do you assign the string "Hello World" to a variable named `MESSAGE`?
What is the exit status code of a successfully executed command in Linux shell?
Which command is used to display the current working directory in a Unix-like operating system?
How can you make a shell script executable?
Which operator is used to append output to a file?
OLAP is primarily used for:
What does the command `chmod 755 myscript.sh` set as permissions for `myscript.sh`?
Which command is used to display the number of lines in a file?