hi,
the logic and execution both is important, its true that there is different logic available to make a program, you may have seen that some one write a program in 10 lines and the same program run by other is 5 lines, you need to check in both of the cases you are getting same result or not, if the result is same and executed successfully then your logic is perfect.
hope you may understand.
Question : Directions: In the following question, four number pairs are given. In each pair, the number on the left side of (–) is related to the number on the right side of (–) with some Logic/Rule /Relation. Three pairs are similar based on the same Logic/Rule/Relation. Select the odd one out from the given alternatives. (NOTE: Operations should be performed on the whole numbers, without breaking down the numbers into their constituent digits. E.g.13 – operations on 13 such as adding /subtracting /multiplying etc. to 13 can be performed. Breaking down 13 into 1 and 3 and then performing mathematical operations on 1 and 3 is not allowed.)
Option 1: 225 – 5733
Option 2: 169 – 7912
Option 3: 361 – 9786
Option 4: 289 – 3194
Question : ________ changes each time it is installed to avoid detection by antivirus software.
Option 1: Polymorphic virus
Option 2: Worm
Option 3: Logic bomb
Option 4: Trojan horse
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile