Difference between revisions of "CS 500 Midterm"

From Computer Science
Jump to: navigation, search
(Midterm Exam, part 1)
(Midterm Exam, part 2)
Line 18: Line 18:
 
=Midterm Exam, part 2=
 
=Midterm Exam, part 2=
 
Part 2 is an interview. You will sign up for a 30 minute meeting slot with the instructor.  You will be asked the following.
 
Part 2 is an interview. You will sign up for a 30 minute meeting slot with the instructor.  You will be asked the following.
* Programs from HW assignments (up through h3) - may be asked to open one of your programs and explain how it works.
+
* Programs from HW assignments (up through h3) - may be asked to open one of your programs and explain how it works. Probably will pick one that you did get full points on, and one that you did not get full points on. 
* Program - may be asked to create a new program from scratch, something similar to HW assignments but different.
+
* Program - may be asked to create a new program from scratch, something similar to HW assignments but different. ''Example questions - coming soon.''
 
* Data structures - may be asked to explain some of the data structures operations - how it works, what the running time is.
 
* Data structures - may be asked to explain some of the data structures operations - how it works, what the running time is.

Revision as of 13:17, 25 October 2022

This page contains information about the midterm exam for CS 500. The topics for the midterm are - C programming, basic data structures (arrays, linked lists, hash tables, binary search trees).

Midterm Exam, part 1

Part 1 is in Canvas. This will be timed and must be taken in one sitting. You will have 90 minutes to complete it.

It is open notes, open internet, but you cannot talk to others about the questions (cannot talk to anyone - not others in the class, not the GAs, not random other people). This is the same as for Canvas quizzes we have had for the class.

Auto-graded parts that you will be able to practice ahead of time.

  • C quizzes - C Operators and Expressions, C Keywords and Data types
  • C code chunk - what is the output of a given C code chunk.
  • Data structures - given a data structure and sequence of operations, what does it look like at the end. Something like this: practice
  • Data structures - running times (worst-case, best-case, average-case) of data structure operations. Something like this: practice

Non-auto-graded parts, I will give at least one sample question of each type.

  • C code for an operation for one of the data structures we have done in class (ArrayStack). It will be something similar to one of the operations we have done, but not exactly the same.
  • C code for a program to do some basic task (similar to the basic C programs we have done in class and on homework).

Midterm Exam, part 2

Part 2 is an interview. You will sign up for a 30 minute meeting slot with the instructor. You will be asked the following.

  • Programs from HW assignments (up through h3) - may be asked to open one of your programs and explain how it works. Probably will pick one that you did get full points on, and one that you did not get full points on.
  • Program - may be asked to create a new program from scratch, something similar to HW assignments but different. Example questions - coming soon.
  • Data structures - may be asked to explain some of the data structures operations - how it works, what the running time is.