Zed-King Institute
    All Notes

    O Level · Previous Year Practical Questions

    Practical Set 2

    Zed-King Study app · Free

    O Level students across India practise here, free

    Daily M1–M4 quizFull 100-question mocksAll-India rank
    Open the free app

    Google login · no Play Store needed

    🏆 Free All-India Sunday Mock · Sun, 29 Nov, 11 AM · CCC + O LevelRegister

    About this PDF

    Factorial of a number, counting vowels, consonants, digits and special characters, and creating a text file and displaying its contents.

    This is part of the free O Level PR-3 study material in the Zed-King Study Zone. You can read every page above in your browser, or download the file and study offline. Zed-King Group of Institute is a NIELIT Study Centre in Kaithal, Haryana, and all of this material follows the current NIELIT syllabus.

    Course
    O Level — NIELIT Foundation Diploma
    Module
    PR3 — PR-3: M3-R5.1 Python Programming — Practical
    Section
    Previous Year Practical Questions
    Format
    PDF — read online or download
    Price
    Free, no sign-up required

    Text from this PDF

    The opening pages as plain text — open the reader above for tables, diagrams and the full file.

    O Level (PR-3)Practical Question Set – 2

    Question 1.

    Write a program to find the Factorial of a given number.

    Question 2.

    Write a program to count Vowels, Consonants, Digits, and Special Characters in a string.

    Question 3.

    Write a program to create a text file, write data into it, and display its contents.

    More previous year practical questions for PR-3

    Run these Python programs yourself — free

    Reading code is not the same as writing it. Type any program from these notes into our free online Python compiler (real Python 3 with NumPy, input() works), or study one of the explained programs with its output.

    Prepare for O Level with expert guidance

    Classroom training, practical labs and exam registration at Zed-King Institute, Kaithal.

    Drag me!