100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CSE 2221 Actual Exam | Study Questions with 100% Correct Verified Answers $12.49   Add to cart

Exam (elaborations)

CSE 2221 Actual Exam | Study Questions with 100% Correct Verified Answers

 8 views  0 purchase
  • Course
  • CSE 2221
  • Institution
  • CSE 2221

CSE 2221 Actual Exam | Study Questions with 100% Correct Verified Answers

Preview 2 out of 6  pages

  • September 7, 2024
  • 6
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • CSE 2221
  • CSE 2221
avatar-seller
KenAli
CSE 2221 Actual Exam | Study Questions
with 100% Correct Verified Answers

Javadoc comment - ANSWER starts with symbol /**
goes before the methodheader



API - ANSWER application programming interface - this is where the javadoc tags
are attatched to the java code



assert statement - ANSWER checks whether a condition is true, if it is not it stops
the execution and reports the message after the colon


what are trees made up of - ANSWER nodes
child nodes
branches
leaf nodes


the size of a tree equals - ANSWER the total number of nodes (including the root)


what number does length start at - ANSWER 1 and it goes down



how are children numbered and in what direction? - ANSWER starts at 0 and goes from
right to left

, attribute of an XML document - ANSWER whatever is in " " of a tag


value of an XML document tag - ANSWER whatever is not in " " of a tag


information in an XML document is - ANSWER hierarchical


every node in a tree has a ____ string that is either the tag name or the text content
itself - ANSWER label



All methods for XMLTrees are ___ methods - ANSWER instance
ex: t.methodName(arguments)



String label ( ) - ANSWER returns the label of the root of
this ex:
String s = t.label ();
output:
s = "book"


isTag () is a ____ that - ANSWER boolean -- ensures the label of the root is a tag



hasAttribute(String name) is a ___ that - ANSWER boolean -- returns whether the
root tag has an attribute



String attributeValue(String name) - ANSWER returns the value associated with the
attribute of the root tag of this called name

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller KenAli. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $12.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

79271 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$12.49
  • (0)
  Add to cart