100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

CSIS 212 Final Exam.

Rating
-
Sold
-
Pages
15
Grade
A+
Uploaded on
22-01-2024
Written in
2023/2024

CSIS 212 Final Exam. Course 202020 Spring 2020 CSIS 212-B01 LUO Test Final Exam Started 3/6/20 7:51 PM Submitted 3/6/20 8:45 PM Due Date 3/6/20 11:59 PM Status Completed Attempt Score 144 out of 150 points Time Elapsed 53 minutes out of 2 hours Instructions covers Modules/Weeks 5–8 open-book, open-notes 2-hour time limit 50 questions - Multiple Choice and True/False Do not click the BACK button because this will lock you out of the exam. The timer will continue if you leave this exam without submitting it. Results Displayed Submitted Answers, Feedback • Question 1 3 out of 3 points Which statement below could be used to simulate the outputs of tossing a quarter to get heads or tails? Suppose randomNumbers is a SecureRandom object. Selected Answer: randomNInt(2); • Question 2 3 out of 3 points Overloaded methods always have the same . Selected Answer: method name • Question 3 3 out of 3 points The identifiers in an enumeration . Selected Answer: must be unique. • Question 4 3 out of 3 points Declaring main as static allows the JVM to invoke main . Selected Answer: without creating an instance of the class in which main is declared. • Question 5 3 out of 3 points Variables should be declared as fields only if . Selected Answer: they are required for use in more than one method or their values must be saved between calls to the class’s methods • Question 6 3 out of 3 points The package contains classes for manipulating all of the following items except . Selected Answer: classes • Question 7 3 out of 3 points Which set of statements totals the items in each row of two-dimensional array items, and displays each row’s total? Selected Answer: for (int row = 0; row h; row++) { int total = 0; for (int column = 0; column items[row].length; column++) { total += items[row][column]; Sf("Row %d's total is %d%n", row, total); } • Question 8 Which of the following statements is false? 3 out of 3 points Selected Answer: When an argument is passed by reference, the called method can access the argument’s value in the caller directly but cannot modify it. • Question 9 A programmer must do the following before using an array: 3 out of 3 points Selected Answer: declare then create the array. • Question 10 0 out of 3 points How many Book objects are created by the following statement? Book[] books = new Book[10]; Selected Answer: None of the above. • Question 11 In Java, multidimensional arrays . 3 out of 3 points Selected Answer: All of the above. • Question 12 3 out of 3 points What do the following statements do? double[] array; array = new double[14]; Selected Answer: Create a double array containing 14 elements. • Question 13 3 out of 3 points A constructor cannot: Selected Answer: Constructors: Selected Answer: specify return types or return values. • Question 14 Both (a) and (c). • Question 15 3 out of 3 points 3 out of 3 points Which syntax imports all static members of class Math? Selected Answer: import static .Math.*. • Question 16 3 out of 3 points Using public set methods helps provide data integrity if: Selected Answer: Both b and c. • Question 17 3 out of 3 points Instance variables declared final do not or cannot: Selected Answer: Be modified after they are initialized. • Question 18 3 out of 3 points When no access modifier is specified for a method or variable, the method or

Show more Read less









Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
January 22, 2024
Number of pages
15
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
QUICKEXAMINER Walden University
View profile
Follow You need to be logged in order to follow users or courses
Sold
89
Member since
2 year
Number of followers
44
Documents
5424
Last sold
1 month ago
QUICK EXAMINER

Looking for high-quality study materials to help you excel? You’re in the right place! I provide well-structured notes, summaries, essays, and research papers across various subjects, all designed to make studying easier and more efficient. Why Choose My Materials? ✔ Comprehensive and well-organized content ✔ Easy-to-understand explanations ✔ Time-saving summaries for exams and research ✔ Carefully curated to ensure accuracy and clarity Each document is crafted to provide valuable insights, helping you grasp concepts quickly and effectively. Whether you're preparing for exams, writing an assignment, or just need clear and concise notes, my resources will support your academic journey. Browse my collection and take your studies to the next level

Read more Read less
3.6

15 reviews

5
5
4
5
3
2
2
0
1
3

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions