Deck 1: Introduction to Programming and Visual Basic
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/40
العب
ملء الشاشة (f)
Deck 1: Introduction to Programming and Visual Basic
1
A TextBox control _.
A) is used to describe other controls on the form
B) can be used to display graphical images
C) has the same function as a label control
D) accepts text entered by the user
A) is used to describe other controls on the form
B) can be used to display graphical images
C) has the same function as a label control
D) accepts text entered by the user
D
2
A word that has a specific meaning in a programming language is called ____.
A) a keyword
B) an operator
C) a variable
D) a comment
A) a keyword
B) an operator
C) a variable
D) a comment
A
3
How do you display a ToolTip?
A) single-click a button on the toolbar
B) double-click a button on the toolbar
C) hold the mouse pointer over a toolbar button for a few seconds
D) tab to the button on the toolbar so that it has the focus
A) single-click a button on the toolbar
B) double-click a button on the toolbar
C) hold the mouse pointer over a toolbar button for a few seconds
D) tab to the button on the toolbar so that it has the focus
C
4
When creating a Visual Basic desktop application, the last thing you will do is __.
A) correct runtime errors
B) create the forms
C) write code for even procedures
D) correct syntax errors
A) correct runtime errors
B) create the forms
C) write code for even procedures
D) correct syntax errors
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
5
Flowcharts are used to .
A) determine the controls required for a program
B) describe the programs input and output
C) graphically depict the flow of a method
D) check for syntax errors
A) determine the controls required for a program
B) describe the programs input and output
C) graphically depict the flow of a method
D) check for syntax errors
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
6
All of the following are major hardware components of a typical computer system except _.
A) Main Memory
B) CPU
C) Operating System
D) secondary storage
A) Main Memory
B) CPU
C) Operating System
D) secondary storage
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
7
The purpose of an algorithm is to __.
A) analyze the nature of a problem
B) list a set of steps to solve a problem
C) understand what a programming language does
D) list the elements needed for the user interface
A) analyze the nature of a problem
B) list a set of steps to solve a problem
C) understand what a programming language does
D) list the elements needed for the user interface
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
8
How would you display the Designer window if it is not visible in your project?
A) Press Shift+F9 on the keyboard
B) Click the Designer option on the VIEW menu
C) Press Ctrl+Alt+D on the keyboard
D) Click View Designer on the EDIT menu
A) Press Shift+F9 on the keyboard
B) Click the Designer option on the VIEW menu
C) Press Ctrl+Alt+D on the keyboard
D) Click View Designer on the EDIT menu
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
9
Application software refers to programs that _.
A) manage the computer's hardware devices
B) controls the computers input/output
C) performs diagnostic tests on secondary storage
D) make the computer useful to the user
A) manage the computer's hardware devices
B) controls the computers input/output
C) performs diagnostic tests on secondary storage
D) make the computer useful to the user
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
10
The standard toolbar __.
A) allows the programmer to place controls on the form
B) contains buttons that execute frequently used commands
C) is difficult to use, since you must remember the commands
D) allows the programmer to create user defined controls
A) allows the programmer to place controls on the form
B) contains buttons that execute frequently used commands
C) is difficult to use, since you must remember the commands
D) allows the programmer to create user defined controls
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
11
You can think of ___as the computer's work area.
A) the CPU
B) main memory
C) secondary storage
D) the desktop
A) the CPU
B) main memory
C) secondary storage
D) the desktop
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
12
The CPU processes instructions written only in this language.
A) Java
B) pseudo code
C) machine language
D) Visual Basic
A) Java
B) pseudo code
C) machine language
D) Visual Basic
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
13
___were invented to make the process of encoding an algorithm in machine language easier.
A) Programming languages
B) Variables
C) Output devices
D) Graphical user interfaces
A) Programming languages
B) Variables
C) Output devices
D) Graphical user interfaces
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
14
The Auto Hide feature .
A) enables the programmer to hide a control on a form
B) permanently removes the toolbox from the Visual Basic environment
C) hides the controls on a form until the programmer changes the status
D) causes a window to display as a tab along the edge of Visual Studio
A) enables the programmer to hide a control on a form
B) permanently removes the toolbox from the Visual Basic environment
C) hides the controls on a form until the programmer changes the status
D) causes a window to display as a tab along the edge of Visual Studio
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
15
An object in Visual Basic __.
A) is also referred to as an event handler
B) is an attribute of a control
C) is an action performed by a method
D) contains data called properties
A) is also referred to as an event handler
B) is an attribute of a control
C) is an action performed by a method
D) contains data called properties
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
16
Why is it necessary to run a program using test data for input?
A) To be sure that there are no syntax errors in the program.
B) To verify that programming language elements are used correctly.
C) To verify the application produces correct results.
D) To see if the flowchart is correct.
A) To be sure that there are no syntax errors in the program.
B) To verify that programming language elements are used correctly.
C) To verify the application produces correct results.
D) To see if the flowchart is correct.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
17
Programs should use comments remarks) to ___.
A) help the human reader of the program
B) make a program run more efficiently
C) make the code run faster
D) make the program smaller in size
A) help the human reader of the program
B) make a program run more efficiently
C) make the code run faster
D) make the program smaller in size
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
18
What is the purpose of the Toolbox?
A) To design user defined methods.
B) To select controls and place on an application's form
C) To select event procedures associated with a control
D) To select methods to be placed on the form
A) To design user defined methods.
B) To select controls and place on an application's form
C) To select event procedures associated with a control
D) To select methods to be placed on the form
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
19
Which of the following is NOT an example of an event in Visual Basic?
A) clicking a button
B) dragging a control to a form from the tool box
C) changing contents of a textbox
D) clicking a control
A) clicking a button
B) dragging a control to a form from the tool box
C) changing contents of a textbox
D) clicking a control
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
20
A variable __.
A) performs various operations on data
B) is a set of programming statements to perform a specific task
C) is a storage location in memory represented by a name
D) is a key element of the graphical user interface
A) performs various operations on data
B) is a set of programming statements to perform a specific task
C) is a storage location in memory represented by a name
D) is a key element of the graphical user interface
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
21
A programming statement must refer to a control by its _property.
A) Text
B) Identifier
C) Name
D) Form
A) Text
B) Identifier
C) Name
D) Form
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
22
The purpose of a compiler is to ___.
A) Aid the programmer in commenting he/her code
B) Aid the programmer in developing GUIs.
C) Convert a program from a programming language to machine code
D) Assemble and package the documentation for an application
A) Aid the programmer in commenting he/her code
B) Aid the programmer in developing GUIs.
C) Convert a program from a programming language to machine code
D) Assemble and package the documentation for an application
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
23
Control names may begin with a letter or a number.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
24
Microsoft Visual Basic is an object-oriented programming language.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
25
Pseudocode is a combination of programming language and machine code.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
26
The part of a program that users see and work with is known as the __.
A) algorithm
B) properties
C) methods
D) user interface
A) algorithm
B) properties
C) methods
D) user interface
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
27
In Visual Basic we work with objects, which have _.
A) programmer preference
B) projects and solutions
C) classes and actions
D) properties and methods
A) programmer preference
B) projects and solutions
C) classes and actions
D) properties and methods
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
28
Which of the following is an example of a binary number?
A) 324
B) 123
C) 101
D) 202
A) 324
B) 123
C) 101
D) 202
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
29
Control names may not contain spaces.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
30
Which is considered a valid step for developing a Visual Basic application?
A) Determine event handlers needed for each control.
B) Determine the controls needed.
C) Create a flowchart of the code.
D) all of the above
A) Determine event handlers needed for each control.
B) Determine the controls needed.
C) Create a flowchart of the code.
D) all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
31
The most common form of secondary storage is _.
A) a disk drive
B) the CPU
C) RAM
D) all of the above
A) a disk drive
B) the CPU
C) RAM
D) all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
32
If you wish to display text which cannot be modified by the user, use the __.
A) TextBox control
B) Label control
C) Caption control
D) Name control
A) TextBox control
B) Label control
C) Caption control
D) Name control
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
33
Application software manages the computer's hardware devices.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
34
A form is a __.
A) window in which other controls may be placed
B) box that displays text that cannot be changed by the user
C) piece of data that determines a characteristic of a control
D) control that displays a graphic image
A) window in which other controls may be placed
B) box that displays text that cannot be changed by the user
C) piece of data that determines a characteristic of a control
D) control that displays a graphic image
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
35
Any control ___should have a descriptive, programmer-defined name.
A) used in a form
B) whose name appears in a programming statement
C) that is a label
D) with a text property
A) used in a form
B) whose name appears in a programming statement
C) that is a label
D) with a text property
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
36
A control is an object that usually appears in a program's graphical user interface.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
37
Properties determine the visual appearance of a control.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
38
Which of the following is an example of a control?
A) Form
B) TextBox
C) Button
D) all of the above
A) Form
B) TextBox
C) Button
D) all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
39
Which of the following is NOT a Visual Basic control?
A) Form
B) TextBox
C) Algorithm
D) Label
A) Form
B) TextBox
C) Algorithm
D) Label
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
40
Which of the following adheres to the naming conventions for a text box control?
A) lblHoursWorked
B) txthoursworked
C) LBLhoursworked
D) txtHoursWorked
A) lblHoursWorked
B) txthoursworked
C) LBLhoursworked
D) txtHoursWorked
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck