MCQs > IT & Programming > Introduction To Programming MCQs > Basic Introduction to Programming MCQs

Basic Introduction to Programming MCQ

1. To ________ a module (or subprogram) means to cause execution to transfer to that module.

Answer

Correct Answer: Call

Note: This Question is unanswered, help us to find answer for this one

2. Typically, in a program, a struct is defined ____ in the program.

Answer

Correct Answer: Before the definitions of all the functions

Note: This Question is unanswered, help us to find answer for this one

3. The order of the precedence (from high to low) of the operators binary +, *, &&, ||, & is ________.

Answer

Correct Answer: *, +, &, &&, ||

Note: This Question is unanswered, help us to find answer for this one

4. When properly used, inheritance always involves a ____ relationship.

Answer

Correct Answer: General-to-specific

Note: This Question is unanswered, help us to find answer for this one

5. The priming read is placed ________ the loop.

Answer

Correct Answer: Before

Note: This Question is unanswered, help us to find answer for this one

6. Programmers use the term ____ to describe programs

Answer

Correct Answer: Elegant

Note: This Question is unanswered, help us to find answer for this one

7. You should use a ____ control to provide keyboard access to a list box.

Answer

Correct Answer: Label

Note: This Question is unanswered, help us to find answer for this one

8. When loops are nested, _____.

Answer

Correct Answer: Inner

Note: This Question is unanswered, help us to find answer for this one

9. To obtain the current hour in utc, use ________.

Answer

Correct Answer: System.currentTimeMillis() / 1000 / 60 / 60 % 24

Note: This Question is unanswered, help us to find answer for this one

10. The starting value of an algorithm used to generate a range of numbers is called the _________.

Answer

Correct Answer: Seed

Note: This Question is unanswered, help us to find answer for this one

11. The last statement in a method is a(n) ____.

Answer

Correct Answer: Return statement

Note: This Question is unanswered, help us to find answer for this one

12. In an if...then statement, the ____ symbol is used to test for inequality.

Answer

Correct Answer: <>

Note: This Question is unanswered, help us to find answer for this one

13. ____ files involves combining two or more files while maintaining the sequential order.

Answer

Correct Answer: Merging

Note: This Question is unanswered, help us to find answer for this one

14. Programmers say the statements that are contained in a module have been ____.

Answer

Correct Answer: Encapsulated

Note: This Question is unanswered, help us to find answer for this one

15. Programmers use the term ____ to describe any extra time and resources required by an operation.

Answer

Correct Answer: Overhead

Note: This Question is unanswered, help us to find answer for this one

16. The ________ built-in function is used to read a number that has been typed on the keyboard.

Answer

Correct Answer: Input()

Note: This Question is unanswered, help us to find answer for this one

17. The method name and parameter list constitute the ____.

Answer

Correct Answer: Signature

Note: This Question is unanswered, help us to find answer for this one

18. The string test involves ______.

Answer

Correct Answer: A string

Note: This Question is unanswered, help us to find answer for this one

19. Usually, ____ variables are not considered to be equal unless they are identical.

Answer

Correct Answer: String

Note: This Question is unanswered, help us to find answer for this one

20. When a search returns __________, you can view the results as a list.

Answer

Correct Answer: Statistical values

Note: This Question is unanswered, help us to find answer for this one

21. You use the logical ____ operator to reverse the meaning of a boolean expression.

Answer

Correct Answer: NOT

Note: This Question is unanswered, help us to find answer for this one

22. _____ measures the brightness of a color and ranges from 0% (black) up to 100% (white).

Answer

Correct Answer: Lightness

Note: This Question is unanswered, help us to find answer for this one

23. ____ are arrays that have more than one dimension.

Answer

Correct Answer: Multidimensional arrays

Note: This Question is unanswered, help us to find answer for this one

24. You may define a __________ in the initialization expression of a for loop.

Answer

Correct Answer: Variable

Note: This Question is unanswered, help us to find answer for this one

25. An array name and index are separated using ____.

Answer

Correct Answer: Square brackets

Note: This Question is unanswered, help us to find answer for this one

26. The most neglected aspect of problem-solving is____________

Answer

Correct Answer: Evaluation

Note: This Question is unanswered, help us to find answer for this one

27. A(n) ________ access file is also known as a direct access file.

Answer

Correct Answer: Random

Note: This Question is unanswered, help us to find answer for this one

28. The ____ loop is particularly useful when processing arrays.

Answer

Correct Answer: For

Note: This Question is unanswered, help us to find answer for this one

29. Client/server and p2p are two types of network ______.

Answer

Correct Answer: Architecture

Note: This Question is unanswered, help us to find answer for this one

30. Icloud is a ___________ cloud model.

Answer

Correct Answer: Public

Note: This Question is unanswered, help us to find answer for this one

31. Peter thiel and max levchin developed the first digital wallet in ____.

Answer

Correct Answer: 1998

Note: This Question is unanswered, help us to find answer for this one

32. Good examples of _____ decisions are strategic decisions.

Answer

Correct Answer: Nonprogrammed

Note: This Question is unanswered, help us to find answer for this one

33. A final way to alter an object is through a cascading style sheets (css) _____.

Answer

Correct Answer: ​filter

Note: This Question is unanswered, help us to find answer for this one

34. Another name for an input in a function is a(n) ________.

Answer

Correct Answer: Argument

Note: This Question is unanswered, help us to find answer for this one

35. Once your logic enters the body of a structured loop, ____.

Answer

Correct Answer: The entire loop must execute

Note: This Question is unanswered, help us to find answer for this one

36. ____ was created to fill the need for a teaching tool to encourage structured programming.

Answer

Correct Answer: Pascal

Note: This Question is unanswered, help us to find answer for this one

37. Java, c#, and vb.net are examples of ________.

Answer

Correct Answer: Object-oriented languages

Note: This Question is unanswered, help us to find answer for this one

38. _____ is a string function that returns the number of characters in a string value.

Answer

Correct Answer: Length

Note: This Question is unanswered, help us to find answer for this one

39. You usually use the for loop with ____ loops.

Answer

Correct Answer: Definite

Note: This Question is unanswered, help us to find answer for this one

40. You must have a(n) ________ for every variable you include in a program.

Answer

Correct Answer: Definition

Note: This Question is unanswered, help us to find answer for this one

41. You may use a pointer to a structure as a ________.

Answer

Correct Answer: All of these

Note: This Question is unanswered, help us to find answer for this one

42. You declare a class-level variable using the ____ keyword.

Answer

Correct Answer: Private

Note: This Question is unanswered, help us to find answer for this one

43. You compare two strings s1 and s2 using ________.

Answer

Correct Answer: S1.compareTo(s2

Note: This Question is unanswered, help us to find answer for this one

44. You can use the ________ method to replace an item at a specific location in an arraylist.

Answer

Correct Answer: Cast

Note: This Question is unanswered, help us to find answer for this one

45. You can use the ____ operator to increment or decrement the value of an enumeration type.

Answer

Correct Answer: Cast

Note: This Question is unanswered, help us to find answer for this one

46. You can use the ____ method to accept user input from the keyboard.

Answer

Correct Answer: ReadLine

Note: This Question is unanswered, help us to find answer for this one

47. You can declare two variables with the same name in ________.

Answer

Correct Answer: Diiferent methods in a class

Note: This Question is unanswered, help us to find answer for this one

48. You can create an arraylist using ________.

Answer

Correct Answer: New ArrayList<>()

Note: This Question is unanswered, help us to find answer for this one

49. You can cast a double value to ________.

Answer

Correct Answer: Long

Note: This Question is unanswered, help us to find answer for this one

50. You can break up a long statement into multiple lines as long as you don't break up a ________.

Answer

Correct Answer: All of these

Note: This Question is unanswered, help us to find answer for this one

51. When you write a program that stores a value in a variable, you are using ____ storage.

Answer

Correct Answer: Temporary

Note: This Question is unanswered, help us to find answer for this one

52. When they have the same name, variables within ____ of a class override the class?s fields.

Answer

Correct Answer: Methods

Note: This Question is unanswered, help us to find answer for this one

53. When the ________ is placed in front of a variable name, it returns the address of that variable.

Answer

Correct Answer: Ampersand

Note: This Question is unanswered, help us to find answer for this one

54. When one control statement is located within another, it is said to be ____.

Answer

Correct Answer: Nested

Note: This Question is unanswered, help us to find answer for this one

55. When a primary key combines two or more fields, it is called a ____ key.

Answer

Correct Answer: Composite

Note: This Question is unanswered, help us to find answer for this one

56. When a piece of data is written to a file, it is copied from a variable in ________ to the file.

Answer

Correct Answer: RAM

Note: This Question is unanswered, help us to find answer for this one

57. When a function is called by its name, then it is _____.

Answer

Correct Answer: Executed

Note: This Question is unanswered, help us to find answer for this one

58. When a data field within a class is ____, no outside class can use it?including a child class.

Answer

Correct Answer: Private

Note: This Question is unanswered, help us to find answer for this one

59. When a continue statement is executed in a ____, the update statement always executes.

Answer

Correct Answer: While loop

Note: This Question is unanswered, help us to find answer for this one

60. When ____ are introduced in a program, they are immediately given a value.

Answer

Correct Answer: Module Variables

Note: This Question is unanswered, help us to find answer for this one

61. To use the strlen function in a program, you must also write #include ________.

Answer

Correct Answer:

Note: This Question is unanswered, help us to find answer for this one

62. To use files in a c++ program you must include the ________ header file.

Answer

Correct Answer: Fstream

Note: This Question is unanswered, help us to find answer for this one

63. To prevent a class from being instantiated, ________.

Answer

Correct Answer: Use the private modifier on the constructor

Note: This Question is unanswered, help us to find answer for this one

64. To pass an array as an argument to a function, pass the _________ of the array.

Answer

Correct Answer: Name

Note: This Question is unanswered, help us to find answer for this one

65. To correctly swap two values, you create a(n) ____ variable to hold one of the values.

Answer

Correct Answer: Temporary

Note: This Question is unanswered, help us to find answer for this one

66. To check whether a char variable ch is an uppercase letter, you write ________.

Answer

Correct Answer: (ch >= 'A' && ch <= 'Z')

Note: This Question is unanswered, help us to find answer for this one

67. This code is an example of a(n) ____ while loop.

Answer

Correct Answer: EOF-controlled

Note: This Question is unanswered, help us to find answer for this one

68. The while loop is a(n) ________ loop, whereas the do-while loop is a(n) ________ loop.

Answer

Correct Answer: Posttest,Pretest

Note: This Question is unanswered, help us to find answer for this one

69. The value in a(n) ________ variable persists between function calls.

Answer

Correct Answer: Static

Note: This Question is unanswered, help us to find answer for this one

70. The statements that may generate an exception are placed in a ____ block.

Answer

Correct Answer: Try

Note: This Question is unanswered, help us to find answer for this one

71. The statement: return 8, 10; returns the value ____.

Answer

Correct Answer: 10

Note: This Question is unanswered, help us to find answer for this one

72. The starting point of a c# program is the _____ method.

Answer

Correct Answer: Main

Note: This Question is unanswered, help us to find answer for this one

73. The purpose of a(n) ____ is to return a value to the world outside the class.

Answer

Correct Answer: Get methods

Note: This Question is unanswered, help us to find answer for this one

74. The purpose of ____ is to set the values of data fields within the class.

Answer

Correct Answer: Set methods

Note: This Question is unanswered, help us to find answer for this one

75. The public constructors and methods of a class form the public _____ of the class.

Answer

Correct Answer: Interface

Note: This Question is unanswered, help us to find answer for this one

76. The programmer determines the fields and methods of an object and creates the ________ code.

Answer

Correct Answer: Class

Note: This Question is unanswered, help us to find answer for this one

77. The process of ____ is used to create an object from a class.

Answer

Correct Answer: Constructor

Note: This Question is unanswered, help us to find answer for this one

78. The process by which program code is converted into machine language is called ________.

Answer

Correct Answer: Compilation

Note: This Question is unanswered, help us to find answer for this one

79. The pointer is indicating the _____.

Answer

Correct Answer: Both a and b

Note: This Question is unanswered, help us to find answer for this one

80. The ideal type of loop to use if you want a user to enter exactly 20 values is a(n) ________ loop.

Answer

Correct Answer: For

Note: This Question is unanswered, help us to find answer for this one

81. The first step in using the string class is to #include the ________ header file.

Answer

Correct Answer: String

Note: This Question is unanswered, help us to find answer for this one

82. The concept of a class is useful because of its ____.

Answer

Correct Answer: Reusability

Note: This Question is unanswered, help us to find answer for this one

83. The c++ operator ____ is used to create dynamic variables.

Answer

Correct Answer: New

Note: This Question is unanswered, help us to find answer for this one

84. The ___________ allows for output from print statements to occur on a new line.

Answer

Correct Answer: System.out.print

Note: This Question is unanswered, help us to find answer for this one

85. The __________ method immediately terminates the program.

Answer

Correct Answer: System.terminate

Note: This Question is unanswered, help us to find answer for this one

86. The ____ class access modifier means that access to the class is not limited.

Answer

Correct Answer: Public

Note: This Question is unanswered, help us to find answer for this one

87. Opening a(n) ________ file creates a file on disk and allows the program to write data to it.

Answer

Correct Answer: Output

Note: This Question is unanswered, help us to find answer for this one

88. Objects in which all code and required data are contained within the object itself are ____.

Answer

Correct Answer: Encapsulated

Note: This Question is unanswered, help us to find answer for this one

89. Object-oriented programmers also use the term ____ when describing inheritance.

Answer

Correct Answer: Is-a

Note: This Question is unanswered, help us to find answer for this one

90. Object-oriented modeling is based on the object, which combines ________ .

Answer

Correct Answer: Data and processes

Note: This Question is unanswered, help us to find answer for this one

91. Object attributes are often called ____ to help distinguish them from other variables you might use

Answer

Correct Answer: Field

Note: This Question is unanswered, help us to find answer for this one

92. It is important to _____________ a variable in a while loop or the loop will never execute.

Answer

Correct Answer: Loop control

Note: This Question is unanswered, help us to find answer for this one

93. It is important that the loop control ____ be altered within the body of the loop.

Answer

Correct Answer: Variable

Note: This Question is unanswered, help us to find answer for this one

94. Invoking ________ removes all elements in an arraylist x.

Answer

Correct Answer: X.clear

Note: This Question is unanswered, help us to find answer for this one

95. In oop, you declare a class that extends another class. this is called ________.

Answer

Correct Answer: Inheritence

Note: This Question is unanswered, help us to find answer for this one

96. In object-oriented terms, a(n) ____________________ defines an object?s behavior.

Answer

Correct Answer: Method

Note: This Question is unanswered, help us to find answer for this one

97. In many languages the case structure is called a ____________ statement.

Answer

Correct Answer: Switch

Note: This Question is unanswered, help us to find answer for this one

98. In c++, ____ is called the address of operator.

Answer

Correct Answer: *

Note: This Question is unanswered, help us to find answer for this one

99. In c++, ____ is a reserved word.

Answer

Correct Answer: Typedef

Note: This Question is unanswered, help us to find answer for this one

100. In an adt the implementation details are ________ the interface through which a program uses it.

Answer

Correct Answer: Used by

Note: This Question is unanswered, help us to find answer for this one

101. In a(n) ____ copy, two or more pointers have their own data.

Answer

Correct Answer: Deep

Note: This Question is unanswered, help us to find answer for this one

102. In ____ binding, the necessary code to call a specific function is generated by the compiler.

Answer

Correct Answer: Static

Note: This Question is unanswered, help us to find answer for this one

103. If you do not declare an access specification, the default for members of a class is ________.

Answer

Correct Answer: Private

Note: This Question is unanswered, help us to find answer for this one

104. If the start index is ________ the end index, the slicing expression will return an empty string.

Answer

Correct Answer: Greater than

Note: This Question is unanswered, help us to find answer for this one

105. If a member variable is declared ________, all objects of that class have access to that variable.

Answer

Correct Answer: Static

Note: This Question is unanswered, help us to find answer for this one

106. If a member of a class is ____, you cannot access it outside the class.

Answer

Correct Answer: Private

Note: This Question is unanswered, help us to find answer for this one

107. Exceptions can be thrown by ________.

Answer

Correct Answer: Throw statement

Note: This Question is unanswered, help us to find answer for this one

108. Exception handling helps you create ________ programs.

Answer

Correct Answer: Fault tolerant

Note: This Question is unanswered, help us to find answer for this one

109. Every object is a _____ of a more general class.

Answer

Correct Answer: Member

Note: This Question is unanswered, help us to find answer for this one

110. Every complete c++ program must have a __________.

Answer

Correct Answer: Function named main

Note: This Question is unanswered, help us to find answer for this one

111. Each repetition of a looping statement is called a(n) ____.

Answer

Correct Answer: Iteration

Note: This Question is unanswered, help us to find answer for this one

112. Dynamic memory allocation occurs ________.

Answer

Correct Answer: Both

Note: This Question is unanswered, help us to find answer for this one

113. Division by zero is a ________ error that is caught when the program executes.

Answer

Correct Answer: Runtime

Note: This Question is unanswered, help us to find answer for this one

114. Declaring main as ________ allows the jvm to invoke main without creating an instance of the class.

Answer

Correct Answer: Static

Note: This Question is unanswered, help us to find answer for this one

115. Declaration statements ________.

Answer

Correct Answer: All of these

Note: This Question is unanswered, help us to find answer for this one

116. Data types that are created by the programmer are known as ________.

Answer

Correct Answer: Abstract data types

Note: This Question is unanswered, help us to find answer for this one

117. Comments are ignored by the computer when the program ___________.

Answer

Correct Answer: Executes

Note: This Question is unanswered, help us to find answer for this one

118. Class templates are called ____ types.

Answer

Correct Answer: Parameterized

Note: This Question is unanswered, help us to find answer for this one

119. Calculations are normally performed by ____________ statements.

Answer

Correct Answer: Assignment

Note: This Question is unanswered, help us to find answer for this one

120. C++ allows you to redefine the way ________ work when used with class objects.

Answer

Correct Answer: Standard operators

Note: This Question is unanswered, help us to find answer for this one

121. "arguments are passed to the base class destructor function by the ________ class ________ function.

Answer

Correct Answer: Derived,destructor

Note: This Question is unanswered, help us to find answer for this one

122. Arguments are contained inside ____ after the name of the procedure to be called.

Answer

Correct Answer: Parentheses

Note: This Question is unanswered, help us to find answer for this one

123. Any field declared with keyword ________ is constant.

Answer

Correct Answer: Final

Note: This Question is unanswered, help us to find answer for this one

124. Another term for an object of a class is _____.

Answer

Correct Answer: Instance

Note: This Question is unanswered, help us to find answer for this one

125. An operation that copies a value into a variable is called a(n) ________ operation.

Answer

Correct Answer: Assignment

Note: This Question is unanswered, help us to find answer for this one

126. An array can be used to replace ____.

Answer

Correct Answer: Nested Decisions

Note: This Question is unanswered, help us to find answer for this one

127. An aggregation relationship is usually represented as __________ in ___________.

Answer

Correct Answer: Data field/ aggregating class

Note: This Question is unanswered, help us to find answer for this one

128. All objects in an object-oriented program are instantiated (created) from a ____.

Answer

Correct Answer: Class

Note: This Question is unanswered, help us to find answer for this one

129. A(n) ____________________ in a hierarchical model is the equivalent of a record in a file system.

Answer

Correct Answer: Segment

Note: This Question is unanswered, help us to find answer for this one

130. A(n) ________ member variable may be accessed before any objects of the class have been declared.

Answer

Correct Answer: Static

Note: This Question is unanswered, help us to find answer for this one

131. A(n) ________ can be used to specify the starting values of an array.

Answer

Correct Answer: Initialization list

Note: This Question is unanswered, help us to find answer for this one

132. A(n) _____ shows the object classes and relationships involved in a use case.

Answer

Correct Answer: Class diagram

Note: This Question is unanswered, help us to find answer for this one

133. A(n) ____ variable keeps track of how many times a loop has executed.

Answer

Correct Answer: Counter

Note: This Question is unanswered, help us to find answer for this one

134. A(n) ____ statement is used to end the execution of a switch statement.

Answer

Correct Answer: Break

Note: This Question is unanswered, help us to find answer for this one

135. A(n) ____ read is used to prepare or set up a loop.

Answer

Correct Answer: Initialization

Note: This Question is unanswered, help us to find answer for this one

136. A(n) ____ is similar to a variable, except it can be assigned a value only once.

Answer

Correct Answer: Constant

Note: This Question is unanswered, help us to find answer for this one

137. A view is updatable when it is derived from joining two base tables on the ____ of each table.

Answer

Correct Answer: Primary key

Note: This Question is unanswered, help us to find answer for this one

138. A variable that holds the accumulated result of a sum is called a(n) __________.

Answer

Correct Answer: Accumulator

Note: This Question is unanswered, help us to find answer for this one

139. A sub procedure ____ argument(s).

Answer

Correct Answer: Can accept any

Note: This Question is unanswered, help us to find answer for this one

140. A struct is a(n) ____________________, not a declaration.

Answer

Correct Answer: User defined data

Note: This Question is unanswered, help us to find answer for this one

141. A program must __________ without any errors before it can be run.

Answer

Correct Answer: Compilation error

Note: This Question is unanswered, help us to find answer for this one

142. A pointer variable may be initialized with ________.

Answer

Correct Answer: A valid address in the computer's memory

Note: This Question is unanswered, help us to find answer for this one

143. A member function that is declared ________ may not access any non-static data members in the class

Answer

Correct Answer: Static

Note: This Question is unanswered, help us to find answer for this one

144. A good reason for overloading an operator is to enable it to ________.

Answer

Correct Answer: Work in usual ways

Note: This Question is unanswered, help us to find answer for this one

145. A generic class is defined ____ on the class definition line.

Answer

Correct Answer: By inserting an identifier between left and right angled brackets

Note: This Question is unanswered, help us to find answer for this one

146. A function may return a pointer, but the programmer must ensure that the pointer ________.

Answer

Correct Answer: Still points to a valid object after the function ends

Note: This Question is unanswered, help us to find answer for this one

147. A function can have zero to many parameters, and it can have ________ return value(s).

Answer

Correct Answer: One

Note: This Question is unanswered, help us to find answer for this one

148. A function ________ return a structure.

Answer

Correct Answer: Struct

Note: This Question is unanswered, help us to find answer for this one

149. A final field should also be declared ________ if it is initialized in its declaration.

Answer

Correct Answer: Static

Note: This Question is unanswered, help us to find answer for this one

150. A file must be ________ before data can be written to or read from it.

Answer

Correct Answer: Opened

Note: This Question is unanswered, help us to find answer for this one

151. A destructor has the character ____, followed by the name of the class.

Answer

Correct Answer: D= ˜

Note: This Question is unanswered, help us to find answer for this one

152. A derived class always ____ case or instance of the more general base class.

Answer

Correct Answer: Is a

Note: This Question is unanswered, help us to find answer for this one

153. A consistent database is ____.

Answer

Correct Answer: One in which all data integrity constraints are satisfied

Note: This Question is unanswered, help us to find answer for this one

154. A complex combination of topologies is known as a ____ topology.

Answer

Correct Answer: Hybrid

Note: This Question is unanswered, help us to find answer for this one

155. A collection in the items stored there are of different types is referred to as a(n) ________ type.

Answer

Correct Answer: Array

Note: This Question is unanswered, help us to find answer for this one

156. A class-level variable ________.

Answer

Correct Answer: Static Variable

Note: This Question is unanswered, help us to find answer for this one

157. A class specifies the ________ and ________ that a particular type of object has.

Answer

Correct Answer: Variables

Note: This Question is unanswered, help us to find answer for this one

158. A class diagram is a(n) _____ model.

Answer

Correct Answer: Dynamic

Note: This Question is unanswered, help us to find answer for this one

159. A class ____ is a collection of classes that can be made available for developers to use.

Answer

Correct Answer: OOP

Note: This Question is unanswered, help us to find answer for this one

160. A catch block can have, at most, ____ catch block parameter(s).

Answer

Correct Answer: One

Note: This Question is unanswered, help us to find answer for this one

161. A ________ is an attribute or characteristic of an object.

Answer

Correct Answer: Data Member

Note: This Question is unanswered, help us to find answer for this one

162. A ________ is a special variable that receives a value being passed into a procedure or function.

Answer

Correct Answer: Parameter

Note: This Question is unanswered, help us to find answer for this one

163. A ________ is a loop inside another loop.

Answer

Correct Answer: Nested Loop

Note: This Question is unanswered, help us to find answer for this one

164. A ________ file is like a stream of data that must be read from its beginning to its end.

Answer

Correct Answer: Input

Note: This Question is unanswered, help us to find answer for this one

165. A ________ access file is also known as a direct access file.

Answer

Correct Answer: Random

Note: This Question is unanswered, help us to find answer for this one

166. A _____ array lets you change the array's size when the program is running.

Answer

Correct Answer: Preserve

Note: This Question is unanswered, help us to find answer for this one

167. ____ methods are methods that exist to be used with an object created from a class.

Answer

Correct Answer: Non Static

Note: This Question is unanswered, help us to find answer for this one

168. A two-dimensional array contains two dimensions: ____.

Answer

Correct Answer: Height and width

Note: This Question is unanswered, help us to find answer for this one

169. After a program is coded, it must be ____________.

Answer

Correct Answer: Tested

Note: This Question is unanswered, help us to find answer for this one

170. A(n) _________ comment provides an explanation of a portion of code.

Answer

Correct Answer: Step

Note: This Question is unanswered, help us to find answer for this one

171. A(n) _____________ file is a binary file you use to run a program.

Answer

Correct Answer: Executable

Note: This Question is unanswered, help us to find answer for this one

172. A(n) __________ __________ is used to summarize the actions of the logical operators.

Answer

Correct Answer: Truth table

Note: This Question is unanswered, help us to find answer for this one

173. The ________ keyword is required to use relational operators in a case statement.

Answer

Correct Answer: Is

Note: This Question is unanswered, help us to find answer for this one

174. To compare struct variables, you compare them ____.

Answer

Correct Answer: Member-wise

Note: This Question is unanswered, help us to find answer for this one

175. In c++, the ____ symbol is an operator, called the member access operator.

Answer

Correct Answer: .(dot)

Note: This Question is unanswered, help us to find answer for this one

176. If a number is too large to be stored in a variable of the float type, it ________.

Answer

Correct Answer: Causes overflow

Note: This Question is unanswered, help us to find answer for this one

177. To make a check box selected by default, you add ____.

Answer

Correct Answer: checked="checked".

Note: This Question is unanswered, help us to find answer for this one

178. The combination of user login plus password is called ____ authentication.

Answer

Correct Answer: Single-factor

Note: This Question is unanswered, help us to find answer for this one

179. Each measurement of a sound wave is called a(n) ____.

Answer

Correct Answer: Sample

Note: This Question is unanswered, help us to find answer for this one

180. The earliest programming languages are referred to as ____.

Answer

Correct Answer: Low-level languages

Note: This Question is unanswered, help us to find answer for this one

181. Besides making your code easier to modify, using a ____ makes the code easier to understand.

Answer

Correct Answer: Named constant

Note: This Question is unanswered, help us to find answer for this one

182. All array elements have the same group ____.

Answer

Correct Answer: Name

Note: This Question is unanswered, help us to find answer for this one

183. The loop created by the for...next statement is a ____ loop.

Answer

Correct Answer: Pretest

Note: This Question is unanswered, help us to find answer for this one

184. A variable usually is passed into a method by ____.

Answer

Correct Answer: Function

Note: This Question is unanswered, help us to find answer for this one

185. The statement system.out.printf("%3.1f", 1234.56) outputs ________.

Answer

Correct Answer: 1234.6

Note: This Question is unanswered, help us to find answer for this one

186. You can think of the ____ in a method declaration as a funnel into the method.

Answer

Correct Answer: Parentheses

Note: This Question is unanswered, help us to find answer for this one

187. During the evaluation phase of an imc program, a firm will __________ and make needed changes.

Answer

Correct Answer: Posttest the promotion

Note: This Question is unanswered, help us to find answer for this one

188. To define a default field value, add the attribute ____.

Answer

Correct Answer: Value="value"

Note: This Question is unanswered, help us to find answer for this one

189. When you dereference an object pointer, use the ________.

Answer

Correct Answer: -> operator.

Note: This Question is unanswered, help us to find answer for this one

190. To declare a constant max_length inside a method with value 99.98, you write ________.

Answer

Correct Answer: Final double MAX_LENGTH = 99.98;

Note: This Question is unanswered, help us to find answer for this one

191. Variables and constants are ____ within, or local to, only the method in which they are declared.

Answer

Correct Answer: In scope

Note: This Question is unanswered, help us to find answer for this one

192. The action or actions that occur within a loop are known as a(n) ____.

Answer

Correct Answer: Loop body

Note: This Question is unanswered, help us to find answer for this one

193. String constants and _____ refer to the same concept.

Answer

Correct Answer: String literals

Note: This Question is unanswered, help us to find answer for this one

194. You can use either a(n) ___ variable or a bool variable to store the value of a logical expression.

Answer

Correct Answer: Int

Note: This Question is unanswered, help us to find answer for this one

195. The number of elements in an array is called the ____ of the array.

Answer

Correct Answer: Size

Note: This Question is unanswered, help us to find answer for this one

196. The number of bytes in an array is always a multiple of the number of ____ in an array.

Answer

Correct Answer: Elements

Note: This Question is unanswered, help us to find answer for this one

197. When calling this() from a constructor, it must be the ____ statement within the constructor.

Answer

Correct Answer: First

Note: This Question is unanswered, help us to find answer for this one

198. When an object is passed as an argument, ________ is passed into the parameter variable.

Answer

Correct Answer: A reference to the object

Note: This Question is unanswered, help us to find answer for this one

199. You may define a(n) ________ in the initialization expression of a for loop.

Answer

Correct Answer: Variable

Note: This Question is unanswered, help us to find answer for this one

200. You can assign the value of one struct variable to another struct variable of ____ type.

Answer

Correct Answer: The same

Note: This Question is unanswered, help us to find answer for this one

201. Writing a program in a language such as c++ or java is known as _______ the program.

Answer

Correct Answer: Coding

Note: This Question is unanswered, help us to find answer for this one

202. When you learn a method like sorting, programmers say you are learning a(n) ____.

Answer

Correct Answer: Algorithm

Note: This Question is unanswered, help us to find answer for this one

203. When invoking a method with an object argument, ___________ is passed.

Answer

Correct Answer: The reference of the object

Note: This Question is unanswered, help us to find answer for this one

204. When a method is declared with the ________ modifier, it cannot be overridden in a subclass.

Answer

Correct Answer: Final.

Note: This Question is unanswered, help us to find answer for this one

205. When a method ____ another, it takes precedence over the method, hiding the original version.

Answer

Correct Answer: Overrides

Note: This Question is unanswered, help us to find answer for this one

206. When a copy of a variable is sent to a method, it is passed by ____.

Answer

Correct Answer: Value

Note: This Question is unanswered, help us to find answer for this one

207. Use the _____ tag to code embedded styles on a web page.

Answer

Correct Answer:

Note: This Question is unanswered, help us to find answer for this one

208. Two strings are __________ if they contain exactly the same characters in the same order.

Answer

Correct Answer: Equal

Note: This Question is unanswered, help us to find answer for this one

209. Two of the most significant approaches to programming are procedural programming and ____.

Answer

Correct Answer: Object-oriented programming

Note: This Question is unanswered, help us to find answer for this one

210. The selecteditem property of a listbox ________.

Answer

Correct Answer: Contains the text of the currently selected item

Note: This Question is unanswered, help us to find answer for this one

211. The purpose of the ________ is to get the first input value for the validation of a loop.

Answer

Correct Answer: Priming read

Note: This Question is unanswered, help us to find answer for this one

212. The character d is the literal-type character for the ____ data type.

Answer

Correct Answer: Decimal

Note: This Question is unanswered, help us to find answer for this one

213. The ________ statement causes other program statements to execute only under certain conditions.

Answer

Correct Answer: If

Note: This Question is unanswered, help us to find answer for this one

214. The ________ function does the same thing as using the mathematical ∧ operator.

Answer

Correct Answer: Sqrt

Note: This Question is unanswered, help us to find answer for this one

215. The ________ design technique can be used to break down an algorithm into functions.

Answer

Correct Answer: Top-down

Note: This Question is unanswered, help us to find answer for this one

216. The ____ operator is always evaluated before the or operator.

Answer

Correct Answer: AND

Note: This Question is unanswered, help us to find answer for this one

217. Suppose integer x = new integer(3); x holds ________.

Answer

Correct Answer: A reference value to an Integer object

Note: This Question is unanswered, help us to find answer for this one

218. The ____ is often used as a statistic in many cases because it represents a more typical case.

Answer

Correct Answer: Median

Note: This Question is unanswered, help us to find answer for this one

219. The ____ file holds temporary data that is used to update the master file.

Answer

Correct Answer: Transaction

Note: This Question is unanswered, help us to find answer for this one

220. The arguments sent to a method in a method call are often referred to as ____ parameters.

Answer

Correct Answer: Actual

Note: This Question is unanswered, help us to find answer for this one

221. The amount by which a for loop control variable changes is often called a ____ value.

Answer

Correct Answer: Step

Note: This Question is unanswered, help us to find answer for this one

222. The ____ property of a listbox object identifies which item in the listbox was selected.

Answer

Correct Answer: SelectedItem

Note: This Question is unanswered, help us to find answer for this one

223. When you place a block within an if statement, it is crucial to place the ____ correctly.

Answer

Correct Answer: Curly braces

Note: This Question is unanswered, help us to find answer for this one

224. When working with logical operators, you can always use ____ to change precedence.

Answer

Correct Answer: Parentheses

Note: This Question is unanswered, help us to find answer for this one

225. Variables and constants declared within a method are ____ only within that method.

Answer

Correct Answer: In scope

Note: This Question is unanswered, help us to find answer for this one

226. Using multiple threads of execution is known as ____.

Answer

Correct Answer: Multithreading

Note: This Question is unanswered, help us to find answer for this one

227. Use the delete operator only on pointers that were ________.

Answer

Correct Answer: Created with the new operator

Note: This Question is unanswered, help us to find answer for this one

228. Use of an incorrect formula to produce a desired result is a type of __________ error.

Answer

Correct Answer: Logic

Note: This Question is unanswered, help us to find answer for this one

229. Use ________ element to indicate table column headings or table row headings.

Answer

Correct Answer:

Note: This Question is unanswered, help us to find answer for this one

230. The calling method needs to understand only the ____ to the method that is called.

Answer

Correct Answer: Interface

Note: This Question is unanswered, help us to find answer for this one

231. When we consider entities as tables, each row is a ________.

Answer

Correct Answer: Record.

Note: This Question is unanswered, help us to find answer for this one

232. The class ____ is the base of the classes designed to handle exceptions.

Answer

Correct Answer: Exception

Note: This Question is unanswered, help us to find answer for this one

233. The ____ statement prevents automatic conversion of data types.

Answer

Correct Answer: Option Strict On

Note: This Question is unanswered, help us to find answer for this one

234. The conditional operator ?: takes ____ arguments.

Answer

Correct Answer: Three

Note: This Question is unanswered, help us to find answer for this one

235. To test whether a character is a numeric digit character, use the ________ function.

Answer

Correct Answer: Isdigit

Note: This Question is unanswered, help us to find answer for this one

236. The ____ operator can be used to return the address of a private data member of a class.

Answer

Correct Answer: Address of

Note: This Question is unanswered, help us to find answer for this one

237. The project name will be displayed on the ____ of the visual studio window.

Answer

Correct Answer: Title bar

Note: This Question is unanswered, help us to find answer for this one

238. The telecommunications technique used by local email is sometimes referred to as __________.

Answer

Correct Answer: A. Store and forward

Note: This Question is unanswered, help us to find answer for this one

239. Source code is computer code ________.

Answer

Correct Answer: That is written by humans

Note: This Question is unanswered, help us to find answer for this one

240. Some programming languages allow variables to be of logical or __________ type.

Answer

Correct Answer: Boolean

Note: This Question is unanswered, help us to find answer for this one

241. Selectors can be based on ____.

Answer

Correct Answer: All of these

Note: This Question is unanswered, help us to find answer for this one

242. Q is to ________ systems as p is to ________ systems.

Answer

Correct Answer: Fixed quantity, fixed period

Note: This Question is unanswered, help us to find answer for this one

243. Providing values for all the elements in an array is called ____ the array.

Answer

Correct Answer: Populating

Note: This Question is unanswered, help us to find answer for this one

244. Programmers refer to programs that contain meaningful names as ____.

Answer

Correct Answer: Self-documenting

Note: This Question is unanswered, help us to find answer for this one

245. Pointers are variables that contain __________ as their values.

Answer

Correct Answer: Memory addresses

Note: This Question is unanswered, help us to find answer for this one

246. One advantage to using a named constant is that the statement becomes ____.

Answer

Correct Answer: Self-documenting

Note: This Question is unanswered, help us to find answer for this one

247. Once you define a page ____, it can be applied to any grouping element in your document.

Answer

Correct Answer: Inline styles

Note: This Question is unanswered, help us to find answer for this one

248. Objects in an array are accessed with ________, just like any other data type in an array.

Answer

Correct Answer: Subscripts

Note: This Question is unanswered, help us to find answer for this one

249. Objects both in the real world and in object-oriented programming contain ____ and methods.

Answer

Correct Answer: Attributes

Note: This Question is unanswered, help us to find answer for this one

250. Not is a(n) _________ operator

Answer

Correct Answer: Boolean operator

Note: This Question is unanswered, help us to find answer for this one

251. Most browsers underline hyperlinks and display them in a(n) ____ font.

Answer

Correct Answer: Blue

Note: This Question is unanswered, help us to find answer for this one

252. Math.pow(3, 3) returns ________.

Answer

Correct Answer: 9

Note: This Question is unanswered, help us to find answer for this one

253. Many loop control variable values are altered by ____, or adding to them.

Answer

Correct Answer: Incrementing

Note: This Question is unanswered, help us to find answer for this one

254. Loops are frequently used to ____; that is, to make sure it is meaningful and useful.

Answer

Correct Answer: Validate data

Note: This Question is unanswered, help us to find answer for this one

255. Logical operators are sometimes referred to as ____ operators.

Answer

Correct Answer: Boolean

Note: This Question is unanswered, help us to find answer for this one

256. Interactive features help make any type of website ____ and more interesting.

Answer

Correct Answer: Stickier

Note: This Question is unanswered, help us to find answer for this one

257. In the ________ phase a prototype of the website will often be created.

Answer

Correct Answer: Design

Note: This Question is unanswered, help us to find answer for this one

258. In order to get an object to perform a method, a(n) _____ is sent to the object.

Answer

Correct Answer: Message

Note: This Question is unanswered, help us to find answer for this one

259. In most programming languages, before you can use any variable, you must include a ____ for it.

Answer

Correct Answer: Declaration

Note: This Question is unanswered, help us to find answer for this one

260. In most programming languages, before an application can use a data file, it must ____.

Answer

Correct Answer: Open the file

Note: This Question is unanswered, help us to find answer for this one

261. In a truth table, the expression ____ is true.

Answer

Correct Answer: True AND True

Note: This Question is unanswered, help us to find answer for this one

262. In a list, including the _____ property adds a rounded border to each list item.

Answer

Correct Answer: Border-radius

Note: This Question is unanswered, help us to find answer for this one

263. In a dictionary, you use a(n) ________ to locate a specific value.

Answer

Correct Answer: Key

Note: This Question is unanswered, help us to find answer for this one

264. In a ____ loop, the body of the loop will always execute at least once.

Answer

Correct Answer: A do loop

Note: This Question is unanswered, help us to find answer for this one

265. If the expression is false, the ________ operator will return true.

Answer

Correct Answer: NOT

Note: This Question is unanswered, help us to find answer for this one

266. If p → q is true, then ~ q → ~ p is __________ false. always sometimes never

Answer

Correct Answer: Never

Note: This Question is unanswered, help us to find answer for this one

267. If a is true and b is false, then ______________.

Answer

Correct Answer: A AND b is false

Note: This Question is unanswered, help us to find answer for this one

268. Html 4 supports ____ different input types.

Answer

Correct Answer: 10

Note: This Question is unanswered, help us to find answer for this one

269. Function strcmp returns __________ if its first argument is equal to its second argument.

Answer

Correct Answer: Specifically 0

Note: This Question is unanswered, help us to find answer for this one

270. Function is another name for ________.

Answer

Correct Answer: Module

Note: This Question is unanswered, help us to find answer for this one

271. Every array has a(n) ____ size.

Answer

Correct Answer: Finite

Note: This Question is unanswered, help us to find answer for this one

272. Each time a method executes, any parameter variables listed in the method header are ____.

Answer

Correct Answer: Receclared

Note: This Question is unanswered, help us to find answer for this one

273. Each element in a two-dimensional array requires ____ subscript(s) to reference it.

Answer

Correct Answer: Two

Note: This Question is unanswered, help us to find answer for this one

274. Each control element in which the user can enter information is called a(n) ____.

Answer

Correct Answer: Field

Note: This Question is unanswered, help us to find answer for this one

275. Directories and ____ are organization units on storage devices.

Answer

Correct Answer: Folders

Note: This Question is unanswered, help us to find answer for this one

276. Depending on the programming language being used, modules are also known as ____ .

Answer

Correct Answer: Subroutines, procedures, or methods

Note: This Question is unanswered, help us to find answer for this one

277. Css supports styles to define both the text and ______ color for each element on your page.

Answer

Correct Answer: Background

Note: This Question is unanswered, help us to find answer for this one

278. Computer programmers often refer to memory addresses using ____ notation

Answer

Correct Answer: Mathematical

Note: This Question is unanswered, help us to find answer for this one

279. Comparing a variable to a list of values in an array is a process called ____ an array.

Answer

Correct Answer: Searching

Note: This Question is unanswered, help us to find answer for this one

280. Columns and column groups accept only four styles: border, background, ____, and visibility.

Answer

Correct Answer: Width

Note: This Question is unanswered, help us to find answer for this one

281. Classes can create new classes from existing classes. this important feature ____.

Answer

Correct Answer: Results in more software complexity

Note: This Question is unanswered, help us to find answer for this one

282. Class ________ represents an image that can be displayed on a jlabel.

Answer

Correct Answer: ImageIcon

Note: This Question is unanswered, help us to find answer for this one

283. Characters are made up of smaller elements called ____.

Answer

Correct Answer: Bits

Note: This Question is unanswered, help us to find answer for this one

284. By default, most wireless networks are ____.

Answer

Correct Answer: Left unsecured

Note: This Question is unanswered, help us to find answer for this one

285. Before using the data type string, the program must include the header file ____.

Answer

Correct Answer: String

Note: This Question is unanswered, help us to find answer for this one

286. As with the margin property, you can specify any or all of the ____ padding values.

Answer

Correct Answer: Four

Note: This Question is unanswered, help us to find answer for this one

287. Array elements all have the same ____ in common.

Answer

Correct Answer: Data type

Note: This Question is unanswered, help us to find answer for this one

288. An object is ____ that can be treated as an individual unit or component.

Answer

Correct Answer: Programming code and data

Note: This Question is unanswered, help us to find answer for this one

289. An external style sheet uses the _____ file extension.

Answer

Correct Answer: Css

Note: This Question is unanswered, help us to find answer for this one

290. An example of an attribute of an object might be _______.

Answer

Correct Answer: An inventory item

Note: This Question is unanswered, help us to find answer for this one

291. An attribute that contains a collection of related attributes is called a(n) _______.

Answer

Correct Answer: ​compound attribute

Note: This Question is unanswered, help us to find answer for this one

292. A table alias can consist of a maximum of ____ characters.

Answer

Correct Answer: 30

Note: This Question is unanswered, help us to find answer for this one

293. A synonym for a decision structure is a(n) __________ structure.

Answer

Correct Answer: Selection

Note: This Question is unanswered, help us to find answer for this one

294. A structure that has a loop that is inside another loop is called a(n) ________ loop

Answer

Correct Answer: Nested

Note: This Question is unanswered, help us to find answer for this one

295. A string variable can be declared as an array with elements that are of __________ type.

Answer

Correct Answer: Character

Note: This Question is unanswered, help us to find answer for this one

296. A search can be performed on an array of ________ .

Answer

Correct Answer: All of the above

Note: This Question is unanswered, help us to find answer for this one

297. A return statement without any value can be used in ________.

Answer

Correct Answer: Void method

Note: This Question is unanswered, help us to find answer for this one

298. A path consists of _____.

Answer

Correct Answer: Libraries

Note: This Question is unanswered, help us to find answer for this one

299. A mistake programmers often make with loops is that they ____.

Answer

Correct Answer: Include statements inside the loop that belong outside the loop

Note: This Question is unanswered, help us to find answer for this one

300. A member function that is declared ________ cannot use the this pointer.

Answer

Correct Answer: Static

Note: This Question is unanswered, help us to find answer for this one

301. A loop within another loop is known as a(n) ____ loop.

Answer

Correct Answer: Nested

Note: This Question is unanswered, help us to find answer for this one

302. A loop must return to the ____ question at some later point in a structure.

Answer

Correct Answer: Loop-controlling

Note: This Question is unanswered, help us to find answer for this one

303. A list box should contain a minimum of ____ item(s).

Answer

Correct Answer: 3

Note: This Question is unanswered, help us to find answer for this one

304. A for loop provides a convenient way to create a(n) ____ loop.

Answer

Correct Answer: Counter-controlled

Note: This Question is unanswered, help us to find answer for this one

305. A dual-alternative structure is also known as a(n) ___________ structure.

Answer

Correct Answer: If-Then-Else

Note: This Question is unanswered, help us to find answer for this one

306. A data item is ____ when it cannot be changed while a program is running.

Answer

Correct Answer: Constant

Note: This Question is unanswered, help us to find answer for this one

307. A condition is a ________ expression.

Answer

Correct Answer: Boolean

Note: This Question is unanswered, help us to find answer for this one

308. A comparison is correct only when the correct ____ and operator are used

Answer

Correct Answer: Operands

Note: This Question is unanswered, help us to find answer for this one

309. A class selector consists of a ____ followed by a class attribute value.

Answer

Correct Answer: Period

Note: This Question is unanswered, help us to find answer for this one

310. A character’s ____ is an integer that indicates the character’s position in the string.

Answer

Correct Answer: Index

Note: This Question is unanswered, help us to find answer for this one

311. A called method accepts the value of an argument passed to it as its ____.

Answer

Correct Answer: Parameter

Note: This Question is unanswered, help us to find answer for this one

312. A ___________ is a member function that is automatically called when a class object is ___________.

Answer

Correct Answer: Constructor, created

Note: This Question is unanswered, help us to find answer for this one

313. A ________ value in a loop can be either a positive or a negative number.

Answer

Correct Answer: Step

Note: This Question is unanswered, help us to find answer for this one

314. A ________ search uses a loop to sequentially step through an array.

Answer

Correct Answer: Linear

Note: This Question is unanswered, help us to find answer for this one

315. A ________ method does not return a value.

Answer

Correct Answer: Void

Note: This Question is unanswered, help us to find answer for this one

316. A ________ is a program module whose purpose is to test other modules by calling them.

Answer

Correct Answer: Driver

Note: This Question is unanswered, help us to find answer for this one

317. A ________ designs and writes computer codes.

Answer

Correct Answer: Programmer

Note: This Question is unanswered, help us to find answer for this one

318. A ______ is a symbol used to store a location in memory.

Answer

Correct Answer: Variable

Note: This Question is unanswered, help us to find answer for this one

319. A ______ is a program that runs in the background.

Answer

Correct Answer: Process

Note: This Question is unanswered, help us to find answer for this one

320. A ____ is a request to execute a specific method and return a response.

Answer

Correct Answer: Message

Note: This Question is unanswered, help us to find answer for this one

321. A ____ field is used when you want to restrict the data entered into the field to a list of values.

Answer

Correct Answer: Lookup

Note: This Question is unanswered, help us to find answer for this one

322. A ____ defines the name and data type of program variables.

Answer

Correct Answer: Data declaration

Note: This Question is unanswered, help us to find answer for this one

323. A ____ control structure tells a computer what to do based on whether a condition is true or false.

Answer

Correct Answer: Selection

Note: This Question is unanswered, help us to find answer for this one

324. which of the following is a programming language?

Answer

Correct Answer: JavaScript

Note: This Question is unanswered, help us to find answer for this one

325. 4 bits make ________?

Answer

Correct Answer: a nibble

Note: This Question is unanswered, help us to find answer for this one

326. Which of the following is NOT a main computer system component?

Answer

Correct Answer: operating system

Note: This Question is unanswered, help us to find answer for this one

327. Which is the correct order of complexity, from fastest growing to slowest growing:

Answer

Correct Answer: O(2^n), O(n^2), O(n*log(n)), O(n), O(log(n)), O(1)

Note: This Question is unanswered, help us to find answer for this one

328. An example of a single pass language is

Answer

Correct Answer: Ruby, Perl

Note: This Question is unanswered, help us to find answer for this one

329. True or False: You need a sorted array when doing a linear search.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

330. Which of the following does NOT evaluate to true?

Answer

Correct Answer: NOT (true or false)

Note: This Question is unanswered, help us to find answer for this one

331. What is the value of an integer variable before it has been instantiated?

Answer

Correct Answer: Depends on the language specification

Note: This Question is unanswered, help us to find answer for this one

332. If the elements of an array are already sorted then the useful search algorithm is...

Answer

Correct Answer: Binary search

Note: This Question is unanswered, help us to find answer for this one

333. The compiler of the C language is written in...

Answer

Correct Answer: C Language

Note: This Question is unanswered, help us to find answer for this one

334. Given the following code, what will be the value of i when the loop finishes executing? a = 5 i = 0 while (a < 2) { i = i+1 }

Answer

Correct Answer: 0

Note: This Question is unanswered, help us to find answer for this one

335. Which of the following must be true in a Binary Tree?

Answer

Correct Answer: A Binary Tree's nodes have not more than two child nodes, typically named 'left' and 'right'.

Note: This Question is unanswered, help us to find answer for this one

336. A ______ is a machine level programming language.

Answer

Correct Answer: First-Generation programming language (1GL)

Note: This Question is unanswered, help us to find answer for this one

337. What is the decimal value of the hexadecimal number "FF" ?

Answer

Correct Answer: 255

Note: This Question is unanswered, help us to find answer for this one

338. Which of the following is NOT an interpreted language?

Answer

Correct Answer: C++

Note: This Question is unanswered, help us to find answer for this one

339. A do while loop is an example of a ...

Answer

Correct Answer: postcheck loop

Note: This Question is unanswered, help us to find answer for this one

340. For a compiled language, when do syntax errors occur?

Answer

Correct Answer: Compile-time

Note: This Question is unanswered, help us to find answer for this one

341. What is the largest value that be stored in a byte?

Answer

Correct Answer: 255

Note: This Question is unanswered, help us to find answer for this one

342. A while...do loop is an example of a(n)...

Answer

Correct Answer: precheck loop

Note: This Question is unanswered, help us to find answer for this one

343. _______ passes a copy of a variable's value to a procedure and the procedure cannot change the value of the calling program's variable.

Answer

Correct Answer: Pass by value

Note: This Question is unanswered, help us to find answer for this one

344. A ________ is a programming language that executes instructions directly, without previously compiling a program into machine-language instructions.

Answer

Correct Answer: interpretted language

Note: This Question is unanswered, help us to find answer for this one

345. _______ is the set of rules that defines the combinations of symbols that are considered to be a correctly structured code line or fragment in that language.

Answer

Correct Answer: Syntax

Note: This Question is unanswered, help us to find answer for this one

346. What is a parent node in a tree structure?

Answer

Correct Answer: A node that has at least one child node

Note: This Question is unanswered, help us to find answer for this one

347. In order for a binary search to work on an array, which of the following must be true?

Answer

Correct Answer: The array must be sorted.

Note: This Question is unanswered, help us to find answer for this one

348. ________ passes a direct reference of a variable to the procedure and the procedure can change the value of the calling program's variable.

Answer

Correct Answer: Pass by reference

Note: This Question is unanswered, help us to find answer for this one

349. Given a = true, b = false; what is the value returned by (a or b)?

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

350. An example of a LIFO (Last In First Out) data structure is ...

Answer

Correct Answer: a stack

Note: This Question is unanswered, help us to find answer for this one

351. Which of the following is NOT an object oriented programming language?

Answer

Correct Answer: COBOL

Note: This Question is unanswered, help us to find answer for this one

352. Hiding internal data from external programs or objects and allowing access to it through only publicly declared methods is known as ___________.

Answer

Correct Answer: data encapsulation

Note: This Question is unanswered, help us to find answer for this one

353. How many decimal places are in an Integer?

Answer

Correct Answer: 0

Note: This Question is unanswered, help us to find answer for this one

354. ______ is a collection of data items of the same size and type that can be selected by indices computed at run-time.

Answer

Correct Answer: Array

Note: This Question is unanswered, help us to find answer for this one

355. && is a(n) ______ operator:

Answer

Correct Answer: logical

Note: This Question is unanswered, help us to find answer for this one

356. Which of the following is NOT an Integrated Development Environment (IDE)?

Answer

Correct Answer: Notepad

Note: This Question is unanswered, help us to find answer for this one

357. Which of the following is NOT a commonly used comparison operator?

Answer

Correct Answer: Assignment

Note: This Question is unanswered, help us to find answer for this one

358. A precise sequence of steps to solve a problem is called a(n)...

Answer

Correct Answer: algorithm

Note: This Question is unanswered, help us to find answer for this one

359. A ________ variable refers directly to another value stored elsewhere in the computer memory using its address.

Answer

Correct Answer: pointer

Note: This Question is unanswered, help us to find answer for this one

360. Which is more efficient?

Answer

Correct Answer: i += j;

Note: This Question is unanswered, help us to find answer for this one

361. Integer, boolean, and string are examples of a _________.

Answer

Correct Answer: data type

Note: This Question is unanswered, help us to find answer for this one

362. Given the following code logic, when will statement 2 be executed? If (condition) then statement 1 else statement 2 end if

Answer

Correct Answer: When the condition is false.

Note: This Question is unanswered, help us to find answer for this one

363. The correct syntax of do-while loop is...

Answer

Correct Answer: do { statements; } while ( condition );

Note: This Question is unanswered, help us to find answer for this one

364. A garbage collector does what?

Answer

Correct Answer: Reclaims memory occupied by data that is no longer in use.

Note: This Question is unanswered, help us to find answer for this one

365. Given a = true, b = false; what is the value returned by (a and b)?

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

366. Given the following code logic, when will statement 1 be executed? If (condition) then statement 1 else statement 2 end if

Answer

Correct Answer: When the condition is true.

Note: This Question is unanswered, help us to find answer for this one

367. True or False? Floats include decimals

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

368. What does "||" mean in Java?

Answer

Correct Answer: OR

Note: This Question is unanswered, help us to find answer for this one

369. In C++, what does the "%" operator do?

Answer

Correct Answer: Modulo

Note: This Question is unanswered, help us to find answer for this one

370. _______ is a programming paradigm that uses objects to contain data fields and associated programs called methods.

Answer

Correct Answer: object oriented programming

Note: This Question is unanswered, help us to find answer for this one

371. True or False: Java is a cross-platform language?

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

372. What does " = " do?

Answer

Correct Answer: It assigns a value to a variable

Note: This Question is unanswered, help us to find answer for this one

373. Which of the following is the starting index of an array in C++?

Answer

Correct Answer: 0

Note: This Question is unanswered, help us to find answer for this one

374. A _______ is a computer program that transforms source code into another computer language; usually in order to create an executable program.

Answer

Correct Answer: Compiler

Note: This Question is unanswered, help us to find answer for this one

375. If an external object or program needs direct access to a variable in your class, you should declare it as a _______ variable.

Answer

Correct Answer: public

Note: This Question is unanswered, help us to find answer for this one

376. What is Programming?

Answer

Correct Answer: Provide (a computer or other machine) with coded instructions for the automatic performance of a particular task.

Note: This Question is unanswered, help us to find answer for this one

377. What are "Nested" loops?

Answer

Correct Answer: A loop within a loop

Note: This Question is unanswered, help us to find answer for this one

378. How many bits are in a byte?

Answer

Correct Answer: 8

Note: This Question is unanswered, help us to find answer for this one

379. Which of the following is a value of a boolean data type?

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

380. When are "For loops" used?

Answer

Correct Answer: To repeat code a known number of times

Note: This Question is unanswered, help us to find answer for this one

381. In strongly typed languages, a variable must be ________ before it can be used.

Answer

Correct Answer: declared

Note: This Question is unanswered, help us to find answer for this one

382. What digits are in Binary?

Answer

Correct Answer: 0 and 1

Note: This Question is unanswered, help us to find answer for this one

383. In Java, the return type of a function that does not return any value must be ____.

Answer

Correct Answer: void

Note: This Question is unanswered, help us to find answer for this one

384. What is a GUI?

Answer

Correct Answer: A graphical user interface

Note: This Question is unanswered, help us to find answer for this one

385. What does " == " check?

Answer

Correct Answer: Equality between two variables

Note: This Question is unanswered, help us to find answer for this one

386. Which of the following is a programming language?

Answer

Correct Answer: All of these

Note: This Question is unanswered, help us to find answer for this one

387. What does "!=" mean in Java?

Answer

Correct Answer: Not Equal

Note: This Question is unanswered, help us to find answer for this one

388. What does a compiler do?

Answer

Correct Answer: Takes your programming language and converts it to machine readable code

Note: This Question is unanswered, help us to find answer for this one

389. When are "While" loops used?

Answer

Correct Answer: When we don't know how many times a loop has to run, but want it to run when a criteria is active

Note: This Question is unanswered, help us to find answer for this one

390. What is an example of a "Scripting" Language?

Answer

Correct Answer: JavaScript

Note: This Question is unanswered, help us to find answer for this one

391. What is an Array?

Answer

Correct Answer: A list of values

Note: This Question is unanswered, help us to find answer for this one

392. Which of the following is NOT a common data type used in most languages?

Answer

Correct Answer: alphanumeric

Note: This Question is unanswered, help us to find answer for this one

393. What is a "Matrix"?

Answer

Correct Answer: A multi dimensional array

Note: This Question is unanswered, help us to find answer for this one

394. Each pass through a loop is called a(n)...

Answer

Correct Answer: iteration

Note: This Question is unanswered, help us to find answer for this one

395. ______ is an identifier whose value cannot be altered by the program during execution.

Answer

Correct Answer: Constant

Note: This Question is unanswered, help us to find answer for this one

396. Which of the following is NOT a key concept in object oriented programming?

Answer

Correct Answer: Looping

Note: This Question is unanswered, help us to find answer for this one

397. What is debugging a program?

Answer

Correct Answer: Finding and fixing errors in your program.

Note: This Question is unanswered, help us to find answer for this one

398. What is this called: var = (foo == bar) ? 'foo' : 'bar';

Answer

Correct Answer: Ternary operator

Note: This Question is unanswered, help us to find answer for this one

399. True or False: Java is an Object Oriented language?

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one