Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

16. Solve the following expression: 100 % 25 * 3: * A. 0 B. 3 C. 12 D. 25 E. 100

ID: 3681330 • Letter: 1

Question

16. Solve the following expression: 100 % 25 * 3: * A. 0 B. 3 C. 12 D. 25 E. 100 17. In C++, given the following structure Which of the following statements will initialize a record variable named piece?: *
A. piece(pieceData).set("widget", 0, 30); B. piece(pieceData) = ("widget", 0, 30); C. pieceData piece = {"widget", 0, 30}; D. pieceData piece("widget", 0, 30); E. All of the above will work 18. What is a systematic technique for constructing the software architecture while uncovering errors associated with interfacing?: * A. Regression testing B. Integration testing C. Development testing D. Maintenance testing E. Implementation testing 19. In Java, which of the primitive data types has a range of -2,147,483,648 to +2,147,483,647?: * A. short B. int C. long D. float E. double 20. Which of the following is correct syntax for initializing a two-dimensional array?: *
A. Choice A B. Choice B C. Choice C D. Choice D E. Choice E 21. The hexadecimal number FD3C is what decimal number: * A. 64828 B. 65340 C. 65328 D. 65024 E. 65280 22. Consider the following code below. What is printed?: *
A. 1 2 3 B. 1 2 3 4 C. 1 2 3 5 6 7 8 9 D. 1 2 3 4 5 6 7 8 9 E. 5 6 7 8 9 23. An uncaught exception is: * A. another term for a thrown exception B. a catch block without a corresponding finally block C. an exception that occurs for which the matching catch block is empty D. an exception that occurs for which there are no matching catch blocks E. a possible exception that never occurs during the execution of a program 24. Which of the following in an example of a variable declaration statement?: * A. int extra; B. import java.util.Scanner; C. public static void main(String[] args) D. z = x + y; E. continue 25. Consider the following code below. Which of the following statements is TRUE?: *
A. The code will compile but any code calling method2 would cause a runtime error because method2 is static but calling the non-static method1. B. The code will compile and if any code calls method2, No name given will be printed. C. The code will compile and if any code calls method2, nothing will be printed to the screen. D. The code will not compile because method1 cannot have two different signatures in the same class. E. The code will not compile because method2 is static but calling the non-static method1. 26. In traditional software development, the phase of Systems Implementation: * A. comes immediately after system design phase B. comes immediately before system design phase C. comes immediately after systems analysis phase D. comes immediately before systems analysis phase E. is not a phase in traditional software development 27. Which of the following is not a step for declaring and using a reusable class: * A. Declaring the class public B. Declaring the class final C. Choosing a unique package name and adding a package definition D. Compiling the class E. Import the reusable class by using the package name 28. Iteration and recursion each require a(n): * A. repetition statement B. counter variable C. termination test D. abstract method E. try…catch…finally block 29. Consider the following method below. This method will return true if and only if: *
A. str contains two or more of the same character in a row B. str ends with two or more of the same characters C. str contains two or more of the same characters D. str starts with two or more of the same characters E. str.charAt(0) == str.charAt(1) 30. Consider the following data field and method below.Assume that ArrayList nbrs initially contains the following Integer values. [0, 0, 4, 2, 5, 0, 3, 0] What will ArrayList nbrs contain as a result of executing nbrCheck ? : *
A. [0, 0, 0, 0, 4, 2, 5, 3] B. [4, 2, 5, 3] C. [0, 0, 4, 2, 5, 0, 3, 0] D. [3, 5, 2, 4, 0, 0, 0, 0] E. [0, 4, 2, 5, 3]

Explanation / Answer

16. c (12)

18. b(integration testing)

20. b

21. a(64828)

22. c

24. a

25. a

27. b

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at drjack9650@gmail.com
Chat Now And Get Quote