0% found this document useful (0 votes)
6 views35 pages

Psychology Practical File 2024-25

This document is a practical file submitted by Prapti Yadav for the academic year 2024-25, acknowledging the support received from teachers, friends, and family. It includes a certificate of completion and a series of SQL practical exercises with corresponding queries and answers. The file serves as a record of practical work completed in Informatics Practices for CBSE evaluation.

Uploaded by

yadav.prapti7777
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)
6 views35 pages

Psychology Practical File 2024-25

This document is a practical file submitted by Prapti Yadav for the academic year 2024-25, acknowledging the support received from teachers, friends, and family. It includes a certificate of completion and a series of SQL practical exercises with corresponding queries and answers. The file serves as a record of practical work completed in Informatics Practices for CBSE evaluation.

Uploaded by

yadav.prapti7777
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

PRACTICAL FILE

ACADEMIC YEAR 2024-25

Submittedto-
Submittedby-
Ms. HimaniMa’am PraptiYadav
Teacher’sSignature

Page 1
ACKNOWLEDGEMENT

I wish to express my heartfelt gratitude for the successful


completion of my psychology practical file. This
achievement was only possible due to the unwavering
support and guidance provided by my I.P. teacher. Her
clear explanations and valuable insights significantly
enriched my understanding.
Additionally, I want to thank my friends for their
collaborative efforts, enhancing the quality of the File .
Their input and encouragement were invaluable
throughout this journey. Lastly, my family’s constant
support and motivation played a pivotal role in achieving
excellence in this challenging endeavor.

[Teacher’s signature]

Page 2
CERTIFICATE

This is to certify that Prapti Yadav ,student of


Class XII A, BIT GLOBAL SCHOOL has
completed the PRACTICAL FILE during the
academic year 2024-25 towards partial
fulfillment of credit for the Informatics Practices
practical evaluation of CBSE and submitted
satisfactory report,As compiled in the following
page ,under my supervision.

InternalExaminer
Signature

ExternalExaminer Principal
Signature SealandSignature

Page 3
Page 4
No. Practical Date Signature

1 Createastudenttablewiththestudentid,name,
andmarksasattributeswherethe student id istheprimary key.
2 Insertthedetailsofanewstudentintheabovetable

3 Deletethedetailsofastudentintheabovetable
4 Usetheselectcommandtogetthedetails ofthestudents
withmarksmorethan80
5 Findthemin,max,sum, andaverageofthemarks inastudent
markstable
6 Find the total number of customers from each country in
thetable(customerID,customerName,country)usinggroupby.
7 WriteaSQLquerytoorderthe(studentID,marks)tableindescen
ding order of themarks
WriteaSQLquerytodisplaythemarkswithoutdecimalplace
8 s, displaythereminderafterdivingmarksby3and
displaythesquareofmarks
WriteaSQLquerytodisplaynames intocapitalletters, small
9 letters, displayfirst3letters
ofname,displaylast3lettersofname,displaytheposition
theletter Ain name
10 Removeextraspacesfromleft,rightandbothsides fromthetext-
"InformaticsPracticesClassXII"
11 Displaytoday'sdatein"Date/Month/Year"format

12 Displaydayname,monthname,day,dayname,dayofmonth,day
of year fortoday'sdate

IPPRACTICALRECORDFILE | | Page4

Page 5
1. Createastudenttablewiththestudentid,name,
andmarksasattributeswherethestudent idistheprimarykey.
Ans.:
createtablestudent(studentidin
t(3)primarykey,
name varchar(20) not
null,marksdecimal(5,2));

2. Insertthedetailsofanewstudentintheabovetable.

Tabledata:

IPPRACTICALRECORDFILE | | Page5

Page 6
:
deletefromstudentwherestudentid=5;

4. Usetheselectcommandtogetthedetailsofthestudentswithmarksmorethan80.
Ans.:
select*fromstudentwheremarks>80;

IPPRACTICALRECORDFILE | | Page6

Page 7
5. Findthemin,max, sum, andaverageofthemarksinastudentmarkstable.
Ans.:
selectmax(marks),min(marks),sum(marks),avg(marks)froms
tudent;

6. Find the total number of customers from each country in the table (customer
ID,customerName,country)usinggroup by.
Ans.:
select country, count(customer_id) from customer group
bycountry;
7. WriteaSQLquerytoorderthe(studentID,marks)tableindescendingorderofthemar
ks.
Ans.:
select*fromstudentorderbymarksdesc;

8. WriteaSQLquerytodisplaythemarkswithoutdecimalplaces,displaytheremin
der after divingmarksby3anddisplaythesquare ofmarks.
Ans.:
select round(marks,0),mod(marks,3),pow(marks,2)
fromstudent;

IPPRACTICALRECORDFILE | | Page7

Page 8
of name, display last 3 letters of name, display the position the letter A inname
Ans.:
select ucase(name), lcase(name),
left(name,3),right(name,3),instr(name,'a')fromstudent;

10. Removeextraspacesfromleft,rightand bothsidesfromthetext-


"InformaticsPracticesClassXII"
Ans.:
select ltrim(" Informatics Practices Class XII ")
"LeftSpaces",rtim("InformaticsPracticesClassXII")"RightTrim",
trim("InformaticsPracticesClassXII");

11. Displaytoday'sdatein"Date/Month/Year"formatA
ns.:
select concat(date(now()),
concat("/",concat(month(now()),concat("/",year(now())))));

IPPRACTICALRECORDFILE | | Page8

Page 9
Ans.:
select dayname(now()), monthname(now()),
day(now()),dayname(now()),dayofmonth(now()),dayofyea
r(now());

IPPRACTICALRECORDFILE | | Page9

Page 10
Page 11
Page 12
Page 13
Page 14
Page 15
Page 16
Page 17
Page 18
Page 19
Page 20
Page 21
Page 22
Page 23
Page 24
Page 25
Page 26
Page 27
Page 28
Page 29
Page 30
Page 31
Page 32
Page 33
Page 34
Page 35

Common questions

Powered by AI

Proper data formatting is crucial for clear communication and data integrity. The document emphasizes this by using SQL queries to format dates in "Date/Month/Year" and alter name case and structure. This ensures that data is presented consistently and understandably, which is necessary for generating comprehensible reports and user interfaces within academic contexts .

Structured databases streamline the management of student records by ensuring data integrity and facilitating efficient data operations like insertion, deletion, and queries. The document illustrates the use of structured tables where student information, including IDs and marks, is clearly organized, enhancing data retrieval and analysis processes necessary for academic evaluation .

Teacher supervision is crucial as it assures the quality and authenticity of student work. The document certifies that the practical file was completed under the teacher's supervision and meets the academic requirements, highlighting the role of teachers in providing oversight and ensuring that students adhere to academic standards .

SQL commands facilitate data manipulation and retrieval by allowing educators and students to effectively manage databases. Within the document, SQL is used for creating tables, inserting and deleting data, selecting and grouping data, and performing calculations on student marks. Such operations support educational tasks like maintaining student records, analyzing performance, and organizing data, making SQL an essential tool in the academic setting .

SQL queries for text manipulation, such as those used for trimming spaces, changing case, and extracting substrings, are highly effective for managing and organizing textual data. The document details commands that remove extra spaces and alter text case, highlighting SQL’s versatility in cleaning and formatting textual inputs, which is critical for maintaining data consistency in educational databases .

Learning SQL commands has practical applications such as managing academic records, creating data reports, and analyzing student performance. In the document, SQL is applied to execute data operations like creating tables, performing computations, and formatting dates, thereby equipping students with essential skills for handling databases in real-world academic and professional environments .

Collaboration and acknowledgments play a pivotal role by providing emotional and intellectual support necessary for the successful completion of academic projects. The document reflects this through expressions of gratitude towards a teacher for guidance, friends for collaborative efforts, and family for motivation, indicating that these contributions significantly enhanced the quality and completion of the psychology practical file .

SQL significantly impacts the analysis of student performance by enabling comprehensive data aggregation. The document demonstrates the use of aggregate functions like MAX, MIN, SUM, and AVG to evaluate marks across a student body. These functions help identify trends and outliers in performance, supporting data-driven decisions in educational assessments .

Practical work is pivotal in understanding informatics practices by providing hands-on experience with real-world problems and solutions. The project documented provides a comprehensive framework for students to apply theoretical knowledge by engaging in database creation, data manipulation, and SQL scripting, thus bridging the gap between theoretical concepts and practical application, essential in mastering informatics .

SQL functions such as ROUND, MOD, and POW are essential for precise data processing. ROUND eliminates decimal places, MOD calculates remainders, and POW computes powers, all of which enable specific data transformations and calculations. The document shows these functions being used to manipulate student marks, enhancing the ability to perform arithmetic operations typically needed in educational assessments .

You might also like