0% found this document useful (0 votes)
20 views56 pages

مراجعة كمبيوتر - 3 ع - ترم 1 - ذاكرولي

Uploaded by

about.n.raslan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views56 pages

مراجعة كمبيوتر - 3 ع - ترم 1 - ذاكرولي

Uploaded by

about.n.raslan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 56

Chapter one: Problem Solving Flowchart

It is a diagram that uses standard graphical symbols to


Problem definition: illustrate the sequence of steps required for solving a
Problem is a situation that requires a solution or an objective problem or specific question.
you want to achieve through following consecutive steps Some advantages of Flowcharts:
sequentially. - Facilitating the reading and understanding of the problem
Problem solving: and illustrating to the programmer what must be done.
Problem Solving is the steps, activities, and processes to be
done to reach an output or objective. - Useful to explain the program to others
Problem solving: - helping in documenting the program in better manner,
especially if the program is complicated
Problem Solving is the steps, activities, and processes to be The most commonly used symbols as shown in the table:
done to reach an output or objective.
Problem solving stages: Significance Symbol
(1)Problem Definition
Identification of required outputs, available inputs and,
arithmetic and logical operations to be executed. Terminal
(2)Algorithm Preparation
Algorithm is one of the methods used to solve a problem
through logically arranged procedures (Flowchart). (input & output)
(3)Program Design
we have to translate this flowchart into one of the
programming language
(4)Program Testing (process)
We cannot detect errors unless we begin entering data to the
program with previously known results; and compare the
results of the current. (Decision)
(5) Documentation
is done to have the program documented to go back for
feedback and correction. This documentation is beneficial
when more than one person participates in writing or (Flow lines)
modifying the program.

2
Prepared & Designed by/‫ﻳﺎﲰﲔ ﺷﻌﻴﺐ‬.‫ﺃ‬-‫ﺟﺮﻭﺏ ﻓﺮﻳﻖ ﺃﺻﺪﻗﺎء ﺍﻟﻜﻤﺒﻴﻮﺗﺮ‬
2022 - 2023
1- Properties such as (size-colour- font) of the text written on
the program interface.
To construct a flowchart, we should consider the following: 2- Events such as click on a command button.
1. The flowchart should start with the Start symbol and end 3- Procedures, each one contains commands and instructions
with the End symbol. which are carried out when calling this procedure.
2. A,B,C are variable names .The variable refers to a memory So, the Visual Basic.net is considered:
storage that holds a value. Object oriented as its programs work through objects in
3. Equation: C =A+B, indicates the sum of the value of A, to computer Memory.
the value of B, and stores the result in C. Event Driven as commands and instructions are carried out as
4. Entering values in A and B is done by using the term soon as certain event occurs.
“Enter”, inside The language of visual basic .net and framework.Net:
a parallelogram, like “Read” or The Framework.Net provides the following:
“Input”. * Libraries through which we create the objects.
5. The sum equation is written inside the rectangle, * Runtime environment (called Runtime) in computer memory
as it represents an arithmetic operation. where Applications produced by the language of Visual
6. The output is expressed with a parallelogram Basic.net language work in.
using the term “Output”, we can also use another term like * Compilers which compile commands and instructions
“Print” or "output". written in Programming language into machine code which
Note that flow line shows the order of an Algorithm. the Computer deals with.
Chapter Two: Introduction to Visual Basic.net Visual Basic .Net IDE:
The programmer of Visual Basic.net needs Integrated
The language of visual Basic .net: Development Environment (IDE) which provides tools and
It is one of the high level programming languages and merits to the programmer that help him create applications
designed to be easy to learn as its commands and instructions ( windows – mobile – web…..). Visual Studio represents IDE.
use English language vocabulary and it can be used in many Form:
applications such as: The form is the interface which the user deals with through
1- Windows applications different controls such as Button, Textbox, label……etc.
2- Web applications Form window before putting controls Form window after
3- Mobile Application putting controls
Programming and computer memory:
Commands and instructions which are written in Visual Toolbox Window:
Basic.net enable you to create objects in computer memory It contains tools of controls which can be put on the Form and
and every object has: can be shown in categories in the following Figure

3
Prepared & Designed by/‫ﻳﺎﲰﲔ ﺷﻌﻴﺐ‬.‫ﺃ‬-‫ﺟﺮﻭﺏ ﻓﺮﻳﻖ ﺃﺻﺪﻗﺎء ﺍﻟﻜﻤﺒﻴﻮﺗﺮ‬
2022 - 2023
Some of these categories include: 10 WindowState
It defines the Window State of the Form
1. Common Controls (Maximizing, Minimizing or normal)
2. Menus & Toolbars
3. Properties Window - There are common properties among different Controls such
Each tool of the above Common Controls has a group of as (Name-Text – Forecolor – Backcolor - Right To
properties which can be adjusted through "Properties Window" Left…….etc.)
as shown in this Figure: - There are properties of the form, if they are set, they are
Solution Explorer applied to Controls which are placed on this Form such as font
There is a list of folders and files of the projects in this part as and ForeColor properties
shown in this Figure: - When you set some properties, the effect of setting appears
directly on the Form in design mode of the program
Chapter Three: Controls - There are some properties which their effect doesn't appear on
1. Form Controls until you set some other properties , for example the
The Form has many properties which share in defining the Right to Left Layout property doesn't work unless the value
form of program screen we want to create. Here are some Right to Left equals Yes
properties of the Form: - The default value of the property (Text) and the property
N Property Name Function (Name) is the same and it is (Form1)
1 Name Name of Form used in Code Window
- There are some properties which their effect doesn't appear on
The appeared Text on the title bar of the the Form or Controls until you run the program
2 Text - The other Controls may have the same properties mentioned
Window
3 Backcolor The background color of the Form. above, so they won't be repeated again when we studying these
The direction of Controls on the form other controls once more
4 Right to Left
Window From Right to Left. 2. Button
The layout of Controls on the Form from
5 Right to Left layout
right to left
It is one of Controls which can be placed on the Form. When
It controls the appearance or you click it, it does a certain task.
6 MinimizeBox disappearance of MinimizeBox of Form Some distinctive properties of Command Button:
Window Property
N Function
Name
It controls the appearance or
7 MaximizeBox disappearance of MaximizeBox of Form 1 Location The location of placing Button on the Form.
Window Defining the height and width of Button on the
2 Size
Form.
It controls the appearance or
8 ControlBox disappearance of ControlBox of Form 3 Text The appeared Text on the Button
Window 4 BackColor Choosing the backColor of the Button.
9 FormBorderStyle The Border style of Form Window
4
Prepared & Designed by/‫ﻳﺎﲰﲔ ﺷﻌﻴﺐ‬.‫ﺃ‬-‫ﺟﺮﻭﺏ ﻓﺮﻳﻖ ﺃﺻﺪﻗﺎء ﺍﻟﻜﻤﺒﻴﻮﺗﺮ‬
2022 - 2023
Defining (shape ,size and style) of the Text font 3 selectionMode It defines whether it is possible to choose
5 Font
appeared on the Button. one item or more shown in the ListBox.
Choosing the ForeColor to the appeared Text on
6 ForeColor
the Button 6. ComboBox
3. Label A ComboBox control displays a drop-down list from which
It is a tool used in showing a Text on the Form Window one item can be selected.
which can't be changed during program Runtime.
Some distinctive properties of the Label: Some distinctive properties of the ComboBox:
N Property Name Function N Property Name Function
The Size of the Label is defined automatically 1
A group of items which are shown in
1 AutoSize according to the written Text if the Value of Items
comboBox.
property equals true.
2 BorderStyle Choosing the Border Style of the Label 2 It is a source of suggested items to
AutoCompleteSource
select from.
4. TextBox It defines the method of list
3 AutoCompleteMode
completing process.
It is a tool used to insert (input) data from the user during
program run time. 7. GroupBox
Some distinctive properties of the Textbox: Is used to group other controls of same function together on
N Property Name Function the Form window.
Maxlength It defines the maximum number of letters Text – Forecolor - RightToLeft
1
which can be inserted in the TextBox
PasswordChar It defines a symbol used instead of written 8. RadioButton
2
text in case we have a password. The program user selects one alternative only.
Multiline Allows multiple lines within the text box Some distinctive properties of the RadioButton:
3
control tool. N Property Name Function
5-ListBox It shows whether RadioButton has been
1 Checked
It shows a list of items. chosen or not.
Some distinctive properties of ListBox:
2 Text It is the Text shown on RadioButton
N Property Name Function
1 Items A group of items shown in the ListBox 9. CheckBox
It defines whether the elements in the list It is used for placing some alternatives to enable the
2 Sorted
are sorted or not. user to select one CheckBox or more as shown in Figure:

5
Prepared & Designed by/‫ﻳﺎﲰﲔ ﺷﻌﻴﺐ‬.‫ﺃ‬-‫ﺟﺮﻭﺏ ﻓﺮﻳﻖ ﺃﺻﺪﻗﺎء ﺍﻟﻜﻤﺒﻴﻮﺗﺮ‬
2022 - 2023
Chapter Four: Code Window (1)A drop-down menu of (Class Names) that displays the
names of controls on the form.
Visual Basic.NET language provides a window through which (2)A drop-down menu of (Method Names) or events; associated
we can write instructions and codes of the program called with the item selected from the (Class Names) menu.
(code window) Event Handler
To open the (Code Window) of (Form1) perform the
following:
1. Make sure that the window Form is active
2. From the keyboard press (F7)
The Code window is displayed as shown in the following
figure:

(1) The procedure name composed of (object name, event


name).
(2) End of procedure line.
(3) ) What causes the call of the procedure (event
occurrence) .
(4) Between the two lines shown; the code that will be
Code Window executed on calling the procedure is written after the
1. Name of the file where codes are saved occurrence of the (Event).
(5) The declaration of the class line (frmSquare).
2. Name of the file where the Form window interface is saved
(6) The end of (class) line.
3. The declaration of Class; its name is (Form1) Setting the (Properties) programmatically
4. Space between two lines; to type codes for the Class (Form1) 1. In chapter 3, we have already set the properties through
5. The end of the class (form 1) properties window.
Event Handler 2. You can adjust the properties using the following syntax:
It’s a procedure which contains a code that is carried out when 3. CONTROLNAME. PROPERTY = VALUE
a corresponding event occurs.
To create Event Handler do the following steps:
In the (Solution Explorer) window, right click the file The control or the The
(Form1.vb) and, select (View Code) from the context menu as object name property The value
shown in this figure:
6
Prepared & Designed by/‫ﻳﺎﲰﲔ ﺷﻌﻴﺐ‬.‫ﺃ‬-‫ﺟﺮﻭﺏ ﻓﺮﻳﻖ ﺃﺻﺪﻗﺎء ﺍﻟﻜﻤﺒﻴﻮﺗﺮ‬
2022 - 2023
Programming
Language Class

V.Studio Object

Methods

J# C# Visual Basic
Events Procedures properties
.net

F4

F Key
F5 F7

7
Prepared & Designed by/‫ﻳﺎﲰﲔ ﺷﻌﻴﺐ‬.‫ﺃ‬-‫ﺟﺮﻭﺏ ﻓﺮﻳﻖ ﺃﺻﺪﻗﺎء ﺍﻟﻜﻤﺒﻴﻮﺗﺮ‬
2022 - 2023
Prep 3 Model answers of the student book (Communication and information technology)

Topic 1
Put (√ ) or ( X ) :
1 Flowcharts use standard symbols and lines to represent a problem ( )
algorithm.
2 You can use any Geometric shape to represent Algorithm when drawing ( )
flowcharts.
3 The symbol is used to represent start and end of flowchart ( )
4 The rectangle symbol is used to represent the data input ( )
operation.
5 The symbol is used to represent a decision process in flowcharts. ( )
6 The problem means that an objective or output is required to reach. ( )
7 Preparing a cup of tea is an example of a problem. ( )
8 Problem solving is the steps, activities, and processes to be done to reach ( )
an output or objective.
9 The program documentation is a set of procedures arranged logically for ( )
solving a specific problem.
10 The program testing is writing down all the steps taken to solve a ( )
problem.
11 Documenting the program means making sure that the program is free of ( )
errors.
12 Algorithm is a set of procedures arranged logically for solving a specific ( )
problem.
13 The program documentation is writing down all the steps taken to solve a ( )
problem.
14 Testing the program means making sure that the program is free of errors. ( )
15 Flowcharts are diagram representations which depend on drawing some ( )
standard symbols to clarify the order of procedures to solve a problem.
16 Flowcharts help to facilitate understanding of the problem, analyses and ( )
convert it to a program.

2 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

Choose the appropriate answer to complete each phrase


of the following:
1- Steps, activities and procedures to be done to reach an objective or an output -
can be called:
a. problem definition b. problem c. problem solving
2- On drawing flowcharts we use:
a. standard symbols and lines b. all geometric figures c. one geometric figure
3- A set of procedures arranged logically for solving a specific problem – can be
called:
a. problem b. algorithm c. program testing
4- Making sure that the program is free of errors – can be called:
a. program testing b. program documentation c. algorithm
5-Writing down all the steps taken to solve a problem errors – can be called:
a. program documentation b. program testing c. flowcharts
6- Problem-solving includes many terminologies, the terminology that expresses the
Preparation of a cup juice is:
a. Flowchart b. algorithm c. problem
7- Problem-solving approach includes many of the terminologies, the terminology
that expresses the mathematical problem is:
a. Algorithm b. problem c. program design
8- A diagrammatic representation that depends on drawing some standard symbols
to clarify the order of procedures to solve a problem can be called:
a. Problem b. algorithm c. flowchart

3 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

9- In the following flowchart:


A-The number of iterations (print the value of M) is:
a- 2 b- 3 c- 4
B-In Flowchart of the previous question, the value
of M after the end of the iterative loop equals:
a. 2 b- 3 c- 4

4 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

Topic 2
Put (√ ) or ( X ) :
1 The VB.net language is one of the high level languages. ( )
2 The VB.net language is one of Event Driven languages. ( )
3 The VB.net language is the only high level language. ( )
4 The VB.net language is considered a high level language because it is ( )
easy to learn.
5 The VB.net language is used in producing Windows applications and Web ( )
applications
6 The VB.net language is used in producing Web applications only. ( )
7 The VB.net language can't be used in producing Windows applications ( )
8 Every Object is characterized by certain properties and certain behavior ( )
when a certain event occurs on it. Enrichment
9 Events and procedures which belong to any object in VB.net language are ( )
called properties. Enrichment
10 The name, the size and color of an object are all samples of events that ( )
can occur to the object in VB.net language. Enrichment
11 The name, the size and color of an object are all samples of properties of ( )
some objects in VB.net language. Enrichment
12 The Events are the commands and instructions which are carried out ( )
when a certain procedure occurs to the object in VB.net language.
Enrichment
13 The procedures are the commands and instructions which are carried out ( )
when a certain procedure occurs to the object in VB.net language.
Enrichment
14 Pressing click and D-click are samples of some events that can occur to an ( )
object in VB.net language. Enrichment
15 Framework.net contains Compilers, libraries and runtime environment ( )
16 Compilers in Framework. Net are considered the environment of runtime ( )
for applications which are produced in VB.net language.

5 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

17 Compilers are programmers that translate commands and instructions ( )


written by the programmer from the high level language into machine
language.
18 Object Oriented Programming Languages are the languages that work ( )
through objects in memory.
19 All programming languages which carry out a group of commands and ( )
instructions are considered as Event Driven languages.
20 Visual Studio is considered IDE because it includes a group of tools, ( )
elements and characteristics necessary to produce applications.
Second: Choose the correct answer to complete each statement
1-Object Oriented programming language depends on:
a- using Windows applications.
b- Using Web applications
c- Objects in computer memory.
2-You can produce Windows applications or Web applications by using:
a- Objects in computer memory
b- VB.net language
c- Properties and Events
3- Characteristics which describe the object such as size, name and color are called:
Enrichment
a- Properties b- procedures c- Events
4-Click on Button is: Enrichment
a- property b- procedure c- Event
5-Commands and instructions which we want to carry out are called: Enrichment
a –properties b –producers c - Events

6 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

6- The Properties term refers to: Enrichment


a- Features that describe the object.
b- Events that can occur to the object.
c- Commands and instructions that are carried out.
7-The Events term refers to: Enrichment
a- properties that describe the object. b- Events that can occur to the object.
c- Commands and instructions that are carried out.
8-The Procedures term refers to: Enrichment
a- properties that describe the object.
b- Events that can occur to the object.
c- Commands and instructions that are carried out.
9-libraries, Compilers and Environment of runtime of applications are the most
important components of:
a- Object Oriented. b- Event Driven. c- .Net Framework
10- IDE is called:
a- Visual Basic.net b- Visual Studio. c- .Net Framework

7 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

Topic 3
Put (√ ) or ( X ) :
1 The function of the property Right-To-Left of the Form is to define the ( )
direction of Controls from right to left.
2 The function of the property Right-To-Left of the Form is to define the ( )
state of the Form on the screen in a position of Maximizing or Minimizing.
3 Setting the property Control Box of the Form can control the Form in a ( )
position of Maximizing during program runtime.
4 The property "Name" is used in showing a certain Text in the title bar of ( )
user window a name of the window.
5 The property Text is used in showing a certain text the title bar of user ( )
window.
6 Setting some properties of the Form is applied to Controls which are ( )
placed on the Form.
7 The effect of setting the Window State property of the form appears only ( )
in runtime Mode
8 You can change the location of Command Button on the Form through ( )
Size property.
9 You can change the location of Command Button on the Form through ( )
Location property.
10 Placing Controls automatically on the Form on the co-ordinate (0-0) is in ( )
the middle of the Form.
11 You can change the size of Label manually if Auto Size=true ( )
12 You can change the size of Label manually if Auto Size=false ( )
13 "Textbox control tool: is the only tool which has the property password ( )
Chart
14 "Textbox control tool: is the only tool which has the property Auto Size ( )
15 List Box and Combo Box share in "Items" property. ( )
16 List Box and Combo Box share in " Suggest " property ( )
17 Group Box is the tool used in containg a group of controls, these controls ( )
have the same function on the Form.

8 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

18 List Box is the tool used in containing a group of controls, these controls ( )
have the same function on the Form.
19 Checkbox can be used on the Form to choose the Gender of student male ( )
or female.
20 Combo box is the control tool that allows the user to choose one element ( )
of several elements in the smallest possible space on the form window
Second: Choose the correct answer to complete each
statement:
1- The function of "Right to Left" property of the Form is:
a- define the direction of Control tools from Right to Left.
b- define whether the layout of Control Tools on the Form is from Right to Left.
c- define the state of the window in a state of maximizing or minimizing.
2- Control Box property of the Form is helping to:
a- showing or hiding of Maximizing Box.
b- Control the appearance of the Form whether it is in a position of Minimizing /
Maximizing /Normal.
C- Control the appearance or disappearance of Control Box in the Form.
3-The used property in showing a certain Text on the title bar of a Form is :
a- Name b-Text c-FormBorderStyle
4-On setting some properties of the Form, they are applied on Control Tools
Which are placed on the Form (one of them is):
a-Name b-Forecolor c-Text
5-The effect of setting this property doesn't appear unless in runtime mode (This
property is):
a-FormBorderStyle b-Window State c-Right-to-left

9 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

6-The property which is responsible for the size, shape and effect of the Text font
shown on the Button is :
a-Back color b-Forecolor c-Font
7-You can change the position of the Button on the Form through the following
processes except for:
A-drag and drop by the mouse
b-setting Size property
c-setting Location property
8-You can change the position of the Button on the Form through:
a-setting Location property
b-setting Size property
c-the eight squares around the Button
9-On inserting any Control Tool by pressing D-Click from the Toolbox on the Form ,
the appropriate place to be shown is :
a -coordinate (0, 0) b- the middle of the Form
c- the position of Control Tool is different according to the size of the Form
10-The size of Label is defined automatically on the Form if the property is:
a-Auto Size = False b- Border Style= Fixed Single c- Auto Size=True.
11-You can change the size of control "Label" manually if the property is :
a- Auto Size = False- b- Border Style= Fixed Single c- Auto Size=True-
12-The following properties belong to Textbox except for:
a-Auto Size b-Multiline c-Max Length
13-The Object Textbox is marked by one property:
a-Auto Size b-Name c-Password Chart
14-The right value which can be used to set the Password Chart of the Textbox is:
a-Pw b-True c-*

10 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

15-The List Box and Combo Box share in this property:


a-Suggest b-Item c-Selection Mode
16-The Control Tool which is used in containing a group of controls that have the
same function on the Form is:
a-Combo Box b-List Box c-Group Box
17-The Control tool which can be used on the Form to choose Gender of the student
"male “or "female" is:
a-Radio Button b-Checkbox c-Textbox
18-The Control Tool which can be used on the Form and allows the user to choose
more than one alternatives is :
a-Radio Button b-Group Box c-Checkbox
19-The Control Tool which allows the user to choose one item of 15 in the smallest
possible area on the Form is:
a-Combo Box b-List Box c-Radio Box

11 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

Topic 4
First question: Complete the table with numbers (1) to (5),
using the following screen to indicate what each number refers
to:

Number Refers to

).................... ( End of the class

).................... ( Where to write the code for the class.

).................... ( The name of the file where the Form interface design is saved.

).................... ( The name of the file where the code is saved.

).................... ( The beginning of the class.

12 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

Second question: Complete the solutions using the following


screen:

Number Refers to

)1 ( …………………………………………………………………………………………………………………….

)2 ( …………………………………………………………………………………………………………………….

)3 ( …………………………………………………………………………………………………………………….

)4 ( …………………………………………………………………………………………………………………….

)5 ( …………………………………………………………………………………………………………………….

13 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

Third question : Complete the solutions using the following


screen:

Number Refers to

)1 ( The name of the solution is ………………………………………………………………………..

)2 ( The name of the project is ………………………………………………………………………..

)3 ( We can enter the code window more than one way, through:

 Command …………………………. In the shortcut menu.


 Function key ……………………….

)4 ( The purpose of the properties in the shortcut menu is


……………………………………………………………………………………………………………………..

14 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

Fourth question : Complete the table using the following


screen:

Number Refers to

)1 ( …………………………………………………………………………………………………………………….

)2 ( …………………………………………………………………………………………………………………….

)3 ( …………………………………………………………………………………………………………………….

Fifth question : Complete the table using the following


screenshot:

1-Number (1) refers to...................................................


2-The number (2) refers to...................................................
3-Mention three different controls on the previous screen
............................ ,.................................... ,............................. ....
4-The name of the class is..............................................

15 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

Sixth question : Answer the questions using the following


screenshot:

1- Write three different events from the previous screen


- .........................................
- ..........................................
- ...........................................
2- frmSquare refers to ...................................................
3- The events shown in the window are for the control tool ..............................
4- The name of the active tab in the window is .....................................

16 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

7 : Complete the following using the following screen:

1-……………………………………………………………….
2-……………………………………………………………….
3-……………………………………………………………….
4-……………………………………………………………….
5-……………………………………………………………….
6-……………………………………………………………….

17 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

8 : Explain the components of the general syntax for a


command to programmatically set the properties of
controllers:

9 : Explain the following code in light of the controls'


properties:

1-Button2 .Text = “ End”


……………………………………………………………….
2- 2-Label1 .Auto Size = “ True”
……………………………………………………………….

18 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

Topic 1
Put (√ ) or ( X ) :
1 Flowcharts use standard symbols and lines to represent a problem ( √ )
algorithm.
2 You can use any Geometric shape to represent Algorithm when drawing ( X )
flowcharts.
3 The symbol is used to represent start and end of flowchart ( √ )
4 The rectangle symbol is used to represent the data input ( X )
operation.
5 The symbol is used to represent a decision process in flowcharts. ( √ )
6 The problem means that an objective or output is required to reach. ( √ )
7 Preparing a cup of tea is an example of a problem. ( √ )
8 Problem solving is the steps, activities, and processes to be done to reach ( √ )
an output or objective.
9 The program documentation is a set of procedures arranged logically for ( X )
solving a specific problem.
10 The program testing is writing down all the steps taken to solve a ( X )
problem.
11 Documenting the program means making sure that the program is free of ( X )
errors.
12 Algorithm is a set of procedures arranged logically for solving a specific ( √ )
problem.
13 The program documentation is writing down all the steps taken to solve a ( √ )
problem.
14 Testing the program means making sure that the program is free of errors. ( √ )
15 Flowcharts are diagram representations which depend on drawing some ( √ )
standard symbols to clarify the order of procedures to solve a problem.
16 Flowcharts help to facilitate understanding of the problem, analyses and ( √ )
convert it to a program.

20 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

Choose the appropriate answer to complete each phrase


of the following:
1- Steps, activities and procedures to be done to reach an objective or an output -
can be called:
a. problem definition b. problem c. problem solving
2- On drawing flowcharts we use:
a. standard symbols and lines b. all geometric figures c. one geometric figure
3- A set of procedures arranged logically for solving a specific problem – can be
called:
a. problem b. algorithm c. program testing
4- Making sure that the program is free of errors – can be called:
a. program testing b. program documentation c. algorithm
5-Writing down all the steps taken to solve a problem errors – can be called:
a. program documentation b. program testing c. flowcharts
6- Problem-solving includes many terminologies, the terminology that expresses the
Preparation of a cup juice is:
a. Flowchart b. algorithm c. problem
7- Problem-solving approach includes many of the terminologies, the terminology
that expresses the mathematical problem is:
a. Algorithm b. problem c. program design
8- A diagrammatic representation that depends on drawing some standard symbols
to clarify the order of procedures to solve a problem can be called:
a. Problem b. algorithm c. flowchart

21 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

9- In the following flowchart:


A-The number of iterations (print the value of M) is:
a- 2 b- 3 c- 4
B-In Flowchart of the previous question, the value
of M after the end of the iterative loop equals:
a. 2 b- 3 c- 4

22 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

Topic 2
Put (√ ) or ( X ) :
1 The VB.net language is one of the high level languages. ( √ )
2 The VB.net language is one of Event Driven languages. ( √ )
3 The VB.net language is the only high level language. ( X )
4 The VB.net language is considered a high level language because it is ( √ )
easy to learn.
5 The VB.net language is used in producing Windows applications and Web ( √ )
applications
6 The VB.net language is used in producing Web applications only. ( X )
7 The VB.net language can't be used in producing Windows applications ( X )
8 Every Object is characterized by certain properties and certain behavior ( √ )
when a certain event occurs on it. Enrichment
9 Events and procedures which belong to any object in VB.net language are ( X )
called properties. Enrichment
10 The name, the size and color of an object are all samples of events that ( X )
can occur to the object in VB.net language. Enrichment
11 The name, the size and color of an object are all samples of properties of ( √ )
some objects in VB.net language. Enrichment
12 The Events are the commands and instructions which are carried out ( X )
when a certain procedure occurs to the object in VB.net language.
Enrichment
13 The procedures are the commands and instructions which are carried out ( √ )
when a certain procedure occurs to the object in VB.net language.
Enrichment
14 Pressing click and D-click are samples of some events that can occur to an ( √ )
object in VB.net language. Enrichment
15 Framework.net contains Compilers, libraries and runtime environment ( √ )
16 Compilers in Framework. Net are considered the environment of runtime ( X )
for applications which are produced in VB.net language.

23 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

17 Compilers are programmers that translate commands and instructions ( √ )


written by the programmer from the high level language into machine
language.
18 Object Oriented Programming Languages are the languages that work ( √ )
through objects in memory.
19 All programming languages which carry out a group of commands and ( X )
instructions are considered as Event Driven languages.
20 Visual Studio is considered IDE because it includes a group of tools, ( √ )
elements and characteristics necessary to produce applications.
Second: Choose the correct answer to complete each statement
1-Object Oriented programming language depends on:
a- using Windows applications.
b- Using Web applications
c- Objects in computer memory.
2-You can produce Windows applications or Web applications by using:
a- Objects in computer memory
b- VB.net language
c- Properties and Events
3- Characteristics which describe the object such as size, name and color are called:
Enrichment
a- Properties b- procedures c- Events
4-Click on Button is: Enrichment
a- property b- procedure c- Event
5-Commands and instructions which we want to carry out are called: Enrichment
a –properties b –producers c - Events

24 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

6- The Properties term refers to: Enrichment


a- Features that describe the object.
b- Events that can occur to the object.
c- Commands and instructions that are carried out.
7-The Events term refers to: Enrichment
a- properties that describe the object. b- Events that can occur to the object.
c- Commands and instructions that are carried out.
8-The Procedures term refers to: Enrichment
a- properties that describe the object.
b- Events that can occur to the object.
c- Commands and instructions that are carried out.
9-libraries, Compilers and Environment of runtime of applications are the most
important components of:
a- Object Oriented. b- Event Driven. c- .Net Framework
10- IDE is called:
a- Visual Basic.net b- Visual Studio. c- .Net Framework

25 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

Topic 3
Put (√ ) or ( X ) :
1 The function of the property Right-To-Left of the Form is to define the ( √ )
direction of Controls from right to left.
2 The function of the property Right-To-Left of the Form is to define the ( X )
state of the Form on the screen in a position of Maximizing or Minimizing.
3 Setting the property Control Box of the Form can control the Form in a ( X )
position of Maximizing during program runtime.
4 The property "Name" is used in showing a certain Text in the title bar of ( X )
user window a name of the window.
5 The property Text is used in showing a certain text the title bar of user ( √ )
window.
6 Setting some properties of the Form is applied to Controls which are ( √ )
placed on the Form.
7 The effect of setting the Window State property of the form appears only ( √ )
in runtime Mode
8 You can change the location of Command Button on the Form through ( X )
Size property.
9 You can change the location of Command Button on the Form through ( √ )
Location property.
10 Placing Controls automatically on the Form on the co-ordinate (0-0) is in ( X )
the middle of the Form.
11 You can change the size of Label manually if Auto Size=true ( X )
12 You can change the size of Label manually if Auto Size=false ( √ )
13 "Textbox control tool: is the only tool which has the property password ( √ )
Chart
14 "Textbox control tool: is the only tool which has the property Auto Size ( X )
15 List Box and Combo Box share in "Items" property. ( √ )
16 List Box and Combo Box share in " Suggest " property ( X )

26 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

17 Group Box is the tool used in containg a group of controls, these controls ( √ )
have the same function on the Form.
18 List Box is the tool used in containing a group of controls, these controls ( X )
have the same function on the Form.
19 Checkbox can be used on the Form to choose the Gender of student male ( X )
or female.
20 Combo box is the control tool that allows the user to choose one element ( √ )
of several elements in the smallest possible space on the form window
Second: Choose the correct answer to complete each
statement:
1- The function of "Right to Left" property of the Form is:
a- define the direction of Control tools from Right to Left.
b- define whether the layout of Control Tools on the Form is from Right to Left.
c- define the state of the window in a state of maximizing or minimizing.
2- Control Box property of the Form is helping to:
a- showing or hiding of Maximizing Box.
b- Control the appearance of the Form whether it is in a position of Minimizing /
Maximizing /Normal.
C- Control the appearance or disappearance of Control Box in the Form.
3-The used property in showing a certain Text on the title bar of a Form is :
a- Name b-Text c-FormBorderStyle
4-On setting some properties of the Form, they are applied on Control Tools
Which are placed on the Form (one of them is):
a-Name b-Forecolor c-Text
5-The effect of setting this property doesn't appear unless in runtime mode (This
property is):
a-FormBorderStyle b-Window State c-Right-to-left

27 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

6-The property which is responsible for the size, shape and effect of the Text font
shown on the Button is :
a-Back color b-Forecolor c-Font
7-You can change the position of the Button on the Form through the following
processes except for:
A-drag and drop by the mouse
b-setting Size property
c-setting Location property
8-You can change the position of the Button on the Form through:
a-setting Location property
b-setting Size property
c-the eight squares around the Button
9-On inserting any Control Tool by pressing D-Click from the Toolbox on the Form ,
the appropriate place to be shown is :
a -coordinate (0, 0) b- the middle of the Form
c- the position of Control Tool is different according to the size of the Form
10-The size of Label is defined automatically on the Form if the property is:
a-Auto Size = False b- Border Style= Fixed Single c- Auto Size=True.
11-You can change the size of control "Label" manually if the property is :
a- Auto Size = False- b- Border Style= Fixed Single c- Auto Size=True-
12-The following properties belong to Textbox except for:
a-Auto Size b-Multiline c-Max Length
13-The Object Textbox is marked by one property:
a-Auto Size b-Name c-Password Chart
14-The right value which can be used to set the Password Chart of the Textbox is:
a-Pw b-True c-*

28 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

15-The List Box and Combo Box share in this property:


a-Suggest b-Item c-Selection Mode
16-The Control Tool which is used in containing a group of controls that have the
same function on the Form is:
a-Combo Box b-List Box c-Group Box
17-The Control tool which can be used on the Form to choose Gender of the student
"male “or "female" is:
a-Radio Button b-Checkbox c-Textbox
18-The Control Tool which can be used on the Form and allows the user to choose
more than one alternatives is :
a-Radio Button b-Group Box c-Checkbox
19-The Control Tool which allows the user to choose one item of 15 in the smallest
possible area on the Form is:
a-Combo Box b-List Box c-Radio Box

29 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

Topic 4
First question: Complete the table with numbers (1) to (5),
using the following screen to indicate what each number refers
to:

Number Refers to

) 5 ( End of the class

) 4 ( Where to write the code for the class.

) 2 ( The name of the file where the Form interface design is saved.

) 1 ( The name of the file where the code is saved.

) 3 ( The beginning of the class.

30 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

Second question: Complete the solutions using the following


screen:

Number Refers to

)1 ( The name of the file where the code is saved.

)2 ( The name of the file where the Form interface design is saved.

)3 ( The beginning of the class.

)4 ( Where to write the code for the class.

)5 ( End of the class

31 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

Third question : Complete the solutions using the following


screen:

Number Refers to

)1 ( The name of the solution is Shapes

)2 ( The name of the project is Shapes

)3 ( We can enter the code window more than one way, through:

 Command View Code In the shortcut menu.


 Function key F7

)4 ( The file name where the code will be saved Form1.VB

32 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

Fourth question : Complete the table using the following


screen:

Number Refers to

)1 ( Class Name menu

)2 ( Declaring a class frmsquare

)3 ( Method Name menu

Fifth question : Complete the table using the following


screenshot:

1-Number (1) refers to Method Name


2-The number (2) refers to Class Name
3-Mention three different controls on the previous screen
Button , Label1, Text Box1
4-The name of the class is frmSquare

33 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

Sixth question : Answer the questions using the following


screenshot:

1- Write three different events from the previous screen

- Click

- Auto Size Changed


- Causes Validation Changed
2- frmSquare refers to class name
3- The events shown in the window are for the control tool Button1

34 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

7 : Complete the following using the following screen:

1 - Procedure name
2- End of the procedure
3 - Reason for calling the procedure
4- Where to write the code
5- declaring a class called frmsquare
6- End of class

35 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬


Prep 3 Model answers of the student book (Communication and information technology)

8 : Explain the components of the general syntax for a


command to programmatically set the properties of
controllers:

Object name Property Property value

9 : Explain the following code in light of the controls'


properties:

1-Button2 .Text = “ End”


Show the word End on the face of the Button2
2- Label1 .Auto Size = “ True”
Minimizing and maximizing of the title widget according to the size of
the text displayed in it

36 ‫ إيمان مسلم‬/‫أ‬ ) 2025-2024 ( ‫إعداد جروب فريق أصدقاء الكمبيوتر‬

You might also like