APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY Previous Years Question Paper & Answer

Course : B.Tech

Semester : S1 and S2

Year : 2016

Term : JANUARY

Scheme : 2015 Full Time

Course Code : BE 101-05

Page:1





PDF Text (Beta):

10126

Reg. No.: Name:

FIRST SEMESTER B.TECH DEGREE EXAMINATION, JANUARY 2016
Course Code: BE101-05
Course Name: INTRODUCTION TO COMPUTING AND PROBLEM SOLVING

Max. Marks: 100 Duration: 3 Hours
PARTA
Answer all questions, each question carries 4 marks (40 Marks)
1. a) Name any 3 optical input devices.

b) Name the different I/O ports used in a computer.

9) Define system software with an example. (1 each)
2. Write notes on buses. (3)
3. Draw the flowchart to find out the greatest of three numbers. (2)
4. Differentiate between top down and bottém up problem solving strategies. (2)
5. Write an algorithm to compute sum of the series 1 - + ~ ठ. terms, (2)
6.

a) Which of the following is a valid variable name in Python? (i) 12xyz (11) break (iii) A_123
(iv) ۸6
b) Evaluate the expression x**y**z given x=2,y=3,z=2 .
€) Predict the output of following code: ⋅

for i in range(10,-1,-2):

print i (1 each)
Write a Python program to find the sum of all even terms in a group of n numbers entered by
the user. (3)
Show how you will use the cosine() and log() functions in your program with the help of an

example. (2)

What will be the output of this program? Briefly explain the working of this code. (2)
def check(x,y):

return x/y
a,b=10,5
print check (a,b)

10. Write a Python program to compute the nth fibonacci number. Use a recursive function for the

implementation. (2)

11. Let fruit=’apples’ be a string. What will be the output of the following expressions: (2)

i) len(s1) (ii) s1[0:4] Gii) s1[6] (iv) 51[-4]

12. Let Data represent the list [‘circle’,’square’,’triangle”]. Write the expressions for following

operations: (3)

Similar Question Papers