Divide and conquer mod

broken image
broken image
broken image

(Student_name, Student_Class, TotalExamGiven ) Now inserting some data to the Student table : To demonstrate create a table named Student. In this example, we are going to find whether a student has appeared a total odd number of exams or even with the help of the MOD function. MOD Function can also be used to find the Remainder values for the column data. ISRO CS Syllabus for Scientist/Engineer Examįinding the remainder of 36 when it is divided by 6 using MOD Function.įinding the remainder of 27 when it is divided by 4 using the modulus operator(%).įinding the remainder of a floating number using MOD Function.įinding the remainder of a number using MOD Function when the divisor is 0.ISRO CS Original Papers and Official Keys.GATE CS Original Papers and Official Keys.