0% found this document useful (0 votes)
24 views8 pages

12th C Science Lesson 15 One Word

The document contains one-mark questions and answers about SQLite database concepts. It covers topics like database terminology, SQLite features and functions, SQL clauses and operations like selection, aggregation, updating data. The questions aim to test the understanding of core SQLite and SQL concepts.

Uploaded by

MAYURI JP
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)
24 views8 pages

12th C Science Lesson 15 One Word

The document contains one-mark questions and answers about SQLite database concepts. It covers topics like database terminology, SQLite features and functions, SQL clauses and operations like selection, aggregation, updating data. The questions aim to test the understanding of core SQLite and SQL concepts.

Uploaded by

MAYURI JP
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/ 8

www.usefuldesk.

com

Tamilnadu 12th Computer Science Lesson 15 – One Marks


Choose the correct answer:

1.
Which of the following is an organized collection of data?
A. Database
B. DBMS
C. Information
D. Records
ANSWER: A

2.
SQLite falls under which database system?
A. Flat file database system
B. Relational database system
C. Hierarchical database system
D. Object oriented database system
ANSWER: B

3.
Which of the following is a control structure used to transverse and fetch the records of the
database?
A. Pointer
B. Key
C. Cursor
D. Insertion Point
ANSWER: C

4.
Any changes made in the values of the record should be saved by the command
A. Save
B. Save as
C. Commit
D. Oblige
ANSWER: C

5.
Which of the following executes the SQL command to perform some action?
A. Execute ( )
B. Key ( )
C. Cursor ( )
D. Run ( )
ANSWER: A

6.
Which of the following function retrieves the average of a selected column of rows in a table?
A. Add ( )

Website: www.usefuldesk.comFacebook: www.facebook.com/usefuldeskE-mail: [email protected]


www.usefuldesk.com

B. Sum ( )
C. Avg ( )
D. Average ( )
ANSWER: C

7.
The function that returns the largest value of the selected column is
A. Max ( )
B. Large ( )
C. High ( )
D. Maximum ( )
ANSWER: A

8.
The most commonly used statement in SQL is
A. Cursor
B. Select
C. Execute
D. Commit
ANSWER: B

9.
Which of the following clause avoid the duplicate?
A. Distinct
B. Remove
C. Where
D. GroupBy
ANSWER: A

Additional One Word:

1.
Which of the following is fast, flexible and easy to work?
A. CSV
B. SQLite
C. Perl
D. Ruby
ANSWER: B

2.
Which method is SQlite is used create a connection with a database file created?
A. Cursor ( )
B. Lite ( )
C. Connect ( )
D. Connection ( )
ANSWER: C

3.
Which method has a major role in working with python?

Website: www.usefuldesk.comFacebook: www.facebook.com/usefuldeskE-mail: [email protected]


www.usefuldesk.com

A. Cursor ( )
B. Connect ( )
C. Execute ( )
D. Close
ANSWER: A

4.
The SQLite command opens the already created database is
A. Cursor
B. Sql comm
C. Connect
D. Connection
ANSWER: C

5.
A table column will be automatically auto incremented in SQlite3 by giving
A. Key
B. Primary Key
C. Primary Column
D. Key Primary
ANSWER: C

6.
The command to populate the table is
A. Add
B. Append
C. Insert
D. Addrow
ANSWER: C

7.
Which of the following statement in SQL is used to retrieve or fetch data from a table in a
database?
A. Select
B. Insert
C. Create
D. Fetch
ANSWER: A

8.
Which Sqlite method is used to fetch all rows from the database table?
A. Fetch ( )
B. FetchrowsAll ( )
C. Fetchmany ( )
D. Fetchall ( )
ANSWER: D

9.

Website: www.usefuldesk.comFacebook: www.facebook.com/usefuldeskE-mail: [email protected]


www.usefuldesk.com

Which SQlite method is used to fetch the required number of rows in the database table?
A. Fetch ( )
B. Fetchamany ( )
C. Fetchrows ( )
D. Tablerows ( )
ANSWER: B

10.
Which of the following clause will not work in Sqlite?
A. Distinct
B. Having
C. Fetchall
D. Where
ANSWER: C

11.
Which SQlite keyword is used to fetch only the unique values from the database table?
A. Unique
B. Distinct
C. Groupby
D. Having
ANSWER: B

12.
Which SQlite keyword is used to extract only those records that fulfil a specified condition?
A. Where
B. Extract
C. Connect
D. Cursor
ANSWER: A

13.
Which of the following clause is often used with aggregate functions to group the result?
A. Order By
B. Where
C. Group By
D. Distinct
ANSWER: C

14.
Which of the following is not an aggregate functions?
A. Sum
B. Count
C. Max
D. Pow
ANSWER: D

15.

Website: www.usefuldesk.comFacebook: www.facebook.com/usefuldeskE-mail: [email protected]


www.usefuldesk.com

The SQlite clause is used to sort the data in the table is


A. Sort
B. Order By
C. Group By
D. ASC Sort
ANSWER: B

16.
Which SQlite clause is used to filter data base on the group functions?
A. Where
B. Having
C. Order
D. Filter
ANSWER: B

17.
In which class the group functions can be used?
A. Where
B. Having
C. Distinct
D. Group By
ANSWER: B

18.
The Where clause cannot be combined with
A. AND
B. OR
C. XOR
D. NOT
ANSWER: C

19.
Which of the following operator cannot be used to filter records based on more than one
condition?
A. AND
B. OR
C. XOR
D. NOT
ANSWER: D

20.
Which values cannot be counted?
A. Integer
B. String
C. Float
D. Null
ANSWER: D

Website: www.usefuldesk.comFacebook: www.facebook.com/usefuldeskE-mail: [email protected]


www.usefuldesk.com

21.
The command to modify the values in the existing table
A. Modify
B. Select
C. Update
D. Change
ANSWER: C

22.
How many kinds of placeholders the SQlite3 module supports
A. 1
B. 2
C. 3
D. 5
ANSWER: B

23.
Which of the following placeholders does the SQlite3 module supports?
A. Q mark style
B. Named style
C. Module style
D. A and B
ANSWER: A

24.
Cursor, Description will be stored as a
A. List
B. Set
C. Tuple
D. Dictionary
ANSWER: C

25.
The table’s field names can be displayed using
A. Cursor.Connect
B. Cursor.Execute
C. Cursor.Commit
D. Cursor.Description
ANSWER: D

Fill in the Blanks:

1.
________ is a software application for the interaction between users and the databases.
A. CSV
B. Python
C. DBMS

Website: www.usefuldesk.comFacebook: www.facebook.com/usefuldeskE-mail: [email protected]


www.usefuldesk.com

D. Sys
ANSWER: C

2.
________ program can interact as a user of a SQL database.
A. C++
B. Python
C. Java
D. C
ANSWER: B

3.
________ is a simple relational database system.
A. Cython
B. Boost
C. MySQL
D. SQLite
ANSWER: D

4.
_________ has a native library of SQLite
A. Python
B. C++
C. Java
D. C
ANSWER: A

5.
All the SQLite commands will be executed using ________ object.
A. Connect
B. Cursor
C. CSV
D. Python
ANSWER: B

6.
_________ method run the SQL command to perform some action.
A. Run
B. Select
C. Execution
D. Execute
ANSWER: D

7.
________ function returns the number of rows in a table satisfying the criteria specified in
the where class?
A. Distinct

Website: www.usefuldesk.comFacebook: www.facebook.com/usefuldeskE-mail: [email protected]


www.usefuldesk.com

B. Count
C. Having
D. Counter
ANSWER: B

8.
Count ( ) returns ________ if there were no matching rows.
A. 0
B. 1
C. Not Null
D. Null
ANSWR: A

Website: www.usefuldesk.comFacebook: www.facebook.com/usefuldeskE-mail: [email protected]

You might also like