Questions: 619

Answers by our Experts: 487

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

1 The BASIC programming language automatically assigns 11 element(s) to every _____-dimensional array (a)Three(b) two(c) one(d) Four
2 The END statements is used to indicate the __________ that there are no more BASIC statements for it to translate (a)Memory(b) Processor(c) Compiler(d) Assembler
3 Data movement instructions are used for ________ data from one storage location to another and for rearranging and changing of data elements in some prescribed manner (a)moving (b)copying(c) transferring(d) all of the above
4 During program execution, which of the follwing statements are used when data is to be supplied (a)EXECUTE(b) STOP(c) LOOP(d) None of the above
5 X2 is an example of a valid __________ names (a)Numeric-constant (b) Numeric-variable (c) Alphabetic constant (d) All of the above
6 50$ is valid BASIC number? (a) TRUE (b) False (c) Neither true or false (d) I don’t know
7 Bugs are reffered to as ______ caused by faulty logic and coding mistakes (a) Spywares (b) Errors (c) Viruses (d) Trojan
8 It is good programming practice to precede INPUT statements with a PRINT statement (a) LET (b) READ (c) INPUT (d) RESTORE
9 System flow chart shows the relationship of numerous jobs that makeup an entire ________ (a) Program flowchart (b) Network (c) Computer (d) System
10 The Stop statements may appear anywhere you need them in a ______, and you can use as many as you want? (a) Instruction(b) Program (c) Loop (d) Flowchart
11 _______ is a complete set of statements to solve a problem (a) Code (b)Flowchart(c) Program(d) Direction
12 INPUT statements are used when data is to be supplied during(a) Program execution(b) Program analysis(c) Program flowchart(d) None of the above
13 A single program can be defined by as many as 26 separate _______ functions (a)Roman(b) Numeric(c) Variable(d) Constant
14 In the ____ statement the first two letters of the numeric function names must be FN (a)END(b) REM(c) DEF(d) All of the above
15 Which of the following is a valid BASIC statement number? (a) 40 (b) 30 (c) A & B (d) 0.1
16 Transfer of ______ instructions are of two types (a) Numeric(b) Binary(c) Control(d) Logic
17 You may delete a line by typing the command DELETE and the _________ (a) instruction(b) entire line(c) line number(d) any of the above
18 The very last statement in each program must be the ________ statement(a) STOP(b) END(c) RESTORE(d) RETURN
19 To precede INPUT statements with a _______ statement is good programming practice (a) PRINT(b) OUTPUT(c) END(d) REMOVE
20 BASIC statement numbers Ranges from __ to 99999(a) 1111(b) 111(c) 11(d) 1
Suppose the sequential file ALE.TXT contains the information shown in Table 1.1. Write a program to use the file to produce the Table 1.2 in which the baseball teams are in descending order by the percentage of games won. Note : A batting average can be displayed in standard form with FormatNumber(ave, 3, vbFalse).

Table 1.1 American League East games won and Lost in 2002.
Team Won Lost
Baltimore 67 95
Boston 93 69
New York 103 58
Tampa Bay 55 106
Toronto 78 84

Table 1.2 Final 2002 American League East standings.
American League East
Team Won Lost Percentage
New York 103 58 0.640
Boston 93 69 0.574
Toronto 78 84 0.481
Baltimore 67 95 0.414
Tampa Bay 55 106 0.342
Suppose the sequential file ALE.TXT contains the information shown in Table 1.1. Write a program to use the file to produce the Table 1.2 in which the baseball teams are in descending order by the percentage of games won. Note : A batting average can be displayed in standard form with FormatNumber(ave, 3, vbFalse).
Which of the following refers to the process of decomposing data into separate data sets?
Data aggregation
Data disaggregation
Data analysis
Data summarization
I am working on a project for Visual Basic designing and developing a bookstore multi-form windows application. I am stuck trying to create the Bookstore database. I need to initialize an array (publicationArray(3)) with 2 books and 2 magazine objects in constructor method. Then use (selectedPublicationIndex) to remember which publication is selected to view by user. Can someone please help me with the code for this class? I have been stuck for the last 2 days trying to figure this out.
I am making a resturant menu in visual basic/studio 2012.
I am supposed to make the groups be visible and invisible if their checkboxes are checked or not.

Also I cannot make it compute anything except the first group.

This is the code I have made so far and the two errors I get:

Public Class frmMenu
Private Sub chkBurgers_CheckedChanged(sender As Object, e As EventArgs)
Handles chkBurgers.CheckedChanged

If chkBurgers.Checked Then
grpBurgers.Visible = True
Else
grpBurgers.Visible = False
End If
End Sub
Private Sub chkFries_CheckedChanged(sender As Object, e As EventArgs) Handles chkFries.CheckedChanged

If chkFries.Checked Then
grpFries.Visible = True
Else
grpFries.Visible = False
End If
End Sub
Private Sub chkDrinks_CheckedChanged(sender As Object, e As EventArgs) Handles chkDrinks.CheckedChanged

If chkDrinks.Checked Then
grpDrinks.Visible = True
Else
grpDrinks.Visible = False
End If
End Sub


Private Sub btnCompute_Click(sender As Object, e As EventArgs) Handles btnCompute.Click
Dim sum As Double

If chkBurgers.Checked Then
If radRegular.Checked Then
sum += 4.19
ElseIf radCheese.Checked Or radBacon.Checked Then
sum += 4.79
ElseIf radBaconandCheese.Checked Then
sum += 5.39
End If
End If

If chkFries.Checked Then
If radSmall.Checked Then
sum += 2.39
ElseIf radMedium.Checked Then
sum += 3.09
ElseIf radLarge.Checked Then
sum += 4.99
End If
End If

If chkDrinks Then
If radSoda.Checked Then
sum += 1.69
ElseIf radBottledWater Then
sum += 1.49
End If
End If
txtCost.Text = sum.ToString("C")
End Sub

End Class

Also I recieved two errors which are:
1 Value of type 'System.Windows.Forms.CheckBox' cannot be converted to 'Boolean'. C:\Vis2012\Resturant Menu\Resturant Menu\frmMenu.vb Resturant Menu

2 Value of type 'System.Windows.Forms.RadioButton' cannot be converted to 'Boolean'. C:\Vis2012\Resturant Menu\Resturant Menu\frmMenu.vb Resturant Menu
Which of the following statements about a structure is not true?
a. A structure requires less memory and instantiates faster than a class.
b. You can code members for a structure just as you can for a class.
c. You can code more than one constructor for a structure.
d. A structure lets you instantiate a reference type just like a class.
Given the following code, what are the first four lines displayed in the text box when the code is executed?

Dim arrSales(11, 2) As Double
Dim i As Integer
Dim j As Integer
Dim strLine As String
Dim strDisplay As String

strDisplay = "Output is ..." + vbCrLf
For i = 0 To 11
For j = 0 To 2
arrSales(i, j) = i + j
strLine = vbTab + arrSales(i, j).ToString()
strDisplay += strLine
Next
strDisplay += vbCrLf
Next
TextBox1.Text = strDisplay
What is an overloaded method and why are these useful? Illustrate your answer with an example of when you would do this.
LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS