Question
Write function insert() to insert the new row in table emp. The function will take the values as parameter.

Answer

Get the step-by-step solution for this question inside the Vidyadip app.

Get the answer in the app

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free

Similar questions

WAP to input a number. If the number is negative, then again input the number. Keep on doing so until the user enters a positive number.
Observe the table ‘Club’ given below:

Table: Club

Member_id Member_Name Address Age Fee
M001 Sumit New Delhi 20 2000
M002 Nisha Gurgaon 19 3500
M003 Niharika New Delhi 21 2100
M004 Sachin Faridabad 18 3500

(i) What is the cardinality and degree of the above given table?

(ii) If a new column contact_no has been added and three more members have joined the club then how these changes will affect the degree and cardinality of the above given table.

What is Trojan Horse?
Write a menu driven program to calculate the total surface area and volume of a cube, cuboid, or sphere depending upon user's choice. The program should continue until the user selects the option to exit the program.
Write script to find the sum of first n terms of the following series:
$x+x^2+x^3+\ldots$
where n and x have to be input from the user.
Give two examples of PAN and LAN type of networks. 
Write function insert() to insert the new row in table student. The function will take the values as parameter.
WAP to input a number and check whether it is palindrome or not.
Write a python program to create the pie chart use a different colour for the different countries.

Title: Carbon emission of the coutries 1990-2011

values=[27, 11, 25, 8, 1, 3, 25]

countres= [ "US", "China", "European Union", "Russian Federation", "Brazil","India","Rest of World"]

Write a program using recursion function to accept the list from the user and print sum of all the elements in the list.