flowers in rain

flowers in rain
"God sleeps in the minerals, awakens in plants, walks in animals, and thinks in man." Arthur Young

Friday, 18 August 2017

Bioinformatics applications


Paper VII GROUP A: Unit I

Dear MSc Second Year Zoology (V.U) Students
I found an article that concisely describes various applications of bioinformatics, as this a common question in your exams, I am posting a link to this article link to article

Thursday, 13 July 2017

Basic assignment 3

Paper VII GROUP A: Unit I

Dear MSc Second Year Zoology (V.U) Students
So far we have seen that we can store a single value in a variable for example:
10 Let A = 10
But while programming it may be convenient to store a list of values (i.e. 10,5,15,20,25) in a single variable. This is possible in BASIC and such a list in called "array", each individual item is called an "element". So "A" is an array and its elements are A1= 10, A2 = 5, A3=15, A4= 20, A5=25. 1 in "A1" denotes position of the element in an array and is called its "index" or "subscription".
To make an array in BASIC we use DIM statement, say if we want to make an array of 10 elements and save it in variable "N" then the statement wii be
10 DIM N(10) This will create an empty array of 10 elements. To fill this array we can take the elements as input or we can use READ and DATA statements.
DATA statement saves a list of elements.
READ statements reads the list one at a time and puts it in array
Example: Program to calculate sum of squares of 10 numbers.
    10 Cls
    20 LET S = 0
    30 FOR I = 1 to 10
    40 READ X(I)
    50 LET S = S + X(I)*X(I)
    60 NEXT I
    70 NEXT I
    80 PRINT S
    90 DATA 1,2,3,4,5,6,7,8,9,10
    100 END

    Your assignment:


  • Write a program using array to calculate mean and variance of heights of dogs, heights are : 600 mm, 470 mm,170 mm, 430mm and 300 mm.


  • Further Reading: A blog with many qbasic examples
  • Open WikiBook

If you face any problems or you want to discuss this assignment please feel free to leave a comment.

Excel Assignment 4


Paper VII GROUP A: Unit I

Dear MSc Second Year Zoology (V.U) Students Download the following excel sheet, complete the assignments given therein and send them to me.If you have any difficulties use comment option of this blog.

Wednesday, 7 June 2017

Excel Assignment 3


Paper VII GROUP A: Unit I

Dear MSc Second Year Zoology (V.U) Students Download the following excel sheet, complete the assignments given therein and send them to me.If you have any difficulties use comment option of this blog.

Basic Assignment 2

Paper VII GROUP A: Unit I

Dear MSc Second Year Zoology (V.U) Students
This assignment uses string functions to manipulate string in qbasic. Complete this assignment and send it to me by mail. In case you face any difficulties please go through the materials given for further reading. Try to think simple, write few steps and run in qb64, see if it is giving the result the you expect it to. Build the program step-wise.
The following example uses Len() function to calculate length of a string than uses a FOR-NEXT loop to extract increasing number of characters from left of the string with LEFT$() and then prints them. For your assignment you will need to use MID$() its syntax is MID$(S$,x,y) where S$ = variable to which string is assigned to, x = position at which to begin, y = number of characters to extract.
Also note that I have used GOTO statements to make the program follow a particular sequence of steps this is an example of controlling the flow of the program
    10 Cls
    20 Input “Enter any name ”;N$
    30 NameLength = LEN(N$)
    40 IF NameLength > 3 THEN GOTO 70
    50 PRINT "Name is too small"
    60 GOTO 110
    70 FOR i = 1 TO NameLength
    80 leftslice$ = LEFT$(N$, i)
    90 PRINT leftslice$
    100 NEXT i
    110End

  • Write a program to take input student's name then print it in following format.

  • example: Rosemerry
    R
    o
    s
    e
    m
    e
    r
    r
    y

  • Further Reading: A blog with many qbasic examples
  • Open WikiBook

If you face any problems or you want to discuss this assignment please feel free to leave a comment.