Exam 1 Review CS 3358.

Slides:



Advertisements
Similar presentations
Reviews for Exam 1 Chapter 1-4 CSc 212 Data Structures, Sec FG CCNY, Fall 2010.
Advertisements

Reviews for Exam 1 Chapter 1-4 CS 211 Data Structures MHC, 2007.
Review for Midterm Chapter 1-9 CSc 212 Data Structures.
 200 Total Points ◦ 74 Points Writing Programs ◦ 60 Points Tracing Algorithms and determining results ◦ 36 Points Short Answer ◦ 30 Points Multiple Choice.
Exam Format  130 Total Points  10 Points Short Answer  15 Points Fill in the Blank  25 Points T/F  60 Points Multiple Choice  20 Points Matching.
Exam Format  90 Total Points  60 Points Writing Programs  25 Points Tracing Code/Algorithms and determining results  5 Points Short Answer  Similar.
Exam 1 Review CS Total Points – 60 Points Writing Programs – 20 Points Tracing Algorithms, determining results, and drawing pictures – 40 Points.
Final Exam Review CS Total Points – 60 Points Writing Programs – 50 Points Tracing Algorithms, determining results, and drawing pictures – 50.
Exam Format  105 Total Points  25 Points Short Answer  20 Points Fill in the Blank  15 Points T/F  45 Points Multiple Choice  The above are approximations.
 140 Total Points ◦ 100 Points Writing Programs ◦ 24 Points Tracing Algorithms and determining results ◦ 16 Points Short Answer  Similar to quizzes.
 200 Total Points ◦ 75 Points Writing Programs ◦ 60 Points Tracing Algorithms and determining results ◦ 35 Points Short Answer ◦ 30 Points Multiple Choice.
CS 1308 Exam 2 Review. Exam Format 110 Total Points 24 Points Short Answer 28 Points Fill in the Blank 16 Points T/F 36 Points Multiple Choice The above.
Final Exam Review CS Total Points – 20 Points Writing Programs – 65 Points Tracing Algorithms, determining results, and drawing pictures – 50.
Exam 2 Review CS 3358 Data Structures. 90 Total Points – 50 Points Writing Programs – 25 Points Tracing Algorithms, determining results, and drawing pictures.
C++ Programming: Program Design Including Data Structures, Fourth Edition Chapter 17: Linked Lists.
C++ Programming: From Problem Analysis to Program Design, Fourth Edition Chapter 18: Linked Lists.
CS 1428 Exam I Review. Exam Format 130 Total Points – 40 Points Writing Programs – 30 Points Tracing Algorithms and determining results – 20 Points Short.
CS 1428 Final Exam Review. Exam Format 200 Total Points – 60 Points Writing Programs – 45 Points Tracing Algorithms and determining results – 20 Points.
Final Exam Review CS 3358.
Unit – I Lists.
C++ Programming:. Program Design Including
CS 215 Final Review Ismail abumuhfouz Fall 2014.
Midterm Review.
CS 1308 Exam I Review.
CS 1428 Exam I Review.
Chapter 4 Linked Lists.
Chapter 1-4 CSc 212 Data Structures, Sec AB CCNY, Spring 2012
Sequences 9/18/ :20 PM C201: Linked List.
CS 1428 Exam II Review.
The Bag and Sequence Classes with Linked Lists
CS 1308 Exam 2 Review.
Exam 2 Review CS 3358 Data Structures.
CS 2308 Final Exam Review.
CS 2308 Exam I Review.
CS 2308 Exam II Review.
CS 2308 Exam II Review.
Review for Exam 1 Topics covered: For each of these data structures
CS 2308 Exam II Review.
Exam 2 Review CS 3358 Data Structures.
CS 1428 Exam I Review.
Exam 1 Review CS 3358.
CS 2308 Exam I Review.
CS 1428 Exam II Review.
CS 2308 Exam I Review.
CSC 143 Queues [Chapter 7].
Exam 2 Review CS 3358 Data Structures.
CS 2308 Exam II Review.
CS 1428 Final Exam Review.
EE 312 Software Design and Implementation I
Doubly Linked List Implementation
Indirection.
Linked Lists Chapter 4.
Chapter 17: Linked Lists.
CS 1428 Final Exam Review.
EE 312 Exam I Review.
Final Review Bina Ramamurthy 4/5/2019 BR.
Review B.Ramamurthy 4/6/2019 BR.
Final Review Bina Ramamurthy 4/15/2019 BR.
EE 312 Final Exam Review.
Final Review B.Ramamurthy 5/8/2019 BR.
Chapter 5 Linked Lists © 2011 Pearson Addison-Wesley. All rights reserved.
Doubly Linked List Implementation
EE 312 Software Design and Implementation I
EE 312 Exam I Review.
CS 1428 Exam I Review.
CS 1308 Exam 2 Review.
For each of these data structures
CS 2308 Final Exam Review.
Chapter 1-4 CSc 212 Data Structures, Sec FG CCNY, 2009
EE 312 Exam I Review.
Presentation transcript:

Exam 1 Review CS 3358

Exam Format 100 Total Points 60 Points Writing Programs 10 Points Tracing Algorithms, determining results, and drawing pictures 30 Points Short Answer Similar to quizzes and programming assignments Note: the point values are approximations

Example Programming Problem Write a function using the given header file for an array-based implementation of a doubly-linked list that will remove the last item in the list.

Example Tracing Problem Draw a picture that depicts the following? struct Node { int data; Node *next; Node *foo; }; … Node *hey; Node *temp = new Node; temp->data = 42; temp->foo = temp; temp->next = NULL; hey = temp; temp = new Node; temp->data = 13; temp->next = hey;

Example Short Answer What is the Big O time analysis of the insert operation in a doubly linked list when inserting before the cursor?

Review of 2308 15 Points Multiple files Command line arguments Using header files Command line arguments OOP concepts. Especially those most useful for containers. Overloaded operators Copy constructors Pointer variables Understand the Climate and Go Fish programs

Analysis of Algorithms 25 points Don’t memorize definition Does the amount of work depend on the size of the input? Should be able to rank as faster or slower Be able to analyze algorithms and code and determine Big O time analysis Especially most common. O(1), O(n), O(n2), O (log2n) Look for loops How fast does the problem shrink?

Vector ADT 15 points Know how to use it Including finding the size, moving through the elements as if it were an array Won’t need to implement any of it May need to do time analysis of a particular implementation Will not need to use any iterators Understand the Go Fish program

List ADT 45 Points Know the definition of the List ADT May have to implement Array-based list Pointer-based linked list Array-based linked list Pointer-based doubly-linked list Array-based doubly-linked list Be able to do the time analysis for any of the functions in the List ADT definition we used for the program Understand the List ADT program

Not on this exam Templates Stacks Code examples from the book Only what we covered in class and on the programs

How to Study Review the programs. Rewrite them if you have time (especially the parts you had trouble with) Learn by doing and recognizing patterns. Use the exam for clues on the other problems and for help with syntax. Don’t stay up late!! Get some sleep and eat a good breakfast.

What to bring Pencils and erasers We will provide scratch paper No calculators

Questions