Semester : S1 and S2
Year : 2016
Term : JUN
Branch : MECHANICAL ENGINEERING
Scheme : 2015 Full Time
Course Code : BE 101-05
Page:1
Reg. No.: Name:
FIRST SEMESTER B.TECH DEGREE EXAMINATION, JUNE 2016
Course Code: BE101-05
Course Name: INTRODUCTION TO COMPUTING AND PROBLEM SOLVING
Max. Marks: 100 Duration: 3 Hours |
PART A
Answer all questions
1. Differentiate features of RAM and ROM (3)
Describe Instruction cycle and its steps. (3)
Write the algorithm for finding largest among set of N numbers (2)
2
3
4. What is the purpose of flow charts in problem solving? Describe symbols used in flow chart (2)
5. Draw the flow chart for finding whether the given number is odd or even (2)
6
for count in range(100):
print count
Convert the above code to equivalent while loop (3)
7 Write a python code to print the following pattern
1
2 3
456 (3)
8. Write a function to find the sum of numbers between a lower bound and upper bound (2)
9. Illustrate with suitable example Type conversion and Type coercion (2)
10. List the advantages of using functions in program (2)
11. Write a Python code to check whether two strings are equal or not (2)
12. Describe the Dictionary methods with example (3)
13. Write a Python code to search an element in a list (3)
14. Why exception handling is required in programming? (2)
15. Differentiate Shallow equality and Deep equality (3)
16. List the advantage of using pickling in python. Also state the usage of dump method with
suitable examples (3)
PART B
Answer any 4 complete questions each having 8 marks’ :
17. a)Describe the memory hierarchy in terms of cost, speed and storage ~