Exam 10: Structures and Sequential Access Files
Exam 1: An Introduction to Visual Basic 201259 Questions
Exam 2: Designing Applications57 Questions
Exam 3: Using Variables and Constants58 Questions
Exam 4: The Selection Structure57 Questions
Exam 5: More on the Selection Structure56 Questions
Exam 6: The Repetition Structure59 Questions
Exam 7: Sub and Function Procedures56 Questions
Exam 8: String Manipulation57 Questions
Exam 9: Arrays57 Questions
Exam 10: Structures and Sequential Access Files58 Questions
Exam 11: Classes and Objects58 Questions
Exam 12: Web Applications55 Questions
Exam 13: Working With Access Databases and Linq57 Questions
Exam 14: Access Databases and SQL58 Questions
Select questions type
The syntax used to declare a StreamWriter variable is ____. 

Free
(Not Answered)
This question doesn't have any answer yet
Which of the following determines whether an item is selected in the lstTrees control? 

Free
(Not Answered)
This question doesn't have any answer yet
When you pass a structure variable to a Sub or Function procedure,its member variables are not automatically passed.
Free
(True/False)
4.8/5
(24)
Correct Answer:
False
Write the code to declare a variable named outFile that can be used to write data to a sequential access file.Then write the statement to open a sequential access file named customers.txt for output.
(Essay)
4.8/5
(30)
An application contains the Structure statement shown below:
Write a Dim statement that declares a Furniture variable named sofas.Then,write assignment statements that assign the value "Sectional" to the strStyle member,and assign the number 1895.99 to the decPrice member.

(Essay)
4.8/5
(36)
After opening a file for input,you can use the ____ to read the file's contents,one line at a time.
(Multiple Choice)
4.8/5
(32)
Getting data from a file is referred to as "reading from the file," and sending data to a file is referred to as "writing to the file."
(True/False)
4.9/5
(43)
You should ____ the pictureFrame.txt file as soon as you have finished using it.
(Multiple Choice)
4.9/5
(38)
Write the statement that would remove the selected item from the lstFlowers control if an item is selected.
(Essay)
4.8/5
(37)
Write a Structure statement that defines a structure named Vehicle.The structure contains three member variables named strMake,strModel,and intYear.Then write the Private statement that declares a Vehicle variable named truck.
(Essay)
4.8/5
(29)
In Visual Basic,you use a(n)____ to write a stream of characters to a sequential access file.
(Multiple Choice)
4.9/5
(38)
An application contains the Structure statement shown below:
Write a Dim statement that declares an eight-element one-dimensional array of SalonInfo variables.Name the array mySalonInfo.Write the code to store the following data in the array:



(Essay)
4.9/5
(43)
To access a member of a structure variable in an array,you use the syntax ____. 

(Not Answered)
This question doesn't have any answer yet
A(n)____ is defined as a sequence (stream)of characters followed by the newline character.
(Multiple Choice)
4.8/5
(25)
Describe two advantages to programmers of using structures and structure variables.
(Essay)
4.8/5
(33)
Write a Do clause that reads each line of text in a sequential access file and assigns the line to the strTextLine variable.Process the loop until the end of the file has been reached.The file is associated with a StreamReader variable named inFile.
(Essay)
4.9/5
(39)
Data types created using the Structure statement are referred to as user-defined data types or structures.
(True/False)
4.8/5
(44)
Assume that the variable amount contains the value 46.How many characters will be padded in the statement below? amount = amount.ToString.PadLeft(5)
(Multiple Choice)
4.9/5
(34)
In the syntax for the PadLeft method,____ is an integer that represents the total number of characters you want the string to contain.
(Multiple Choice)
4.9/5
(31)
Showing 1 - 20 of 58
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)