Professional Documents
Culture Documents
ISMAIL
MR/A.SHEHATA
2
5
.
.
.
-1
-4
-2
-3
) ,
,
-6
-5
"
:Algorithm
0
,
, .
) ( 1 0
) - ( .
INTER PRETER
COMPILER
) ( ,
) (
.
2
5
: ) ( ) ( :
(1
(
)
.
(2
(
)
.
(3 Visual Basic
(4
(
)
.
(5 .
(6
(
)
.
(7 .
(8 .
(9 .
(10 .
(11 ).(5 1
(12
(
)
.
(13
(
)
.
(14 ) (Visual Basic.Net .
(15 .
(16
(17 .
(18 .
(19 .
(20
.
: :
-1
(.............................. ) .
-2 .
) (..............................
2
5
-3 .
) (..............................
-4
.......... .
-5 ).(0 1
) (..............................
-6
)(......................
.................. -1
.
-2 ................... . ....................
-3 .................
-4 ................... . ..............
-5 . ....................
-6 ...................
.
-7 ..................
.
................... -8
.
-9 . ...................
.................... -10
.
-11 ...................
.
...............
-12
.
-1 .
-2 .
-3 .
-1
-2
2
5
-:
(
)
)
(.
) ( .
.
.
) ( .
2
4 1 2
.
-1
-2
B D C E F
-3
) (
-4 ).
(
-5 ) (
) f=(e)-(a+b+c+d
(F= 50 ( 2*3+4*1+2*1+1*3 35
Flowchart
.
.... ...
-:
2
5
) Terminal (
/ Input / Output
Start \ End
\ Input
Output
/ Process
Processing
/ Decision
Flow line
-1
-2 .
-3 /
-4
.
-5
-6
.
-7 .
-1 :
-2 :
-3 :
-4 :
-5 :
-6 :
-1 : .
-2 :
.
2
5
-3 : .
-4 :
.
number1 number2
result
Algorithm
number1/ number2= result
) (35
2
5
) !!!
(
** **
Getup
Yes
Isit6
?O'clock
No
Isit6.30
Gotoschoolonfeet
Yes
?O'clock
No
) ( TokTOk
Takeataxi
Takeabus
A !!!!
rrivetoschool
) ( ) ( :
-1 .
(
)
2
5
-2
(
)
.
-3
(
)
.
-4 .
(
)
-5 .
(
)
-6 .
(
)
-7 .
(
)
-8 .
(
)
-9 .
(
)
-10 .
(
)
-11 .
(
)
-12 .
(
)
-13 .
(
)
-14 .
(
)
-15 .
(
)
-16 .
(
)
-17 .
(
)
: .
.
-
0
-
0
-
0
-
- 0
2
5
: .
: Pseudo code
.
Pseudo code )false
(code
.
Pseudocode
Words
Clauses
Statements
.
.
Pseudocode
Sequence
Selection
Iterations
.Simple
.No special symbols
.No specific syntax
.
* .
2
5
-1
.
Start
If
>A
B
Print
a
Print
B
end
-2
0
) (
Number "Number1" 1-Input ( Read ) The First
Input ( read ) the second number2 Then-2
If the value of number1= that of number2 Then-3
"Print "Division is impossible because number2 is zero
Go to step4
Else
Result = number1/number2
Print number1, number2 and result
End If
. stop processing-4
) ( :
" : , ,
, , ,
, ,
, ,
"
2
5
) ( ) ( :
-1 .
)
-2 .
)
-3 .
)
-4 .
)
-5 .
)
-6 .
)
-7 .
)
-8 .
)
-9 .
)
-10 .
)
: :
-1
.................. .
) (
) (
-2 .............. .
-3 ............... .
) (
-4 . ...................
) (
-5 .............. .
) (
-6 . ...............
)(Print If then else For next
-7 If . ...................
)(None False True
2
5
-8 IF True . ................
)(If Then Else
-9 . ..............
) (
)C, BASIC,
(FORTRAN,COBOL
. ) (OOP
) (User ) (Event
.
Object
).(Objects
pen
Properties
Computer
window
.
: :
Methods
).(Object
.
.
) (Object ) (Events
.
:
.
2
5
Events
):(Value
) :(Property
) :(Object
) :(Methods
) :(Event
):(Class
)(Object
) (Class
).(Class
) (
. Class
Object
) (Class ). (Object
(Properties )(Methods
)
) (Class
) (Events .
).(Object Properties
.....
.
) (Class ) (Derived ) (Inherit
) (Base
.
) (Classes
.
.
2
5
) ( ) ( :
-1 ) (Class ).(Object
(
)
-2 .
)
-3 ) (Methods.
-4 ).(Event
(
)
-5 .
)
-6 .
)
-7 .
-8 ) (Class .
(
-9 .
(
-10 ) .
)
-11 .
)
(
(
)
(
(
(
)
)
(
(
: :
................... -1 .
-2 ................... .
-3 . .............. ............ ...........
................ -4 .
................... -5 .
-6 ................. .
............... -7 .
-8 . ....................
-9 . .....................
. ................
-10
-11 . ...................
................. -12 .
................. -13 .
-14 . ..................
..................... -15 .
-16 ................ ) (Class ) (Child ).(Parent
: :
2
5
. .....................
. .....................
. ...........
. ................
. ..................
. ....................
.............
-8 ................... ).(Class
IDE
) ( Visual Basic I D E
) V.B
( Projects
) ( V.B Projects .
2
5
.1
.2
.3
.4
.5
.6
) New
-: ( Project
IDE
) ( 1 -: Toolbar
) . ( Menu Commands
) ( 2 -: Form Designer
) ( .
) ( 3 -: Solution Explorer
) ( Classes .
) ( 4 -: The Properties Window ) ( Objects
.
) ( 5 -: Toolbox
) ( Controls .
. ( File )
-1 ) Save All
.(Save project
-2 . ) . ( Save
-1
2
5
F5 .
Start
-2 2- My Document -1:
.
) ( ) ( :
-1 Start page .
-2 Getting starting .
-3 Form Form1 .
-4 Solution Explorer ) .
IDE -1 . ......................
Integrated Development Environment -2 . ..................
-3 ............... "."Form
.................... -4 .
2
5
-5 IDE . ...................
-6 Start Page . ...................
-7 File . ....................
.................. -8 .
-9 ................... .
-10 ................. .
-11 ..............
.
-12 Save all . ....................
-13 Form . ........................
-14 ..........
-15 ) ( Build ..........
-16 Text Button ................... . .....................
-17 Toolbox . ........................
: :
(
2
5
Toolbox -1
Data -2
Properties -3
Solution explorer -4
Editor -5
-1
-2
-3
-4
) ( V.B :
) ( 1 )-: ( Windows Form
) ( IDE )( Windows Form
.
) ( 2 ) -: ( Button
: . Button
:
. Button
: Button ) ( Object ) ( Properties
) ( Action
) ( Property
) ( True )( False
Back Color
Background Image
2
5
Enabled
Font
) ( True )( False
Fore Color
Image
Image Align
Name
Text
Text Align
Visible
) : ( Event Handler
) ( Button .
( 3 ) -: ( Label
:
.
: .
( 4 ) -: ( Text Box
:
.
: Text Box
-1 .
-2 Text Box
) ( scroll bar .
- Text Box .
Focus
Key Press
0
Focus 0
) ( ) ( :
-1 Form.
-2 Form .
(
-3 .Font
-4 Text .
(
-5 Toolbox .
2
5
-6 Enabled=false .
(
-7 ImageAlign .
-8 Visible .
(
-9 Text .Label
(
-10 .Button
-11 )( .
-12 .
-13 .
: ) ( )(:
)(
Form -1
Forecolor -2
Backcolor -3
Enabled -4
Text -5
)
)
)
)
)
)
(
(
(
(
)
)
)(
-1
-2
-3 True False
-4
-5
-6
-1
Autosize -1
-2
Font -2
-3 Borderstyle -3
-4
Image -4
-5
TextAlign -5
-6 ImageAlign -6 .
) (
-1 . ..................
) (
-2 ............... .
-4 Textbox . .............
-8 . ................
2
5
-9 . ...............
)(SelectedText SelectionStart TextAlign
-10 . ................
)(SelectedText SelectionStart SelectionLength
-11 )(TextAlign TextLength Text
-12 (WordWrap Text TextAlign)..........
: :
: ) ( ) ( :
-1
-2
.
-3 Visual Basic
.
-4
.
-5 .
-6 .
-7 .
-8 .
-9 .
-10 .
-11 .
-12
.
-13 .
-14 IF
True . False
-15
.
-16 If False
. True
2
5
-17 )( .
-18 ) (Class .
-19 ). (Object
-20
.
-21 .
-Compiler22 V.B .
-23 Editor
.
-24 Clear . Text Box
-25 Read Only True
. Text Box
: :
............-1 .
............-2
. Algorithm
-3 .......... .......
-4
..........
-5 ............
-6 .................................
-7 ............ .
-8 :
Object Name............ =......................
...........-9
.
-10 . Object Name ........... .
-11 ............
.
............-12
.
-13 .............
.
-14 ......... V.B
Classes .
........-15
.
-16
...... .........
-17 Visual Basic
............
-18 ......... .
-19
..........
........-20
.
-21 .......... .
-22 .......... TextBox . Clipboard
-23 ...........
Focus
2
5
: :
-1 .
-2 .
-3 .
-4
). (1 0
-5
.
-6 TextBox . Clipboard
-7
.
-8 Class
.
-9 .
-10 .
-11 .
-12 . TextBox
-13 .
-14 .
-15 . TextBox
:
-1
2-
3-
-4
5-
6-
-7
8-
9-
-10
11-
12-
-13
14-
15-
-16
17-
18-
-19
20-
21-
23-
25-
-22
24-
-2
-1
-3
.
-4
-5
True
False
-7
-6 .
Properties
-9 Events
Value = Properties -8
-11 Inheritance
Method -10
-13
-12 Toolbox
Form designer
-15
-14 Solution Explorer
Toolbar
17- Build
Toolbox View -16
2
5
TextAlign -18
Label -20
Cut -22
19- MsgBox
21- ImageAlign
23- Key Press
15- Clear
Object -2
-4
Copy -6
-8
10- Debugger
12- SelectAll
Visible -14
2
5
:
-1
Class -3
-5
-7
ForeColor -9
Methods -11
-13