Exam 11: Structures and Sequential Files

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

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

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

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

B

Sending data to a file is referred to as ____ the file.

(Multiple Choice)
4.8/5
(35)

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)

Under what situations does a form's FormClosing event occur?

(Essay)
4.8/5
(29)

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)

Explain what a delimiter character is used for.

(Essay)
4.9/5
(42)

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)

You can use a structure to declare a variable.

(True/False)
5.0/5
(41)
Showing 1 - 20 of 50
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)