×

### Let's log you in.

or

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

×

or

by: Alayna Veum

107

0

0

# Intro CS 1331

Alayna Veum

GPA 3.81

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

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

Get a free preview of these Notes, just enter your email below.

×
Unlock Preview

COURSE
PROF.
TYPE
Class Notes
PAGES
0
WORDS
KARMA
25 ?

## Popular in ComputerScienence

This 0 page Class Notes was uploaded by Alayna Veum on Monday November 2, 2015. The Class Notes belongs to CS 1331 at Georgia Institute of Technology - Main Campus taught by John Stasko in Fall. Since its upload, it has received 107 views. For similar materials see /class/234084/cs-1331-georgia-institute-of-technology-main-campus in ComputerScienence at Georgia Institute of Technology - Main Campus.

×

## Reviews for Intro

×

×

### What is Karma?

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

Date Created: 11/02/15
Types byteltshortltintltlonglt oatltdouble char boolean int i 13 Legal equal to 0 int i 130 Not legal 30 is a double double cannot t in an int oat f 1 int 1 is promoted up to a oat public class Demo public static void mainString args int a 39a Systemoutprintlna Outputs 97 ASCII value for 39a not ampamp and H or trueampampfalselltrueampampfalse returns false Writing an Applet Practice Test Question 2 import javaXswing import javaawt public class MyApplet extends JApplet public void paintGraphics g superpaintg int X getWidth4 Makes a square half the size of the applet int y getHeight4 gsetColorColorblue gfillRectXygetWidth2getHeight2 gsetColorColorred Inscribes a circle inside the square gfillOvalXygetWidth2getHeight2 gsetColorColorblack Writes name on applet gdrawStringquotCameronquot getWidth2 getHeight8 Color c new Color5050100 Make a custom color leClConverterInpuUquuhNdPOZDltt7l02010 112956 AM HTML to Import Applet lthtmlgt ltb0dygt ltapplet code quotMyAppletclassquot width quot500quot height quot500quotgt ltappletgt ltbodygt lthtmlgt import javautilScanner public class Scanner public static void mainString args Scanner scan new ScannerSystemin SystemoutprintquotInput a number quot int a scanneXtInt SystemoutprintquotInput a number quot int b scannextInt SystemoutprintlnquotThe sume is quot ab How to print every word on a different line String s quotThis is a sentencequot Scanner scan new Scanners whilescanhasNeXt SystemoutprintlnscanneXt Scanner scan new ScannerSystemin String s scanneXtLine Systemoutprintlns int lslength SystemoutprintlnscharAtl1 substringl 11 import javautilRandom Random rand new Random Get a random number between 0 and 5 int i randneXtInt6 06 43 l mod 450 4 random number between 14 and 34 leClConveIteIInpuUquuhNdPOZDltt7102010 112956 AM Random rand new Random int i randneXtInt31 14 for int i 5 igt0 i forintj ijgt0j Systemoutprintg39 end inner for loop Systemoutprintln end outer for loop int month 4 switch month case 2 Systemoutprintlnquot28 daysquot case 11 Systemoutprintlnquot31 daysquot reak default SystemoutprintlnquotInvalid mont quot end switch import javautilScanner import javalang public class Froogle public static void mainString args int X Scanner scan new ScannerSystemin X scanneXtDouble double y Mathabsx1X1 Systemoutprintlny SystemoutprintlnMathpow25 leClConverterInpuUquuhNdPOZDltt7102010 112956 AM

×

×

### BOOM! Enjoy Your Free Notes!

×

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."

Kyle Maynard Purdue

#### "When you're taking detailed notes and trying to help everyone else out in the class, it really helps you learn and understand the material...plus I made \$280 on my first study guide!"

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!"

Parker Thompson 500 Startups

#### "It's a great way for students to improve their educational experience and it seemed like a product that everybody wants, so all the people participating are winning."

Become an Elite Notetaker and start selling your notes online!
×

### Refund Policy

#### STUDYSOUP CANCELLATION 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 support@studysoup.com

#### STUDYSOUP REFUND POLICY

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: support@studysoup.com

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 support@studysoup.com