CPS 150
Challenge Problem 1
Name (Print)_ Section _
Introduction to Approximation methods
By their very nature, certain problems do not admit of exact solutions. For example, we cannot calculate the v
CPS 150/Fall 2016
Test 1 Study Guide/Sample Problems (updated on October 3)
Instructor: Tamisra Sanyal.
The first test is on Tuesday, October 4.
Everything mentioned in the study guides for previous q
CPS 150/Fall 2016
Quiz 3
Full Name (Print) _KEY_ Section_
Directions (Please read carefully!)
This quiz is closed book and notes. Each question is worth 5 points. The entire quiz is worth 25 points.
CPS 150/Fall 2016
Test 2
Name (Print)_KEY_ Section _
Write in part: For this part, write your answer in the spaces provided. Each question is worth 5 points unless indicated
otherwise in the question
CPS 150/Fall 2016
Test 3
Name (Print)_KEY_ Section _
Write in part: For this part, write your answer in the spaces provided. Each question is worth 5 points unless indicated
otherwise in the question
CPS 150.N1
Algorithms & Programming I
Lab Project 1
Bugs and Debugging in Java
Monday, August 28, 2017
Name: Xueqing Zhang
Lab 1.1 (Missing semicolons)
The error happened. There are three red-underlin
A variable is a storage location in a computer program. Each variable has a name
and holds a value.
variable names: lowercase with occasional uppercase characters in the middle/
You cannot use other s
Using the Design Recipe to Write Computer Programs1
The development of a program requires many steps. We need to determine what's relevant in the problem
statement and what we can ignore. We need to u
CPS 150/Fall 2016
Quiz 1 Study Guide/Sample Problems (with some solutions)
The first quiz is on Monday, September 12.
Topics: a) Digital coding, b) Basic Java programming.
Reading from the Lecture Not
CPS 150/Fall 2016
Quiz 2 Study Guide/Sample Problems (solutions)
The second quiz is on Tuesday, September 27.
Topics: a) Decision making using if-else, b) Definite and indefinite loops using while. Yo
CPS 150/Fall 2016 Lecture notes 01 - Algorithms and (computer) programming I What is it all about?
Instructor: Tamisra Sanyal.
Basic idea of Problem solving: Solve a complex problem by a number of sim
CPS 150/Fall 2016
Assigned: October 31.
Instructor: Tamisra H. Sanyal
Assignment 3
Due: Nov 07, 11 pm (on Isidore)
A Cash Register Program
Cutoff: Nov 10, 11 pm
Objectives: a) Indefinite loops, b) Sum
CPS 150/Fall 2016
Instructor: Tamisra Sanyal.
Test 3 Study Guide/Sample Problems (This document is now updated)
The third test is on Tuesday, December 6. It is a closed book test. It will contain any
CPS 150/Spring 2016
Test 3
Name (Print)_KEY_ Section _
Write in part: For this part, write your answer in the spaces provided. Each question is worth 5 points unless indicated
otherwise in the questio
CPS 150/Spring 2016
Test 3
Name (Print)_KEY_ Section _
Write in part: For this part, write your answer in the spaces provided. Each question is worth 5 points unless indicated
otherwise in the questio
CPS 150/Spring 2016
Assigned: April 11
Tamisra H. Sanyal
Assignment 2
Due: April 15, 11 pm (on Isidore)
The Change Maker
Cut-off: April 18, 11 pm
Objectives:
a) arithmetic using integer and real (floa
CPS 150/Spring 2016
Test 2
Name (Print)_KEY_ Section _
Write in part: For this part, write your answer in the spaces provided. Each question is worth 5 points unless indicated
otherwise in the questio
CPS 150
Lecture Notes 04A (Wombat1 description)
2012 - 2017 Tamisra H. Sanyal
Specifics of Wombat1
Instructions: Wombat1 cpu has 12 different instructions. A table is given later.
Instruction forma