Basic Introduction to Programming MCQ
1. To ________ a module (or subprogram) means to cause execution to transfer to that module.
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.
Note: This Question is unanswered, help us to find answer for this one
6. Programmers use the term ____ to describe programs
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.
Note: This Question is unanswered, help us to find answer for this one
8. When loops are nested, _____.
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 _________.
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.
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.
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.
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.
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 ______.
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.
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.
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.
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.
Note: This Question is unanswered, help us to find answer for this one
28. The ____ loop is particularly useful when processing arrays.
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.
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 ____.
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) _____.
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) ________.
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.
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.
Note: This Question is unanswered, help us to find answer for this one
39. You usually use the for loop with ____ loops.
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.
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.
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.
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.
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 ________.
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.
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 ____.
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.
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 _____.
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.
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 ________.
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.
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.
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.
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.
Note: This Question is unanswered, help us to find answer for this one
71. The statement: return 8, 10; returns the value ____.
Note: This Question is unanswered, help us to find answer for this one
72. The starting point of a c# program is the _____ method.
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.
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.
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.
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.
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.
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.
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.
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
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.
Note: This Question is unanswered, help us to find answer for this one
94. Invoking ________ removes all elements in an arraylist x.
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.
Note: This Question is unanswered, help us to find answer for this one
97. In many languages the case structure is called a ____________ statement.
Note: This Question is unanswered, help us to find answer for this one
98. In c++, ____ is called the address of operator.
Note: This Question is unanswered, help us to find answer for this one
99. In c++, ____ is a reserved word.
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.
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.
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.
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 ________.
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.
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.
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.
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 ________.
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.
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.
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 ___________.
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.
Note: This Question is unanswered, help us to find answer for this one
124. Another term for an object of a class is _____.
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 ____.
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.
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.
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.
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.
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.
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
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).
Note: This Question is unanswered, help us to find answer for this one
148. A function ________ return a structure.
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.
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.
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.
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.
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.
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.
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.
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.
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).
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.
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.
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.
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 ____________.
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.
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.
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.
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) ____.
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 ____.
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.
Note: This Question is unanswered, help us to find answer for this one
184. A variable usually is passed into a method by ____.
Note: This Question is unanswered, help us to find answer for this one
185. The statement system.out.printf("%3.1f", 1234.56) outputs ________.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 ____.
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.
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.
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.
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.
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.
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.
Note: This Question is unanswered, help us to find answer for this one
216. The ____ operator is always evaluated before the or operator.
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.
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.
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.
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.
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.
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.