Finalquiz Logo

Q&A Hero

  • Home
  • Plans
  • Login
  • Register
Finalquiz Logo
  • Home
  • Plans
  • Login
  • Register

Home » Computer Science » Page 84

Computer Science

Q: A program should be tested with a set of sample data that includes both valid and invalid data.

Q: The last step in the problem-solving process is to rigorously test the program before releasing it to the user.

Q: Which of the following Case clauses specifies integers greater than 5? a. Case Is >= 5 b. Case Is > 5 c. Case Is <> 5 d. Case Is > 5 AndAlso < 15

Q: You can specify a range of values in a Case clause's ____, such as the values 1 through 8 or values greater than 10. a. statementList b. expressionList c. End Case d. Case

Q: A radio button's ____ property contains either the Boolean value True or the Boolean value False. a. Display b. Default c. Selected d. Checked

Q: To include more than one expression in an expressionList, you separate each expression with a ____. a. comma b. forward slash c. semicolon d. period

Q: The Select Case statement begins with the keywords Select Case, followed by a(n) ____. a. listExpression b. expressionSelector c. expressionList d. selectorExpression

Q: The ____ statement can be used to code a multiple-alternative selection structure. a. Select b. Select Option c. Case d. Select Case

Q: When a multiple-alternative selection structure has many paths from which to choose, it is oftensimpler and clearer to code the selection structure using the ____ statement rather thanthe If…Then…Else statement.a. Ifb. Select Casec. If/ElseIf/Elsed. Select Option

Q: You use the ____ method to convert a string to lowercase. a. strLower b. ConvToLower c. ConvLower d. ToLower

Q: You use the ____ method to convert a string to uppercase. a. ConvToUpper b. strUpper c. ToUpper d. ConvUpper

Q: ____ is the universal coding scheme for characters. a. EBCDIC b. ANSI c. ASCII d. Unicode

Q: The code to create a String variable is ____. a. Dim String strCode b. Dim strCode String c. Dim strCode As String d. Dim Codestr As String

Q: The three-character ID used when naming String variables (and String named constants) is ____. a. sti b. str c. srg d. stg

Q: The ZIP code 60137 should be stored as a ____ data type. a. Integer b. Double c. String d. Text

Q: The ____ data type can store alphanumeric text, which is text that may contain letters, numbers, or special characters. a. String b. Double c. Integer d. Text

Q: Multiple-alternative selection structures or ____ selection structures can choose from several alternatives. a. complex b. staged c. extended d. control

Q: You can use the To or Is keywords to specify a range of values in a Select Case statement.

Q: If the selectorExpression matches a value in more than one Case clause, only the instructions in the first match's Case clause are processed.

Q: The data type of the expressions in a Select Case statement does not need to be compatible with the data type of the selectorExpression.

Q: You can have as many Case clauses as necessary in a Select Case statement.

Q: The Select Case statement ends with the End Select clause.

Q: The If...Then...Else statement is the only statement you can use to code a multiple-path selection structure in Visual Basic.

Q: Unicode assigns a unique numeric value to each character used in the written languages of the world.

Q: Each character on the computer keyboard is stored in the computer's internal memory using a different Unicode value.

Q: In Visual Basic, the uppercase version of a letter is the same as its lowercase counterpart.

Q: As is true in most programming languages, string comparisons in Visual Basic are not case sensitive.

Q: The value stored in the Text property is treated as alphanumeric text.

Q: Variables declared with the Integer, Decimal, and Double data types can store numbers only.

Q: Using nested If"¦Then"¦Else statements is a much more convenient way of coding a multiple-alternative selection structure than using the Case statement.

Q: Another form of the If"¦Then"¦Else statement is called If/ElseIf/Else.

Q: At times, you may need to create a selection structure that can choose from several alternatives.

Q: When the computer processes the expression 12 > 0 AndAlso 12 < 10 * 2, it evaluates the ____ operator last. a. * b. < c. > d. AndAlso

Q: When the computer processes the expression 12 > 0 AndAlso 12 < 10 * 2, it evaluates the ____ operator first. a. * b. < c. > d. AndAlso

Q: If an expression contains logical operators, comparison operators, and arithmetic operators, ____. a. the comparison operators are evaluated last b. the arithmetic operators are evaluated last c. the logical operators are evaluated last d. the operators are evaluated in order

Q: If an expression contains logical operators, comparison operators, and arithmetic operators, ____. a. the comparison operators are evaluated first b. the arithmetic operators are evaluated first c. the logical operators are evaluated first d. the operators are evaluated in order

Q: The pseudocode "if the hours worked are greater than or equal to 0 but less than or equal to 40" is coded as ____ in Visual Basic. a. If decHours > 0 AndAlso decHours < 40 b. If decHours => 0 AndAlso decHours =< 40 c. If decHours >= 0 AndAlso decHours <= 40 d. If decHours >= 40 AndAlso decHours <= 0

Q: With the ____ operator, only one of the conditions needs to be True for the compound condition to be True. a. AndAlso b. OrAlso c. AndElse d. OrElse

Q: With the ____ operator, all conditions must be True for the compound condition to be True. a. AndAlso b. OrAlso c. AndElse d. OrElse

Q: Expressions containing logical operators always evaluate to a(n) ____ value. a. Boolean b. conditional c. string d. compound

Q: Logical operators, sometimes referred to as ____ operators, allow you to combine two or more conditions into one compound condition. a. truth b. compound c. Boolean d. syntactic

Q: A ____ is a control that serves simply as a container for other controls. a. check box b. radio box c. group box d. text box

Q: ____ allow you to limit the user to only one choice from a group of two or more related but mutually exclusive choices. a. Check boxes b. Radio buttons c. Text boxes d. Labels

Q: In a nested structure, the instructions in both the true and false paths should be ____ within the outer selection structure. a. assigned b. bracketed c. collected d. indented

Q: You use a ____ selection structure when more than one decision must be made before the appropriate action can be taken. a. shell b. nested c. logical d. split

Q: A(n) ____ selection structure is contained within the outer selection structure. a. nested b. indented c. coated d. shell

Q: When either a selection structure's true path or its false path contains another selection structure, the inner selection structure is referred to as a(n) ____ structure. a. indented b. nested c. nested selection d. indented selection

Q: The AndAlso operator has a precedence number of 2.

Q: Logical operators are always evaluated before any comparison operators in an expression.

Q: Like expressions containing comparison operators, expressions containing logical operators always evaluate to a Boolean value.

Q: When using radio buttons, a group box is necessary only if you want to include more than one group on a form.

Q: If the property contains the Boolean value True, the radio button is not selected.

Q: The default radio button is the radio button that is automatically selected when an interface first appears.

Q: It is not customary in Windows applications to have one of the radio buttons in a group already selected when the interface first appears.

Q: Radio button are labeled using book title capitalization in the radio button's Text property.

Q: Nested selection structures are often used when coding applications whose interface contains radio buttons.

Q: The instructions in the true path of a nested structure should not be indented within the inner selection structure.

Q: When only one decision needs to be made, it does not require a nested selection structure.

Q: You cannot use a nested selection structure when more than one decision must be made before the appropriate action can be taken.

Q: Only one path in a selection structure can include other selection structures.

Q: Only one path in a selection structure can include instructions that declare variables, perform calculations, and so on.

Q: You use the selection structure to make a decision and then select the appropriate patheither the true path or the false pathbased on the result.

Q: During run time, you can determine whether a check box is selected or unselected by looking at the value in its Checked property.

Q: In Windows applications, check boxes provide one or more independent and nonexclusive items from which the user can choose.

Q: The two flowlines leading out of a diamond should be marked so that anyone reading the flowchart can distinguish the true path from the false path.

Q: The oval in a flowchart is called the selection/repetition symbol.

Q: Arithmetic operators are evaluated after any comparison operators in an expression.

Q: Comparison operators in Visual Basic do not have an order of precedence.

Q: Items in square brackets are required in the syntax of an algorithm.

Q: Selection structures that contain instructions in the true path and the false path are referred to as double-alternative selection structures.

Q: The selection structure is referred to as a single-alternative selection structure because it requires one or more actions to be taken only when its condition evaluates to true.

Q: A programmer determines whether a problem's solution requires a selection structure by studying the problem specification.

Q: Many times the next instruction processed depends on the result of a decision that must be made.

Q: A variable declared within a statement block is called a ____. a. block-level variable b. restricted variable c. contained variable d. simple variable

Q: A variable that has ____ scope can be used only within the statement block in which it is declared. a. global b. procedure c. internal d. block

Q: A variable that has ____ scope can be used anywhere within the procedure. a. global b. procedure c. internal d. block

Q: In a flowchart, a(n) ____ represents the condition in a selection structure. a. parallelogram b. rectangle c. diamond d. oval

Q: The Text property of a check box should be entered using ____. a. all lowercase letters b. all uppercase letters c. sentence capitalization d. book capitalization

Q: The ____ in a flowchart is called the decision symbol. a. parallelogram b. rectangle c. diamond d. oval

Q: The ____ in a flowchart is the input/output symbol. a. parallelogram b. rectangle c. diamond d. oval

1 2 3 … 99 Next »

Subjects

Accounting Anthropology Archaeology Art History Banking Biology & Life Science Business Business Communication Business Development Business Ethics Business Law Chemistry Communication Computer Science Counseling Criminal Law Curriculum & Instruction Design Earth Science Economic Education Engineering Finance History & Theory Humanities Human Resource International Business Investments & Securities Journalism Law Management Marketing Medicine Medicine & Health Science Nursing Philosophy Physic Psychology Real Estate Science Social Science Sociology Special Education Speech Visual Arts
Links
  • Contact Us
  • Privacy
  • Term of Service
  • Copyright Inquiry
  • Sitemap
Business
  • Finance
  • Accounting
  • Marketing
  • Human Resource
  • Marketing
Education
  • Mathematic
  • Engineering
  • Nursing
  • Nursing
  • Tax Law
Social Science
  • Criminal Law
  • Philosophy
  • Psychology
  • Humanities
  • Speech

Copyright 2025 FinalQuiz.com. All Rights Reserved