Ip Viva Question
Ip Viva Question
VIVA QUESTIONS
Q1. What is your Project about?
Ans: Our Project is to automate the ___________Management System. It will help the
user of this software to digitally add a new record in the database, search a record,
delete a record and update a record. It can also be used to visualize the data Graphically
(through graphs)
• We have used Python (Pandas) for the Front-End and CSV Files as the Back end.
• Modules Used in the project are Pandas(for dataframe) and matplotlib.pyplot for
plotting graphs.
Q2. Which command is used to install pandas and matplotlib modules in your sytem.
Ans. pip command
Q3. Write the import statement to import the pandas and matplotlib.pyplot in your
program
Ans. import matplotlib.pyplot as plt
import pandas as pd
Q5. Name the method which is used to add a new row and column.
Ans. loc() method.
Q19. What are the different types of clauses used in where command?
Q20 Give a command to insert a new column into a table? Ans. Alter table
Q 21 Give a command to delete a column from a table? Ans. Alter table
Q22.Give a command to delete a row from a table? Ans. Delete from
Q23.Give a command to insert a new row into a table? Ans. Insert into
Q24. What is the difference between update and alter command?
Ans. ALTER command is a Data Definition Language Command. UPDATE command is
a Data Manipulation Language Command.
ALTER Command add, delete, modify the attributes of the relations (tables) in the
database. UPDATE Command modifies one or more records in the relations.
Q31. What is the difference between a Single row function and aggregate function?
Ans. Single row function: Single row function are the ones that work on single row and
returs one output per row.
Example: ROUND(), MOD(), POWER(), LENGTH(), RTRIM(), LTRIM(), SUBSTR(), INSTR(),
NOW(), MONTH(), MONTHNAME(), DAYNAME(), DAY()
(Note: Please learn the use of each function for VIVA)
Aggregate Functions/Multiple row functions: These Functions work on group of rows and
return one result for each group. They are also known as group functions.
Example: SUM(), COUNT(),COUNT(*), AVG(),MIN(), MAX()
(Note: Please learn the use of each function for VIVA)
Q32. What is the difference between Primary Key and Unique constraint?
Ans. A table can have only one Primary Key, but more than one column can have a unique
constraint. Primary key does not allow a NULL value, but unique key allows the NULL value.