Sie sind auf Seite 1von 10

EECE433

Database Lab Manual

Ô 
 
  


             

c c  c c
c c c 3

1 c
cc c 4

2 c
c cc ccccc 
c c  c

3 —c
cc c cc ccc c 11

4 c
cc 
c  c 12

5 c
c!cc c "c
  c#$ 1

6- ^c
c!c%c  & c c'c 19

8 (c
c!cc cc"%cc 24
c"%c   cc
c  c#) c'$c

9-10 *c
c!cc  cc  cc
c 2
 c"%c   c#) c'$c

Appendix1 c c +,
c, c 28

Appendix2 c c -. c, c 29



—
EECE433 Database Lab Regulations

‡ Lab attendance is mandatory. The instructor will explain or answer questions related to Database lab topics
in conjunction with the assignments

‡ Lab assignments will be due on a weekly or bi-weekly depending on the complexity of the assignment.

‡ You have Programming Team project to be submitted at the end of the semester. You have to group
yourselves into groups of three for this purpose. You all need to have a common base of knowledge. Expertise
can vary. The names have to be submitted to the instructor during the first week. Also the last two assignments
are Team work assignments

‡ The Suggested programming language to use is C#. The language will be used to design windows and
Web applications connected to databases (e.g. Microsoft SQL Server with C#. Another programming language
which may be used is Java, in case the student (or the group) has good knowledge of it. The connected database
will be then mysql. You will be taught major features of C# initially but rapidly. The student has to follow up
alone.

‡ Each lab assignment has to be presented to the instructor and submitted to moodle. Every assignment has a
due date. Late assignments will be accepted but penalized. If an excuse is presented, the instructor will judge it
depending on the different existing criteria.

‡ Lab assignment grading:

± Assignments will have clear grade distribution for every requested feature. If all requirements are met, a
student will get 90%. Additional feature beyond requirement will add up to 10%. Sometimes no additional
features are required, only submission on time is needed. It will be mentioned.

‡ Project grading:

± Coming up with clear definition of requirements and meeting those: 80%

± Additional features: 10%

± Literature survey with comparison to other research work: 10%


cc# 'c$c
 
     



     


   


           

 


     
 

  
  

 
  
 

    
    


  

     !  



"


 #
 $"#% &

   
 

  


 
 

 

'
(
 
)  

    !   

*

  


  

 
  
  ) 

 
      & $   &  %

-c/0c cc
               )
  
##— 

+
     

 
   
   
 

, 

-

÷  


  

       

    

!
!

    "    # $% %÷#  ÷ & ÷    
#   % &"÷   #  % # %#  ÷ 
  &%$% 

.   
   
 

 
  
 
  
 
 $  /0 
 /0 )
% 


  
 

 

 
 
    

'÷#÷%   %   ÷#÷(% ÷ $
      



 #    )**$%  &&  '% # #÷ 
 ÷   & +  ,  ÷ % 

      

    -  , .÷/

  0  1 

 0234   

  0$5
66    & 75
$%  809

& :49

   *  &   ;

  9**

!
 

   *  #  ;

  3**

!
Ê
  -< , .÷/

 0  1 

 0234   

!
  '%   ÷ " /*  3

  '%+    ÷ " /*  9

!

(%$$#÷ ÷ , $  &# ,%$#  %# )
234,2=5,24>,?÷" @( %$$÷#÷    ÷ A*B'%
   " % "÷  %$%  <  ÷ $ ÷  "  
'%&    % #     **C÷  )% D ÷  ÷$ 
% #÷#%   " # "#   ÷#



'%   #     $%   %2  %   
"%  ) %  <2%   &&  $%**% ÷  
)$    & ÷  <# 

66 #  $%2%  # 
÷  

÷      E

÷   '<


  #   F##  3


 #66"  

# <,
66  &#   "  
#÷"  # ,"<0
0"
!
#÷"  #

  %  G2('

  # /*<*,*

!

#÷"  ÷"    ##
66 %      % 
÷ %.<H#<I<H#<*H#IH#

!
!


   /#662%    

#  ÷
66 &"   ÷ 
#÷"     ,",/"  ," ÷ 0
!
#÷"  #

  %  21-

" #
66 &" #
  1 ÷  /* ÷ 

  F  /*  
66 & %  /# %  
!
#÷"  ÷"   

÷ %2I ÷ I ÷

!
!
^
   /  

# %%
66 & " 
#÷"     ,",,%/"  ,",%%0%
!

#÷"  #

  %  C2(?-1

" #

  % /*%%

  ÷&  /* ÷& 

  D ÷  /* ÷ 

!

# ÷"  ÷ 66$#÷"  /÷  %

÷  I%%

!

# ÷"  ÷& 

÷5I %2I ÷ I ÷ *%%

!

    66  %, "  

66  &"J  /÷ $
##30$#K,5

##50$#=,3

#3#

#5#

66%$÷ & /9!&& #  ,3&   +</5  # 
  9!/3/+!,?    ,#3   #5

   30$  =,K,K

 3#

    0$  3,5,K,=

  #

662 /  #÷%   "$%# &     
  9!/3/+!,?   "$      ,
3     

!

!
!





1÷%# '% &"#÷  # ,       
 ÷ 

c
c
c
c
c
c
º
= ccc
c   cccccc

   % # 
($ % $ ##  F÷  D ÷ ÷   &÷ &  
& 32% & ,÷   # ÷   #   & %
 "<- %  %  & ÷ ## % ÷  & ÷
     ,  %  #  # &  )
 )% ÷ <   $$ ##     &  
#%   & , J÷ %  , &%
& ÷ ##  ,%$% %  # %
% ##  

‘ cc
 #÷%F   ÷ & &    & % ÷ 
G%&    " ,%## $$  &%<& A " 3B
A  #÷  BF  &%&, "  %&  
F "  ÷  # < %& ?  % "  $ </
A- ÷ &  /B? $ <"<$% % ÷  ÷ ,# 
<%  " 

' ,%  ÷ $  ÷  "÷ $ "÷, %  
<  #÷F 2 % " ÷#÷% ÷  C÷& ÷ 
$)  + 3 ? ,%  % & &% % #+ 3
($÷"   )%"÷'% $ %& ÷ $% % %  )
&%"÷2$ # %&  + 3 $% % % & 
"%% & 2 #÷#    $   % & 
C÷$    % /"÷3L  )
 %  %%& $ /  &<# 
# "÷3L  )"J  ,-F 

  0<M<3'<
66 %<"<, $    
÷"  ÷ 0?÷"    
66  % ÷ ÷" 
÷"   0 %2I ÷ I ÷
66 #÷  
÷" # 05I %2I ÷

  0  '999
66&& $  #  
 ##0# '999
66%$     $  %$÷#
 " ='<0F  * * ÷ &  /*##
66÷#÷ " =
!

1÷% ##    C÷  )% ÷ #  ÷ 
%<"<   )%"÷     ÷$ 
' #÷$%   ##  " %    
 %$÷$)% ÷ 


‘ cc
 $$ ##       ,  %.÷  "    
 ÷ ,  &  

- %% c % c .c#,c c cc c $c
-- 1
 .
 &  2  3
. 
 (
- #  . " 

3
 !


   .
   
 
 
 
  
    


   
+
 

    
    

0 
   


  $ 

 4% 2
 )

 

  

 
 
     
  .


 
 
   



+
 .
 

 
  
2 " $
  
% .   #  
  
*
!


   "           
 !
   .
5
  
.
5
 !
  

 
   
  
*
  &

 

— — —   — 
 
 
  
 

 *
!
'

6" 7
&
/   
  Ϊϳ
— 
 ϊΒλ΍
) ΪϠΟ
4  ϊϣ
^  ϭ
º 
 ϢΛ
 
 ΖΤΗ
  ϰϠϋ
8  ϲϓ
 
 ˯΍έϭ
  ϝϮϗ΍
—  ϒϗ΍
  Ύϧ΍
Ê  Ζϧ΍
^ 
Ϯϫ
º 
ϲϫ
 
ϦΤϧ
  ϢΘϧ΍
8 
 Ϣϫ
—  ΎϤΘϧ΍
— 
 ΎϤϫ
——  Ζϧ΍
—  ϦΘϧ΍
—Ê 
 Ϧϫ
—^  ΓΎΘϓ
—º  ϞΟέ
—  Γ΍ήϣ΍
—  ϊο΍
—8  βϠΟ΍
 ΐϫΫ΍
 )
ΐΣ΍
— )
ϞΜϣ
 ΖϨΑ


  -
+
 ! !  
     +  

 
  

**  

2
 

 


   
 

  
 
.


   


#    




  .    

. -   ! 
"+
"9  

 

3
 .
5
  

 
 :


'

  ;
 *  - $ 
 
 

  


%
ë  cccc1c cë  c#c2-  1".3 .ë
..45c
cc  16 &677 8 .%c2$5c
ë %%ccc%%c1c cë %%#2  c  9cc"%c&29c$5c

3

)

 
 


 
 1
      
1   
 
 
   ;
    
 &   
  

 
.

 
9 

 




.





  
-   
 
 '
6 &6c *  
  

.

 
 

 
 '
 
  ;
     
  
#  


  .  

, 
   )   
   
 


2
  ) 
 $ 
 
 


%  
   
-
+
$%9
  < 
*&*'
*9 ==   

== 




 
  
  

+
"">

 >

 <  #*

>

$%9

== ( 

 



$>

>
 $%%
?
 $ << >

-
!$ %% ==
#  
?
  < >

-
!$% 9 ==
 
.  
" ='<0 
66÷#÷  "
@
@
>    
     #    
 
. ' 
' 
 
   

 >

-
!$ %%  
  

 


#   
   


  

** 
.    

- >

 -
!$%%
, 


   ) 
   

    * 
 
  
  )     


.
   
  #  . '    
  

 c c"   0c


èc  


  
 (
$ 
- 
 4% 
     

èc  


  
  
      
  $)
5
 %
èc .        . #  )
èc .      
 
 
  5
*
  

 /0  /)
0 

  
.    
 
   

8
èc . 
   
  
   
  >  )  

 
   
 
$—%     5  
  
 
 5—
+ &  

&   0$+ 5

&   %$


'
  

 ) 
/
 0 !A1 * #   
   


  
  , 

 
   

   

 * 
 
èc   
 
   )
      B
/

&*0 

   ) 

  

   
    
    ,=( 

&*   

     

* 

 


èc 5  
 
 

   

        
  


  -B $-  B
 

%

'%"  # $ $% N639 ' %% ,%## & ÷ 
 % O ÷ " #  


V c   cc   cc
 cc c  c
c½ ccVc=   c
c½ c  ! c  c
c