Semester : S1 and S2
Year : 2018
Term : JULY
Branch : MECHANICAL ENGINEERING
Scheme : 2015 Full Time
Course Code : BE 101-05
Page:1
D D1105
Reg No.: Name:
APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY
FIRST SEMESTER B.TECH DEGREE EXAMINATION, JULY 2018
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
1 List any four applications of computer. (2)
2 Differentiate between assemblers, compilers and interpreters. (3)
3 Defineoperating system. List any two functions of OS. (2)
4 Write an algorithm to check whether the given year is leap year or not. (2)
5 Describe the basic symbols used in flow chart. (2)
6 Explain Top-Down approach in problem solving. (3)
7 What do you mean by identifier? What are the rules for identifiers? (3)
8 Explain different category of range () with example. (2)
9 Write a program to print the pattern. (2)
1
10
101
1010
10 Explain type conversion and coercion with suitable example. (2)
1] With an example, explain function with default argument. (2)
12 Write a Python program to find the sum of series: (3)
[1+#+४/2!+%/31+४//41+.......... ]. Use a user defined function to find factorial.
13 Discuss packing and unpacking in python tuple with example. (3)
14 Write a Python program to traverse a string in reverse order. (3)
15 What is the need for self-variable in python class attribute? (3)
16 What are the different file operations used in python? (3)
PART 8
Answer any four full questions, each carries 8 marks
17 a) Describe Von-Neumann architecture with a neat sketch. (5)
b) List different type of CPU registers. (3)
18 Write analgorithm and draw the flow chart for finding the roots of a quadratic (8)
equation.
19 a) Write a Python program to read a number and print the number in words. (5)
(Hint:1230=>One Two Three Zero)
b) Explain any three operators and expressions in Python with suitable examples. (3)
20 a) Write a Python program to print prime numbers in a given range. (4)
b) List the advantages and disadvantages of recursion. (4)
Page 1 of 2