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:1





PDF Text (Beta):

as >

ve OF ENGI

BE 121804
D 000BE10105 33
Reg No.: Names 0
APJ ABDUL KALAM TECHNOLOGICAL U
B.Tech degree examinations (S), September 2020 (S1/S2 - 2015 Scheme)
Course Code: BE101-05
Course Name: INTRODUCTION TO COMPUTING AND PROBLEM SOLVING
Max. Marks: 100 Duration: 3 Hours
PART A
Answer all questions, each carries 2 or 3 marks. Marks
] Differentiate data bus, address bus and control bus. (3)
2 What is the role of translators in computers? Give examples. (3)
3 Give the various flowchart symbols and their use. (3)
4 Write an algorithm for swapping two integers. (3)
5 What are Boolean expressions? Give example Boolean statements in Python
and its output. 3)
6 What will be the output of the following program segment?
1-5
while i<0:
print i (3)
i=l
else:
print “Sorry”
7 What are the advantages of using functions? (3)
8 Write a python function to read the sides of a triangle a, b and calculate the
hypotenuse using the formula V(a? + एर). (3)
9 Let = String operations in python’. What will be the output of the following
expressions: (2)
1. str[ : -2] 1. str[:] 1. str[10: ] iv. str[-6 : -2]
10 Write a Python program to read a string and use appropriate string operation to
print the string 20 times in a line with no space. Do not use any iterative 3)
statement.
11 Write a Python program to read a string and find the number of vowels and
consonants in the string. (3)
12 Let r/ and 72 be the objects of the class rank. Give the output of the following

code.

Page 1 of 3

Similar Question Papers