TN Online TestSamacheer Kalvi practice

12th Standard Computer Science — Data manipulation through SQL: Online Practice Test

Share this chapter: Telegram

Pick how many questions you want and set a time limit, then start. You'll get your score at the end with the correct answer and an explanation for every question. Free, in Tamil and English — 25 questions available.

Set up your test

Time remaining00:00
Q1
Which of the following is an organized collection of data?
Q2
SQLite falls under which database system?
Q3
Which of the following is a control structure used to traverse and fetch the records of the database?
Q4
Any changes made in the values of the record should be saved by the command
Q5
Which of the following executes the SQL command to perform some action?
Q6
Which of the following function retrieves the average of a selected column of rows in a table?
Q7
The function that returns the largest value of the selected column is
Q8
Which of the following is called the master table?
Q9
The most commonly used statement in SQL is
Q10
Which of the following keyword avoid the duplicate?
Q11
Which Python module is imported natively to work with SQLite databases?
Q12
When creating an SQLite database connection using sqlite3.connect("Academy.db"), what happens if the database file does not exist?
Q13
What is the primary purpose of a cursor object in Python's sqlite3 module?
Q14
In SQLite3, if a column is declared as INTEGER PRIMARY KEY and a NULL value is inserted into it, what does SQLite automatically do?
Q15
Which cursor method in the sqlite3 module returns the next single row of a query result set, or None if no rows remain?
Q16
Which symbol is used in Python to unpack database query results when printing them with the sep argument?
Q17
Which attribute of the SQLite database connection object can be used to check the total number of database rows that have been modified, inserted, or deleted since the connection was opened?
Q18
Which keyword must be used in a Python script to permanently save any modifications made to SQLite database records?
Q19
What type of placeholders does the sqlite3 module support for writing parameterized, secure SQL statements?
Q20
Which built-in SQLite system table holds key information about the database structure and can be queried to list all user-created tables?
Q21
What does the first element (index 0) of each tuple inside a cursor's description attribute represent?
Q22
If a student database table contains a column named Average with some NULL values, what is the behavior of the AVG(AVERAGE) aggregate function?
Q23
Why are SQL statement strings in Python often enclosed inside triple quotes (""") when working with the sqlite3 module?
Q24
Which SQL clause can be used with aggregate functions in Python database queries but cannot be used in a standard SQL WHERE clause?
Q25
When writing SQLite query results to a CSV file in Python, why is the replace() method commonly used during the subsequent reading of the CSV file?

More for this chapter

Book Back Questions10 textbook MCQs · solved Additional MCQs15 extra MCQs · solved Book Back TestTest yourself on the textbook set Additional MCQ TestTest yourself on the extra set Study NotesConcepts & methods Formula SheetAll key formulas

About this Data manipulation through SQL test

This free online practice test covers Data manipulation through SQL from the 12th Standard Computer Science (Samacheer Kalvi) syllabus. Choose the number of questions and an optional time limit, then answer and submit — everything is checked in your browser, with the correct answers and a worked explanation shown at the end. For the full solutions to every question in this set, see the solved MCQs page.

More chapters in Computer Science

View all
1 Function 2 Data Abstraction 3 Scoping 4 Algorithmic Strategies 5 Python -Variables and Operators 6 Control Structures 7 Python functions 8 Strings and String manipulation 9 Lists, Tuples, Sets and Dictionary 10 Python Classes and objects 11 Database Concepts 12 Structured Query Language (SQL) 13 Python and CSV files 14 Importing C++ programs in Python. 16 Data visualization using pyplot: line chart, pie chart and bar chart