logo

Crowdly

Browser

Add to Chrome

Questions Bank (1557147 total)

Яку функцію виконує інструмент зображений на рисунку?

0%
0%
0%
0%
0%
View this question
Catatonia refers to disturbances in
0%
0%
100%
0%
View this question

Яку функцію виконує «активний» інструмент зображений на рисунку?

0%
100%
0%
0%
0%
View this question

Which of the following statements best differentiates

factitious disorder from malingering?

0%
0%
100%
0%
View this question
Avoidant Personality Disorder (PD) is different from Schizoid Personality Disorder in that:
100%
0%
0%
0%
View this question
Alvin is schizophrenic. He has hallucinations, delusions, disturbed thinking, and bizarre behaviours. Alvin's symptoms would be described as
0%
0%
0%
0%
View this question

Яку функцію виконує інструмент зображений на рисунку?

0%
0%
0%
0%
0%
View this question
All of the following would be considered examples of positive symptoms of schizophrenia except:
100%
0%
0%
0%
View this question

Digitaro adalah perusahaan fintech yang menerapkan sistem insentif otomatis berbasis jam kerja dan performa. Sistem mereka sangat tergantung pada trigger dan stored procedure yang kompleks, dengan skenario sebagai berikut:

  • Tabel employee memiliki kolom: ssn, name, salary, bonus, total_hours_project, dan performance_grade.
  • Tabel works_on memiliki kolom: essn, project_id, hours.
  • Setiap kali jam kerja dimasukkan, total_hours_project diperbarui otomatis.
  • Jika total_hours_project > 200, maka bonus otomatis diberikan sebesar 20% dari gaji pokok.
  • Jika performance_grade diubah menjadi "A", maka stored procedure akan memanggil prosedur pemberian bonus tambahan.
  • Terdapat trigger untuk menolak semua insert/update yang menyebabkan salary + bonus > 1.5 * (salary supervisor).

Jika terdapat tiga trigger:

  • Trigger X: AFTER INSERT ON works_on ➝ Update total_hours_project
  • Trigger Y: AFTER UPDATE ON employee.total_hours_project ➝ Jalankan give_bonus() jika jam > 200
  • Trigger Z: BEFORE INSERT ON works_on ➝ Cek apakah jam yang ditambahkan valid (jam ≤ 12), kalau tidak raise exception

Apa yang mungkin terjadi jika ada query:

INSERT INTO works_on VALUES ('123', 'P5', 15);
0%
0%
0%
0%
View this question

Digitaro adalah perusahaan fintech yang menerapkan sistem insentif otomatis berbasis jam kerja dan performa. Sistem mereka sangat tergantung pada trigger dan stored procedure yang kompleks, dengan skenario sebagai berikut:

  • Tabel employee memiliki kolom: ssn, name, salary, bonus, total_hours_project, dan performance_grade.
  • Tabel works_on memiliki kolom: essn, project_id, hours.
  • Setiap kali jam kerja dimasukkan, total_hours_project diperbarui otomatis.
  • Jika total_hours_project > 200, maka bonus otomatis diberikan sebesar 20% dari gaji pokok.
  • Jika performance_grade diubah menjadi "A", maka stored procedure akan memanggil prosedur pemberian bonus tambahan.
  • Terdapat trigger untuk menolak semua insert/update yang menyebabkan salary + bonus > 1.5 * (salary supervisor).

Jika terdapat trigger pada employee yang akan:

  • Setelah update salary ➝ memanggil stored procedure recalculate_bonus()
  • Namun, ternyata recalculate_bonus() juga melakukan UPDATE employee SET salary = salary + 500 jika jam kerja > 250.

Apa yang mungkin terjadi?

0%
0%
0%
0%
View this question