String Assignment in Python Set 1- Important Practice Exercise

String Assignment in Python CHAPTER: STRING IN PYTHON STRING ASSIGNMENT IN PYTHON SET – 1 Time: 30 min                                                                                   M.M. – 20 Instructions: All Questions are compulsory Q1 to Q6 carry 1 mark Q7 to Q10 carry 2 marks Q11 to Q12 carry 3 marks Q1. Write the code to create an empty string named “str”. … Read more

Maintain Workplace Safety class 10 IT 402 Unit 4 Questions & Answers

Maintain Workplace Safety class 10 IT 402 Q1. Write any four basic Fire Safety rules in an organization. Q2. Write four Fall and Slips Safety rules in an organization. Maintain Workplace Safety class 10 IT 402 Q3. What are the appropriate measures to ensure safety from electrical devices at home as well as at workplace? … Read more

Internet Security Class 10 IT 402 Unit 4 Important Questions & Answers

Internet Security Class 10 IT 402 Q1. What do you mean by Internet Security? Q2. Write four online threats. Q3. Write four guidelines for managing strong password. Internet Security Class 10 IT 402 Q4. Write one website which can generate a random strong password. Q5. Write any four best practices to secure data. Q6. What … Read more

Online Transaction Class 10 IT 402 Important Questions Unit 4

Online Transaction Class 10 IT 402 Unit 4 Q1. What do you mean by Online Transaction? Q2. Write two benefits of online transaction. Q3. What is online shopping? Q4. Write three situations where online shopping is beneficial? Q5. Name four popular online transaction websites. Q6. Name one online portal for the following : a. To … Read more

15+ Common Python List Questions for Practice Important Programs

Most Common Python List Questions Q1. Write a function find(name) in python to display all the names from a list of names which are starting from alphabet ‘p’. Ans. name = [‘Amit’ , ‘Sumit’, ‘Pooja’ , ‘Mini’ , ‘Ronit’ , ‘Abdul’, ‘Poonam’] def find(name): for i in name: if i[0]==’p’ or i[0]==’P’: print(i) find(name) OUTPUT: … Read more

Top 25+ Python Text File Handling (Solved) Important Questions For beginners | Assignment

Python Text File (Solved) Questions – For beginners Q1. Write a program in python to read entire content of text file (“data.txt”)  Ans. f = open(“data.txt”, ‘r’) d = f.read( ) print(d) Q2. Write a program in python to read first 5 characters from the text file(“data.txt”)  Ans. f = open(“data.txt”, ‘r’) d = f.read(5) … Read more

Programs on Dictionary in Python Class 11 | Important Questions-Solved Exercise

Programs on Dictionary in Python Class 11 Q1. Write a Python program to arrange the values in a dictionary in ascending order. For example Original Dictionary = {1 : 25, 2 : 21, 3 : 23} Expected Output = [21, 25, 32] Solution: d={1:21,2:32,3:25} print(sorted(d.values())) print(d) Programs on Dictionary in Python Class 11 Q2. Write … Read more

error: Content is protected !!