€¦  · web viewimplies the identification of required outputs, available inputs and, arithmetic...

14
The Egyptian Language School_ (Computer Department) Final Revision sheets -- Q1.What is meant by the following/Scientific term/Complete 1. Problem: is a situation that requires a solution or an objective you want to achieve through following consecutive steps sequentially. 2. Problem Solving: is the steps, activities, and processes to be done to reach an output or objective. 3. Problem definition: implies the identification of required outputs, available inputs and, arithmetic and logical operations to be executed. 4. Algorithm: plan in the form of a series of successive steps is made, is one of the methods used to solve a problem through logically arranged procedures. 5. Flowchart: It is a diagram that uses standard graphical symbols to illustrate the sequence of steps required for solving a problem or specific question. 6. Program design: Having drawn a “Flowchart” to solve the problem, using a computer. 7. Program testing: discover the errors and correct them by compare the results of the current program to those of the well-known results. 8. Program documentation: document program to go back for feedback and correction. 9. The language of Visual basic.net: It is one of the high level programming languages and designed 1

Upload: others

Post on 28-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: €¦  · Web viewimplies the identification of required outputs, available inputs and, arithmetic and logical operations to be executed

The Egyptian Language School_ (Computer Department) Final Revision sheets

--Q1.What is meant by the following/Scientific term/Complete 1. Problem: is a situation that requires a solution or an objective you want to achieve through following consecutive steps sequentially.

2. Problem Solving: is the steps, activities, and processes to be done to reach an output or objective.

3. Problem definition: implies the identification of required outputs, available inputs and, arithmetic and logical operations to be executed.

4. Algorithm: plan in the form of a series of successive steps is made, is one of the methods used to solve a problem through logically arranged procedures.

5. Flowchart: It is a diagram that uses standard graphical symbols to illustrate the sequence of steps required for solving a problem or specific question.

6. Program design: Having drawn a “Flowchart” to solve the problem, using a computer.

7. Program testing: discover the errors and correct them by compare the results of the current program to those of the well-known results.

8. Program documentation: document program to go back for feedback and correction.

9. The language of Visual basic.net: It is one of the high level programming languages and designed to be easy to learn as its commands and instructions use English language vocabulary

10. Properties: such as (size-color- font) of the text written on the program interface.

11. Events: such as click on a command button. 12. Procedures: commands and instructions which are carried out when calling this procedure.

13. Object oriented: its programs work through objects in computer Memory.

1

Page 2: €¦  · Web viewimplies the identification of required outputs, available inputs and, arithmetic and logical operations to be executed

The Egyptian Language School_ (Computer Department) Final Revision sheets

14. Event driven: commands and instructions are carried out as soon as certain event occurs.

15. Runtime: in computer memory where Applications produced by the language of Visual Basic.net language work in.

16. Compilers: compile commands and instructions written in Programming language into machine code which the Computer deals with.

17. Integrated development environment (IDE): provides tools and merits to the programmer that help him create applications (windows – mobile – web…..)

18. Form: is the interface which the user deals with through different controls such as Button, Textbox, label……etc.

19. Toolbox: It contains tools of controls which can be put on the Form and can be shown in categories

20. Properties window: which can be adjust properties of Each tool of the Controls

21. Solution Explorer: list of folders and files of the projects in this part.

22. Button: It is one of Controls which can be placed on the Form. When you click it, it does a certain task.

23. Label: It is a tool used in showing a Text on the Form Window which can't be changed during program Runtime.

24. Textbox: It is a tool used to insert (input) data from the user during program run time.

25. Listbox: A group of items whether it is possible to choose one item or more.

26. Combo Box: control displays a drop-down list from which one item can be selected. 27. Group Box: Is used to group other controls of same function together on the Form window

28. Radio Button: The program user selects one alternative only.

29. Checkbox: It is used for placing some alternatives to enable the user to select one Checkbox or more

2

Page 3: €¦  · Web viewimplies the identification of required outputs, available inputs and, arithmetic and logical operations to be executed

The Egyptian Language School_ (Computer Department) Final Revision sheets

30. Code window: Visual Basic.NET language provides a window through which we can write instructions and codes of the program called (code window)

31. Event handler: It’s a procedure which contains a code that is carried out when a corresponding event occurs...

32. Class Names: A drop-down menu that displays the names of controls on the form.

33. Method Names: A drop-down menu or events; associated with the item selected from the (Class Names) menu.

Q2: Give reason: 1. Flowcharts is beneficial / We use Flowchart in problem solving :

-Explain the program to others. -Helping in documenting the program in better manner. -Facilitating the reading. -Understanding of the problem. -Illustrating to the programmer what must be done.

2. Algorithm preparation is very important/Algorithm is made/ using algorithm. -To solve a problem through logically arranged procedures. 2. We use Program design in problem solving.

-To translate flowchart into one of the programming languages. 3. We use Program testing in problem solving.

-So you can discover the errors and correct them. 4. Program Documentation is beneficial

-when more than one person participate in writing or modifying the program. 5. Using Flow line arrows in flowchart.

-shows the order of an Algorithm. 6. Using Branching Flowchart

-To solve many problems that contain a question requires a Yes or No, or requires branching to other processes determined by flowchart. 4 | P a g e

3

Page 4: €¦  · Web viewimplies the identification of required outputs, available inputs and, arithmetic and logical operations to be executed

The Egyptian Language School_ (Computer Department) Final Revision sheets

7. The Language Visual basic.net use English language vocabulary.

-To be easy to learn and use its commands and instructions. 8. Using of Framework.net

-Libraries through which we create the objects. -Compilers which compile commands and instructions written in Programming language into machine code which the Computer deals with. - Runtime environment (called Runtime) in computer memory where Applications produced by the language of Visual Basic.net language work in. 9. The programmer of Visual Basic.net needs Integrated Development Environment (IDE). -to the programmer that help him create applications (windows – mobile – web…..). 10. There is (+) sign beside every category. -when you click it, a group of tools controls appear and you can show all tools of controls by choosing the category. 11. The value of Name property doesn't appear on the Form

-because it is used as Form name in code window. 12. Eight squares appear on the borders of the Button.

-So we can change the size of the Button by using the process of drag and drop using the pointer of the mouse through the eight squares. 13. Visual Basic.NET language provides a window

-we can write instructions and codes of the program called (code window)

Q3: Compare between the following: 1. Problem and Problem Solving

ProblemProblem SolvingIs a situation that requires a solution or an

objective you want to achieve through following consecutive steps sequentially

Is the steps, activities, and processes to be done to reach an output or objective

2-Problem and Problem definition Problem Problem definition Is a situation that requires a solution or an objective you want to achieve through following consecutive steps sequentially.

Implies the identification of required outputs, available inputs and, arithmetic and logical operations to be executed.

3. Algorithm and flowchart.

4

Page 5: €¦  · Web viewimplies the identification of required outputs, available inputs and, arithmetic and logical operations to be executed

The Egyptian Language School_ (Computer Department) Final Revision sheets

Algorithm Flowchart one of the methods used to solve a problem through logically arranged procedures or steps.

It is a diagram that uses standard graphical symbols to illustrate the sequence of steps required for solving a problem or specific question

4-Toolbox and Prosperities window Toolbox Prosperities window One of the IDE elements .It contains tools or controls which can be put on the Form and can be shown in categories

One of the IDE elements which can be used to adjust properties values of the active control.

5-TextboxControl and ListboxControl Textbox Listbox It is a tool used to display information or insert (input) data from the user during program run time.

It is a tool displays group of items whether it is possible to choose one item or more.

6-Group box and Combo box Group box Combo box Is used to group other controls of same function together on the Form window

Control displays a drop-down list from which one item can be selected.

7-Radio button and Checkbox Radio button Checkbox It is a tool used for placing some alternatives to enable the user to select only one mutually exclusive option

It is a tool used for placing some alternatives to enable the user to select one option or more

8-Code window and Event Handler Code window Event Handler Visual Basic.NET language provides a window through which we can write instructions and codes of the program

It’s a procedure which contains a code that is carried out when a corresponding event occurs...

9-Event and Event Handler Event Event Handler Action done by the user on the object (control) like Click and double Click

It’s a procedure which contains a code that is carried out when a corresponding event occurs and written between Private Sub and End Sub

5

Page 6: €¦  · Web viewimplies the identification of required outputs, available inputs and, arithmetic and logical operations to be executed

The Egyptian Language School_ (Computer Department) Final Revision sheets

Q3: Label the bellow diagrams:

1. Name of the file where codes are saved. 2. Name of the file where the Form window interface is saved. 3. The declaration of Class; its name is (Form1). 4. Space between two lines; to type codes for the Class (Form1). 5. The end of the class (form 1).

1. drop-down menu of (Class Names) that displays the names of controls on the form.

2. A drop-down menu of (Method Names) or events; associated with the item selected from the (Class Names) menu.

6

Page 7: €¦  · Web viewimplies the identification of required outputs, available inputs and, arithmetic and logical operations to be executed

The Egyptian Language School_ (Computer Department) Final Revision sheets

1- The name of the event handler (the name of the control_the event).2- End of the event handler.3- Reason of calling the event handler.4- Space between lines to type the code.5- The name of the class.6- End of class.

Q4:complete: (test your self)

Q5:Rearrang the problem Solving Stages: ( 4 )Program Testing. ( 2 ) Performing step-by-step instructions (Algorithm). ( 1 ) Problem Definition. ( 5 ) Program Documentation.

( 3 ) Program design.

7

Page 8: €¦  · Web viewimplies the identification of required outputs, available inputs and, arithmetic and logical operations to be executed

The Egyptian Language School_ (Computer Department) Final Revision sheets

Q6:Write down the Function of following Property:

8

Page 9: €¦  · Web viewimplies the identification of required outputs, available inputs and, arithmetic and logical operations to be executed

The Egyptian Language School_ (Computer Department) Final Revision sheets

Q7:Match

9

Page 10: €¦  · Web viewimplies the identification of required outputs, available inputs and, arithmetic and logical operations to be executed

The Egyptian Language School_ (Computer Department) Final Revision sheets

Q8: Write the Codes : 1. Type the Code to change the text on (Button2) to the word “Hello Egypt”.

Button2 . Text = "Hello Egypt"

2. Write the Code to display the text “ العربية مصر . on the Control (Lbl_Name) جمهورية

Lbl_Name .Text = " العربية" مصر جمهورية3. Write the Programming Code to set the maximum number of characters that user can

write into (TextBox2) to 10.

TextBox2 . MaxLength = 10

4. Write the Programming Code to enable to change the size of the label manually.

Label1 . AutoSize = False

5. Write Code to change the size of the form (Form1) on screen to be maximized in runtime mode.

Form1. WindowState = "Maxmized"

6. Write the Programming Code to make the size of the control (Label1) automatically adjusted to fit the text displayed on it.

Label1 . AutoSize = True

7. Write the codes to allow the user to write multiple lines in the text control (TxtNotes).

TxtNotes . MultiLine = True

8. Type the Programming Code to select the Control (RadioButton2).

RadioButton2 . Checked = True

9. Type the Programming code to deselect the (CheckBox1) .

CheckBox1 . Checked = False

10. Type the Programming Code to arrange the items inside (ListBox3) alphabetically.

ListBox3 . Sorted = True

11. Write the codes to terminate your program.

End

10