APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY Previous Years Question Paper & Answer

Course : B.Tech

Semester : S1 and S2

Year : 2017

Term : DECEMBER

Scheme : 2015 Full Time

Course Code : BE 101-05

Page:2





PDF Text (Beta):

17

18

19

20

21

22

23

24

a)
b)
9)

a)

b)

९)
2)
0)
९)

a)

b)

D7084

PART B

Answer any four full questions, each carries 8 marks.
What are the different types of RAM? Give brief explanation.
Design an algorithm for generating the following series
(1, 3, 4, 7, 11, ........ )
Explain the instruction cycle of a CPU with a neat diagram.
Draw a flowchart for finding sum of the digits of a number, N.
Describe recursion with one example.
What is a system software? Explain its uses with examples.

Write a python program to find the sum of cosine series (1-x2/2!+x4/4!-

36/61... N terms). Use a function fact to find the factorial of a number.

Write a Python program to calculate the hypotenuse of a right-angled triangle.
Explain the logical operators in python with example?
Write Python code to check whether a number is prime or not.
PART C

Answer any two full questions, each carries 14 marks.
Write a python program to input a sentence and find the number of words in the
sentence and print each word in uppercase. Also print the number of question
marks (?), periods(.) and commas(,) present in the string.
Write a Python program to input a list of n numbers. Calculate and display the
sum of cubes of each value in the list.

What are the operations associated with a list? Explain with examples.

What is the difference between a list and a tuple?

Describe the exceptions in python with examples.

Explain the data structure, dictionary in Python using an example. How does
the Dictionary operations- “del” , “len” , “keys ”, “items” and “has_key”
operations work. Explain with examples.

Write a Python program to read numbers from a file named, num.txt. Write all
positive numbers from num.txt to file named positive.txt and all negative
numbers to another file named negative. txt.

Explain the terms class, object and attributes. Create a class Employee with
attributes name, age and salary. Write a method printdetails() for displaying the

same. Create two instances of the class and call the method for each instance.
KK

99

Page 2 of 2

(4)
(4)

(4)
(4)
(4)
(4)
(8)

(2)
(3)
(3)

(7)

(5)

(2)
(3)
(4)
(7)

(7)

(7)

Similar Question Papers