0% found this document useful (0 votes)
89 views2 pages

Bcca 6 Sem Python 5540 Summer 2019

The document discusses a Python exam for a Bachelor of Commerce degree. It contains 6 questions with sub-questions that cover Python keywords, operators, functions, modules, strings, files, classes and CGI programming.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
89 views2 pages

Bcca 6 Sem Python 5540 Summer 2019

The document discusses a Python exam for a Bachelor of Commerce degree. It contains 6 questions with sub-questions that cover Python keywords, operators, functions, modules, strings, files, classes and CGI programming.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

http://www.rtmnuonline.

com

NRT/KS/19/5540
Bachelor of Commerce (Computer Application) (B.C.C.A.) Semester—VI Examination
PYTHON
Paper—2–1
(Sec–II)
Time : Three Hours] [Maximum Marks : 80
N.B. :— (1) All questions are compulsory.
(2) Draw well labelled diagrams wherever necessary.
PART—A
Note :— (1) Each question carries 2 marks.
(2) Answer should not be in more than 5 lines.
1. (a) List any 8 keywords of Python.
(b) What is comment ? Give an example.
(c) Define errors and exceptions in Python programs.
(d) What is the purpose of decimal function ?
(e) What is an acronym for ASCII ?
(f) What is meant by class attribute ?
(g) What is the purpose of image_creat( ) method ?
(h) What is the role of cgimodule ? 8×2=16
PART—B
Note :— (1) Each question carries 3 marks.
(2) Answer should not be in more than 10 lines.
2. (a) How will you take the prompt input from user ?
(b) What is the purpose of // operator ?
(c) What is the purpose of yield keyword in Python ?
(d) Describe variable scope in Python.
(e) What in-built functions are used to add, modify and remove an attribute of an instance ?
(f) Explain file opening modes in Python.
(g) What is the purpose of FieldStorage( ) constructor ?
(h) List any 6 methods used for showing button message. 8×3=24
PART—C
Note :— (1) Each question carries 5 or 10 marks.
(2) Answer should not be in more than 400 words for 5 marks questions and not more
than 600 words for 10 marks questions respectively.
EITHER
3. (a) What is Python ? What are the benefits of using Python ? 5
(b) What is the difference between tuples and lists in Python ? 5
OR
(c) Explain various types of operators in Python. 10

CLS—19846 1 (Contd.)
http://www.rtmnuonline.com http://www.rtmnuonline.com

EITHER
4. (a) What is meant by lambda expression ? Explain. 5
(b) What is function ? Describe any four mathematical functions in Python. 5
OR
(c) What is meant by module ? Explain with example. 10
EITHER
5. (a) Describe various operators available for string manipulation. 5
(b) Explain read( ) and write( ) method in Python. 5
OR
(c) What is meant by method overriding ? Explain with example. 10
EITHER
6. (a) Create a new HTML document containing a form with two text fields and a submit button.
5
(b) Describe three geometry manager methods. 5
OR
(c) How will you upload a file on to the web server ? Explain with example. 10

CLS—19846 2 NRT/KS/19/5540

http://www.rtmnuonline.com

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy