Issuu on Google+

1


2

Assess System Teacher of Ratchaphruek College Get by The Internet


3

2552.


4

1 1.1

E-learning

20

. 2549 ”


5

1.2

1. 2. 3. 4. 5.

(Application)


6

1.3

2 1.3.1

Front Office

-

-

-

-

-

-


7

1.3.2

-

Back Office -

1.4

2 14.1

1.4.2

1.4.1.1 1.4.1.2 1.4.1.3 1.4.2.1 1.4.2.2 1.4.2.3

1.4.2.4

(Hardware) CPU (Printer) LaserJet (UPS)

Pentuim 4 1 1

(Software)

(Case Tools) PHP MySQL Macromedia Dreamwearve Adobe Photoshop


8

1.5 . . 1. 2. 3. 4. 5. 6.

7.

1.6

Problem Statement (Requirements Gathering) ( Logical Model) (Physical Model) (Coding/Testing and Implement) (Systems Maintenance)

1.6.1 1.6.2 1.6.3 1.6.4

..

. .

..

. .

. .

..

. .

..

. .


9

1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.6.10


10

2

2.1

(Evaluation or Assessment or Appraisal)

60

60 %

40-59

60-79

2 evaluation 80

Evaluation) assessment

evaluation

40

80

assessment

2

(absolute criteria)

60

60 – 79 evaluation (Project Evaluation)

(Curriculum

(relative criteria) assessment (Self Assessment)


11

1.

2. 3. 4.

1. 2. 3.

1. 2. 3. 4. 5.


12

1. 1.1 Evaluation)

(Basic 2

1.1.1

(Placement Evaluation)

1.1.2

(Diagnostic Evaluation)

2

1.2

(Formative Evaluation)


13

1.3

(Summative Evaluation)

2. 2.1

(Self-referenced Evaluation)

(Equivalence Test) 2.2

2.3

(Norm-referenced Evaluation)

(Criterion-referenced Evaluation)

(Self Assessment)


14

3. 3.1

(Self Assessment)

(Evaluator)

(Internal Evaluation)

(Internal Evaluation)

SSR

2.2

(Self Study Report :

Self Assessment Report : SAR) 3.2

(

(Self Study)

(External Evaluation)

)


15

(Why)

PDA GPS

(Internet) . .

) 1.

(

(Electronic mail=E-mail)

,


16

2.

(Telnet)

3.

(File Transfer Protocol )

4.

(Gopher,Archie,World wide Web)

5.

(Usenet)

(Newgroup) 6.

(Chat,IRC-Internet Relay chat)

7.

(E-Commerce = Electronic Commerce)

8.

-

(Entertain)

24

2.3 2.3.1

HTML

HTML

HyperText Markup Language (Tag) Tag Attribute HTML HTML

Web Application

HTML WYSIWYG (What - You -See


17

-Is - What - You - Get) PHP

ASP

Dreamweaver Frontpag PHP ASP Web Application

HTML HTML HTML

HTML HTML

<html> <head> <title> .... </head> <body> .... </body> </html>

Title Bar

Browser....</title>

Web browser


18

Tag 1. <html></html> 2. <head></head> 3. <title></title> 4. <body></body>

4 Tag

<...>

</...> 4 Tag </...> Tag

Tag

</...> HTML

<...> 4 <...> HTML

PHP (Professional Home Page) (Open Source Computer Language) (Server-Side Script) (Client)

2.3.2

PHP

PHP

PHP

php

HTML .php

1.

php SGML

2.

XML

xML

XML

(Server)

Step

PHP


19

3.

Script

4.

java script

ASP

ASP

4

1

php Code php php

HTML

PHP

dollar ($)

(variable)

PHP

(data type)

Perl


20

$datastring = " $datainteger = 1024; $datafloat = 0.707;

";

echo

echo "$datastring\n"; echo "$datainteger\n"; echo "$datafloat\n"; )

\n

escape character \n

<? $datastring = " $datainteger = 1024; $datafloat = 0.707;echo "$datastring\n"; echo "$datainteger\n"; echo "$datafloat\n"; ?> Escaped characters \n newline \r carriage \t horizontal tab \\ backslash

<BR> ";

( HTML

HTML


21

\$ dollar sign \" double-quote %% percent

<? $x = 12; $y = $x + 17.5; echo "$x, $y \n"; $x = "abc"; echo "$x \n"; $z = $x + 19.5; echo "$x, $z \n"; echo ("1024.5" - 14); echo (0xef + 007); ?> 29.5

$x "abc"

12 19.5 PHP

$y

$x

17.5

0x (type casting) (double), (float), (real)

settype()

(int)


22

<? $x = ((double)"100.1") + 0.3e+3; echo $x," <BR>\n"; echo ($x=(int)$x)," <BR>\n"; $x = "P".$x."\n"; echo $x," <BR>\n"; $x= ceil(13.45); /* get integer part */ echo $x," <BR>\n"; if (!settype( $x, "integer") ) { echo "error\n"; } echo $x," $x%5=",($x%5)," <BR>\n"; ?> PHP "integer" "double"

<? echo gettype(0),"\n"; echo gettype(1.1),"\n"; echo gettype(""),"\n"; echo gettype((1==1)),"\n"; $var="abc";

"string"

gettype()


23

if ( gettype($var)=="string" ) { echo "this is a string\n"; } ?> is_string()

gettype()

, is_double()

is_object()

is_long()

, is_array() true (1)

,

<? unset($a); $a="hello"; if (is_string($a) == true) { echo "\$a is a string <BR>\n"; } unset($a); $a[]="red"; $a[]="green"; $a[]="blue"; if (is_array($a) == true) { echo "\$a is an array of size ",count($a),"<BR>\n"; } ?> unset() unset()

$a


24

echo

"\$a"

"$a"

double quote backslash (\)

<? $a=1; echo "\$a=$a <BR>\n"; $test = "test"; echo "$test$test$test<BR>\n"; echo $test,$test,$test,"<BR>\n"; $a = 1; $b = 2; echo $a,"+",$b,"=","$a+$b","<BR>\n"; echo $a,"+",$b,"=",$a+$b,"<BR>\n"; ?> echo

print()

<? $a="aaa"; $b = 'bbb'; echo "$a $b<BR>\n"; echo '$a $b<BR>\n'; ?>

PHP

single qoute

double quote


25

escape sequence

single quote PHP //

<? $a="aaa"; # a $b = 'bbb'; /* b */ echo "$a $b<BR>\n"; // echo '$a $b<BR>\n'; ?>

#

#

a

B

shell script

//

/* ... */


26

(+)

$x + $y

(-)

$x - $y

(*)

$x * $y

(/)

$x / $y (%)

7

$y

$x + $y 11 $x - $y 3 $x * $y 28 $x / $y 1.75 $x % $y 3

4

$x % $y

$x


27

$x

2.5

$y

++ )

--

4

$x + $y 6.5 $x - $y -1.5 $x * $y 1.0 $x / $y 0.615 $x % $y 2

x++ ++$x $x---$x

<? $x=3; echo $x++,"<BR>\n"; echo $x,"<BR>\n"; $x=3; echo ++$x,"<BR>\n";

(


28

echo $x,"<BR>\n"; $x=3; echo $x--,"<BR>\n"; echo $x,"<BR>\n"; $x=3; echo --$x,"<BR>\n"; echo $x,"<BR>\n"; ?>

assignment operators (assignment operators)

$x=0; $x += 1; $x--; $x *= 3; $x /= 2; $x %= 4; $x=""; $x .= 'A'; $x .= "BC";

(assignment )

$x = $x + 1; $x = $x - 1; $x = $x * 3; $x = $x / 2; $x = $x % 4; char char

string string (.)


29

PHP

<? $a = "var1"; $$a = 10.3; echo "$a ${$a} $$a <BR>\n"; echo "$var1 <BR>\n"; ?> $$a $$a

$var1

$var1 ( double quotations) $a

<? function foobar() { echo "foobar<BR>\n"; } function callFunc ($f) { if ( is_string($f) == true) { $f(); } }

$a

"var1"

${$a}

$a (

$$a $var1

$$a

var1) echo


30

}callFunc("foobar"); ?> function_exists()

$f

<? function MyFunc() { print ("ok..<BR>\n"); } $f="myFunc"; if ( function_exists($f) ) { $f(); } else { echo "$f does not exist!"; } ?>

PHP DEFINE()

<? define(PI, 3.141592654); define(YES, true);

DEFINE()


31

define(NO, false); define("AUTHOR", "RWS"); echo (PI/3),"<BR>\n"; echo "AUTHOR=".AUTHOR."<BR>\n"; echo "YES=".YES."<BR>\n"; ?> PHP

__LINE__ TRUE FALSE PHP_VERSION PHP_OS

PHP

2.4

Windows

(MySQL) MySQL Telnet

Client Server Linux Redhad

Unix System

programming C, C++, Java, Perl, PHP, ASP, VB, Delphi 60,000 (2,000 1 ) 5,000,000,000 MySQL commercial MySQL

Field

multi-thread


32

- MySQL SQL -based Multi - threaded Kernel Threads API Dvelopment Platfrom - MySQL DEC, Unix MySQL Group by Order by clauses Group Fune Leet outer Join Rihgt outer Ioin -

MySQL -

BIT ( MyISAM, InnoDB, Memory) TINYINT SMALLINT MEDIUMINT INT BIGINT

-

DATETIME DATE TIMESTAMP TIME YEAR

-

AIX,BSD,IOS,


33

-

CHAR VARCHAR BINARY VARBINARY BLOB TEXT ENUM SET

MySQL

phpBB MySQL MySQL

(database connector) MyODBC,ADO,ADO.NET

PHP PHP API

MySQL

ODBC

Create database database database ( design record

Database

file database

mysql file database )

field

database table design field


34

file database CREATE DATABASE databasename CREATE DATABASE file database databasename file database mysql>CREATE DATABASE datatest; file database file database SHOW DATABASES SHOW DATABASES database file database DROP DATABASE datatest DROP DATABASE datatest DROP DATABASE datatest file database

database

mysql>DROP DATABASE datatest; database datatest file database USE database USE

file database

test


35

database file database mysql>USE datatest;

file database

datatest

table CREATE TABLE data1 (field1, filed2, filed3, filedn) create_definition: col_name type [NOT NULL | NULL] [DEFAULT default_value] [AUTO_INCREMENT][PRIMARY KEY] [reference_definition] or PRIMARY KEY (index_col_name,...) or KEY [index_name] (index_col_name,...) or INDEX [index_name] (index_col_name,...) or UNIQUE [INDEX] [index_name] (index_col_name,...) CREATE TABLE data1 CREATE TABLE data1 table field1 column SHOW TABLES SHOW TABLES SHOW TABLES table

table

table

file database

file database


36

mysql>SHOW TABLES; table ALTER TABLE tableold RENAME tablenew; ALTER TABLE table ADD fiednew DATATYPE; ALTER TABLE tableold RENAMEt ablenew; ALTER TABLE table tableold table RENAME tablenew table ALTER TABLE table ADDfiednewDATATYPE; ALTER TABLE table table table ADD field fiednew field DATATYPE fild ALTER TABLE tableold RENAMEtablenew; ALTER TABLE tableADDfiednewDATATYPE; table file database DROP TABLE tablename DROP TABLE tablename DROP TABLE table tablename table


37

DROP TABLE phonebook;

table INTER INTO tablename (field1,field2,fieldn) VALUES ('field1', 'field2', 'field2');

INTER INTO tablename ('field1', 'field2', 'fieldn'); INTER INTO table tablename table (field1,field2,fieldn) field VALUES ('field1', 'field2', 'fieldn') field field 1 field 1 ( field 2 field 2 field n field n

Table )

mysql>INTER INTO phonebook (name,email,phone) VALUES mysql>(' ', mysql>'ccpasskn@hotmail.com' mysql>223102, NULL); table SELECT * FROM tablename; field) SELECT fieldname FROM tablename; SELECT fieldname FROM tablename; SELECT fieldname field field FROM table

"*"

table


38

tablename table mysql>SELECT * FROM phonebook; mysql>SELECT name,email FROM phonebook

SELECT fieldname FROM tablename ORDER BY fieldname; SELECT fieldname FROM tablename ORDER BY fieldname; SELECT Fieldname field ( field *) ORDER BY fieldname field SELECT * FROM phonebook ORDER BY salary; UPDATE tablename SET fieldname='datanew' WHERE fieldname='dataold; UPDATE tablename SET fieldname='datanew' WHERE fieldname='dataold'; UPDATE tablename table table fieldname='datanew' field WHERE fieldname='dataold; field mysql>UPDATE phonebook SET name='somjai' WHERE name='somsee';


39

DELETE FROM tablename WHERE (fieldname='datadel'); DELETE FROM tablename WHERE (fieldname='datadel'); DELETE FROM tablename table table WHERE fieldname='datadel' field mysql >DELETE FROM phonebook WHERE (name='somsee'); Export SELECT fieldname FROM tablename INTO OUTFILE '/directory/outfile.txt'; SELECT fieldname FROM tablename INTO OUTFILE '/directory/outfile.txt'; SELECT fieldname field Expot Data Export field "*" FROM tablename table Export INTO OUTFILE Export /directory/ Directory Export outfile.txt file Export mysql> SELECT * FROMphonebookINTO OUTFILE '/tmp/exdata.txt'; Import LOAD DATA INFILE "/directory/inputdata.txt"REPLACE/IGNORE INTO TABLE tablename;


40

LOAD DATA INFILE "/directory/inputdata.txt"REPLACE/IGNORE INTO TABLE tablename; LOAD DATA INFILE Import /directory/inputdata.txt directory file Import REPLACE IGNORE INTO TABLE Import table tablename table Import LOAD DATA INFILE "/tmp/exdata.txt" REPLACEINTO TABLE phonebook; 2.5

(Related Research)

2.5 (2546) 97

MySQL

Microsoft Acccess


41

2.5.1 (2547)

2.5.2

IT

www.it.kmutnb.ac.th


42

IT

2.5.3

http://computer.ru.ac.th/research


43

3 3.1 3.1.1

(Problem Definition)

1. 2. 3. 4. 5. 6. 7. 8.

1.

2.

3.


44

4. 5. 6.

3.1.2

(Cause and Effect Diagram)

Ishikawa

3.1.3

3.1.2

(Problem Statement)


45

3.1.4 -

(Objective)

1

100%

100%

100%


46

3.2

(Requirements Gathering) 3.2.1

(Documentation) ,

, )

3.2.2 (Conduct Interviews and Discussions with Users) :

:

: 26

MS-Office

2551


47

spss

spss

x

1

2

x

1


48

3.2.3

(Work Flow)


49

3.2.3

(Work Flow)


50

3.3 3.3.1 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22.

(List of Processes)

X


51

3.3.2

(List of Data)

1. 2. 3. 4. 5. 6.

3.3.3

-

(Boundaries)

Boundaries Diagram

3.3.3

Boundaries Diagram


52

3.3.4 1. 2.

3.

4.

5. 6. 7. 8.

9. 10. 11.

(Process Description)

a.

3

43

a. b. a. b. c. a. b. a.

a. b. c. d.

43

(SPSS) a. b.

X


53

12.

13. 14.

15.

16. 17.

a. b. c.

a. b. a. b.

2 1 a. a.

1


54

3.3.5 Process

(Grouping Process) Trigger Event/Process Name

1

2

3

4

5

3.3.5

Contain


3.3.6

(data Flow Diagram)

Context Diagram (DFD Level 0)

ContextDiagrams

0

52


56

DFD Level 1 D1

D6 1 2

D2

D3

D4

D8

D16

3

4

D11

5

53


57

54


58

55


59

56


60

57


3.3.7

(Data Model)

(The Entity Relationship Diagram)

61

58


62

3.3.8

(Process description level 1)

System : Process 1 : Data in

Data out

-

-

-

-

-

-

-

-

-

-

-

-

-

-

Task of activates From Data Flow : • • • • • • • • • • • • • •

3.3.8


63

Group Process 1 No.

Sub Process

Contains

1.1

• •

1.2

• •

1.3

• •

1.4

• •

1.5

• •

1.6

• •


64

System : Process2: Log In Data in -

Data out

Task of activates -

-

-

-

Group Process 2 No.

-

From Data flow : • • • •

-

Sub Process

Contains

2.1

• •

2.2

• •


65

System : Process 3 : Data in

Data out

Task of activates -

-

-

-

From Data Flow : • • • • • • •


66

Group Process 3 No.

Sub Process

Contains

3.1

• • • • •

3.2

• •

System : Process 4: Data in

Data out

Task of activates From Data Flow : •


67

System : Process 5: Data in

Data out

Task of activates -

-

From Data Flow : • • • • •

-

Group Process 5 No. 5.1

5.2

5.3

Sub Process

Contains • • • • • •


68

3.3.9

(Data Dictionary)

elation semester

Atribute se_year

semester

status

student student student student subject subject subject

stu_id stu_name stu_sname branch_id subject_id subject_name subject_credit

int(1) int(9) varchar(40) varchar(40) int(3) varchar(6) varchar(50) int(1)

subject

se_id

varchar(5)

branch branch branch branch department department department evaluation evaluation evaluation

branch_id branch_name dep_id tea_id dep_id dep_name tea_id eva_id eva_head_id eva_result

varchar(3) yes varchar(40) varchar(3) yes yes varchar(3) yes varchar(40) yes varchar(6) yes varchar(3) yes int(11)

evaluation se_id head_eva eva_head_id head_eva eva_name

Description

Attribute Domain off = 0 on =1

Type int(4)

PK FK Reference

yes branch yes

yes semester

departname teacher

teacher item_eva

varchar(5) yes semester varchar(3) yes varchar(150)


69

elation teacher teacher teacher

Atribute tea_id tea_name branch_id

teacher

tea_type

user

u_id

user

user_permission

user user user user

user_account user_password user_id user_type

Description

Attribute Domain

yes = T No = F

Type PK FK Reference int(5) yes varchar(40) varchar(3) yes int(1) int(11)

1= 2= 3= 4=

char(1) varchar(50) varchar(20) int(10) varchar(5)

3.3.9

yes


70

4

4.1 Office 15

Back Office 3

Front Office 1

Front Back Office

1

4.2

4.2.1

Front Office

1 2 3 4

4.58 4.28 4.49 4.55

5

4.47

6 7 8 9 10

4.22 4.41 4.10 4.75 4.12 4.40 4.2.1


71

4.2.1

Front Office

4.40 1. 2. 3. 4.2.2

Back Office

1

4.56

2 3

4.38 4.49

4

4.51

5

4.33

6

4.24

7 8 9

4.28 4.10 4.69

10

4.22 4.38 4.2.2


72

4.2.2

4.3

1. 2.

4.38

Front Office

4.3.1

Back Office

Back Office Front Office Front Office


73

4.3.1.1

4.3.1.1 4.3.1.2

4.3.1.2


74

4.3.1.3

4.3.1.3 4.3.1.4

4.3.1.5


75

4.3.1.5

4.3.1.5

“0”

4.3.1.6

4.3.1.6

0

0


76

4.3.1.7 “

4.3.1.7


77

4.3.1.8

4.3.1.8 4.3.1.9

4.3.1.9


78

4.3.1.10

4.3.1.10 4.3.1.11

4.3.1.11


79

4.3.1.12

4.3.1.12 4.3.1.13

4.3.1.14


80

4.3.1.14

4.3.1.14 4.3.2

Back Office Back Office

4.3.2.1


81

4.3.2.1 4.3.2.2

4.3.2.2


82

4.3.2.4

4.3.2.4 4.3.2.5

4.3.2.5


83

4.3.2.6

4.3.2.6 4.3.2.7

4.3.2.7


84

4.3.2.8

4.3.2.8 4.3.2.9

4.3.2.9


85

4.3.2.10

4.3.2.10


86

5 .

.

5.1

100%

90%

5.2


Re50