Exam Details

Subject scripting languages using python
Paper
Exam / Course m.sc. electronics and communications
Department
Organization rayalaseema university
Position
Exam Date May, 2018
City, State andhra pradesh, kurnool


Question Paper

M.Sc. DEGREE EXAMINATION, APRIL/MAY 2018.
Second Semester
Electronics and Communications
SCRIPTING LANGUAGES USING PYTHON
(New CBCS Syllabus w.e.f. 2017-18)
2 1721322
Time 3 Hours Max. Marks 70
PART — A
(Short Answer type questions) 6 30 Marks)
Answer any FIVE of the following.
All questions carry equal marks.
1. What are the uses of Scripting language?
2. Discuss standard I/O operations.
3. Explain different operators in python with an example.
4. Write a python program to sort numbers in descending order.
5. Give a note on sequence tuples.
6. How comparing string is used in python? Explain with an example.
7. Explain the constructor method in python.
8. Give a detailed note on objects in python.
PART — B
(Essay Type) 10 40 Marks)
Answer All questions of the following.
All questions carry equal marks.
9. Discuss the basic for executing a python program using REPL (Shell) with a
example.
Or
Briefly explain different operators, expressions and control statements with
example.

10. Assume that the variable data refers to the list Write the values of
the following expressions and explain.
data
data
len (data)
data
0 in data
tuple (data).
Or
What is mutator method? Explain why mutator method usually returns the
value none.
Write a LOOP that accumulates the sum of all of the numbers in the list
named data.
11. Give three examples of real-world objects that behave like a dictionary.
Or
Write a program that allows the user to navigate the lines of text in a file.
The program should prompt the user for a filename and input the lines of text
into a list. The program then enters a loop in which it prints the number of
lines in the file and prompts the user for a line number. Actual line numbers
range from 1 to the number of lines in the file. If the input is the program
quits. Otherwise, the program prints the line associated with that number.
12. Explain different object oriented features supported by python and discuss its
features.
Or
What is linked list? Explain insert, find and delete data with a python
program.
———————


Other Question Papers

Subjects

  • analog and digital communications
  • cellular and mobile communications
  • control systems
  • data communications
  • digital design using vhdl
  • electro magnetic theory
  • electronics instruments and measurements
  • microprocessor and embedded systems
  • operating system
  • scripting languages using python
  • semiconductor devices and network theory