Questions: 358

Answers by our Experts: 358

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

The system command _______ is used to tell the computer to execute the program
LIST
EXECUTE
END
RUN
61 __ instructions permit addition, subtraction, multiplication, and division (a) BASIC (b) NUMERIC (c) ARITHMETIC (d) All of the above
62 Commas give you standard ________, when you use them to separate variables to be printed with one PRINT statement (a) arranging (b) Spacing (c) Shifting (d) meaning
63 An entire program run or phase is always represented by _____ processing symbol in the System flowchart (a) Double (b) Single (c) Tripple (d) all of the above
64 The BASIC character set is divided into _________ categories (a) two (b) three (c) five (d) none of the above
65 1 is the lowest range value of _______ statement (a) NUMERIC (b) BASIC (c) VARIABLE (d) DECIMAL
66 The ______ statement has a numeric variable, called the Running variable. (a) FOR-GO (b) FOR-TO (c) FOR-ON (d) all of the above
67 The________ function is useful in formatting various types of printed output. (a) ENTER (b) FORMAT (c) TAB (d) PRINT
68 _______ is a complete set of statements to solve a problem (a) Flowchart (b) loop (c) Instruction (d) Program
69 A function is subscripted variables not permitted as arguments in its _________ (a) Instruction (b) Defination (c) Execution (d) all of the above
70 Which of the follwing statements has Two functions? (a) END (b) START (c) GO (d) RESET
31. if four statements are entered with the same statement number, the computer will accept the ______ statement with the duplicate statement number (a) first (b) second (c) third (d) fourth
32 ______ is a valid BASIC number?(a) 567890100 (b) 200,000 (c) $65 (d) 1.05E+09 33 Data provided using the ______ statement is not saved as part of the program once the program has been run (a) LET (b) INPUT (c) END (d) none of the above
34 very program requires an __ statement. (a) START (b) END (c) STOP (d) RETURN
35 35 Which of the following statements is used for simplifying loops? (a) IF-THEN (b) ON-GOTO (c) GOTO (d) FOR-NEXT
36 36 All of the _______ in a given array must be the same type (a) elements (b) statements (c) instructions (d) loops
37 37 There are _________ conditions under which a FOR-NEXT loop will not be executed at all (a) two (b) five (c) four (d) three
38 Which of the following statements is used to indicate to the compiler (interpreter) that there are no more BASIC statements for it to translate? (a) RETURN (b) END (c) STOP (d) all of the above
39 _______ shows the relationship of numerous jobs that makeup an entire system (a) Program flowchart (b) System flowchart (c) Data flow diagram (d) Decision tree
40 Predefined functions may be used in _________ of user defined functions (a) Directions (b) Programs (c) Instructions (d) arguments
31 DIM statements are used To define (a) colums (b) arrays (c) intructions (d) Numbers
32 Bugs are reffered to as errors caused by faulty __________ and coding mistakes (a) Codes (b) Programs (c) logic (d) Instructions
33 A continuous process beginning from the Problem defination stage is __________ (a) Execution (b) Compiling (c) Documentation (d) programming
34 The ______ statement has a numeric variable, called the Running variable. (a) GO (b) FOR (c) ON (d) None of the above
35 A __ consists of a group of related records and each record consists of fields. (a) Folder (b) File (c) Codes (d) Data
36 When a READ statement is executed, the values in the data list are assigned consecutively to the variable names in the _____ statement (a) LET (b) READ (c) INPUT (d) Any of the above
37 The system command _______ is used to tell the computer to execute the program (a) LIST (b) EXECUTE (c) END (d) RUN
38 ________ names without values are used in the INPUT statement (a) Constant (b) Numeric (c) Variable (d) none of the above
39 There are __ categories of transfer of control statements. (a) three (b) seven (c) two (d) None of the above
40 The expression in a ___ statement is evaluated only when the defined function is referenced (a) DEF (b) REM (c) ENTER (d) REF
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
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 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
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
APPROVED BY CLIENTS