Você está na página 1de 4

Code No: R5102301 1

I B.Tech (R05) Supplementary Examinations, June 2009


COMPUTER PROGRAMMING FOR BIOTECHNOLOGISTS
(Bio-Technology)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????

1. (a) Differentiate between a bit, a byte, and a word. What is a memory address and the
contents of an address ?
(b) What are RAM and ROM? Differentiate between them. Give their relative advantages.
[8+8]

2. Explain the process management in DOS. [16]

3. (a) What is a string constant? How do string constants differ from character constants? Do
string constants represent numerical Values?
(b) Summarize the standard escape sequences in C. Describe them.
(c) What is a variable? How can variables be characterized? Give the rules for variable
declaration.
(d) What is the purpose of type declarations? What are the components of type declaration?
[4+4+4+4]

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. Explain the following with an example each:

(a) Array of structures.


(b) Structures within structures. [8+8]

7. Write in detail about the following:

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

8. Write a bioperl program that reads a file of Genbank protein records (use ehd.gp from the
website) and prints their accessions and lengths. [16]

?????
Code No: R5102301 2
I B.Tech (R05) Supplementary Examinations, June 2009
COMPUTER PROGRAMMING FOR BIOTECHNOLOGISTS
(Bio-Technology)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????

1. Give a broad classification scheme of computers. Explain each type in brief. [16]

2. (a) What is ’Time sharing operating system’ ? Give an example.


(b) What are the advantages and disadvantages of time-sharing operating system?
[8+8]

3. (a) Name and describe the any four basic data types in C.
(b) Name and describe the four data type qualifiers. To which data types can each qualifier
be applied?
(c) What are constants? Explain any four basic types of constants. [6+4+6]

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. Explain the following with an example each:

(a) Array of structures.


(b) Structures within structures. [8+8]

7. (a) Write a C program that reverses a string using.


(b) Write a recursive function that returns the factorial of a given number. [8+8]

8. Write a biojava program to construct codon table of amino acids. [16]

?????
Code No: R5102301 3
I B.Tech (R05) Supplementary Examinations, June 2009
COMPUTER PROGRAMMING FOR BIOTECHNOLOGISTS
(Bio-Technology)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????

1. (a) Describe two methods of voice synthesis. How do they differ?


(b) Which methods of voice synthesis are more flexible? Why?
(c) Which methods of voice synthesis produce a more natural sound? Why?
[6+5+5]

2. Give a neat sketch showing major components of Unix OS and explain functions of each of
them. [16]

3. (a) Describe in detail the execution of while statement with example.


(b) Given a number, write a program using while loop to reverse the digits of the number.
For e.g. 12345 should be written as 54321.
(c) Write a program to compute the sum of the digits of a given integer number.
[4+6+6]

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) Write a C program to illustrate the comparison of structure variables.


(b) What is the use of a structure? Given an example for a structure with initialized values.
[8+8]

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 Biojava program to count the no.of bases in a given sequence. [16]

?????
Code No: R5102301 4
I B.Tech (R05) Supplementary Examinations, June 2009
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 main tasks, performed by CPU.


(b) What are interrupts? Name different types of interrupts.
(c) Name at least three sources of computer interrupts. [5+6+5]
2. Write a brief notes on the following:
(a) Multi-processing operating system
(b) Time sharing system
(c) Multi tasking OS
(d) Batch Processing. [4+4+4+4]
3. (a) C program contains the following declarations and initial assignments.
int i=8, j=5, k;
float x=0.005, y = - 0.01, z;
char a,b,c=‘d’,d=‘c’;
Determine the value of each of the following assignment expressions.
i. i -=(j>0) ? j:0; y
ii. a = (y>=0)? y : 0
iii. i += (j-2);
iv. z = (j ==5) ? i : j
(b) What are the increment and decrement operators? Explain with proper example with
differentiates prefix and postfix operations. [4+6+6]
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? Describe the governing rules for declaring a structure.
(b) Write a C program to prepare marks memo of a class of students using structures.[6+10]
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 bioperl script to Split a file of multiple sequences into separate files and modify their
formats. [16]

?????

Você também pode gostar