New ! Computer Science MCQ Practise Tests



Data Manipulation Through SQL 1 Mark Creative Question Paper With Answer Key

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 00:15:00 Hrs
Total Marks : 15

    Multiple Choice Question

    15 x 1 = 15
  1. Which of following is fast, flexible and easy to work?

    (a)

    CSV

    (b)

    SQlite

    (c)

    Perl

    (d)

    Ruby

  2. Which method is SQlite is used create a connection with a database file created?

    (a)

    cursor ( )

    (b)

    lite ( )

    (c)

    connect ( )

    (d)

    connection ( )

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

    (a)

    cursor ( )

    (b)

    connect ( )

    (c)

    execute ( )

    (d)

    close

  4. The SQlite command opens the already created database is

    (a)

    Cursor

    (b)

    Sql-comm

    (c)

    Connect

    (d)

    Connection

  5. Which of the following is a command to open the already created database from the statement connection = sqlite3.connect ("ABC.db")

    (a)

    ABC.db

    (b)

    connect

    (c)

    SQlite3

    (d)

    connection

  6. Which of the following is used define a SQL command in SQlite3?

    (a)

    " "

    (b)

    " " " "

    (c)

    ' '

    (d)

    " " " " "

  7. A table column will be automatically auto incremented in SQlite3 by giving

    (a)

    KEY

    (b)

    PRIMARY KEY

    (c)

    PRIMARY COLUMN

    (d)

    KEY PRIMARY

  8. The command to populate the table is

    (a)

    ADD

    (b)

    APPEND

    (c)

    INSERT

    (d)

    ADDROW

  9. Which of the following statement in SQL is used to retrieve or fetch data from a table in a database?

    (a)

    select

    (b)

    inset

    (c)

    create

    (d)

    fetch

  10. Which sqlite method is used to fetch all rows from the database table?

    (a)

    fetch ( )

    (b)

    fetchrowsAll ( )

    (c)

    fectchmany ( )

    (d)

    fetchall ( )

  11. Which SQlite method is used to fetch the required number of rows in the database table?

    (a)

    fetch ( )

    (b)

    fetchamany ( )

    (c)

    fetchrows ( )

    (d)

    tablerows ( )

  12. Which of the following clause will not work in SQlite?

    (a)

    DISTINCT

    (b)

    HAVING

    (c)

    FETCHALL

    (d)

    WHERE

  13. Which SQlite keyword is used to fetch only the unique value from database table?

    (a)

    UNIQUE

    (b)

    DISTINCT

    (c)

    GROUPBY

    (d)

    HAVING

  14. Which SQlite keyword is used to extract only those records that fulfill a specified condition?

    (a)

    WHERE

    (b)

    EXTRACT

    (c)

    CONNECT

    (d)

    CURSOR

  15. Which of the following clause is often used with aggregate functions to group the result?

    (a)

    ORDERBY

    (b)

    WHERE

    (c)

    GROUP BY

    (d)

    DISTINCT

*****************************************

Reviews & Comments about 12th Standard Computer Science English Medium - Data Manipulation Through SQL 1 Mark Creative Question Paper and Answer Key 2022 - 2023

Write your Comment