Develop an understanding and appreciation of recursive problem solving. ... Develop an appreciation of the trade-offs between recursion and iteration. 3 ...
Lab assignments. Mid-term test. Practical Exam. 9. What's in store in CS1101? ... Valid colors are 'red', 'yellow', // 'blue', 'green', 'magenta' and 'black' ...
Go to course website, 'Labs' page to retrieve last year's lab write-ups: ... Identical codes. Please do not share codes for your lab assignments! This is Week 10 ...
For each library book, the user enters the due date and (optionally) the overdue ... { System.out.print('Enter 3 sides again: '); side1 = scanner.nextDouble ...
We will cover the other sections some other time. Arrays. In computer science, we deal with very large ... digit2, digit1, step1, step2, step3; char checkCode; ...
To transpose a square matrix, the columns become the rows and the rows become columns. ... Task 2: Transpose Matrix (4/6) createMatrix. CS1101X Recitation #9. 12 ...
This module introduces the fundamental concepts of programming from an object ... Module activities include lectures, discussion, lab assignments, mid-term test ...
The method isNonNegative() returns true if the array contains all ... Blaise Pascal was a scientist, mathematician par excellence who lived in the 17th century. ...
The toString() method and the equals() method. ... public boolean equals(BallV2 ball) The inherited' equals() method, which comes from the Object class, has ...
Part of the material here comes from chapter 13 of Cohoon and Davidson's book ... Origin: a moth in the Mark I computer. CS1101X: Testing and Debugging. 4 ...
Write a program that asks for the user's first, middle, and last names and ... input: Andrew Lloyd Weber. output: ALW. CS1101X Recitation #1. 3. Overall Plan ...
... wax of exactly k 1 candles, he can roll out a new candle. ... How many candles can Peter burn? The input contains two integers giving the values of n and k. ...
Mary Had A Little Lamb. Number of 'a': 4. Number of 'e': 1. Number of ' ... Enter sentence: Mary Had A LiTTle LaMb. mARY hAD a lIttLE lAmB. CS1101X Recitation #5 ...
It casts a subclass object to an object of its superclass, then assigns that ... It attempts to cast a superclass object to an object of its subclass, which is ...
Learn it after completing CS1102/S. What the school offers: CS2281 (Programming in UNIX) ... like C, C , C# yourselves after you have completed CS1102/S ...
Task 3: Candles (1/3) Peter has n candles. ... Out of the residual wax of exactly k 1 candles, he can roll out a new candle. How many candles can Peter burn? ...