Exam Details

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


Question Paper

B.C.A. (Semester IV) (CBCS) Examination Mar/Apr-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:
10
What is the output of print list if list 12345, 2.23, 70.2]?
2.23, 70.2]
List
Error
None of the above
Which of the following function of dictionary gets all the keys from the dictionary?
getkeys()

keys()
None of the above
Which of the following function checks in a string that all characters are alphanumeric?
shuffle(1st)
capitalize()
isdigit()
isalnum()
What is the output of
1
2
3
4
of the following is used to give single line comment in python.


Both a and b

of the following is not a numeric type in python.
int
complex
float
double
function is used to sort the group of strings.
append()
sorted()
slice()
sort()
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
Which one of the following is not attributes of file?
closed
softspace
rename
mode
10) Which of the following is the floor division operator?




Page 2 of 2
SLR-SR-18
Q.1

State whether True or False:-
04
Python is a case sensitive language.
The input() function accepts every value as string.
The wind() method is used to handle an event with an event handler function.
The arguments passed during the calling function are called formal parameters.
Q.2
Solve any seven from the following
14
Define break statement. Give its example.
Define continue statement. Give its example.
List the types of sequences datatypes.
What is the use of startwith() method?
What is the use of PVM?
Give any two advantages of functions.
Define dictionary. Give its example.
Write a code to accept a float number from keyboard.
What is tuple? Give its example.
Q.3

Solve any two of the following
10
Explain different file opening modes.
Define function. Write a program to calculate factorial of number using function.
Explain the features of python.

Define module. Explain the importing module with example.
04
Q.4
Answer any two from the following
14
Explain if-else conditional statement with example.
What is string? Explain the different string testing methods with example.
What is exception? Write a program to handle ZeroDivisionError exception.
Q.5
Answer any two from the following
14
Explain the following widgets with suitable example.
Frame
Label
Button
Write a python program to check the entered number is Armstrong or not.
Write a python program to retrieve and display all rows from employee table.


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