12th Byte

Thursday, 6 November 2025

Binary files practice

 Write a Python functions :

STUDENT_ADD() that adds new students to the file student.dat. 

Each record in the file contains the following information for a student:

  • Roll Number (integer)

  • Name (string)

  • sPercentage (float)

STUDENT_UPDATE() that changes the percentage of a certain roll number.

>Display if student not found



on November 06, 2025 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Comments (Atom)

Blog Archive

  • ►  2026 (6)
    • ►  January 2026 (6)
      • ►  Jan 14 (5)
      • ►  Jan 02 (1)
  • ▼  2025 (38)
    • ▼  November 2025 (5)
      • ►  Nov 07 (2)
      • ▼  Nov 06 (1)
        • Binary files practice
      • ►  Nov 03 (1)
      • ►  Nov 02 (1)
    • ►  October 2025 (4)
      • ►  Oct 27 (1)
      • ►  Oct 23 (1)
      • ►  Oct 15 (2)
    • ►  August 2025 (4)
      • ►  Aug 27 (2)
      • ►  Aug 21 (1)
      • ►  Aug 01 (1)
    • ►  July 2025 (4)
      • ►  Jul 27 (1)
      • ►  Jul 24 (1)
      • ►  Jul 21 (1)
      • ►  Jul 08 (1)
    • ►  June 2025 (5)
      • ►  Jun 30 (1)
      • ►  Jun 19 (1)
      • ►  Jun 12 (1)
      • ►  Jun 04 (1)
      • ►  Jun 03 (1)
    • ►  May 2025 (2)
      • ►  May 29 (1)
      • ►  May 21 (1)
    • ►  April 2025 (13)
      • ►  Apr 09 (13)
    • ►  March 2025 (1)
      • ►  Mar 19 (1)

Report Abuse

Search This Blog

Simple theme. Powered by Blogger.