Finalquiz Logo

Q&A Hero

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

Home » Computer Science » Page 85

Computer Science

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

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

Q: The instructions in the true path are processed only when the condition evaluates to ____. a. greater than b. True c. equal to d. False

Q: Operators are called ____ operators because they are used to compare values. a. test b. comparison c. change d. binary

Q: The set of statements contained in the true path, as well as the set of statements contained in the false path, is referred to as a(n) ____. a. statement block b. conditional block c. executable code block d. path block

Q: In the If…Then…Else statement, the condition must be a(n) ____ expression. a.arithmeticb.conditional c.constantd.Boolean

Q: In the If…Then…Else statement, the programmer must supply the ____ that the computer needs to evaluate before further processing can occur. a.conditionb.execution c.orderd.path

Q: The ____ structure makes a decision and then takes an appropriate action based on that decision. a. loop b. condition c. selection d. case

Q: More unintentional errors occur in applications when the variables are declared using the minimum scope needed.

Q: Although there is nothing wrong with declaring all variables at the beginning of a procedure, many programmers would prefer to create a variable only if it is necessary to do so.

Q: Unlike variables declared at the beginning of a procedure, variables declared within a statement block have block scope rather than procedure scope.

Q: Unlike the variables declared at the beginning of a procedure, variables declared within a statement block in a selection structure remain in memory until the procedure ends.

Q: An expression that attempts to divide a value by the number 0 will result in a ____ error. a. syntax b. logic c. run time d. sequence

Q: You can use a ____ to pause execution at a specific line in the code. a. comment b. breakpoint c. function header d. wait

Q: While stepping through a program in the debugger, the ____ statements are skipped over because they are not considered executable by the debugger. a. If b. Next c. For d. Dim

Q: When debugging, to execute the highlighted instruction, you can use either the Debug menu's Step Into option or the ____ key on your keyboard. a. F2 b. F6 c. F8 d. F12

Q: Entering instructions in the wrong order in a program can cause a ____ error. a. logic b. sequential c. function d. composition

Q: A ____ error can occur for a variety of reasons, such as forgetting to enter an instruction or entering the instructions in the wrong order. a. syntax b. function c. computer d. logic

Q: In the Error List window, ____ indicate that the Code Editor has some suggestions for fixing the errors. a. red jagged lines b. blue jagged lines c. red rectangles d. blue triangles

Q: The ____ window provides a description of each error and the location of each error in the code. a. Code b. Error List c. Project d. Solution

Q: In the Code Editor window, the ____ alert you that three lines of code contain a syntax error. a. jagged red lines b. thin blue boxes c. thick red boxes d. jagged blue lines

Q: Most syntax errors are a result of ____ errors that occur when entering instructions. a. typing b. automatic c. computer d. system

Q: A ____ error occurs when you break one of the language's rules. a. compiler b. linking c. syntax d. logic

Q: The set of rules you must follow when using a programming language is called the language's ____. a. syntax b. rules c. order d. object

Q: Program bugs are typically categorized as syntax errors, logic errors, or ____ errors. a. debug b. run time c. compiler d. program

Q: The process of locating and correcting any bugs in a program is called ____. a. exterminating b. debugging c. compiling d. linking

Q: An error in a program's code is referred to as a ____. a. feature b. function c. mental exercise d. bug

Q: A run time error is an error that occurs while an application is running.

Q: Stepping through code one line at a time is the only way to search for logic errors.

Q: The letter D indicates that the data type of the variable's value is Decimal.

Q: When debugging, while the execution of a procedure's code is paused, you can view the contents of controls and variables that appear in the highlighted statement, as well as in the statements above it in the procedure.

Q: Some logic errors occur as a result of calculation statements that are correct syntactically, but incorrect mathematically.

Q: Unlike logic errors, syntax errors are much more difficult to find because they do not trigger an error message from the Code Editor.

Q: The Error List window displays a red rectangle next to each error in the code.

Q: The Code Editor detects most syntax errors as you enter the instructions.

Q: Logic errors are the easiest to find.

Q: Program bugs typically are caused by either syntax errors or logic errors.

Q: As the amount of code increases, so does the likelihood for errors.

Q: One advantage of variables and named constants is that their use requires fewer lines of code.

Q: You can use variables to store the values of processing items, which do not appear in a user interface.

Q: Both constant and variable memory locations make your code more self-documenting and easier to understand.

Q: You can only use variable memory locations to control the data type of numbers used in calculations.

Q: The format specifier ____ does not include a dollar sign, and negative values are preceded by a minus sign. a. C or c b. N or n c. F or f d. P or p

Q: You can format a number using the syntax ____. a. numericVariableName.ToString(formatString) b. formatString.ToString(numericVariableName) c. ToString.numericVariableName(formatString) d. numericVariableName.formatString(ToString)

Q: A ____ is text that is enclosed in double quotation marks. a. word b. character list c. word array d. string

Q: Specifying the number of decimal places and the special characters to display in a number is called ____. a. describing b. controlling c. formatting d. highlighting

Q: You create a named constant using the ____ statement. a. NamedC b. Const c. NConst d. NoAlter

Q: A ____ is a memory location whose value cannot change while the application is running. a. named constant b. variable c. predefined variable d. touched variable

Q: Programmers refer to the length of time a variable remains in memory as its ____. a. size b. depth c. usefulness d. lifetime

Q: ____ refers to the area where a variable is recognized in an application's code. a. Scope b. Field of view c. Blocking d. Object control

Q: A procedure-level variable has ____ scope. a. program b. procedure c. variable d. Boolean

Q: The basic syntax of the TryParse method is ____. a. TryParse(text, numericVariableName) dataType b. TryParse(text, numericVariableName) c. dataType.TryParse(text, numericVariableName) d. dataType TryParse text, numericVariableName

Q: To declare a variable in an event procedure, where most variables are declared, you use the Visual Basic ____ statement. a. Sub b. New c. Create d. Dim

Q: Memory locations are called ____ because their contents can change (vary) as the program is running. a. variables b. invariables c. constants d. parameters

Q: When you start an application, each program instruction is placed in a ____, where it awaits processing. a. hard core b. memory location c. register d. processor

Q: A ____ is a value that can be True or False. a. Truth b. Boolean value c. Dim d. Scope

Q: The ____ memory of a computer is composed of memory locations. a. external b. hidden c. internal d. special

Q: When formatting characters, you can use either an uppercase letter or a lowercase letter as the format specifier.

Q: The formatString argument in the ToString method must take the form "xAA", where AA is the format specifier and x is the precision specifier.

Q: When a named constant's value needs to be changed, the programmer must change its value in its declaration statement.

Q: The value in a named constant can change during run time.

Q: In addition to reserving (or declaring) variables in a program, you also can declare named constants.

Q: The desk-check table for a program will contain two columns for each variable.

Q: A procedure-level variable has the same lifetime as the procedure in which it is declared.

Q: The TryParse method parses the text, which means it looks at each character in the text, to determine whether the text can be converted to a number of the specified data type.

Q: Every numeric data type in Visual Basic has a TryText method that can be used to convert text to that numeric data type.

Q: It is customary to enter the variable declaration statements at the end of the procedure.

Q: You use a problem's solutionin other words, its output, processing, and input information and its algorithmto determine the variables to use when coding an application.

Q: Because control names typically are more concise than variable names, using control names in an expression makes the expression much shorter and easier to understand.

Q: You reserve a memory location using a Visual Basic instruction that assigns both a name and data type to the memory location.

Q: An item stored in a memory location can be a number, text or a Boolean value.

Q: Each memory location inside a computer can hold only one item of data at a time.

Q: The area above the Public Class clause is called the ____ section. a. Comments b. General Declarations c. Function d. Argument

Q: The equal sign in an assignment statement is referred to as the ____. a. assignment unit b. assignment controller c. assignment operator d. assignment status

Q: A(n) ____ is used to assign a value to something (such as the property of a control) while an application is running. a. assignment statement b. loop statement c. selection statement d. decision statement

Q: After dividing the numbers, the ____ operator returns the remainder of the division. a. division b. modulus c. remainder d. integer division

Q:

Q: ____ indicate the order in which the computer performs the operation in an expression. a. Order numbers b. Operation order numbers c. Precedence numbers d. Operation numbers

Q: The function Val(txtSales.Text) returns the number ____ when the txtSales control is empty. a. -1 b. 0 c. 1 d. 2

Q: An ____ represents information that is passed to the function while the function is processing. a. argument b. item c. object d. assignment

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