wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

ICT - G9- EGPT-Mr.ANWAR NASR

Total questions: 105

Worksheet time: 53mins

Name
Class
Date
1.

Choose whether the sentence is correct or wrong: Flowcharts use standards symbols and lines to represent a problem algorithm.

a)

Correct

b)

Wrong

2.

Choose whether the sentence is correct or wrong: You can use any geometric shape to represent an algorithm when drawing flowcharts.

a)

Correct

b)

Wrong

3.

Choose whether the sentence is correct or wrong: The symbol shown is used to represent the start and end of flowcharts.

a)

Correct

b)

Wrong

4.

Choose whether the sentence is correct or wrong: The rectangle symbol is used to represent the data of input operation.

a)

Correct

b)

Wrong

5.

Choose whether the sentence is correct or wrong: The symbol shown is used to represent a decision process in flowcharts.

a)

Correct

b)

Wrong

6.

Choose whether the sentence is correct or wrong: The problem means that an objective or output is required to reach.

a)

Correct

b)

Wrong

7.

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.

a)

Correct

b)

Wrong

8.

Choose whether the sentence is correct or wrong: The program documentation is a set of procedures arranged logically for solving a specific problem.

a)

Correct

b)

Wrong

9.

Choose whether the sentence is correct or wrong: Program testing is writing down all the steps taken to solve a problem.

a)

Correct

b)

Wrong

10.

Choose whether the sentence is correct or wrong: Documenting the program means making sure that the program is free of errors.

a)

Correct

b)

Wrong

11.

Choose whether the sentence is correct or wrong: Algorithm is a set of procedures arranged logically for solving a specific problem.

a)

Correct

b)

Wrong

12.

Choose whether the sentence is correct or wrong: Program documentation is writing down all the steps taken to solve a problem.

a)

Correct

b)

Wrong

13.

Choose whether the sentence is correct or wrong: Testing the program means making sure that the program is free of errors.

a)

Correct

b)

Wrong

14.

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.

a)

Correct

b)

Wrong

15.

Choose whether the sentence is correct or wrong: Flowcharts help to facilitate understanding of the problem, analyze it, and convert it to a program.

a)

Correct

b)

Wrong

16.

Choose the appropriate answer to complete the phrase: Steps, activates, and process to be done to reach an objective or output can be called ______.

a)

Problem definition

b)

Problem

c)

Problem solving

17.

Choose the appropriate answer to complete the phrase: On drawing flowcharts we use ______.

a)

Standard symbols and lines

b)

All geometric figures

c)

One geometric figure

18.

Choose the appropriate answer to complete the phrase: A set of procedures arranged logically for solving a specific problem can be called ______.

a)

Problem

b)

Algorithm

c)

Program testing

19.

Choose the appropriate answer to complete the phrase: Making sure that the program is free of errors can be called ______.

a)

Program testing

b)

Program documentation

c)

Algorithm

20.

Choose the appropriate answer to complete the phrase: Writing down all the steps taken to solve a problem can be called ______.

a)

Program documentation

b)

Program testing

c)

Flowcharts

21.

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 ______.

a)

Problem

b)

Algorithm

c)

Flowcharts

22.

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?

a)

2

b)

3

c)

4

23.

In the same flowchart described, what is the value of M after the end of the iterative loop?

a)

2

b)

3

c)

4

24.

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?

a)

C = A + B

b)

C = A − B

c)

C = A × B

d)

C = B − A

25.

According to the Activity (1-1) text, what formula is used to compute the perimeter of a rectangle with length L and width W?

a)

perimeter = 2 (L × W)

b)

perimeter = L + W

c)

perimeter = 2 (L + W)

d)

perimeter = L × W

26.

According to the rectangle flowchart diagram, what formula is used to compute the perimeter when length L and width W are given?

a)

perimeter = 2 (L + W)

b)

perimeter = 2 (L × W)

c)

perimeter = L + W

d)

perimeter = L × W

27.

For the rectangle activity, what is the equation of the area when length L and width W are known?

a)

Area = L × W

b)

Area = 2 (L + W)

c)

Area = L + W

d)

Area = L ÷ W

28.

In the division exercise, what should the program do when the denominator num2 equals zero?

a)

Print "undefined"

b)

Compute R = num1 / num2

c)

Print 0

d)

Ask for num1 again

29.

In the division exercise when num2 is not zero, which assignment correctly computes the result R?

a)

R = num1 / num2

b)

R = num2 / num1

c)

R = num1 × num2

d)

R = num1 − num2

30.

For the activity that enters two unequal numbers X and Y, what should be printed when X > Y?

a)

Print X the largest, Y the smallest

b)

Print Y the largest, X the smallest

c)

Print both numbers are equal

d)

Print "undefined"

31.

For the circle activity, which formula is used to compute the area of a circle with radius R?

a)

Area = 3.14 × R × R

b)

Area = 2 × 3.14 × R

c)

Area = 3.14 × R

d)

Area = 2 × R

32.

In the modified circle flowchart, what message should be displayed and the program should exit when the value of R is negative?

a)

Print "not allowed"

b)

Print the area

c)

Print "undefined"

d)

Print "enter R again"

33.

In the temperature exercise, what should be printed when D < 0?

a)

Print "Below zero"

b)

Print "Equal zero"

c)

Print "Above zero"

d)

Print "not allowed"

34.

In the temperature exercise, what should be printed when D = 0?

a)

Print "Equal zero"

b)

Print "Below zero"

c)

Print "Above zero"

d)

Print "undefined"

35.

Exercise (1-7) Print out the numbers from 1 to 3.

a)

1, 2, 3

b)

1, 2, 3, 4

c)

0, 1, 2

d)

2, 3, 4

36.

Exercise (1-7) In the algorithm for printing numbers from 1 to 3, which condition controls the loop?

a)

M<=3

b)

M<3

c)

M>=3

d)

M==3

37.

Exercise (1-9) Print out the sum of integer numbers from 1 to 3.

a)

3

b)

6

c)

5

d)

7

38.

Exercise (1-9) In the algorithm that prints the sum from 1 to 3, which statement updates the running total?

a)

Sum=Sum+N

b)

N=N+1

c)

Print Sum

d)

Sum=N

39.

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?

a)

N=N+1

b)

N=N+2

c)

N=N*2

d)

N=N-1

40.

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?

a)

N==10

b)

N>=10

c)

N>10

d)

N<10

41.

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.

a)

Correct

b)

Wrong

42.

First: Put (√) in front of correct sentence and (X) in front of the wrong sentence: The VB.NET language is only high level language.

a)

Correct

b)

Wrong

43.

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.

a)

Correct

b)

Wrong

44.

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.

a)

Correct

b)

Wrong

45.

First: Put (√) in front of correct sentence and (X) in front of the wrong sentence: Framework.net contains Compilers, Libraries, and runtime environment.

a)

Correct

b)

Wrong

46.

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.

a)

Correct

b)

Wrong

47.

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.

a)

Correct

b)

Wrong

48.

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.

a)

Correct

b)

Wrong

49.

Second: Choose the appropriate answer to complete each phrase in the following: You can produce Windows applications or Web applications by using:

a)

Objects on computer memory

b)

VB.NET language

c)

Properties and Events

50.

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:

a)

Object Oriented

b)

Event Driven

c)

Framework.Net

51.

Second: Choose the appropriate answer to complete each phrase in the following: IDE is called:

a)

Visual Basic.NET

b)

Visual Studio

c)

Framework.Net

52.

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.

a)

Correct

b)

Wrong

53.

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.

a)

Correct

b)

Wrong

54.

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.

a)

Correct

b)

Wrong

55.

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.

a)

Correct

b)

Wrong

56.

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.

a)

Correct

b)

Wrong

57.

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.

a)

Correct

b)

Wrong

58.

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.

a)

Correct

b)

Wrong

59.

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.

a)

Correct

b)

Wrong

60.

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.

a)

Correct

b)

Wrong

61.

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.

a)

Correct

b)

Wrong

62.

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.

a)

Correct

b)

Wrong

63.

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.

a)

Correct

b)

Wrong

64.

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.

a)

Correct

b)

Wrong

65.

Second: Choose the appropriate answer to complete each phrase in the following: The functions of "Right To Left" property of the Form:

a)

Define the direction of Controls tools from Right to Left

b)

Define wether the layout of Controls tools on the Form is from Right to Left

c)

Define the state of the window in a state of maximizing or minimizing

66.

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:

a)

Name

b)

Text

c)

FormBorderStyle

67.

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):

a)

Name

b)

Forecolor

c)

Text

68.

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:

a)

Drag and drop by the mouse

b)

Setting Size property

c)

Setting Location property

69.

Second: Choose the appropriate answer to complete each phrase in the following: 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

70.

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:

a)

Coordinate (0,0)

b)

The middle of the Form

c)

The position of Control Box different according to the size of the form

71.

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:

a)

AutoSize=False

b)

BorderStyle= Fixed Single

c)

AutoSize=True

72.

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:

a)

AutoSize=False

b)

BorderStyle= Fixed Single

c)

AutoSize=True

73.

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:

a)

ComboBox

b)

ListBox

c)

GroupBox

74.

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:

a)

RadioButton

b)

GroupBox

c)

CheckBox

75.

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?

a)

The start of the class

b)

The end of the class

c)

The place to write the codes of the class

d)

The name of the file that saves the code

76.

Complete the table using the next screen: which tab name indicates where the form window interface (designer) is saved?

a)

Form1.vb (Design)

b)

Form1.vb

c)

Start Page

d)

Solution Explorer

77.

Complete the table using the next screen: which item is indicated by the label that points to the word End Class?

a)

The start of the class

b)

The end of the class

c)

Declaration of the class, its name is Form1

d)

Space where code lines are typed

78.

Complete the table using the next screen: which tab name indicates where code files are saved?

a)

Form1.vb

b)

Form1.vb (Design)

c)

Start Page

d)

Properties window

79.

Complete the table using the next screen: which labeled area indicates the space between two lines where code is typed (inside the class body)?

a)

Area between Public Class Form1 and End Class

b)

Title bar of the IDE

c)

Start Page tab

d)

Solution Explorer list

80.

Complete the table using the next screen: what is the name of the solution shown in Solution Explorer?

a)

Shapes

b)

Project1

c)

FormApp

d)

Controls

81.

Complete the table using the next screen: what is the name of the project under the solution in Solution Explorer?

a)

Shapes

b)

MyProject

c)

DesignApp

d)

Form1Project

82.

Complete the table using the next screen: to open the code window using the shortcut menu, which command should you choose?

a)

View Code

b)

View Designer

c)

Properties

d)

Rename

83.

Complete the table using the next screen: which function key is another way to open the code window?

a)

F7

b)

F5

c)

F2

d)

F9

84.

Complete the table using the next screen: what is the purpose of Properties in the shortcut menu?

a)

Set the properties of the selected object

b)

Run the program

c)

Create a new solution

d)

Open the designer

85.

Complete the table using the following screen: what does the class name menu (the middle drop-down) display?

a)

Names of the controls tools

b)

Events for the selected item

c)

Names of open code files

d)

Build configurations

86.

Complete the table using the following screen: what is the form name shown in the code window title and class declaration?

a)

frmsquare

b)

Form1

c)

Button1

d)

Shapes

87.

Complete the table using the following screen: what does the method name menu (the right drop-down) display?

a)

Events for the selected item from the list

b)

Names of the controls tools

c)

Recent files

d)

Compiler options

88.

Answer the questions using the following screen: how many form windows are open?

a)

One

b)

Two

c)

Three

d)

None

89.

Answer the questions using the following screen: number 1 refers to which menu in the code window?

a)

Method name menu (contains events for the selected item)

b)

Class name menu (contains names of controls tools)

c)

Build menu

d)

View menu

90.

Answer the questions using the following screen: number 2 refers to which menu in the code window?

a)

Class name menu (contains names of controls tools on the form)

b)

Method name menu (contains events)

c)

Edit menu

d)

Tools menu

91.

Answer the questions using the following screen: which of the following are control tools shown on the form? Select all that apply.

a)

btnCalculate

b)

lblLength

c)

txtLength

d)

frmsquare

92.

Answer the question using the following screen: which three are different events listed for controls? Select all that apply.

a)

Click

b)

Double Click

c)

Drag and drop

d)

Resize

93.

Answer the question using the following screen: frmsquare refers to which item?

a)

Class name

b)

Control event

c)

Project name

d)

Function name

94.

Answer the question using the following screen: the events shown in the window belong to which control?

a)

Button1

b)

Form1

c)

TextBox1

d)

Label1

95.

Answer the question using the following screen: what is the name of the active tab in the window?

a)

frmsquare.vb

b)

Form1.vb

c)

Start Page

d)

Shapes.sln

96.

Complete the table using the following screen: which item is indicated by the label pointing to the procedure name line Button1_Click?

a)

Procedure name with control name and event name

b)

End of procedure

c)

Declaration of the class frmsquare

d)

End of class

97.

Complete the table using the following screen: which item is indicated by the label pointing to Handles Button1.Click?

a)

Event occurrence

b)

Declaration of class

c)

End of class

d)

Property setting

98.

Complete the table using the following screen: which item is indicated by the label pointing to the code body area inside the procedure?

a)

Where you write code of procedure

b)

Start Page window

c)

Solution name

d)

Project properties

99.

Complete the table using the following screen: which item is indicated by the label pointing to End Sub?

a)

End of procedure

b)

Start of class

c)

Property name

d)

Designer view

100.

Complete the table using the following screen: which item is indicated by the label pointing to Public Class frmsquare?

a)

Declaration of the class frmsquare

b)

End of class

c)

Procedure body

d)

Control event

101.

Complete the table using the following screen: which item is indicated by the label pointing to End Class?

a)

End of class

b)

Start of procedure

c)

Solution name

d)

Property setting

102.

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?

a)

Object name

b)

Property name

c)

Value of property

d)

Event name

103.

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?

a)

Value of property

b)

Object name

c)

Event name

d)

Class name

104.

Explain the following code according to the general syntax: Button2.Text = "END". What does this statement do?

a)

Shows the word END on the face of Button2

b)

Creates a new button named END

c)

Changes the form name to END

d)

Starts the project named END

105.

Explain the following code according to the general syntax: Label1.AutoSize = True. What does this statement do?

a)

Enables Label1 to resize automatically to fit written text

b)

Makes Label1 invisible

c)

Sets the text of Label1 to True

d)

Links Label1 to the Button1_Click event