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

WGU C949 - Data Structures And Algorithms exam with 100% correct answers 2024

Rating
-
Sold
-
Pages
15
Grade
A+
Uploaded on
08-02-2024
Written in
2023/2024

WGU C949 - Data Structures And Algorithms exam with 100% correct answers 2024 What is a data structure? - answerAn arrangement of data inside a computers memory or a disk. Name 5 data types - answerBLASH: binary trees, linked lists, arrays, stacks, hash tables What do algorithms do? - answerManipulate the data in data structures in various ways such as sorting. What is real-world storage data? - answerData structure storage that describes physical entities external to the computer. Accessed by a programs user. What are programmer's tools? - answerData structure storage that is accessed by the program itself. Ex - stacks and queues. What is real-world modeling? - answerData structures that directly model real-world situations...think graphs. What is an object? - answerA software bundle of variables and related methods. What is a class? - answerA blueprint that defines an objects variables and methods. The keyword "new" is used to do what? - answerCreate a new object in Java. An object is often referred to as: - answerAn instance of a class. d(); is and example of - answerInvoking a method for a specific object. Execution of the program starts where? - answermain() To create an object in Java you must do two things: - answer1. Use the keyword "new" 2. Store a reference to the object in a variable that is the same type as the class. So: Object = new ClassReference(); How do other parts of your program interact with objects? - answerBy interacting with an objects methods What is a constructor? - answerA special method that is called automatically whenever a new object is created. It prepares the object for use. How is the constructor named? - answerIt has the same name as the class it resides in. A field of method that is private can only be accessed by - answerMethods that are apart of the same class. Any outside entity that wants to access data in a class can do so by: - answerUsing a method of that class. What must be added to all input methods for them to work? - answerthrows IOException What does the charAt() method do? - answerReturns a character at the specific position in the string object. What does the parse.Int() method do? - answerConverts the string type into an integer. What is an array? - answerA container object that holds multiple values of the same type. What are the two types of data in java? - answerPrimitive types (int, char, boolean,long, double etc) and objects. Why must you use the key word "new" when creating an array? - answerArrays in java are treated as objects. What does the [] operator tell the compiler? - answerThat we are naming an array object. What are the steps to creating an array? - answerMRCNL: Main(), Reference, Create an Array, Number of Items, Loop. long [] arr is; an example of: - answerReferencing an array. arr = new long [100];is an example of: - answerCreating an array. int nElems = 0; is an example of: - answerThe number of items in the array . int x; is an example of: - answerA loop creator. What does the searchKey variable do? - answerIT holds the value we are looki

Show more Read less
Institution
WGU C949
Course
WGU C949









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

Written for

Institution
WGU C949
Course
WGU C949

Document information

Uploaded on
February 8, 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.
Brainbarter Kaplan University
View profile
Follow You need to be logged in order to follow users or courses
Sold
323
Member since
2 year
Number of followers
153
Documents
22254
Last sold
5 hours ago
A+ STUDY MATERIALS.

We offer a wide range of high-quality study materials, including study guides practice exams and flashcards. WELCOME.

3.5

54 reviews

5
21
4
8
3
12
2
4
1
9

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