CBSE Class 12 Informatics Practices Querying and SQL Functions Assignment

Read and download the CBSE Class 12 Informatics Practices Querying and SQL Functions Assignment for the 2025-26 academic session. We have provided comprehensive Class 12 Informatics Practices school assignments that have important solved questions and answers for Chapter 1 Querying and SQL Functions. These resources have been carefuly prepared by expert teachers as per the latest NCERT, CBSE, and KVS syllabus guidelines.

Solved Assignment for Class 12 Informatics Practices Chapter 1 Querying and SQL Functions

Practicing these Class 12 Informatics Practices problems daily is must to improve your conceptual understanding and score better marks in school examinations. These printable assignments are a perfect assessment tool for Chapter 1 Querying and SQL Functions, covering both basic and advanced level questions to help you get more marks in exams.

Chapter 1 Querying and SQL Functions Class 12 Solved Questions and Answers

Question: What is a database?
Answer: A database is a collection of interrelated data

Question: What is tuple?
Answer: Rows in a table are called tuple

Question: Full form of DML.
Answer: Data Manipulation Language

Question: How many primary key can be present in a table ?
Answer: one

Question: Which command is used to add new record in table?
Answer: INSERT INTO

Question: In SQL, name the clause that is used to display the tuples in ascending order of an attribute
Answer: ORDER BY

Question: In SQL, what is the use of IS NULL operator?
Answer: IS NULL used to compare NULL values present in any column

Question: What is the full form of SQL?
Answer: Structured Query Language

Question: What is the minimum number of column required in MySQL to create table?
Answer: ONE (1)

Question: Which command is used to add new column in existing table?
Answer: ALTER TABLE

Question: Which command is used to remove the table from database?
Answer: DROP TABLE

Question: Which of the following types of table constraints will prevent the entry of duplicate rows? a)Unique b)Distinct c)Primary Key d)NULL
Answer: c) Primary Key

Question: What is data redundancy?
Answer: Data Redundancy meAnswer: duplication of data in a database.

Question: What is metadata ?
Answer: Data about data

Question: What is domain?
Answer: Domain is the pool of values from which actual values appearing in a column are taken.

Question: What is the full form of DBMS?
Answer: Database Management System

Question: Full form of DDL.
Answer: Data Definition Language

Question: What do you mean by degree and cardinality of a table?
Answer: Degree:- No. of columns with in a table.
Cardinality:- No. of rows within a table.

Question: Which is the subset of SQL commands used to manipulate database structures, including tables?
a. None of these
b. Both Data Definition Language (DDL) and Data Manipulation Language (DML)
c. Data Definition Language (DDL)
d. Data Manipulation Language (DML)
Answer: c.Data Definition Language (DDL)

1. Consider the table STUDENT given below:

CBSE-Class-12-Informatics-Practices-Querying-and-SQL-Functions-Assignment-4

 

Question: State the command that will give the output as :

 

CBSE-Class-12-Informatics-Practices-Querying-and-SQL-Functions-Assignment-3

i. select name from student where class=’XI’ and class=’XII’;
ii. select name from student where not class=’XI’ and class=’XII’;
iii. select name from student where city=”Agra” OR city=”Mumbai”;
iv. select name from student where city IN(“Agra”, “Mumbai”);
Choose the correct option:
a. Both (i) and (ii).
b. Both (iii) and (iv).
c. Any of the options (i), (ii) and (iv)
d. Only (iii)
Answer: b. Both (iii) and (iv).

Question: What will be the output of the following command?
Select * from student where gender =”F” order by marks;

CBSE-Class-12-Informatics-Practices-Querying-and-SQL-Functions-Assignment-2

 

CBSE-Class-12-Informatics-Practices-Querying-and-SQL-Functions-Assignment-1

 
 

Question: Prachi has given the following command to obtain the highest marks Select max(marks) from student where group by class;
but she is not getting the desired result. Help her by writing the correct command.
a. Select max(marks) from student where group by class;
b. Select class, max(marks) from student group by marks;
c. Select class, max(marks) group by class from student; 
Answer: d. Select class, max(marks) from student group by class; 

Question: State the command to display the average marks scored by students of each gender who are in class XI?
i. Select gender, avg(marks) from student where class= “XI” group by gender;
ii Select gender, avg(marks) from student group by gender where class=”XI”;
iii. Select gender, avg(marks) group by gender from student having class=”XI”;
iv. Select gender, avg(marks) from student group by gender having class = “XI”;
Choose the correct option:
a. Both (ii) and (iii)
b. Both (ii) and (iv)
c. Both (i) and (iii)
d. Only (iv)
Answer: d. Only (iv)

Question: From the given table, Answer:wer the following questions:
TableName-House

CBSE-Class-12-Informatics-Practices-Querying-and-SQL-Functions-Assignment

 

Question: Write the degree and cardinality of the above table.
Answer: Degree=3 and cardinality=4

Question: Write the domain of House_Captain attribute.
Answer: Yathin, Hari Narayan, Anil Sharma, Felicita

Question: Write a Query to insert House_Name=Tulip, House_Captain= Rajesh and House_Point=278
Answer: Insert into House values (‘Tulip’,’Rajesh’,278)

Question: Any field of above table can be made Primary key
Answer: House_Points

Question: If we want  to add a new column in above table which SQL command we use
Answer: Alter table House
Add <new column> <data type>;

Question: Write the full forms of DDL and DML. Write any two commands of DML in SQL.
Answer: DDL: Data Definition Language, DML: Data Manipulation Language
DML Commands: SELECT, UPDATE

Question: Mr. Mittal is using a table with following columns :
Name, Class, Streamed, Stream_name
He needs to display names of students who have not been assigned any stream or have been
assigned stream_name that ends with “computers
He wrote the following command, which did not give the desired result.
SELECT Name, Class FROM Students
WHERE Stream_name = NULL OR Stream_name = “%computers” ;
Help Mr. Mittal to run the query by removing the error and write correct query
Answer: SELECT Name, Class FROM Students
WHERE Stream_name IS NULL OR Stream_name = “%computers” ;

Question: What do you understand by Degree and Cardinality of a table?
Answer: Degree: Number of attributes and Cardinality is number of tuples in a relation

CBSE Class 12 Informatics Practices Chapter 1 Querying and SQL Functions Assignment

Access the latest Chapter 1 Querying and SQL Functions assignments designed as per the current CBSE syllabus for Class 12. We have included all question types, including MCQs, short answer questions, and long-form problems relating to Chapter 1 Querying and SQL Functions. You can easily download these assignments in PDF format for free. Our expert teachers have carefully looked at previous year exam patterns and have made sure that these questions help you prepare properly for your upcoming school tests.

Benefits of solving Assignments for Chapter 1 Querying and SQL Functions

Practicing these Class 12 Informatics Practices assignments has many advantages for you:

  • Better Exam Scores: Regular practice will help you to understand Chapter 1 Querying and SQL Functions properly and  you will be able to answer exam questions correctly.
  • Latest Exam Pattern: All questions are aligned as per the latest CBSE sample papers and marking schemes.
  • Huge Variety of Questions: These Chapter 1 Querying and SQL Functions sets include Case Studies, objective questions, and various descriptive problems with answers.
  • Time Management: Solving these Chapter 1 Querying and SQL Functions test papers daily will improve your speed and accuracy.

How to solve Informatics Practices Chapter 1 Querying and SQL Functions Assignments effectively?

  1. Read the Chapter First: Start with the NCERT book for Class 12 Informatics Practices before attempting the assignment.
  2. Self-Assessment: Try solving the Chapter 1 Querying and SQL Functions questions by yourself and then check the solutions provided by us.
  3. Use Supporting Material: Refer to our Revision Notes and Class 12 worksheets if you get stuck on any topic.
  4. Track Mistakes: Maintain a notebook for tricky concepts and revise them using our online MCQ tests.

Best Practices for Class 12 Informatics Practices Preparation

For the best results, solve one assignment for Chapter 1 Querying and SQL Functions on daily basis. Using a timer while practicing will further improve your problem-solving skills and prepare you for the actual CBSE exam.

Where can I download in PDF assignments for CBSE Class 12 Informatics Practices Chapter 1 Querying and SQL Functions

You can download free Pdf assignments for CBSE Class 12 Informatics Practices Chapter 1 Querying and SQL Functions from StudiesToday.com

How many topics are covered in Chapter 1 Querying and SQL Functions Informatics Practices assignments for Class 12

All topics given in Chapter 1 Querying and SQL Functions Informatics Practices Class 12 Book for the current academic year have been covered in the given assignment

Is there any charge for this assignment for Chapter 1 Querying and SQL Functions Informatics Practices Class 12

No, all Printable Assignments for Chapter 1 Querying and SQL Functions Class 12 Informatics Practices have been given for free and can be downloaded in Pdf format

Are these assignments for Chapter 1 Querying and SQL Functions Class 12 Informatics Practices designed as per CBSE curriculum?

Latest syllabus issued for current academic year by CBSE has been used to design assignments for Chapter 1 Querying and SQL Functions Class 12

Are there solutions or answer keys for the Class 12 Informatics Practices Chapter 1 Querying and SQL Functions assignments

Yes, we have provided detailed answers for all questions given in assignments for Chapter 1 Querying and SQL Functions Class 12 Informatics Practices