CSCI 515 : Spring 2016
Midterm Exam
Name: Bangalore Pradeep, Raksha
Problem 1: (70 pts) Building a C+ class (similar to the exercises)
In this exam, you will build a Vector class, the same way you built the fraction and complex
classes in the exercises. T
Assg 07: Remove Duplicates from Array
CSci 515 Spring 2015
2015-02-19
Dates:
Due: Tuesday March 24, by Midnight
Objectives
Practice declaring and using arrays.
More practice writing functions that take arrays as parameters and
process them.
Look at shi
Assg 04: Finding Prime Numbers
CSci 515 Fall 2015
2015-01-23
Dates:
Due: Tuesday September 29, by Midnight
Objectives
Write functions in C that take 1 or more parameters and return a
result.
Learn and practice breaking up a larger problem into smaller s
Assg 05: Binomial Coecient.
CSci 515 Spring 2015
2015-02-11
Dates:
Due: Tuesday February 24, by Midnight
Objectives
More practice writing C functions
Learn about implementing algorithms using iteration and recursion.
Practice writing a recursive functi
Assg 11: Multiple Indirection of Pointers
CSci 515 Fall 2015
<2015-04-14 Tue>
Dates:
Due: Tuesday November 24, by Midnight
Objectives
Learn about pointers to pointers to pointers (multiple dereferencing)
Practice more with using structs
Learn about der
Assg 10: Card Games
CSci 515 Fall 2015
2015-11-10
Dates:
Due: Tuesday November 17, by Midnight
Objectives
Get more practice dening and using structures.
Practice using arrays of structs as basic tables.
Learn to process arrays of structs.
Description
I
Assg 08: Selection Sort
CSci 515 Spring 2015
2015-02-19
Dates:
Due: Tuesday March 31, by Midnight
Objectives
Implement a sorting algorithm
Practice using arrays.
Implement and use a swap function
More practice with passing arrays to functions.
Descrip
Assg 06: Calculations on Arrays
CSci 515 Fall 2015
2015-02-19
Dates:
Due: Tuesday October 13, by Midnight
Objectives
More practice writing C functions that take arrays as parameters
More work on declaring, indexing and processing arrays.
Learn about pe
Lab 06: Processing Arrays
CSci 515 Fall 2015
2015-02-18
Dates:
Due: In Lab, Wednesday October 7, by 4:00 pm (lab end time)
Objectives
Learn about declaring, accessing and processing array elements
Practice passing arrays to and from functions.
See exam
Lab 07: Throw Two Dice
CSci 515 Fall 2015
<2015-10-13 Tue>
Dates:
Due: In Lab, Wednesday October 14, by 4:00 pm (lab end time)
Objectives
Learn about declaring, accessing and processing two dimensional ar-
rays.
Learn about indexing into multi-dimension
Lab 12:
CSci 515 Fall 2015
2015-12-02
Dates:
Due: In Lab, Wednesday December 2, by 4:00 pm (lab end time)
Objectives
Understand the relationship between arrays and pointers in C
Use pointers to an array of items, and process them.
Understand better C-s
Assg 09: The Sieve of Eratosthenes
CSci 515 Fall 2015
<2015-02-19 Thu>
Dates:
Due: Tuesday November 3, by Midnight
Objectives
Practice using advanced array logic.
More practice with passing arrays to functions.
Description
We have seen a brute force alg
Lab 01: Getting Started
CSci 515 Fall 2015
2015-09-01
Dates:
Due:
In Lab, Wednesday September 2, by 4 pm (lab end time)
Objectives
Practice starting and using Visual Studio
Learn how to set up and start a project correctly, practice the lab/assg
steps
Fig
Lab 04: Perfect Numbers
CSci 515 Fall 2015
2015-01-23
Dates:
Due: In Lab, Wednesday September 23, by 4:00 pm (lab end time)
Objectives
Write functions in C that take 1 or more parameters and return a
result.
Learn about breaking up a larger problem into
Assg 12: Positive Ints Library
CSci 515 Fall 2015
2015-12-02
Dates:
Due: Tuesday December 8, by Midnight
Objectives
Understand the relationship between arrays and pointers in C
Use pointers to an array of items, and process them.
Get more practice with
Lab 02: Calculating PI
CSci 515 Fall 2015
2015-09-01
Dates:
Due: In Lab, Wednesday September 9, by 4 pm (lab end time)
Objectives
Practice writing index controlled loops
Become more comfortable with using digital computers for calculating
mathematical e
Lab 03: Processing Data Files
CSci 515 Spring 2015
CSci 515 Spring 2014
<2015-01-23 Fri>
Dates:
Due: In Lab, Wednesday February 4, by 4 pm (lab end time)
Objectives
Be able to Open a serial text le for reading.
Learn about and process simple text les of
Lab 05: Dice Game
CSci 515 Spring 2015
<2015-02-11 Wed>
Dates:
Due: In Lab, Wednesday February 18, by 4:05 pm (lab end time)
Objectives
More practice writing C functions
Use standard library rand() functions to implement random simula-
tions
Practice c
Lab 11: Pointer Paramters and Struct Pointers
CSci 515 Fall 2015
2015-04-14
Dates:
Due: In Lab, Wednesday November 18, by 4:00 pm (lab end time)
Objectives
Become familiar with creating and using pointer variables.
Pass pointers to a function.
Get prac
Lab 08: Recursive Binary Search
CSci 515 Spring 2015
2015-02-18
Dates:
Due: In Lab, Wednesday March 25, by 4:05 pm (lab end time)
Objectives
Become more familiar with performing searches and sorts.
Practice passing arrays to and from functions.
Descript
Lab 10: Deck of Cards
CSci 515 Fall 2015
2015-11-10
Dates:
Due: In Lab, Wednesday November 11, by 4:00 pm (lab end time)
Objectives
Get practice in declaring structs and enums user dened types.
Become familiar with dening arrays of structs.
Learn how t
Assg 01: More Practice
CSci 515 Fall 2015
CSci 515 Fall 2015
<2015-09-01 Tue>
Dates:
Due: Tuesday September 8, by Midnight
Objectives
More practice writing programs using Visual Studio IDE
Get a better understanding of the course style and coding guidel