Solution for NPTEL Programming, Data Structures and Algorithms using Python Week 1 MCQs

 1)What would happen if we call gcd(m,n) with m positive and n negative in the following definition?

def gcd(m,n):
  if m < n: 
    (m,n) = (n,m)
  if (m % n) == 0:
    return(n)
  else:
    diff = m-n
    return (gcd(max(n,diff),min(n,diff)))

Snapdragon 660 and 630

Snapdragon 660 & 630    Recently Qualcomm announced two game changing awesome processors Snapdragon 660 and Snapdragon 630. This two are not premium flagship high range processors but this are premium mid range processors which gives best performance in its budget range.  First let’s talk about Snapdragon 660 It is Read more…

7 Cybersecurity Myths Busted

Myth 1 :   Viruses and other malicious software affect only computers and laptops .                                                                                     Reality :    Mobile malware families which affect smartphones, tablets and other mobile  devices,increased by 58% last year. This malware can steal information such as phone numbers and email addresses (32% of the time), or use Read more…

BlueBrain

BLUEBRAIN the bluebrain is the project of create way of direct communication between computer and our mind at cellular level.     Ok, this was definition. Now, we are trying to understand in simple language.   We all know understanding the mind is very difficult and mind has a lot Read more…