Class 11 IP Sample Paper Term 2 Set 1
Class 11 IP Sample Paper Term 2 Set 1 Term-2 Examination 2021-22 Class: 11 Subject: Informatics Practices Subject Code: 065 Maximum Marks: 35/ Time: 2 hours General Instructions ♦ The…
CS-IT-IP-AI and Data Science Notes, QNA for Class 9 to 12
CBSE Sample Papers Class 11
Class 11 IP Sample Paper Term 2 Set 1 Term-2 Examination 2021-22 Class: 11 Subject: Informatics Practices Subject Code: 065 Maximum Marks: 35/ Time: 2 hours General Instructions ♦ The…
Input a welcome message and display it Python Program welcome_message=input("Enter welcome message : ") print("Hello, ",welcome_message) Output: Enter welcome message : "Welcome to https://cbsepython.in. This is the best place to…
Input a string and determine whether it is a palindrome or not; convert the case of characters in a string # Python Program to check whether string is palindrome or…
Count and display the number of vowels, consonants, uppercase, lowercase characters in string # Vowels & Consonants count str = input("Type the string: ") vowel_count=0 consonants_count=0 vowel = set("aeiouAEIOU") for…
Compute the greatest common divisor and least common multiple of two integers # GCD PROGRAM num1 = int(input("Enter 1st number: ")) num2 = int(input("Enter 2nd number: ")) i = 1…
Display the terms of a Fibonacci series Python Program # Program to display the Fibonacci sequence up to n-th term nterms = int(input("How many terms ? ")) # first two…
Input a number and check if the number is a prime or composite number Python Program num = int(input("Enter any number : ")) if num > 1: for i in…
Determine whether a number is a perfect number an armstrong number or a palindrome Python Program # Palindrome (12321 is Palindrome) number=int(input("Enter any number:")) num=number num1= number rev=0 while num>0:…
Random Function in Python MCQ Class 11-12 1. What does the following statement do? import random a) Imports the random module b) Imports a random module from a list of…
Input a list of numbers and swap elements at the even location with the elements at the odd location Python Program # Program to input number list and swapping odd…