
Test 1

Quiz
•
Computers
•
12th Grade
•
Hard
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
Similar Resources on Wayground
20 questions
12 CS One Mark 11-15

Quiz
•
12th Grade
21 questions
Database

Quiz
•
12th Grade
21 questions
DDL dan DML

Quiz
•
12th Grade
15 questions
Databases

Quiz
•
9th - 12th Grade
20 questions
Examen de Programación Unidad 3

Quiz
•
11th Grade - University
15 questions
Bazy danych - SQL

Quiz
•
9th - 12th Grade
20 questions
MB-3

Quiz
•
1st Grade - University
19 questions
CS - Module 8 - Software Security

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade