Semester : S1 and S2
Year : 2019
Term : MAY
Branch : MECHANICAL ENGINEERING
Scheme : 2015 Full Time
Course Code : BE 101-05
Page:1
= गिता
த
WAN oa MAS So
D 41110
Reg No.: Name:
APJ ABDUL KALAM TECHNOLOGICAL UNIVERS
FIRST SEMESTER B.TECH DEGREE EXAMINATION(S), MAY 2019
Course Code: BE101-05
Course Name: INTRODUCTION TO COMPUTING AND PROBLEM SOLVING
Max. Marks: 100 Duration: 3 Hours
PART A 1
Answer all questions, each carries2 or 3 marks. Marks
1 Differentiate system software and application software. (3)
2 Give the roles of PC, IR and MAR. ۱ (3)
3 What are the properties of a good algorithm? (3)
4 Draw a flowchart to find area of a triangle. (3)
5 Write the syntax of chained conditional statement. Explain with an example. (3)
6 Give the output for the following program segment:
for c in “PYTHON”:
print (c)
else: (3)
print (“Done”)
What will be the output if print (c) is followed by a break statement in the for
loop?
ത്തെ ന ∎≓⇁↜⋅
7 1
ಗಾಳ ಕಾರವಾರ = ~ `` _ ~ , لها ل هو
rite a Python program using function to convert an integer to a string. (3)
8 How will you use sqrt() and log() functions in your program. Explain with an
example. (3)
9 Write a program to check if the word ‘orange’ is present in the string "This is
orange juice". (2
10 For the dictionary given below, identify the key-value pairs. Also give the
Python statements to print keys and values of the dictionary separately. (3)
Dict=[‘name’:’john’,’age’:25,’salary’: 28000]
1] Consider the list scores = [5, 4, 7, 3, 6, 2, 1] and write the Python code to
perform the following operations:
i) Insert an element 9 at the beginning of the list. (3)
1) Insert an element 8 at the index position 3 of the list.
111) Delete an element at the index position 4.
12 Predict the output. Justify your answer
A=20
B=0
C=A/B (2)
print C
13 Explain any three inbuilt exceptions. (3)
Page 1 of 3