BICTE ICTED 477 Python Programming 2081: Difference between revisions

From ICTED-WIKI
Jump to navigation Jump to search
Created page with "TRIBHUVAN UNIVERSITY 2081-ii (New Course) Bachelor/ Education /7th Semester Full Marks: 40 ICT.Ed.477 Python Programming Time: 3 hrs. Candidates are required to give answers in their own words as far as practicable. The figures in the margin indicate full marks. Attempt all questions Group "B" 6 X 5 marks =30 Write a Python program to demonstrate list slicing and the use of list comprehension. 2. Discuss the methods available for string manipulation in Python...."
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
TRIBHUVAN UNIVERSITY
== TRIBHUVAN UNIVERSITY ==
 
2081-ii (New Course)
2081-ii (New Course)


Bachelor/ Education /7th Semester
Bachelor/ Education /7th Semester Full Marks: 40
 
Full Marks: 40


ICT.Ed.477 Python Programming
ICT.Ed.477 Python Programming
Line 11: Line 8:
Time: 3 hrs.
Time: 3 hrs.


Candidates are required to give answers in their own words as far as practicable. The figures in the margin indicate full marks.
'''Candidates are required to give answers in their own words as far as practicable. The figures in the margin indicate full marks.'''
 
Attempt all questions
 
Group "B"
 
6 X 5 marks =30
 
Write a Python program to demonstrate list slicing and the use of list comprehension.
 
2. Discuss the methods available for string manipulation in Python. Provide examples of split, replace, and strip methods.
 
3. Discuss the concept of data hiding in Python. Why is it important, and how is it achieved?
 
OR
 
Explain the different types of inheritance in Python with suitable examples.
 
4. Write a Python program to demonstrate file operations, including reading from and writing to a file.


Write a Python program to demonstrate how exceptions are handled when dividing a number by zero.
'''Attempt all questions'''


6. Write a Python program to design a simple GUI with labels, text entries, and buttons.
Group "B" 6 X 5 marks =30


OR
# Write a Python program to demonstrate list slicing and the use of list comprehension.
# Discuss the methods available for string manipulation in Python. Provide examples of split, replace, and strip methods.
# Discuss the concept of data hiding in Python. Why is it important, and how is it achieved? <br>''OR'' <br>Explain the different types of inheritance in Python with suitable examples.
# Write a Python program to demonstrate file operations, including reading from and writing to a file.
# Write a Python program to demonstrate how exceptions are handled when dividing a number by zero.
# Write a Python program to design a simple GUI with labels, text entries, and buttons. <br> ''OR''<br>  Explain the role of tkinter in Python GUI programming. Discuss the use of at least three Tkinter widgets.


✓ Explain the role of tkinter in Python GUI programming. Discuss the use of at least three tkinter widgets.
[[Category:OLD is Gold]]
[[Category:Python Programming]]
[[Category:2081]]
[[Category:BICTE]]
[[Category:7th Semester]]

Latest revision as of 05:58, 12 January 2025

TRIBHUVAN UNIVERSITY

2081-ii (New Course)

Bachelor/ Education /7th Semester Full Marks: 40

ICT.Ed.477 Python Programming

Time: 3 hrs.

Candidates are required to give answers in their own words as far as practicable. The figures in the margin indicate full marks.

Attempt all questions

Group "B" 6 X 5 marks =30

  1. Write a Python program to demonstrate list slicing and the use of list comprehension.
  2. Discuss the methods available for string manipulation in Python. Provide examples of split, replace, and strip methods.
  3. Discuss the concept of data hiding in Python. Why is it important, and how is it achieved?
    OR
    Explain the different types of inheritance in Python with suitable examples.
  4. Write a Python program to demonstrate file operations, including reading from and writing to a file.
  5. Write a Python program to demonstrate how exceptions are handled when dividing a number by zero.
  6. Write a Python program to design a simple GUI with labels, text entries, and buttons.
    OR
    Explain the role of tkinter in Python GUI programming. Discuss the use of at least three Tkinter widgets.