Skip to main content

Posts

Showing posts from November, 2015

Easy Way to Calculate Remainder of Long Division

       Most of the calculators unable to calulate Remainder of long division. Today I am going to show you a easy way to Calculate Remainder of Long Division using square-and-multiply algorithm. Consider example as (25) 17 % 77 As we know,             25 17 = 25 16 x 25 1 So we perform steps as follows:             25 1 % 77 = 25             25 2 % 77 = 9             25 4 % 77 = 9 2 % 77 = 4             25 8 % 77 = 4 2 % 77 = 16             25 16 % 77 = 16 2 % 77 =25 Since, 17 = 16 + 1 we stopped after 25 16 % 77  Final computation,             (25) 17 % 77 = { [ (25) 16 % 77 ] x [ (25) 1 % 77 ] } % 77                                 = { 25x25 } % 77                                 = 9  Happy Coding With Mathematics!

The selection procedure of Persistent

The different levels of campus recruitment for Persistent Systems involves following stages. 1. Aptitude test Involving 60 questions to be answered in 60 mins. Involves 5 aptitude questions, and other 55 questions from all Computer Science/IT subjects like Data Structures, Microprocessor, C/C++, Java, DBMS, Networking, Operating Systems and Communication Systems. 2. Written Test Involving Essay Writing and a C program (we were asked to write a program to convert source code input as a file.c into a source code file with C specific indentation removing extraneous spaces and performing appropriate indentation ). This test is to be completed in 30 mins. Results were declared after this two rounds of 90 mins. 3. Technical Round: 1 This round is toughest of all to clear as it involved too much elimination of students. You will be asked questions from all subjects mentioned above, core programming concepts and DBMS queries. Subjects may different based