WorksheetsICT - G9- EGPT-Mr.ANWAR NASR
Total questions: 105
Worksheet time: 53mins
Choose whether the sentence is correct or wrong: Flowcharts use standards symbols and lines to represent a problem algorithm.
Correct
Wrong
Choose whether the sentence is correct or wrong: You can use any geometric shape to represent an algorithm when drawing flowcharts.
Correct
Wrong
Choose whether the sentence is correct or wrong: The symbol shown is used to represent the start and end of flowcharts.
Correct
Wrong
Choose whether the sentence is correct or wrong: The rectangle symbol is used to represent the data of input operation.
Correct
Wrong
Choose whether the sentence is correct or wrong: The symbol shown is used to represent a decision process in flowcharts.
Correct
Wrong
Choose whether the sentence is correct or wrong: The problem means that an objective or output is required to reach.
Correct
Wrong
Choose whether the sentence is correct or wrong: Problem solving is the steps, activates, and process to be done to reach an output or objective.
Correct
Wrong
Choose whether the sentence is correct or wrong: The program documentation is a set of procedures arranged logically for solving a specific problem.
Correct
Wrong
Choose whether the sentence is correct or wrong: Program testing is writing down all the steps taken to solve a problem.
Correct
Wrong
Choose whether the sentence is correct or wrong: Documenting the program means making sure that the program is free of errors.
Correct
Wrong
Choose whether the sentence is correct or wrong: Algorithm is a set of procedures arranged logically for solving a specific problem.
Correct
Wrong
Choose whether the sentence is correct or wrong: Program documentation is writing down all the steps taken to solve a problem.
Correct
Wrong
Choose whether the sentence is correct or wrong: Testing the program means making sure that the program is free of errors.
Correct
Wrong
Choose whether the sentence is correct or wrong: Flowcharts are diagram representations that depend on drawing standard symbols to clarify the order of procedures to solve a problem.
Correct
Wrong
Choose whether the sentence is correct or wrong: Flowcharts help to facilitate understanding of the problem, analyze it, and convert it to a program.
Correct
Wrong
Choose the appropriate answer to complete the phrase: Steps, activates, and process to be done to reach an objective or output can be called ______.
Problem definition
Problem
Problem solving
Choose the appropriate answer to complete the phrase: On drawing flowcharts we use ______.
Standard symbols and lines
All geometric figures
One geometric figure
Choose the appropriate answer to complete the phrase: A set of procedures arranged logically for solving a specific problem can be called ______.
Problem
Algorithm
Program testing
Choose the appropriate answer to complete the phrase: Making sure that the program is free of errors can be called ______.
Program testing
Program documentation
Algorithm
Choose the appropriate answer to complete the phrase: Writing down all the steps taken to solve a problem can be called ______.
Program documentation
Program testing
Flowcharts
Choose the appropriate answer to complete the phrase: A diagrammatic representation that depends on drawing standard symbols to clarify the order of procedures to solve a problem can be called ______.
Problem
Algorithm
Flowcharts
In the following flowchart, M is initialized to 1, the condition M ≤ 3 controls a loop, the TRUE branch prints M, then M is updated by M = M + 1 and the decision repeats until the condition becomes FALSE. How many iterations (printing a value of M) occur?
2
3
4
In the same flowchart described, what is the value of M after the end of the iterative loop?
2
3
4
Based on the algorithm for adding two numbers entered by the user, which operation computes the result C when the inputs are A and B?
C = A + B
C = A − B
C = A × B
C = B − A
According to the Activity (1-1) text, what formula is used to compute the perimeter of a rectangle with length L and width W?
perimeter = 2 (L × W)
perimeter = L + W
perimeter = 2 (L + W)
perimeter = L × W
According to the rectangle flowchart diagram, what formula is used to compute the perimeter when length L and width W are given?
perimeter = 2 (L + W)
perimeter = 2 (L × W)
perimeter = L + W
perimeter = L × W
For the rectangle activity, what is the equation of the area when length L and width W are known?
Area = L × W
Area = 2 (L + W)
Area = L + W
Area = L ÷ W
In the division exercise, what should the program do when the denominator num2 equals zero?
Print "undefined"
Compute R = num1 / num2
Print 0
Ask for num1 again
In the division exercise when num2 is not zero, which assignment correctly computes the result R?
R = num1 / num2
R = num2 / num1
R = num1 × num2
R = num1 − num2
For the activity that enters two unequal numbers X and Y, what should be printed when X > Y?
Print X the largest, Y the smallest
Print Y the largest, X the smallest
Print both numbers are equal
Print "undefined"
For the circle activity, which formula is used to compute the area of a circle with radius R?
Area = 3.14 × R × R
Area = 2 × 3.14 × R
Area = 3.14 × R
Area = 2 × R
In the modified circle flowchart, what message should be displayed and the program should exit when the value of R is negative?
Print "not allowed"
Print the area
Print "undefined"
Print "enter R again"
In the temperature exercise, what should be printed when D < 0?
Print "Below zero"
Print "Equal zero"
Print "Above zero"
Print "not allowed"
In the temperature exercise, what should be printed when D = 0?
Print "Equal zero"
Print "Below zero"
Print "Above zero"
Print "undefined"
Exercise (1-7) Print out the numbers from 1 to 3.
1, 2, 3
1, 2, 3, 4
0, 1, 2
2, 3, 4
Exercise (1-7) In the algorithm for printing numbers from 1 to 3, which condition controls the loop?
M<=3
M<3
M>=3
M==3
Exercise (1-9) Print out the sum of integer numbers from 1 to 3.
3
6
5
7
Exercise (1-9) In the algorithm that prints the sum from 1 to 3, which statement updates the running total?
Sum=Sum+N
N=N+1
Print Sum
Sum=N
Page 22 (activity 1-8) Redraw the flowchart of the previous exercise after modifying it to print out the sum of odd numbers from 1 to 10. Which change to the update of N ensures only odd numbers are summed?
N=N+1
N=N+2
N=N*2
N=N-1
Page 22 (activity 1-8) In the modified flowchart that sums odd numbers from 1 to 10, what condition is used to stop the loop?
N==10
N>=10
N>10
N<10
First: Put (√) in front of correct sentence and (X) in front of the wrong sentence: The VB.NET language is one of high level language.
Correct
Wrong
First: Put (√) in front of correct sentence and (X) in front of the wrong sentence: The VB.NET language is only high level language.
Correct
Wrong
First: Put (√) in front of correct sentence and (X) in front of the wrong sentence: The VB.NET language is considered a high level language because it easy to learn.
Correct
Wrong
First: Put (√) in front of correct sentence and (X) in front of the wrong sentence: The VB.NET language is used in producing Windows applications and Web applications.
Correct
Wrong
First: Put (√) in front of correct sentence and (X) in front of the wrong sentence: Framework.net contains Compilers, Libraries, and runtime environment.
Correct
Wrong
First: Put (√) in front of correct sentence and (X) in front of the wrong sentence: Compilers in framework.net are considered environment of runtime for applications which are produced in VB.NET language.
Correct
Wrong
First: Put (√) in front of correct sentence and (X) in front of the wrong sentence: Compilers are programs that translate command and instructions written by the programmer from high level language into machine language.
Correct
Wrong
First: Put (√) in front of correct sentence and (X) in front of the wrong sentence: Visual Studio is considered IDE because it includes a group of tools, elements and characteristics necessary to produce applications.
Correct
Wrong
Second: Choose the appropriate answer to complete each phrase in the following: You can produce Windows applications or Web applications by using:
Objects on computer memory
VB.NET language
Properties and Events
Second: Choose the appropriate answer to complete each phrase in the following: Libraries, Compilers and environment of runtime applications are the most important components of:
Object Oriented
Event Driven
Framework.Net
Second: Choose the appropriate answer to complete each phrase in the following: IDE is called:
Visual Basic.NET
Visual Studio
Framework.Net
First: Put (√) in front of correct sentence and (X) in front of the wrong sentence: The function of the property Right To Left of the Form is the defining the direction of controls tools from right to left.
Correct
Wrong
First: Put (√) in front of correct sentence and (X) in front of the wrong sentence: The function of the property Right To Left of the Form is the defining the state of the Form on the screen in a position of Maximizing and Minimizing.
Correct
Wrong
First: Put (√) in front of correct sentence and (X) in front of the wrong sentence: The property "Name" is used to shown a certain Text in the title bar of user window a name of window.
Correct
Wrong
First: Put (√) in front of correct sentence and (X) in front of the wrong sentence: The property "Text" is used in showing a certain text of the title bar of user window.
Correct
Wrong
First: Put (√) in front of correct sentence and (X) in front of the wrong sentence: Setting some properties of the Form is applied to Controls which are placed on the Form.
Correct
Wrong
First: Put (√) in front of correct sentence and (X) in front of the wrong sentence: You can change the location of Commands Button on the Form through Size property.
Correct
Wrong
First: Put (√) in front of correct sentence and (X) in front of the wrong sentence: You can change the location of Commands Button on the Form through Location property.
Correct
Wrong
First: Put (√) in front of correct sentence and (X) in front of the wrong sentence: Placing Controls automatically on the Form on the co-ordinate (0-0) is in the middle of the Form.
Correct
Wrong
First: Put (√) in front of correct sentence and (X) in front of the wrong sentence: You can change the size of Control "Label" manually if AutoSize =True.
Correct
Wrong
First: Put (√) in front of correct sentence and (X) in front of the wrong sentence: You can change the size of Control "Label" manually if AutoSize =False.
Correct
Wrong
First: Put (√) in front of correct sentence and (X) in front of the wrong sentence: "Textbox control tool" is the only tool which has the property AutoSize.
Correct
Wrong
First: Put (√) in front of correct sentence and (X) in front of the wrong sentence: "GroupBox" is the tool used in contain a group of controls, these controls have the same functions on the Form.
Correct
Wrong
First: Put (√) in front of correct sentence and (X) in front of the wrong sentence: "ListBox" is the tool used in contain a group of controls, these controls have the same functions on the Form.
Correct
Wrong
Second: Choose the appropriate answer to complete each phrase in the following: The functions of "Right To Left" property of the Form:
Define the direction of Controls tools from Right to Left
Define wether the layout of Controls tools on the Form is from Right to Left
Define the state of the window in a state of maximizing or minimizing
Second: Choose the appropriate answer to complete each phrase in the following: The used property in showing a certain text on the title bar of a Form is:
Name
Text
FormBorderStyle
Second: Choose the appropriate answer to complete each phrase in the following: On setting some properties of the Form, they are applied on Control tools which are placed on the Form (one of them is):
Name
Forecolor
Text
Second: Choose the appropriate answer to complete each phrase in the following: You can change the position of the Button on the Form through the following process except for:
Drag and drop by the mouse
Setting Size property
Setting Location property
Second: Choose the appropriate answer to complete each phrase in the following: You can change the position of the Button on the Form through:
Setting Location property
Setting Size property
The eight squares around the Button
Second: Choose the appropriate answer to complete each phrase in the following: In inserting any Control Tools by pressing Double-Click from the ToolBox on the Form, the appropriate place to be shown is:
Coordinate (0,0)
The middle of the Form
The position of Control Box different according to the size of the form
Second: Choose the appropriate answer to complete each phrase in the following: The size of the Label defined automatically on the Form if the property is:
AutoSize=False
BorderStyle= Fixed Single
AutoSize=True
Second: Choose the appropriate answer to complete each phrase in the following: You can change the size of Control "Label" manually if the property is:
AutoSize=False
BorderStyle= Fixed Single
AutoSize=True
Second: Choose the appropriate answer to complete each phrase in the following: The Control Tool which is used in containing a group of Controls that have the same functions on the Form is:
ComboBox
ListBox
GroupBox
Second: Choose the appropriate answer to complete each phrase in the following: The Control Tool which can be used on the Form and allows the user to choose more than one item is:
RadioButton
GroupBox
CheckBox
Complete the table using the next screen: identify what the marked number indicates in Visual Basic code window. Which item is indicated by the label that points to the class declaration line containing the words Public Class Form1?
The start of the class
The end of the class
The place to write the codes of the class
The name of the file that saves the code
Complete the table using the next screen: which tab name indicates where the form window interface (designer) is saved?
Form1.vb (Design)
Form1.vb
Start Page
Solution Explorer
Complete the table using the next screen: which item is indicated by the label that points to the word End Class?
The start of the class
The end of the class
Declaration of the class, its name is Form1
Space where code lines are typed
Complete the table using the next screen: which tab name indicates where code files are saved?
Form1.vb
Form1.vb (Design)
Start Page
Properties window
Complete the table using the next screen: which labeled area indicates the space between two lines where code is typed (inside the class body)?
Area between Public Class Form1 and End Class
Title bar of the IDE
Start Page tab
Solution Explorer list
Complete the table using the next screen: what is the name of the solution shown in Solution Explorer?
Shapes
Project1
FormApp
Controls
Complete the table using the next screen: what is the name of the project under the solution in Solution Explorer?
Shapes
MyProject
DesignApp
Form1Project
Complete the table using the next screen: to open the code window using the shortcut menu, which command should you choose?
View Code
View Designer
Properties
Rename
Complete the table using the next screen: which function key is another way to open the code window?
F7
F5
F2
F9
Complete the table using the next screen: what is the purpose of Properties in the shortcut menu?
Set the properties of the selected object
Run the program
Create a new solution
Open the designer
Complete the table using the following screen: what does the class name menu (the middle drop-down) display?
Names of the controls tools
Events for the selected item
Names of open code files
Build configurations
Complete the table using the following screen: what is the form name shown in the code window title and class declaration?
frmsquare
Form1
Button1
Shapes
Complete the table using the following screen: what does the method name menu (the right drop-down) display?
Events for the selected item from the list
Names of the controls tools
Recent files
Compiler options
Answer the questions using the following screen: how many form windows are open?
One
Two
Three
None
Answer the questions using the following screen: number 1 refers to which menu in the code window?
Method name menu (contains events for the selected item)
Class name menu (contains names of controls tools)
Build menu
View menu
Answer the questions using the following screen: number 2 refers to which menu in the code window?
Class name menu (contains names of controls tools on the form)
Method name menu (contains events)
Edit menu
Tools menu
Answer the questions using the following screen: which of the following are control tools shown on the form? Select all that apply.
btnCalculate
lblLength
txtLength
frmsquare
Answer the question using the following screen: which three are different events listed for controls? Select all that apply.
Click
Double Click
Drag and drop
Resize
Answer the question using the following screen: frmsquare refers to which item?
Class name
Control event
Project name
Function name
Answer the question using the following screen: the events shown in the window belong to which control?
Button1
Form1
TextBox1
Label1
Answer the question using the following screen: what is the name of the active tab in the window?
frmsquare.vb
Form1.vb
Start Page
Shapes.sln
Complete the table using the following screen: which item is indicated by the label pointing to the procedure name line Button1_Click?
Procedure name with control name and event name
End of procedure
Declaration of the class frmsquare
End of class
Complete the table using the following screen: which item is indicated by the label pointing to Handles Button1.Click?
Event occurrence
Declaration of class
End of class
Property setting
Complete the table using the following screen: which item is indicated by the label pointing to the code body area inside the procedure?
Where you write code of procedure
Start Page window
Solution name
Project properties
Complete the table using the following screen: which item is indicated by the label pointing to End Sub?
End of procedure
Start of class
Property name
Designer view
Complete the table using the following screen: which item is indicated by the label pointing to Public Class frmsquare?
Declaration of the class frmsquare
End of class
Procedure body
Control event
Complete the table using the following screen: which item is indicated by the label pointing to End Class?
End of class
Start of procedure
Solution name
Property setting
Explain the components of the general syntax to adjust the properties of controls programmatically: in the syntax ControlName.Property = Value, which component represents the object being modified?
Object name
Property name
Value of property
Event name
Explain the components of the general syntax to adjust the properties of controls programmatically: in the syntax ControlName.Property = Value, which component represents the setting assigned?
Value of property
Object name
Event name
Class name
Explain the following code according to the general syntax: Button2.Text = "END". What does this statement do?
Shows the word END on the face of Button2
Creates a new button named END
Changes the form name to END
Starts the project named END
Explain the following code according to the general syntax: Label1.AutoSize = True. What does this statement do?
Enables Label1 to resize automatically to fit written text
Makes Label1 invisible
Sets the text of Label1 to True
Links Label1 to the Button1_Click event
