- Q What is the worst job you can imagine holding?
- Q Partitioning. You have "n" numbers having values from 1 to n. You have to write a code to partition it into "m" groups such that sum of numbers in each group is equal to n*(n+1)/(2*m). Assume that numbers n and m are such that n*(n+1)/(2*m) is an integer. Your program should print out the numbers in each group. Or if it is not possible to partition the numbers into m groups, then print out that its not possible. Example : n=20 and m=3 Group 1 : 1,8,11,13,18,19 Group 2 : 2,5,12,14,17,20 Group 3 : 3,4,6,7,9,10,15,16 Input: Two integers n,m. Output: Print out to the screen the numbers in each group in a different line. Testing: We will run at least 5 test cases for this problem. So if you cannot write a generalised code which will take care of all n and m, you can try to write codes based on specific conditions.
- Q How does Z index function?
- Q What is managerial accounting?
- Q What experience do you have with hardware components?
- Q The Arab conquest of Sind took place in which year?
- Q During the Indian National Movement, which freedom fighter formed the revolutionary group 'Ramoshi’ in Maharashtra?
- Q What is the second book of the Bible?
- Q What type of interrupts are used for critical events and why?
- Q Name the English 1960s playwright (of Loot and Entertaining Mister Sloane), imprisoned with (and later murdered by) boyfriend Kenneth Halliwell for defacing library books in 1962?
- Q Who advocated the Nazism in Germany-