Questions

3 Marks Each

🎯

Test yourself on this topic

17 questions · timed · auto-graded

Question 13 Marks
Write a function delrecord() to delete the record form the binary file “employee”. The record should be delete on the basis of employee number.
View full question & answer
Question 23 Marks
Write a function update () to update the record in the binary file “employee”, which consist of employee number, employee name and salary. The updation should be done on the basis of employee number entered by the user.
View full question & answer
Question 33 Marks
Write a function search () to search a record in a binary file according to the employee number entered by the user. Also display the message “Record not found” in case record not found in the file.
View full question & answer
Question 53 Marks
Write a function addrecord() a add new record to the binary file “employee” using list. The list should consist of employee number, employee name and salary.
View full question & answer
Question 63 Marks
Write the function to read the content from the file display the word which are having the length of exactly 4 characters.
View full question & answer
Question 73 Marks
Write a method in Python to read lines from a text file MYNOTES.TXT, and display those lines, which are starting with the alphabet ―K.
View full question & answer
Question 83 Marks
Write a function read the content and transfer all the word which start with lower case letter to another file.
View full question & answer
Question 103 Marks
Write a program to read the content of teacher.csv file in dictionary. teacher.csv sno,teacher,subject 1,Shilpa,english 2,Swati,computer 3,Farhat,chemistry
View full question & answer
Question 113 Marks
Write a program to save the dictionary records to teacher.csv file. sno,teacher,subject 1,Shilpa,english 2,Swati,computer 3,Farhat,chemistry
View full question & answer
Question 133 Marks
Write a program to save the following records in laps1.csv. ADMNO NAME AGE 1151, Ajay, 12 1152, Chandrika, 14
View full question & answer
Question 143 Marks
Write a function to read the content from the "quotes.txt" and transfer the content to the file "Duplicate.txt" but while transfer all the upper case character to lower case character, lower case character to uppercase character and rest of the character as it is.
View full question & answer
3 Marks Each - Computer Science STD 12 Humanities Questions - Vidyadip