លំហាត់ទី ២ ថ្ងៃទី ១៖
E; F; G; H ជាចំណុចកណ្ដាលរៀងនៃ [AB]; [BC]; [CD] និង [AD] ដែលជាជ្រុងការេមានរង្វាស់ a ។ គណនាក្រលាផ្ទៃផ្នែកឆូត។ (១០ ពិន្ទុ)

លំហាត់ទី ២ ថ្ងៃទី ១៖
E; F; G; H ជាចំណុចកណ្ដាលរៀងនៃ [AB]; [BC]; [CD] និង [AD] ដែលជាជ្រុងការេមានរង្វាស់ a ។ គណនាក្រលាផ្ទៃផ្នែកឆូត។ (១០ ពិន្ទុ)

Declare search_value As String
Declare n As Integer
Input n
Declare list(1 to n) As String
Input search_value
Declare i As Integer
For i=0 to n-1 Increased by 1
Input list(i)
End For
Declare start_index As Integer
Declare end_index As Integer
Declare mid_index As Integer
Declare found_index As Integer
Set start_index=1
Set end_index=n
Set found_index = -1
Do
mid_index = (Round Down) (start_index+end_index)/2
If end_index<=start_index Then
If search_value = list(mid_index) Then
found_index = mid_index
End If
Exit Do
Else
If search_value = list(mid_index) Then
found_index = mid_index
Exit Do
Else If search_value < list(mid_index) Then
end_index = mid_index – 1
Else
start_index = mid_index + 1
End If
End If
End Do Loop
If found_index = -1 Then
Display “Search not found!”
End If
Output found_index
(Reference: http://www.krookroo.com/programming-languages/ms-visual-basic-20052008/94-it-vb9-10.html)
អានលម្អិតខាងក្រោម
http://www.krookroo.com/programming-languages/ms-visual-basic-20052008/92-it-vb9-9.html
ស្តាប់ចម្រៀងទីនេះ
http://www.krookroo.com/entertainments/mp3-song/93-mp3-kh-1.html
Dim ExcelApp As Object, ExcelBook As Object
Dim ExcelSheet As Object
Dim i As Integer
Dim j As Integer
‘create object of excel
ExcelApp = CreateObject(“Excel.Application”)
ExcelBook = ExcelApp.WorkBooks.Add
ExcelSheet = ExcelBook.WorkSheets(1)
With ExcelSheet
For i = 1 To Me.DataGridView1.RowCount
.cells(i, 1) = Me.DataGridView1.Rows(i – 1).Cells(“id”).Value
For j = 1 To DataGridView1.Columns.Count – 1
.cells(i, j + 1) = DataGridView1.Rows(i – 1).Cells(j).Value
Next
Next
End With
| 1. Fade Away | |
| 2. Happy New Year | |
| 3. The End of the World | |
| 4. My Heart Will Go On | |
| 5. Rain and Tears | |
| 6. I Never Told You | |
| 7. Donna Donna | |
| 8. Soleda | |
| 9. Yesterday Once More | |
| 10. You Are My Everything |
ចុចខាងក្រោមនេះដើម្បីស្ដាប់ចម្រៀង
http://www.krookroo.com/entertainments/mp3-song/88-mp3-01.html
This map is not a real map, it uses for education only.

#include <stdio.h>
#include <conio.h>
#include <dos.h>
#include <string.h>
#include <graphics.h>
#include <stdlib.h>
#include <bios.h>
#include <ctype.h>
#include <dos.h>
union REGS in_regs , out_regs ;
អានលម្អិត សូមចុចភ្ជាប់ខាងក្រោម
http://www.krookroo.com/programming-languages/turbo-ccc/89-it-cpp-03.html
Dim con As New OleDb.OleDbConnection
con.ConnectionString = “Provider=Microsoft.Jet.OLEDB.4.0; Data Source=” & _
Application.StartupPath & “\dbstudent.mdb;” & _
“Jet OLEDB:Database Password=12345″
con.Open()
‘———————-
Dim da As New OleDb.OleDbDataAdapter(“SELECT * FROM tblstudent”, con)
‘———-
con.Close()
con.Dispose()
http://www.krookroo.com/programming-languages/ms-visual-basic-20052008/87-it-vb9-8.html
Dim db As New ADODB.Connection
Dim rec As New ADODB.Recordset
Dim recCount As Integer
db.ConnectionString = “Provider=MSDASQL.1;Persist Security Info=False;” & _
“Data Source=MS Access Database;” & _
“Initial Catalog=” & App.Path & “\dbstudent.mdb; Password=12345“
db.Open
rec.Open “SELECT * FROM tblStudent ORDER BY [name]“, db, 3, 2
recCount = rec.RecordCount
……………………………………….
http://www.krookroo.com/programming-languages/ms-visual-basic-6/86-it-vb6-6.html