Skip to content

Instantly share code, notes, and snippets.

View jaitheking's full-sized avatar

Jaiprashanth jaitheking

  • Malaysia
View GitHub Profile
@jaitheking
jaitheking / SoftwareVV_Notes.md
Last active April 28, 2016 07:33
Software Verification and Validation

#Software Verification & Validation [TOC]

Lecture 1

Infamous Software Error Cases

  • Disney`s Lion King,1994-1995
  • Intel Pentium Floating-Point Division Bug 1994
  • Nasa Mars Polar Lander 1999
  • Patriot Missile Defense System 1991
  • Y2K
import datetime
name = input("Give me your name: ")
age = int(input("Enter your age: "))
print("Your name is " + name + " and your age is "+str(age))
hundredyear = str((datetime.datetime.now().year-age) + 100)
copy = int(input("Enter a special number: "))
print (copy * ("You will be 100 years old in the year, "+hundredyear+"!!\n"))