Exam 11: Structures and Sequential Files
Exam 1: An Introduction to Visual Basic 201250 Questions
Exam 2: Creating a User Interface50 Questions
Exam 3: Memory Locations and Calculations50 Questions
Exam 4: Making Decisions in a Program50 Questions
Exam 5: More on the Selection Structure50 Questions
Exam 6: Repeating Program Instructions50 Questions
Exam 7: More on the Repetition Structure50 Questions
Exam 8: Sub and Function Procedures50 Questions
Exam 9: Arrays50 Questions
Exam 10: String Manipulation and Menus50 Questions
Exam 11: Structures and Sequential Files50 Questions
Exam 12: Access Databases and Linq50 Questions
Exam 13: Creating Simple Web Applications50 Questions
Exam 14: Creating Classes and Objects50 Questions
Exam 15: an Introduction to Programming17 Questions
Select questions type
Suppose a structure variable named manager contains a salary member variable. Write a statement that multiplies the contents of the salary member variable by 1.05, and then assigns the result to the member variable.
Free
(Essay)
4.9/5
(43)
Correct Answer:
manager.salary = manager.salary * 1.05
manager.salary *= 1.05
A form's ____ event occurs when a form is about to be closed.
Free
(Multiple Choice)
4.8/5
(34)
Correct Answer:
A
You can prevent the computer from closing a form by setting the Cancel property of the FormClosing procedure's ____ parameter to True.
Free
(Multiple Choice)
4.9/5
(31)
Correct Answer:
B
Match each item with a statement below.
a.input file
f.dot member access operator
b.Private
g.record
c.AppendText
h.output file
d.Dim
i.field
e.structure
-Contains all of the necessary data about a specific person, place, or thing
(Short Answer)
4.8/5
(33)
Match each item with a statement below.
a.input file
f.dot member access operator
b.Private
g.record
c.AppendText
h.output file
d.Dim
i.field
e.structure
-A file that is read by a computer.
(Short Answer)
4.9/5
(43)
Match each item with a statement below.
a.input file
f.dot member access operator
b.Private
g.record
c.AppendText
h.output file
d.Dim
i.field
e.structure
-Used to create a procedure-level structure variable.
(Short Answer)
4.8/5
(37)
In a Structure statement, each member variable's definition contains the keyword ____ followed by the variable's name.
(Multiple Choice)
5.0/5
(40)
Write a statement to declare a procedure-level variable named manager of a structure named Employee.
(Short Answer)
4.8/5
(35)
In Visual Basic, you use a ____ object to read data from a sequential access file.
(Multiple Choice)
4.9/5
(39)
When using the ____________________ method, the next character written to a file will appear on the line immediately below the string.
(Short Answer)
4.9/5
(42)
A(n) ____ is a group of related fields that contain all of the necessary data about a specific person, place, or thing.
(Multiple Choice)
4.8/5
(33)
Match each item with a statement below.
a.input file
f.dot member access operator
b.Private
g.record
c.AppendText
h.output file
d.Dim
i.field
e.structure
-A file to which information is written.
(Short Answer)
4.8/5
(42)
Data types created by the Structure statement are referred to as ____________________ data types.
(Short Answer)
4.9/5
(31)
Explain the difference between a field and a record and provide an example of each.
(Essay)
4.9/5
(34)
You refer to a member variable in an array element using the syntax ____.
(Multiple Choice)
4.8/5
(35)
When using the Exists method for determining whether a file exists, explain what happens if you do not include a folder path.
(Essay)
4.7/5
(37)
Showing 1 - 20 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)