Programming Examples
M3 R5 JAN 25 Practical Questions
Topic : Operators Expressions and Python Statements
Question - 1 [ O Level JAN-2025]
Write a program that checks if a number is positive using the assert statement.
Question - 4 [ O Level JAN-2025]
Write a program that takes two integers a and b as input. Print all the numbers between a and b (inclusive) that are divisible by both 3 and 5. If no such numbers exist, display No numbers found
Topic : NumPy Basics
Question - 1 [ O Level JAN-2025]
Write a NumPy program to create a 5x5 array with random values and replace the minimum value with 0.
Topic : Operators Expressions and Python Statements
Topic : NumPy Basics
Question - 1 [ O Level JAN-2025]
Create an array from [10, 15, 20, 25, 30]. Use Boolean indexing to create a new array with elements greater than 15.
Topic : File Processing in Python
Question - 1 [ O Level JAN-2025]
Write a program that opens a file named data.txt in write mode, and writes multiple lines to it from a list of strings.
Topic : Sequence data types in python
Question - 1 [ O Level JAN-2025]
Write a Python program to check whether an element exist within a tuple.
Topic : Modules in Python
Question - 1 [ O Level JAN-2025]
Write a function that prints the current date and time in a formatted way ("Year-Month-Day Hour : Minute)
Topic : Sequence data types in python
Question - 1 [ O Level JAN-2025]
Create a dictionary with RollNo and Percentage of 10 students. Write a program to print only those RollNo from the dictionary where percentage is greater than 50.
Topic : Functions in Python
Question - 1 [ O Level JAN-2025]
Write a Program to calculate factorial of a number using recursion.
Question - 1 [ O Level JAN-2025]
Write a program that checks if a number is positive using the assert statement.
Question - 4 [ O Level JAN-2025]
Write a program that takes two integers a and b as input. Print all the numbers between a and b (inclusive) that are divisible by both 3 and 5. If no such numbers exist, display No numbers found
Topic : NumPy Basics
Question - 1 [ O Level JAN-2025]
Write a NumPy program to create a 5x5 array with random values and replace the minimum value with 0.
Topic : Operators Expressions and Python Statements
Topic : NumPy Basics
Question - 1 [ O Level JAN-2025]
Create an array from [10, 15, 20, 25, 30]. Use Boolean indexing to create a new array with elements greater than 15.
Topic : File Processing in Python
Question - 1 [ O Level JAN-2025]
Write a program that opens a file named data.txt in write mode, and writes multiple lines to it from a list of strings.
Topic : Sequence data types in python
Question - 1 [ O Level JAN-2025]
Write a Python program to check whether an element exist within a tuple.
Topic : Modules in Python
Question - 1 [ O Level JAN-2025]
Write a function that prints the current date and time in a formatted way ("Year-Month-Day Hour : Minute)
Topic : Sequence data types in python
Question - 1 [ O Level JAN-2025]
Create a dictionary with RollNo and Percentage of 10 students. Write a program to print only those RollNo from the dictionary where percentage is greater than 50.
Topic : Functions in Python
Question - 1 [ O Level JAN-2025]
Write a Program to calculate factorial of a number using recursion.
Question - 1 [ O Level JAN-2025]
Write a NumPy program to create a 5x5 array with random values and replace the minimum value with 0.
Topic : Operators Expressions and Python Statements
Topic : NumPy Basics
Question - 1 [ O Level JAN-2025]
Create an array from [10, 15, 20, 25, 30]. Use Boolean indexing to create a new array with elements greater than 15.
Topic : File Processing in Python
Question - 1 [ O Level JAN-2025]
Write a program that opens a file named data.txt in write mode, and writes multiple lines to it from a list of strings.
Topic : Sequence data types in python
Question - 1 [ O Level JAN-2025]
Write a Python program to check whether an element exist within a tuple.
Topic : Modules in Python
Question - 1 [ O Level JAN-2025]
Write a function that prints the current date and time in a formatted way ("Year-Month-Day Hour : Minute)
Topic : Sequence data types in python
Question - 1 [ O Level JAN-2025]
Create a dictionary with RollNo and Percentage of 10 students. Write a program to print only those RollNo from the dictionary where percentage is greater than 50.
Topic : Functions in Python
Question - 1 [ O Level JAN-2025]
Write a Program to calculate factorial of a number using recursion.
Topic : NumPy Basics
Question - 1 [ O Level JAN-2025]
Create an array from [10, 15, 20, 25, 30]. Use Boolean indexing to create a new array with elements greater than 15.
Topic : File Processing in Python
Question - 1 [ O Level JAN-2025]
Write a program that opens a file named data.txt in write mode, and writes multiple lines to it from a list of strings.
Topic : Sequence data types in python
Question - 1 [ O Level JAN-2025]
Write a Python program to check whether an element exist within a tuple.
Topic : Modules in Python
Question - 1 [ O Level JAN-2025]
Write a function that prints the current date and time in a formatted way ("Year-Month-Day Hour : Minute)
Topic : Sequence data types in python
Question - 1 [ O Level JAN-2025]
Create a dictionary with RollNo and Percentage of 10 students. Write a program to print only those RollNo from the dictionary where percentage is greater than 50.
Topic : Functions in Python
Question - 1 [ O Level JAN-2025]
Write a Program to calculate factorial of a number using recursion.
Question - 1 [ O Level JAN-2025]
Create an array from [10, 15, 20, 25, 30]. Use Boolean indexing to create a new array with elements greater than 15.
Topic : File Processing in Python
Question - 1 [ O Level JAN-2025]
Write a program that opens a file named data.txt in write mode, and writes multiple lines to it from a list of strings.
Topic : Sequence data types in python
Question - 1 [ O Level JAN-2025]
Write a Python program to check whether an element exist within a tuple.
Topic : Modules in Python
Question - 1 [ O Level JAN-2025]
Write a function that prints the current date and time in a formatted way ("Year-Month-Day Hour : Minute)
Topic : Sequence data types in python
Question - 1 [ O Level JAN-2025]
Create a dictionary with RollNo and Percentage of 10 students. Write a program to print only those RollNo from the dictionary where percentage is greater than 50.
Topic : Functions in Python
Question - 1 [ O Level JAN-2025]
Write a Program to calculate factorial of a number using recursion.
Question - 1 [ O Level JAN-2025]
Write a program that opens a file named data.txt in write mode, and writes multiple lines to it from a list of strings.
Topic : Sequence data types in python
Question - 1 [ O Level JAN-2025]
Write a Python program to check whether an element exist within a tuple.
Topic : Modules in Python
Question - 1 [ O Level JAN-2025]
Write a function that prints the current date and time in a formatted way ("Year-Month-Day Hour : Minute)
Topic : Sequence data types in python
Question - 1 [ O Level JAN-2025]
Create a dictionary with RollNo and Percentage of 10 students. Write a program to print only those RollNo from the dictionary where percentage is greater than 50.
Topic : Functions in Python
Question - 1 [ O Level JAN-2025]
Write a Program to calculate factorial of a number using recursion.
Question - 1 [ O Level JAN-2025]
Write a Python program to check whether an element exist within a tuple.
Topic : Modules in Python
Question - 1 [ O Level JAN-2025]
Write a function that prints the current date and time in a formatted way ("Year-Month-Day Hour : Minute)
Topic : Sequence data types in python
Question - 1 [ O Level JAN-2025]
Create a dictionary with RollNo and Percentage of 10 students. Write a program to print only those RollNo from the dictionary where percentage is greater than 50.
Topic : Functions in Python
Question - 1 [ O Level JAN-2025]
Write a Program to calculate factorial of a number using recursion.
Question - 1 [ O Level JAN-2025]
Write a function that prints the current date and time in a formatted way ("Year-Month-Day Hour : Minute)
Topic : Sequence data types in python
Question - 1 [ O Level JAN-2025]
Create a dictionary with RollNo and Percentage of 10 students. Write a program to print only those RollNo from the dictionary where percentage is greater than 50.
Topic : Functions in Python
Question - 1 [ O Level JAN-2025]
Write a Program to calculate factorial of a number using recursion.
Question - 1 [ O Level JAN-2025]
Create a dictionary with RollNo and Percentage of 10 students. Write a program to print only those RollNo from the dictionary where percentage is greater than 50.
Topic : Functions in Python
Question - 1 [ O Level JAN-2025]
Write a Program to calculate factorial of a number using recursion.
Question - 1 [ O Level JAN-2025]