0% found this document useful (0 votes)
28 views

r05012301 Computer Programming For Biotechnologists

This document contains four sets of questions for a Computer Programming for Biotechnologists exam. Each set contains 8 questions testing concepts like file management, data structures, algorithms, and bioinformatics programming. The questions cover topics such as multiprogramming, data storage, arrays, structures, functions, recursion, queues, and using Perl and C for biological applications.

Uploaded by

Srinivasa Rao G
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views

r05012301 Computer Programming For Biotechnologists

This document contains four sets of questions for a Computer Programming for Biotechnologists exam. Each set contains 8 questions testing concepts like file management, data structures, algorithms, and bioinformatics programming. The questions cover topics such as multiprogramming, data storage, arrays, structures, functions, recursion, queues, and using Perl and C for biological applications.

Uploaded by

Srinivasa Rao G
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Code No: R05012301 Set No.

1
I B.Tech Supplimentary Examinations, February 2008
COMPUTER PROGRAMMING FOR BIOTECHNOLOGISTS
(Bio-Technology)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
⋆⋆⋆⋆⋆

1. Describe two methods for keeping track of all the sector associated with a given
file. [8+8]

2. (a) Define multiprogramming. Explain how multiprogramming ensures effective


utilization of main memory and CPU?
(b) Explain the term ‘Ready’,‘ Blocked’ and ‘Running’ in context of multipro-
gramming. [10+6]

3. Write a program that calculates the value of money at the end of each year of
investment assuming an interest rate of 12 percent and prints the year & corre-
sponding amount in two columns for a period of 10 years with an intial investment
of 5 years.
Formula: Value at end of year = value at start of year (1+interest rate) [16]

4. (a) Write a C program to do Matrix Multiplications.


(b) Write in detail about one dimensional and multidimensional arrays. Also write
about how initial values can be specified for each type of arrays? [10+6]

5. Explain in detail about pass by values and pass by reference. Explain with a sample
program. [16]

6. Consider a structure master includes the information like name, code, pay, experi-
ence. Write a program to delete and display the information contained in master
variables for a give code. [16]

7. Let a be an array of integers. Present recursive algorithms to compute

(a) Maximum element of the array


(b) The sum of elements of the array [8+8]

8. Write a biojava program to find ORF. [16]

⋆⋆⋆⋆⋆

1 of 1
Code No: R05012301 Set No. 2
I B.Tech Supplimentary Examinations, February 2008
COMPUTER PROGRAMMING FOR BIOTECHNOLOGISTS
(Bio-Technology)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
⋆⋆⋆⋆⋆

1. (a) What is a secondary storage? Briefly describe the need for having a secondary
storage.
(b) Find the data transfer rate (in bytes/sec) and average access time(in ms) for
a disk pack with the following specifications:
Disk Capacity : 200 MB
Storage surfaces : 19
Number of tracks per surface : 700
Speed : 3600 rpm
Average seek time : 25 ms [6+10]
2. (a) Compare and contrast the differences between multiprogramming and multi-
tasking.
(b) Describe the functional capabilities of an operating system with respect to file
management. [8+8]
3. (a) Draw a Flowchart for the following
The average score for 3 tests has to be greater than 80 for a candidate to qualify
for the interview. Representing the conditional logic for generating reject
letters for all candidates who do not get the required average and interview
call letters for the others.
(b) Explain the basic structure of C program. [6+10]
4. (a) Write a C program to do Matrix Multiplications.
(b) Write in detail about one dimensional and multidimensional arrays. Also write
about how initial values can be specified for each type of arrays? [10+6]
5. Write a C program that uses a function to sort an array of integers. [16]
6. (a) What is a structure? Describe the governing rules for declaring a structure.
(b) Write a C program to prepare marks memo of a class of students using struc-
tures. [6+10]
7. Declare two queues of varying length in a single array. Write functions to insert
and delete elements from these queues. [16]
8. Write a bioperl script that takes a list of PubMed ID’s (get from Entrez) and
downloads the references from PubMed into a file. [16]

⋆⋆⋆⋆⋆

1 of 1
Code No: R05012301 Set No. 3
I B.Tech Supplimentary Examinations, February 2008
COMPUTER PROGRAMMING FOR BIOTECHNOLOGISTS
(Bio-Technology)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
⋆⋆⋆⋆⋆

1. With a neat diagram explain the working of an execution unit of a CPU. [16]

2. (a) Describe the basic functional features of windows and WindowsNT operating
system.
(b) Describe the functional capabilities and limitations of DOS operating system.
[8+8]

3. (a) What is meant by looping? Describe any two different forms of looping with
examples.
(b) Describe in detail the execution of while statement with example. [8+8]

4. (a) Write a program to sort the set of strings in an alphabetical order?


(b) How are multidimensional arrays defined? Compare with the manner in which
one-dimensional arrays are defined. [12+4]

5. What do you mean by functions? Give the structure of the functions and explain
about the arguments and their return values. [16]

6. (a) What is a structure? How is it declared? How it is initialized?


(b) Define a structure to represent a data. Use your structures that accept two
different dates in the format mmdd of the same year. And do the following:
Write a C program to display the month names of both dates. [6+10]

7. Write in detail about the following:

(a) Recursion
(b) Applications of Queues [8+8]

8. Write a SBML program to count the no.of nucleotides in a sequences. [16]

⋆⋆⋆⋆⋆

1 of 1
Code No: R05012301 Set No. 4
I B.Tech Supplimentary Examinations, February 2008
COMPUTER PROGRAMMING FOR BIOTECHNOLOGISTS
(Bio-Technology)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
⋆⋆⋆⋆⋆

1. (a) Describe the action of scrolling.


(b) What is a vector-scanned display? [8+8]

2. (a) Describe the basic functional features of windows and WindowsNT operating
system.
(b) Describe the functional capabilities and limitations of DOS operating system.
[8+8]

3. (a) What are constants?


(b) Name the different data types that C supports and explain them in detail?
[6+10]

4. (a) Write a program to sort the set of strings in an alphabetical order?


(b) How are multidimensional arrays defined? Compare with the manner in which
one-dimensional arrays are defined. [12+4]

5. Write a C program that uses a function to sort an array of integers. [16]

6. (a) Distinguish between an array of structures and an array within a structure.


Give an example each.
(b) Write a C program using structure to create a library catalogue with the
following fields; Access number, author’s name. Title of the book, year of
publication, publisher’s name, price. [6+10]

7. What is a Queue? Explain the various operations performed on Queues with suit-
able algorithms. [4+12]

8. Write a bioperl script to Split a file of multiple sequences into separate files and
modify their formats. [16]

⋆⋆⋆⋆⋆

1 of 1

You might also like