Anda di halaman 1dari 4

#MICRO PROJECT: SOURCE CODE FOR ONLINE APTITUDE TEST

print(" Welcome to online aptitude test")


count=0
print("\nQ1.The ratio of width of our National flag to its length is")
print("1.3:5\n2.2:3\n3.2:4\n4.3:4")
a1=input("Enter your choice:")
if a1 == 2:
count=count+1
print("\nQ2.Rabindranath Tagore's 'Jana Gana Mana' has been adopted as India's National
Anthem. How many stanzas of the said song were adopted?")
print("1.Only the first stanza\n2.The whole song\n3.Third and Fourth stanza\n4.First and Second
stanza")
a2=input("Enter your choice:")
if a2 == 1:
count=count+1
print("\nQ3.The words 'Satyameva Jayate' inscribed below the base plate of the emblem of India
are taken from")
print("1.Rigveda\n2.Satpath Brahmana\n3.Mundak Upanishad\n4.Ramayana")
a3=input("Enter your choice:")
if a3 == 3:
count=count+1
print("\nQ4.The National Anthem was first sung in the year")
print("1.1911\n2.1913\n3.1936\n4.1935")
a4=input("Enter your choice:")
if a4 == 1:
count=count+1
print("\nQ5.The National Song of India was composed by")
print("1.Rabindranath Tagore\n2.Bankim Chandra Chatterji\n3.Iqbal\n4.Jai Shankar Prasad")
a5=input("Enter your choice:")
if a5 == 2:
count=count+1
print("\nQ6.The number of major languages, recognized in the Indian Union as official language,
are")
print("1.15\n2.22\n3.12\n4.9")

a6=input("Enter your choice:")


if a6 == 2:
count=count+1
print("\nQ7.The percentage of India's total population employed in agriculture is nearly")
print("1.40%\n2.50%\n3.60%\n4.70%")
a7=input("Enter your choice:")
if a7 == 4:
count=count+1
print("\nQ8.Tipu sultan was the ruler of")
print("1.Hyderabad\n2.Madurai\n3.Mysore\n4.Vijayanagar")
a8=input("Enter your choice:")
if a8 == 3:
count=count+1

print("\nQ9.Who invented the BALLPOINT PEN?")


print("1.Biro Brothers\n2.Waterman Brothers\n3.Bicc Brothers\n4.Write Brothers")
a9=input("Enter your choice:")
if a9 == 1:
count=count+1

print("\nQ10.What inspired reflecting road lights to be invented?")


print("1.Car door reflecting mirrors\n2.The light a cat's eyes gave off on a fence\n3.Sun light on
steel posts on road sides\n4.The sun light on the windshield")
a10=input("Enter your choice:")
if a10 == 2:
count=count+1
print "Your score out of 10 is:",count)

OUTPUT
student@HGACPL034:~$ python oat.py
Welcome to online aptitude test
Q1.The ratio of width of our National flag to its length is
1.3:5
2.2:3
3.2:4
4.3:4
Enter your choice:2
Q2.Rabindranath Tagore's 'Jana Gana Mana' has been adopted as India's National Anthem. How
many stanzas of the said song were adopted?
1.Only the first stanza
2.The whole song
3.Third and Fourth stanza
4.First and Second stanza
Enter your choice:1
Q3.The words 'Satyameva Jayate' inscribed below the base plate of the emblem of India are
taken from
1.Rigveda
2.Satpath Brahmana
3.Mundak Upanishad
4.Ramayana
Enter your choice:2

Q4.The National Anthem was first sung in the year


1.1911
2.1913
3.1936
4.1935
Enter your choice:1
Q5.The National Song of India was composed by
1.Rabindranath Tagore
2.Bankim Chandra Chatterji
3.Iqbal
4.Jai Shankar Prasad

Enter your choice:2


Q6.The number of major languages, recognized in the Indian Union as official language, are
1.15
2.22
3.12
4.9
Enter your choice:2
Q7.The percentage of India's total population employed in agriculture is nearly
1.40%
2.50%
3.60%
4.70%
Enter your choice:4
Q8.Tipu sultan was the ruler of
1.Hyderabad
2.Madurai
3.Mysore
4.Vijayanagar
Enter your choice:3
Q9.Who invented the BALLPOINT PEN?
1.Biro Brothers
2.Waterman Brothers
3.Bicc Brothers
4.Write Brothers
Enter your choice:1
Q10.What inspired reflecting road lights to be invented?
1.Car door reflecting mirrors
2.The light a cat's eyes gave off on a fence
3.Sun light on steel posts on road sides
4.The sun light on the windshield
Enter your choice:2
Your score out of 10 is : 9

Anda mungkin juga menyukai