APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY Previous Years Question Paper & Answer

Course : B.Tech

Semester : S1 and S2

Year : 2020

Term : SEPTEMBER

Scheme : 2015 Full Time

Course Code : BE 101-05

Page:2





PDF Text (Beta):

=
14

15

16

19

20

21

22

a)
b)

a)
b)

b)

a)

b)

a)

000BE10105121804

>>> 1] 10)

<<< rl.a=44

>>> 11.022

>>> r2=rank()

>>> (28544

>>> 12.022

>>> 11 is r2

What is pickling? Give example.

List the different file operating modes in Python?
PART B

Answer any four full questions, each carries 8 marks.
What are secondary storage devices? Explain any two.
Give the functions of accumulator, IR and MBR.
Formulate an algorithm and draw a flowchart to solve a quadratic equation.
Using ‘while’, write a Python program to print the multiplication table of n,
2<=n<=10. Replace the ‘while’ statement with an equivalent ‘for’ statement to
get the same output.
Write a Python function to compute the power of a number. Use the function to
compute the sum of the series (1- 97/2 + x44 பிக... n terms).
What are the functions of an operating system?
Write a Python function to find GCD (greatest common divisor) of two
numbers.

PART C

Answer any two full questions, each carries 14 marks.
Write a Python program to find the transpose of a matrix using list.
Write a Python program to read numbers stored in a file and separate the even
and odd numbers to two files named Even.txt and Odd.txt respectively. Display
both the files.
Create a dictionary with items and number of units of each item available in the
stock. Write a Python program to show the stock updation as and when the units
of the existing items are added or deleted.
Explain the concepts of classes, attributes and methods in Python, with suitable
examples.
Write a Python program to create a list of strings. Separate palindromes in the

list to another list without using reverse() function.

(3)

(3)
(2)

(5)

(3)

(8)

(8)

(8)

(3)

(5)

(7)

(7)

(7)

(7)

(7)

Similar Question Papers