SQLite trong android , p1

SQLite trong android , p1

University

7 Qs

quiz-placeholder

Similar activities

Tin học: Ứng dụng tạo môi trường học tập tương tác trong lớp học

Tin học: Ứng dụng tạo môi trường học tập tương tác trong lớp học

University

10 Qs

Microsoft Access

Microsoft Access

10th Grade - Professional Development

10 Qs

Bài 11: Cơ sở dữ liệu ( IC3)

Bài 11: Cơ sở dữ liệu ( IC3)

1st Grade - Professional Development

10 Qs

về đích lớp 8

về đích lớp 8

1st Grade - University

10 Qs

CSI104_Introduction

CSI104_Introduction

University

10 Qs

module 9

module 9

University

10 Qs

kiem tra 15'

kiem tra 15'

University

10 Qs

A3 IIB - DDL: Data Definition Language II

A3 IIB - DDL: Data Definition Language II

11th Grade - University

10 Qs

SQLite trong android , p1

SQLite trong android , p1

Assessment

Quiz

Computers

University

Easy

Created by

Hoàn Bá

Used 3+ times

FREE Resource

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 10 pts

  1. Câu lệnh SQL thực hiện Tạo bảng

create Table

create Database

drop table

select

2.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

câu lệnh thêm dữ liệu nào đúng

insert into SV(ms,ht) values('cntt', "nguyễn van a", " CDDCNTT22")

insert into SV(ms,ht) values('cntt', "nguyễn van a", " CDDCNTT22")

insert into SV(ms,ht,lop) values('cntt', "nguyễn van a", " CDDCNTT22")

insert into SV(ms,ht,lop) values('cntt', "nguyễn van a", " CDDCNTT", 22)

3.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

để kế thừa các hàm thao tác với cơ sở dữ liệu trong android ta kế thừa lớp nào sau đây

SQLiteHelper

SQLiteOpen

SQLOpenHelper

SQLiteOpenHelper

4.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

các hàm bắt buộc phải override:

onCreate() và onUpdate()

onCreate() và onUpgrage()

onCreate() và getView()

addStudent(Student student)

5.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Hàm oncreate trong lớp thao tác CSDL trong android được gọi :

gọi khi cập nhật cấu trúc bảng dữ liệu

gọi để cập nhật bảng dữ liệu

để tạo ra cơ sở dữ liệu

khi cơ sở dữ liệu đã được tạo ra. gọi để tạo bảng dữ liệu

6.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

để thực thi câu lệnh SQL ta dùng hàm nào:

db.execSQL();

db.execSQL(create_students_table);

db.excutSQLite(create_students_table);

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Thêm dòng dữ liệu vào bảng dạng đối tượng ta dùng đối tượng nào sau đây:

ContentValues

Context

TextView

Adapter