Question
What will be the sum of the consonants of the wordâ
RIVERâ? Read the following information carefully to answer the question .  In a certain code language, codes are decided on the basis of following rules and conditions. Rules:  I. All the consonants that appear before âNâ in alphabet series are to be coded as 0-9.(C =1, D= 2 and so on) II. All the consonants that appear after âNâ in alphabet series are to be coded as 0-9.(Q=1, R=2 and so on)  III. âNâ is to be coded as 3. Conditions: I. If a word starts with a consonant but ends with a vowel then all the vowels of that word are to be coded as â#â and codes for last and first letters will be interchanged)  II. If a word has more than two vowels then the first vowel is to be coded as &, second vowel as *, third vowel as @ and then repeat the codes in the same sequence from fourth vowel onwards.  III. If in a word a consonant that appears after M is immediately preceded and followed by a vowel then all the vowels of that word are to be coded as â%â and 1 is added to the original code of all consonants. (If after adding 1, the original code comes in double digit then add the digits until single digit is obtained))Solution
RIVER = 2%5%2 (by condition III)Â Â Â Â Â R-3 V-6 R-3 3+6+3= 12Â Â Â Â Â
The class NP-complete includes problems that are:
Which of the following is NOT a method for handling deadlocks?
Which of the following statements is true regarding the class NP?
What is a deadlock in a computer system?
Which famous sorting algorithm uses the divide-and-conquer strategy?
Which data structure in a compiler is used for managing information about variables and their attributes?
Â
Which command will help you to find the time of how long the system is being running?
In which case higher bandwidth can be achieved
What is an algorithm?
In the context of ADTs, what does "encapsulation" refer to?