Semester : S1 and S2
Year : 2016
Term : SEPTEMBER
Branch : MECHANICAL ENGINEERING
Scheme : 2015 Full Time
Course Code : BE 101-05
Page:1
10129
Reg. No.: Name:
APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY
FIRST SEMESTER B.TECH DEGREE SPECIAL EXAMINATION, SEPTEMBER 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. Von Neumann Architecture uses Stored Program concept. What do you infer from this
statement? (3)
2. Which are the parameters used for rating the performance of a computer? (3)
3. Draw a flowchart to find given number is odd or even. (2)
4. List the symbols used in flowchart and describe where each one is used. (2)
5. Write an algorithm to display even numbers in reverse order starting from 50 to 0. (2)
6. Give the syntax for if statement in python. Explain how alternative execution and chained
conditionals performed in python with examples. (3)
7. Given,
a=6
b=7
c=42
Evaluate the following expressions
Print 1, not a==7 and b==
Print 2, not(a==7 and b==6)
Print 3, not a==7 and b==6 (3)
8. Which of the following is not a reason to use a function in your program? Justify your answer.
a) To break a program into pieces that make sense
b) To make your program run faster
c) To produce code that will perform the same action many times but with different
values each time
d) To place repeated code in one place so it can be reused (2)
9. What is the difference between type conversion and coercion in Python? Give an example for
(2)
each.