Test 1

Test 1

12th Grade

20 Qs

quiz-placeholder

Similar activities

7.7 Software Security Review

7.7 Software Security Review

8th Grade - University

15 Qs

7517 Section 10 Fundamentals of Databases

7517 Section 10 Fundamentals of Databases

12th Grade

20 Qs

Database Query using sql

Database Query using sql

12th Grade

20 Qs

data base management system

data base management system

2nd Grade - University

23 Qs

Examen de Programación III

Examen de Programación III

12th Grade

15 Qs

Web Programming and Basic Database Concepts

Web Programming and Basic Database Concepts

12th Grade

15 Qs

Big data unit4

Big data unit4

12th Grade

16 Qs

BTEC unit 2 databases - key terms

BTEC unit 2 databases - key terms

12th Grade

15 Qs

Test 1

Test 1

Assessment

Quiz

Computers

12th Grade

Hard

Created by

yeshi dema

Used 3+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which module in Python is used to work with SQLite database?

sql3

sqlite

sqlite3

db_sqlite

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To establish a connection to an SQLite database, you use the function:

sqlite3.connect()

sqlite.connect()

sqlite3.create_connection()

sql.connect()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In SQLite, data types are associated with columns. Which of the following is NOT a valid SQLite data type?

INTEGER

REAL

TEXT

STRING

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The SQL statement to create a table named "Students" with columns "ID", "Name" and "Age" would be:

CREATE TABLE Students ( ID INT, Name TEXT, Age INT)

CREATE Students (ID INTEGER, Name TEXT, Age INTEGER)

TABLE Students (ID INTEGER, Name TEXT, Age INTEGER)

CREATE Students TABLE (ID INT, Name TEXT, Age INT)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To insert data into an SQLite table, you use the SQL statement:

ADD INTO

INSERT INTO

INSERT DATA

ADD DATA

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to commit changes to the database after executing SQL statements?

update()

save()

apply()

commit()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To retrieve all rows from an SQLite table, you use the following SQL statement:

SELECT ALL FROM table_name

SELECT*FROM table_name

SELECT FROM table_name

SELECT ROWS FROM table_name

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?