New User Special Price Expires in

Let's log you in.

Sign in with Facebook


Don't have a StudySoup account? Create one here!


Create a StudySoup account

Be part of our community, it's free to join!

Sign up with Facebook


Create your account
By creating an account you agree to StudySoup's terms and conditions and privacy policy

Already have a StudySoup account? Login here

Week 1 Continued

Star Star Star Star Star
1 review
by: Jessica Hutchinson

Week 1 Continued COSC 236

Jessica Hutchinson
GPA 3.5
View Full Document for 0 Karma

View Full Document

Introduction to COSC 1
Robert G. Eyer

Almost Ready


These notes were just uploaded, and will be ready to view shortly.

Get these notes here, or revisit this page.

Either way, we'll remind you when they're ready :)

Unlock These Notes for FREE

Enter your email below and we will instantly email you these Notes for Introduction to COSC 1

(Limited time offer)

Unlock Notes

Already have a StudySoup account? Login here

Unlock FREE Class Notes

Enter your email below to receive Introduction to COSC 1 notes

Everyone needs better class notes. Enter your email and we will send you notes for this class for free.

Unlock FREE notes

About this Document

These notes are still review but this also includes the first hw assignment and answers
Introduction to COSC 1
Robert G. Eyer
Class Notes
COSC 236, Computer Science, towson




Star Star Star Star Star
1 review
Star Star Star Star Star
"Clutch. So clutch. Thank you sooo much Jessica!!! Thanks so much for your help! Needed it bad lol"
Austyn Kuhic

Popular in Introduction to COSC 1

Popular in ComputerScienence

This page Class Notes was uploaded by Jessica Hutchinson on Monday February 8, 2016. The Class Notes belongs to COSC 236 at Towson University taught by Robert G. Eyer in Spring 2016. Since its upload, it has received 67 views. For similar materials see Introduction to COSC 1 in ComputerScienence at Towson University.

Similar to COSC 236 at Towson

Popular in ComputerScienence


Reviews for Week 1 Continued

Star Star Star Star Star

Clutch. So clutch. Thank you sooo much Jessica!!! Thanks so much for your help! Needed it bad lol

-Austyn Kuhic


Report this Material


What is Karma?


Karma is the currency of StudySoup.

You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!

Date Created: 02/08/16
COSC 236 For loops Used to tell compiler to do something a certain number of times 0 If test condition never goes to false it becomes an infinite loop 0 Tests the loop counter variable against a limit 0 Uses comparison operators lt less than lt less than or equal to gt greater than gt greater than or equal to Example SystemoutprintquotTminus quot for int i 10 i gt 1 i Systemoutprinti quot quot Systemoutprintlnquotblastoff quot SystemoutprintlnquotThe endquot Output Tminus 10 9 8 7 6 5 4 3 2 1 blastoff The end Parts of a for loop For int I I lt 4 i Initialization l Xv Increment Test 7 Nested for loops A loop within a loop Outerloop prints lines horizarionally and inner loop prints it vertically For example SystemoutprintquotTminus quot for int i 10 i gt 1 i Systemoutprinti quot quot Systemoutprintlnquotblastoff quot SystemoutprintlnquotThe endquot Output Tminus 10 9 8 7 6 5 4 3 2 1 blastoff The end 0 Always make sure to have a counter otherwise loops are infinite 0 String concentration using a plus symbol between a string and a variable value to make a longer string EX the value of j is j Output the value of j is 25 0 Methods are used to create multiple occurrences like functions in C Lab Notes Building Java Programs Chapter 1 Lab Handout Systemoutprintln 1 Hello quotDoubleSlashquot magazine I m confused by your publication Should I use a slash or a slash Respectfully Harold J Prescott quotHarryquot Program public class Test public static void mainString args Systemoutprint1n quotCan you explain to me the differencequot Systemoutprint1nquotbetween using a 39 and a quot or between a quot and a quotquot Systemoutprint1nquotOne is What is seen When typing a program but thequot Systemoutprint1nquotother is What always appears on the quotconsolequotquot Static Methods 3 I am method 2 I am method 1 I am method 1 I am method 1 I am method 3 I am method 2 I am method 1 I am method 1 k k k k k k 4 The program for the following drawings is gtlltgtllt COSC 236181 Jessica Hutchinson Drawings With Triangles Lab 1 public class Drawings public static void mainString args pointDownTriangleO middleO pointUpTrianglGO Systemoutprintln pointUpTrianglGO pointDownTriangleO pointUpTrianglGO Systemoutprintln middleO pointDownTriangleO middleO Systemoutprintln Systemoutprintln SystemoutprintlnquotDone With drawingsquot public static void pointUpTriangle Systemoutprintlnquot quot Systemoutprintlnquot quot Systemoutprintlnquot quot public static void middlc Systemoutprint1nquotquot Systemoutprint1nquot quot Systemoutprint1nquotquot public static void pointDownTriangle Systemoutprint1nquot quot Systemoutprint1nquot quot Systemoutprint1nquot quot


Buy Material

Are you sure you want to buy this material for

0 Karma

Buy Material

BOOM! Enjoy Your Free Notes!

We've added these Notes to your profile, click here to view them now.


You're already Subscribed!

Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'

Why people love StudySoup

Jim McGreen Ohio University

"Knowing I can count on the Elite Notetaker in my class allows me to focus on what the professor is saying instead of just scribbling notes the whole time and falling behind."

Jennifer McGill UCSF Med School

"Selling my MCAT study guides and notes has been a great source of side revenue while I'm in school. Some months I'm making over $500! Plus, it makes me happy knowing that I'm helping future med students with their MCAT."

Bentley McCaw University of Florida

"I was shooting for a perfect 4.0 GPA this semester. Having StudySoup as a study aid was critical to helping me achieve my goal...and I nailed it!"


"Their 'Elite Notetakers' are making over $1,200/month in sales by creating high quality content that helps their classmates in a time of need."

Become an Elite Notetaker and start selling your notes online!

Refund Policy


All subscriptions to StudySoup are paid in full at the time of subscribing. To change your credit card information or to cancel your subscription, go to "Edit Settings". All credit card information will be available there. If you should decide to cancel your subscription, it will continue to be valid until the next payment period, as all payments for the current period were made in advance. For special circumstances, please email


StudySoup has more than 1 million course-specific study resources to help students study smarter. If you’re having trouble finding what you’re looking for, our customer support team can help you find what you need! Feel free to contact them here:

Recurring Subscriptions: If you have canceled your recurring subscription on the day of renewal and have not downloaded any documents, you may request a refund by submitting an email to

Satisfaction Guarantee: If you’re not satisfied with your subscription, you can contact us for further help. Contact must be made within 3 business days of your subscription purchase and your refund request will be subject for review.

Please Note: Refunds can never be provided more than 30 days after the initial purchase date regardless of your activity on the site.