Bahagia Menjadi Progremer

Quiz
•
Other
•
9th - 12th Grade
•
Hard
Setya Bella
Used 1+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana Anda membuat tabel SQLite dengan skema berikut ini:
ID (integer, auto-increment, primary key)
Name (text) Age (integer)
CREATE TABLE IF NOT EXISTS my_table (ID INTEGER PRIMARY KEY AUTOINCREMENT, Name TEXT, Age INTEGER);
CREATE TABLE my_table (ID INTEGER PRIMARY KEY AUTOINCREMENT, Name TEXT, Age INTEGER);
CREATE TABLE my_table (ID INTEGER AUTOINCREMENT PRIMARY KEY, Name TEXT, Age INTEGER);
CREATE TABLE my_table (ID PRIMARY KEY AUTOINCREMENT INTEGER, Name TEXT, Age INTEGER);
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana Anda menyisipkan (insert) data ke dalam tabel SQLite di Android menggunakan SQL?
INSERT INTO my_table (Name, Age) VALUES ('John', 25);
INSERT my_table (Name, Age) VALUES ('John', 25);
INSERT ('John', 25) INTO my_table (Name, Age);
ADD INTO my_table (Name, Age) VALUES ('John', 25);
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana Anda membaca (select) semua data dari tabel SQLite dan mengambil hasil dalam sebuah Cursor di Android?
Cursor cursor = database.rawQuery("SELECT * FROM my_table", null);
Cursor cursor = database.query("SELECT * FROM my_table");
Cursor cursor = database.select("my_table");
Cursor cursor = database.readTable("my_table");
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana Anda memperbarui (update) data dalam tabel SQLite di Android?
UPDATE my_table SET Name = 'Alice' WHERE Name = 'Bob';
UPDATE my_table SET Name = 'Alice' WHERE ID = 2;
MODIFY my_table SET Name = 'Alice' WHERE Name = 'Bob';
ALTER my_table SET Name = 'Alice' WHERE ID = 2;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana Anda menghapus (delete) data dari tabel SQLite dengan kondisi tertentu?
DELETE FROM my_table WHERE ID = 3;
REMOVE FROM my_table WHERE Name = 'Alice';
DROP my_table WHERE ID = 3;
ERASE my_table WHERE Name = 'Alice';
Similar Resources on Wayground
10 questions
Simple Easy Basic Lua Quiz

Quiz
•
4th Grade - Professio...
10 questions
Basic Web Page Design

Quiz
•
9th - 12th Grade
10 questions
possessive adjectives

Quiz
•
1st - 12th Grade
10 questions
Gmail - easy

Quiz
•
12th Grade
10 questions
PERBAIKAN UAS DATABASE 23-24

Quiz
•
12th Grade
10 questions
Base de Datos MySQL

Quiz
•
11th Grade
10 questions
Name that song

Quiz
•
3rd Grade - Professio...
10 questions
Web Development Quiz

Quiz
•
12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Other
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade