Вы находитесь на странице: 1из 4

Code No: R05012301 Set No.

1
I B.Tech Supplimentary Examinations, Aug/Sep 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 thermal printing?


(b) What is electro static printing?
(c) What is the difference between a line printer and a character printer?
[5+5+6]
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. (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. The annual examination is conducted for 50 students for three subjects. Write a
program to read the data and determine the following:
(a) Total marks obtained by each student.
(b) The highest marks in each subject and the Roll No. of the student who secured
it.
(c) The student who obtained the highest total marks. [8+8]
5. What do you mean by functions? Give the structure of the functions and explain
about the arguments and their return values. [16]
6. Explain the following with an example each:
(a) Array of structures.
(b) Structures within structures. [8+8]
7. Write a program to convert a postfix expression to a fully parenthesized infix ex-
pression. For example, AB+ would be transformed in to (A+B) and AB+C- would
be transformed into ((A+B)-C). [16]
8. Write a biojava program to construct codon table of amino acids. [16]

⋆⋆⋆⋆⋆

1 of 1
Code No: R05012301 Set No. 2
I B.Tech Supplimentary Examinations, Aug/Sep 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 cache memory? How is it different from a primary memory? What
is the advantage of using Cache memory?
(b) Explain the idea of cache memory in computers. How does the presence of
Cache increase the processing speed? [8+8]
2. (a) Write short notes on hardware management in operating system.
(b) List the important features of Unix operating system. [8+8]
3. (a) Write a program to determine and print the sum of the following harmonic
series for a given value of n:
1+1/2+1/3+.....+1/n.
(b) What are the logical operators used in C and illustrate with examples. [10+6]
4. (a) How are initial values written in a one-dimensional array definition? Is the
entire array be initialized? What value is automatically assigned to those
array elements not explicitly initialized?
(b) Write a program to calculate mean, variance and standard deviation of n
numbers.

S= variance, where
Variance = 1/n sum (xi − m)2
m= mean of n numbers. [4+6+6]
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 the use of struct keyword? Explain the use of dot operator? Give an
example for each.
(b) Write a C program to accept records of the different states using array of
structures. The structure should contain char state, population, literary rate,
and income. Display the state whose literary rate is highest and whose income
is highest. [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 Biojava program to count the no.of bases in a given sequence. [16]

⋆⋆⋆⋆⋆

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

1. Explain the working of CRT display with a neat diagram. [16]

2. (a) Describe the distinct features of Unix Operating system.


(b) Describe the file management features of Windows operating system. [8+8]

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) In what way array is different from an ordinary variable?


(b) What conditions must be satisfied by the entire elements of any given array?
(c) What are subscripts? How are they written? What restrictions apply to the
values that can be assigned to subscripts?
(d) What advantage is there in defining an array size in terms of a symbolic
constant rather than a fixed integer quantity?
(e) Write a program to find the largest element in an array. [2+2+4+4+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. What is a data structure? Explain the various types of data structures with suitable
example. [4+12]

8. Write a Biojava program to count the no.of bases in a given sequence. [16]

⋆⋆⋆⋆⋆

1 of 1
Code No: R05012301 Set No. 4
I B.Tech Supplimentary Examinations, Aug/Sep 2008
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) Define the term “spooling”.


(b) What special hardware features are required in a computer to implement mul-
tiprogramming? [6+10]

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) In what way array is different from an ordinary variable?


(b) What conditions must be satisfied by the entire elements of any given array?
(c) What are subscripts? How are they written? What restrictions apply to the
values that can be assigned to subscripts?
(d) What advantage is there in defining an array size in terms of a symbolic
constant rather than a fixed integer quantity?
(e) Write a program to find the largest element in an array. [2+2+4+4+4]

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

6. Define a structure that can describe a hotel. It should have members that include
the name, address, grade, average room charge, and number of rooms. Write a C
program to perform following operations:

(a) To print out hotels of a given grade in order of charges.


(b) To print out hotels with room charges less than a given value. [8+8]

7. What is a Circular Queue? Explain the various operations on Circular Queues with
suitable algorithms. [4+12]

8. Write a bioperl program that takes a sequence and finds homologs from SwissProt
using remote blast. [16]

⋆⋆⋆⋆⋆

1 of 1