Semester : S1 and S2
Year : 2017
Term : JULY
Branch : MECHANICAL ENGINEERING
Scheme : 2015 Full Time
Course Code : BE 101-05
Page:1
& 7 ہت
REFERENCE
D B1D028S
Reg. No. Name:
APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY
FIRST SEMESTER B.TECH DEGREE EXAMINATION, JULY 2017
Course Code: BE101-05
Course Name: INTRODUCTION TO COMPUTING AND PROBLEM SOLVING
Max. Marks: 100 Duration: 3 Hours
PART A
Answer all questions. 1
1. What are the objectives of operating system? (2)
2. What is the significance of cache memory? (2)
3. Differentiate between assemblers, compilers and interpreters. (3)
4. Write an algorithm to find the sum of first ‘n’ odd numbers, for a given positive
integer n. (2)
ಶಿ What are the advantages of top-down design? (2)
6. Draw the flowchart to generate the first ‘n’ numbers in the Fibonacci sequence. (3)
7, Write the output produced by the following code.
a. for count in range(10,0,-2) : b. Print4+2**3*6 (2)
print(count, end=” “‘)
8. Write a Python code that prints the absolute value of a given number without using
Python’s abs function. (2)
9. Write a program to find the roots of a quadratic equation. (3)
10. Write a function in Python to print a newline. (2)
1.1 What are the advantages of using functions? (2)
12. Write two functions isdigit(), which returns True if the character passed is a digit and
isletter(), which returns True if the character passed is a letter. (3)
13. Write a program to remove all vowels from a given string. (3)
14. Is the compound type tuple in Python is mutable? Write a Python script to interchange
2 variables using tuple. (3)
15. Write a function exists() which returns True if the given file exists and False if it does
not. (3)
16. What is meant by pickling in python? Explain its significance with the help of
example. (3)
Page 1 2