Sunteți pe pagina 1din 4

Code No: R05012301 Set No.

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

1. (a) Name at least three categories of application software that could be used to
produce a publication such as a brochure or newsletter. Define briefly how
each contribute to the final products development.
(b) Describe at least two ways in which storage complements memory. [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. (a) What is the purpose of for statement? How does it differ from the while
statement and the do-while statement.
(b) How may times will a for loop be executed? What is the purpose of the index
in a for statement.
(c) Can any of the three initial expression in the for statement be omitted? If so,
what are the consequences of each omission? [6+6+4]

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. What do you mean by functions? Give the structure of the functions and explain
about the arguments and their return values. [16]

6. (a) Explain with an example how a structure can be organized in the ‘C’ language?
(b) Write a C program to print maximum marks in each subject along with the
name of the student by using structures. Take 3 subjects and 3 students
records. [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 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. 2
I B.Tech Supplimentary Examinations, Aug/Sep 2007
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. Breifly explain the following operating systems:

(a) UNIX
(b) DOS
(c) Windows 3.x. [6+5+5]

3. (a) What is an Algorithm? Write the various criteria used for judging an Algo-
rithm?
(b) Write an algorithm to find the roots of a quadratic equation for all the cases.
[6+10]

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. Explain in detail about pass by values and pass by reference. Explain with a sample
program. [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 Queue? Explain the various operations performed on Queues with suit-
able algorithms. [4+12]

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

⋆⋆⋆⋆⋆

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

1. (a) How does the computer store data, programs and results?
(b) Explain the different classifications of memory? [8+8]

2. (a) Give in brief how operating system manages various components of a com-
puter.
(b) Write short notes on file management in operating system. [8+8]

3. (a) Explain the following and illustrate it with an example each.


i. Increment and Decrement operator.
ii. Conditional operator.
iii. Bitwise operator.
iv. Assignment operator.
(b) State the rules that are applied while evaluating expression in automatic type
conversion. [10+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. Explain in detail about pass by values and pass by reference. Explain with a sample
program. [16]

6. Write a C program to compute the monthly pay of 100 employees using each em-
ployee’s name, basic-pay. The DA is computed as 52% of the basic pay. Gross-salary
(Basic pay+DA). Print the employees name and gross salary. [16]

7. Define a data structure. What are the different types of data structures? Explain
each of them with suitable example. [4+6+6]

8. Write a biojava script to compare two sequences and calculate their homology.[16]

⋆⋆⋆⋆⋆

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

1. (a) Explain the working principle of Optical Character Recognition Systems.


(b) What industries are most likely to benefit from optical character recognition?
Explain why? [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. What do you mean by functions? Give the structure of the functions and explain
about the arguments and their return values. [16]

6. (a) Explain with an example how a structure can be organized in the ‘C’ language?
(b) Write a C program to print maximum marks in each subject along with the
name of the student by using structures. Take 3 subjects and 3 students
records. [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 construct codon table of amino acids. [16]

⋆⋆⋆⋆⋆

1 of 1

S-ar putea să vă placă și