0% found this document useful (0 votes)
9 views

SEM 1 2019 Python

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

SEM 1 2019 Python

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

CBCS/B.Sc./Hons./Programme/1st Sem.

/Computer Science/CMSHGEC01T/CMSGCOR01T/2019

WEST BENGAL STATE UNIVERSITY


B.Sc. Honours/Programme 1st Semester Examination, 2019

CMSHGEC01T/CMSGCOR01T-COMPUTER SCIENCE (GE1/DSC1)

Time Allotted: 2 Hours Full Marks: 40

The figures in the margin indicate full marks.


Candidates should answer in their own words and adhere to the word limit as practicable.
All symbols are of usual significance.

GROUP-A
1. Answer any four questions from the following: 2×4 = 8
(a) What is the function of Program Counter?
(b) What is the difference between a flowchart and an algorithm?
(c) What is the difference between DRAM and SRAM?
(d) What is relative error?
(e) What is polymorphism?
(f) What is the difference between list and tuple?
(g) What is negative index in Python?

GROUP-B
Answer any four questions from the following 8×4=32
2. (a) Draw a flowchart to check whether a number is prime or not. 4+4
(b) Write the differences between low level, high level and assembly level language.

3. (a) What is the use of auxiliary memory in computer? 2


(b) What is the main function of processor? 2
(c) What are the four categories of registers? 2
(d) What is system bus? 2

4. (a) Distinguish between memory mapped I/O and I/O mapped I/O. 4+4
(b) Write an algorithm to check whether a number is palindrome or not.

5. (a) What are the key features of Python? 5+3


(b) How is memory managed in Python?

1107 1 Turn Over


CBCS/B.Sc./Hons./Programme/1st Sem./Computer Science/CMSHGEC01T/CMSGCOR01T/2019

6. (a) What is difference between array and list in Python? 3+5


(b) Write a program in Python that will take as input the date of birth of a person and
will output the age of that person.

7. (a) How can you generate random number in Python? 3+3+2


(b) What is difference between range and xrange?
(c) What is pickling and unpickling?

8. Write short notes on any two of the following: 4×2=8


(i) Duck typing philosophy in Python
(ii) Decision Table
(iii) Top-down vs. Bottom-up approach.

——×——

1107 2

You might also like