Data Structures and Performance | Week 1
Course Name: Data Structures and Performance
Course Link: Data Structures and Performance
These are Data Structures and Performance Week 1 Coursera Answers
Q1. Which of the following will you learn in this course? Select all that apply.
- The difference between an abstract data type (ADT) and its implementation.
- How to analyze the performance of code, both using Big-O notation and through benchmarking experiments.
- How to implement the LinkedList data structure.
- How to test your code using the JUnit framework.
- How to implement data structures using the Python programming language.
Answer: The difference between an abstract data type (ADT) and its implementation., How to analyze the performance of code, both using Big-O notation and through benchmarking experiments., How to implement the LinkedList data structure., How to test your code using the JUnit framework.
Q2. True or False: We recommend you take a linear path through this course, watching each resource in the order in which it occurs.
- True
- False
Answer: False
These are Data Structures and Performance Week 1 Coursera Answers
Q3. True or False: The Document class is an abstract class.
- True
- False
Answer: True
Q4. Which of the following is a correct statement about the class hierarchy in the starter code:
- Document is a subclass of BasicDocument
- Both BasicDocument and EfficientDocument are subclasses of Document
- BasicDocument is a subclass of Document and EfficientDocument is a subclass of BasicDocument.
Answer: Both BasicDocument and EfficientDocument are subclasses of Document
These are Data Structures and Performance Week 1 Coursera Answers
Q5. Which method in the Document class is called when the user of the MainApp (the text application) clicks the Flesch Index button?
- getFleschScore()
- getText()
- getNumWords()
- getTokens()
Answer: getFleschScore()
Q6. Have you worked with Strings in Java before?
- Yes, extensively
- A little bit
- No, not at all
Answer: A little bit
These are Data Structures and Performance Week 1 Coursera Answers
More Weeks of the course: Click Here
More Coursera courses: https://progiez.com/coursera