Question
If all the letters of the word SUPPLEMENT are arranged
in the alphabetical order starting from the left end, how many consonants appear at the odd numbered position (from the left end) after the rearrangement?Solution
SÂ Â Â Â Â Â Â Â Â Â Â Â Â UÂ Â Â Â Â Â Â Â Â Â Â Â PÂ Â Â Â Â Â Â Â Â Â Â Â PÂ Â Â Â Â Â Â Â Â Â Â Â LÂ Â Â Â Â Â Â Â Â Â Â Â Â EÂ Â Â Â Â Â Â Â Â Â Â Â Â MÂ Â Â Â Â Â Â Â Â Â Â EÂ Â Â Â Â Â Â Â Â Â Â Â Â NÂ Â Â Â Â Â Â Â Â Â Â Â T EÂ Â Â Â Â Â Â Â Â Â Â Â Â EÂ Â Â Â Â Â Â Â Â Â Â Â Â L Â Â Â Â Â Â Â Â Â Â Â Â Â MÂ Â Â Â Â Â Â Â Â Â Â N Â Â Â Â Â Â Â Â Â Â Â Â PÂ Â Â Â Â Â Â Â Â Â Â Â P Â Â Â Â Â Â Â Â Â Â Â Â SÂ Â Â Â Â Â Â Â Â Â Â Â Â T Â Â Â Â Â Â Â Â Â Â Â Â Â U
What does #!/bin/bash at the start of a script mean?
Extended globbing in bash allows:
Which operator enables process substitution in bash (e.g., diff <(cmd1) <(cmd2))?
Which symbol is used for logical AND in shell scripting?
Which command is used to search for a pattern in files?
Which operator enables process substitution?
Which symbol is used in shell scripting to reference a positional parameter, e.g., the first argument passed to a script?
Which operator is used to append output to a file?
Which command is used to read user input from the keyboard and store it in a variable?
In shell scripting, how do you assign the string "Hello World" to a variable named `MESSAGE`?