Exam Details

Subject python
Paper
Exam / Course b.c.a
Department
Organization solapur university
Position
Exam Date November, 2018
City, State maharashtra, solapur


Question Paper

B.C.A. (Semester IV) (CBCS) Examination Nov/Dec-2018
PYTHON
Time: 2½ Hours Max. Marks: 70
Instructions: All questions are compulsory.
Figures to the right indicate full marks.
Q.1 Choose the most correct alternatives: 14
Which module in Python supports regular expressions?
re regex
pyregex None of the mentioned
Which of the following function convert a string to an int in python?
int(x long
float(x) str(x)
What is the following function removes last object from a list?
list.index(obj) list.insert(index, obj)
list.pop(obj=list[-1]) list.remove(obj)
Which of these in not a core datatype?
Lists Dictionary
Tuples Class
Which of the following is a Python tuple?
3].

Is Python case sensitive when dealing with identifiers?
Yes No
Machine dependent None of the mentioned
Which of the following is not a keyword?
Eval Assert
Nonlocal Pass
Mathematical operations can be performed on a string.
True False
Which one of the following have the highest precedence in the
expression?
Exponential Addition
Multiplication Parentheses
10) In order to store values in terms of key and value we use what core
datatype.
List Tuple
Class Dictionary
11) To include the use of functions which are present in the random library,
we must use the option:
import random random.h
import.random random.random
Page 2 of 2
SLR-SH-17
12) What is the output of print str[0] if str 'Hello
Hello World! H
ello World! None of the above
13) How many except statements can a try-except block have?
Zero One
More than one More than zero
14) When is the finally block executed?
When there is no exception
When there is an exception
Only if some condition that has been specified is satisfied
Always
Q.2 Answer any seven from the following: 14
How to Select an Element from a List?
What is GUI?
Explain Global and local variable.
Explain variable with syntax?
Define dictionary with syntax?
What is Exception?
Write various mode of file.
What is the use of PVM?
Define anonymous function?
Q.3 Answer any two from the followings:- 10
What are Tuples and its Manipulation?
What is function? Write a program for display Fibonacci series using
Recursion.
What is String? Explain its function.
Explain the features of python. 04
Q.4 Answer any two from the followings:- 14
Explain looping statement with example.
What is module? Explain its types with example.
Python program to find the L.C.M. of two input number using function.
Q.5 Answer any two from the followings:- 14
Explain the following widgets with suitable example.
Check button List box Message
Write a python program to retrieve and display all rows from student table.
Explain regular expression using match function with example.


Other Question Papers

Subjects

  • advance programming in c
  • advanced java – i
  • advanced java – ii
  • advanced programming in ‘c’
  • advanced web technology
  • basics of ‘c’ programming
  • business communication
  • business statistics
  • communication skills
  • computer graphics
  • computer oriented statistics
  • core java
  • cyber laws and security control
  • data structure using ‘c’
  • data structures using ‘c’
  • data warehouse and data mining
  • database management system
  • dbms with oracle
  • development of human skills
  • digital electronics
  • discrete mathematics
  • e-commerce
  • e-governance
  • financial accounting with tally
  • financial management
  • fundamentals of computer
  • fundamentals of financial accounting
  • introduction to data mining & warehousing
  • introduction to information technology
  • linux and shell programming
  • management information system
  • networking & data communication
  • networking and data communication
  • object oriented programming with c++
  • oop with c++
  • operating system
  • operations research
  • operting system
  • procedural programming through ‘c’
  • python
  • rdbms with oracle
  • software engineering
  • software project management
  • software testing
  • theory of computation
  • visual programming
  • web technology
  • web technology – ii
  • web technology – iii