SEM 1 2020-21 Python
SEM 1 2020-21 Python
GROUP-A
1. Answer any four questions from the following: 2×4 = 8
(a) What is flow-chart?
(b) How performance of an algorithm can be measured?
(c) What is the purpose of exit() function in Python?
(d) What do you mean by interpreter?
(e) “Python is a high level programming language” ….. Justify it.
(f) Mention all four categories of CPU registers.
(g) What is meant by cache memory?
GROUP-B
Answer any four questions from the following 8×4=32
2. (a) Explain all type of errors that can occur during programming. 3
(b) Write down any two advantages of program documentation. 2
(c) Write an algorithm to check whether a number is palindrome or not. 3
4. (a) Write a program in Python to display the first n terms of the Fibonacci series. 4
(b) Write a program in Python to find the factorial of any number n. 4
N.B. : Students have to complete submission of their Answer Scripts through E-mail / Whatsapp to
their own respective colleges on the same day / date of examination within 1 hour after end
of exam. University / College authorities will not be held responsible for wrong submission
(at in proper address). Students are strongly advised not to submit multiple copies of the
same answer script.
——×——
1107 2