Various Software model

Software Process is a particular method, generally involving a number of steps along with ordering constraints on execution, to produce software with desired outcome 2 Major processes : Development, Project Management. Methodologies for Software Development - ETVX ETVX model (l.w. = ex , tv…entry, exit; task validation) Quality in the process A quality process has the right inputs and performs the right actions to produce outputs that meet the needs of customer processes. [Read More]

Left most n digits divisible by n

A number of 9 digits has the following properties: The number comprising the leftmost two digits is divisible by 2, that comprising the leftmost three digits is divisible by 3, the leftmost four by 4, the leftmost five by 5, and so on for the nine digits of the number i.e. the number formed from the first n digits is divisible by n, 2<=n<=9. Each digit in the number is different i. [Read More]

math.h

Mathematics is relatively straightforward library to use again. You must #include and must remember to link in the math library at compilation: cc mathprog.c -o mathprog -lm A common source of error is in forgetting to include the file (and yes experienced programmers make this error also). Unfortunately the C compiler does not help much. Consider: double x; x = sqrt(63.9); ```Having not seen the prototype for sqrt the compiler (by default) assumes that the function returns an int and converts the value to a double with meaningless results. [Read More]

Chain Cut Problem

Problem: What is the least number of links you can cut in a chain of 21 links to be able to give someone all possible number of links up to 21 Solution: Assume that a chain of length k for every 1<=k<=length(chain) must be doable with the open links. Then you can reach **links length dissection** 0 1 1 1 5 1-(1)-3 2 13 1-(1)-3-(1)-7 3 29 1-(1)-3-(1)-7-(1)-15 4 61 1-(1)-3-(1)-7-(1)-15-(1)-31 n 2^(n+2)-3 we have taken links as 2^k-1. [Read More]

CTS Aptitude Question paper(Yellow)

1. If all the 6 are replaced by 9, then the algebraic sum of all the numbers from 1 to 100(both inclusive) varies by Ans: 330 2. The total no. of numbers that are divisible by 2 or 3 between 100 and 200(both inclusive) are Ans:67 3. From a pack of cards Jack, Queen, King & ace are removed. Then the algebraic sum of rest of the cards is Ans:216 [Read More]

CTS Aptitude Question paper(Yellow)

Question 1: If all the 6 are replaced by 9, then the algebraic sum of all the numbers from 1 to 100(both inclusive) varies by Answer: 330 Question 2: The total no. of numbers that are divisible by 2 or 3 between 100 and 200(both inclusive) are? Answer: 67 Question 3: From a pack of cards Jack, Queen, King & ace are removed. Then the algebraic sum of rest of the cards is? [Read More]

PSYCHOMETRY TEST

Direction: In this section you will find different questions with the same meaning. In all such questions your answer has to be same. for e.g.: In being thrown by chance with a stranger, you wait for the person to introduce himself or herself. (a) Yes (b) No (c) ? It is difficult for you to chat about things in general with people. (a) Yes (b) No (c) ? These two questions have similar meanings. [Read More]

Learn some words

Note: ANT = Antonym INDICT: to formally charge somebody, to accuse somebody INTERDICT: to ban something, to prohibit something EQUANAMITY: Evenness of temper even under the pressure situation ANT: Volatility INEPT: incompetent, inexpert, unable to handle the job ANT: Adept ABASH: to make somebody ashamed,embarrassed or uncomfortable AGGRAVATE: to annoy somebody, to irritate somebody, make something worse,exacerbate ANT: Alleviate CONJECTURE: guesswork, speculation LUDICROUS: abusardly ridiculous because of being absurd, prepostorous,absurd [Read More]

Ten Horses and Nine Stable Problem (Focus on word)

Problem: A man has Ten Horses and nine stables as shown here. [] [] [] [] [] [] [] [] [] The man wants to fit Ten Horses into nine stables. How can he fit Ten horses into nine stables?   Answer: The answer is simple. It says the man wants to fit “Ten Horses” into nine stables. There are nine letters in the phrase “Ten Horses”. So you can put one letter each in all nine stables. [Read More]