AKSARA VIDHYAMANDIR (CBSE) SENIOR SECONDARY SCHOOL AY25 - 26 ASSESSMENT - 1 AvmPage 1 Shajini.K TIME: 1hr30min COMPUTERSCIENCE DATE:05 /07/25 GRADE: XI I SECTION A MARKS:3 5 (9x1= 9) 1. Which SQL statement is used to create a new table? d) ALTER c) CREATE b) UPDATE a) INSERT 2. Which command is used to remove a table from the database? d) REMOVE c) TRUNCATE b) DELETE a) DROP 3. Which command is used to insert data into a table? d) SAVE c) INSERT b) ADD a) PUT 4. Which SQL command retrieves data from a table? d) EXTRACT c) SELECT b) GET a) FETCH 5. What type of SQL command is SELECT ? d) TCL c) DQL b) DML a) DDL 6. Which command is used to delete specific rows in a table? d) ERASE c) DELETE b) REMOVE a) DROP 7. Which command is used to change the structure of a table? d) ALTER c) UPDATE b) MODIFY a) CHANGE 8. Which command is used to remove all records from a table without removing the structure? d) CLEAR c) DROP b) TRUNCATE a) DELETE 9. Which category does the INSERT command belong to? d) DCL c) DDL b) DML a) DQL 10. Which command is used to rename a table? d) MODIFY c) CHANGE b) ALTER a) RENAME 11. Which command is used to update data in a table? d) CHANGE c) MODIFY b) SET a) UPDATE 12. Which SQL category changes the physical structure of the table? d) DQL c) DDL b) DCL a) DML 13. The SELECT statement is used for: d) Securing data c) Modifying data b) Querying data a) Defining data 14. Which SQL command is not part of DML? d) CREATE c) UPDATE b) DELETE a) INSERT 15. Which statement is used to remove a column from a table? d) ALTER DROP c) DELE TE b) REMOVE a) DROP COLUMN 16. Which command is used to change the name of a column? d) CHANGE NAME c) MODIFY b) RENAME COLUMN a) ALTER RENAME 17. Which command will add a new column to a table? d) CREATE COLUMN c) UPDATE b) MODIFY a) ALTER ADD 18. DML stands for: d) Database Mapping Language c) Direct Map Logic b) Data Management Layer a) Data Manipulation Language AKSARA VIDHYAMANDIR (CBSE) SENIOR SECONDARY SCHOOL AY25 - 26 ASSESSMENT - 1 AvmPage 2 Shajini.K 19. Which command defines a database object like a table or view? d) TCL c) DDL b) DQL a) DML 20. To remove duplicate rows while retrieving data, wh ich keyword is used? d) ONLY c) DISTINCT b) NO DUPLICATE a) UNIQUE 21. Which of the following is only used for querying data? d) UPDATE c) DELETE b) SELECT a) INSERT 22. What does the UPDATE command do? d) Queries data c) Changes existing data b) Adds a ne w record a) Changes the table structure 23. Which one is a DDL command? d) CREATE c) DELETE b) INSERT a) UPDATE 24. Which SQL command cannot be rolled back? d) INSERT c) DROP b) UPDATE a) DELETE 25. What command is used to retrieve specific columns from a table ? d) FETCH c) FIND b) SELECT a) FILTER SQL Practical Questions (Only Questions – 1Marks Each) 🔹 DDL – Data Definition Language 1. Create a table named Employees with columns: emp_id , name , salary , and department Define appropriate data types and primary key. 2. Modify the structure of the Employees table by adding a new column joining_date DML – Data Manipulation Language 3. Insert any three records into the Employees table with values for all columns. 4. Update the salary of the employee whose emp_id is 102 in the Employees table. 5. Delete the employee record from the Employees table where the department is "HR". DQL – Data Query Language 6. Display all employee details whose salary is greater than 30,000 from the Employees table. 7. Retrieve names and departments of employees who work in the "Marketing" department. 8. Display all records from the Employees table in ascending order of salary. 9. Retrieve only unique department names from the Employees table. 10. Display the name and salary of employees whose names start with 'A'.