0% found this document useful (0 votes)
7 views2 pages

All in One

The document outlines a series of programming tasks related to data manipulation and visualization, including creating and querying a database table for student activities and costs. It also includes instructions for generating series, plotting charts, and executing various SQL queries. The tasks are divided into sections with specific marks assigned for each task.

Uploaded by

varadnatekar5507
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views2 pages

All in One

The document outlines a series of programming tasks related to data manipulation and visualization, including creating and querying a database table for student activities and costs. It also includes instructions for generating series, plotting charts, and executing various SQL queries. The tasks are divided into sections with specific marks assigned for each task.

Uploaded by

varadnatekar5507
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

1. Create a series and print the bottom 3 elements using tail function.

(4 Marks)
2. Consider the following data of a medical store and plot the data on the line chart and Customize
the chart as you wish: (4 Marks)

3. Table:- Students
Stud_ID Name Activity Cost
101 John Smith Tennis 360
102 John Bloggs Squash 400
103 Mark Antony Swimming 200
104 Michal Clark squash 400
105 Ab de Villiers Swimming 200

Write the Query with output for the following Questions: (7 Marks)
1. Create above table in MSQL database.
2. Insert all above records in table.
3. Show Max cost from table.
4. Show student names who has taken part in Squash activity.
5. Show Student_ID and name of student in descending order of cost.
6. Increase cost by 15%.
7. Show first 3 letters of Student name.

1. Create a series and print the top 3 elements using the head function. (4 Marks)
2. Display following bowling figures through bar chart: (4 Marks)

Overs Runs

1 6
2 18
3 10
4 5
3. Table:- Students
Stud_ID Name Activity Cost
101 John Smith Tennis 360
102 John Bloggs Squash 400
103 Mark Antony Swimming 200
104 Michal Clark squash 400
105 Ab de Villiers Swimming 200

Write the Query with output for the following Questions: (7 Marks)
8. Create above table in MSQL database.
9. Insert all above records in table.
10. Show Max cost from table.
11. Show student names who has taken part in Squash activity.
12. Show Student_ID and name of student in descending order of cost.
13. Increase cost by 15%.
14. Show first 3 letters of Student name.

1. Create a series and print the bottom 3 elements using tail function. (4 Marks)
2. Consider the following data of a medical store and plot the data on the line chart and Customize
the chart as you wish: (4 Marks)

3. Write Queries for following (7 Marks)


1. Display first 5 characters from given string “Annual Practical Exam”.
2. Show current date with time
3. Find the position of “Analysis ” in “Computer Analysis” .
4. Convert given string into upper case “Computer Programming” .
5. Find number of characters present in given string “Python Programming”.
6. Display only 5 characters after 4 position from given string “Annual Practical Exam”.
7. Display today’s day name.

1. Create a series of 10 numbers starting with 41 and with the increment of 3. Now add 7 all odd
values and subtract 3 in even values. Reprint the updated series. (4 Marks)
2. Use following data and subplot sanitizer data and handwash data. (4 Marks)

3. Write the Query with output for the following Questions: (7 Marks)
Power(2,-2)
15. Substr(“Python”,3,2)
16. Month(“2021-2-15”)
17. Dayofyear(“2020-9-28”)
18. Lcase(“SHantiniketan”)
19. Ltrim(“ Happy New Year ”)
20. Mod(4.567,2.42)

You might also like