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-2 Notes

by: josephrauchwerger

Week 1-2 Notes CSCE 1010


Preview These Notes for FREE

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

Unlock Preview
Unlock Preview

Preview these materials now for free

Why put in your email? Get access to more of this material and other relevant free materials for your school

View Preview

About this Document

Not much to cover here, but still a few useful notes and definitions for those who need it!
Discovering Computer Science
Philip Sweany
Class Notes
Computer, Science, Introduction, discovering
25 ?




Popular in Discovering Computer Science

Popular in Computer Science and Engineering

This 2 page Class Notes was uploaded by josephrauchwerger on Tuesday September 20, 2016. The Class Notes belongs to CSCE 1010 at University of North Texas taught by Philip Sweany in Fall 2016. Since its upload, it has received 4 views. For similar materials see Discovering Computer Science in Computer Science and Engineering at University of North Texas.

Similar to CSCE 1010 at UNT

Popular in Computer Science and Engineering


Reviews for Week 1-2 Notes


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: 09/20/16
9/2/16 Abstraction: Reduces information and detail to facilitate focus on relevant concepts. - Breaking things down to much simpler terms, such as, instead of knowing everything about a car, all the ins and out, people just know how to press the gas, brake, and change gears in order to operate the vehicle. ‘Memory Hierarchy’ 9/9/16 Binary powers of 10 0101 = 0 * 1000 (10 ) 1 * 100 (10 ) 1 0 * 10 (10 ) 0 1 * 1 (10 ) 9/12/16 Algorithm – An algorithm is a list of steps to solve a problem written in “plain English”. The algorithm’s steps should be written out and numbered in the order in which they are to be executed. Algorithms should be as extensive as necessary to allow one to complete the task. Your algorithm is not only going to tell your “program” what to do, but how to do it. Example 1: Walking 1. Leave classroom 2. Turn right out of school building 3. Walk 1.2 miles 4. Turn right on street th 5. Go to 4 house Example 2: Take the Bus 1. Go to the bus area 2. Get in the right bus 3. Go to house Pick a number: 1. Set guesses = 0 2. Set high = 1000 3. Set low = 1 4. Make Next_Guess equal to (high+low)/2 (ignore any fractional part of the division) 5. Add 1 to the current value of guesses 6. If guesses > 10 You Lose! (quit at this point) 7. Announce (to the black box) the value of Next_Guess 8. “Listen” to black box 9. If black box says “Too Low”, reset low to be Next_Guess +1 and return to step 4 10.If black box says “Too High”, reset high to be Next_Guess -1 and return to step 4 11.If black box says “Correct”, You Win! Write an algorithm for the “black box”. Ask the user if they want to play a game Choose a number, range of 1-1000 Get input from the guesser Tell them if the guess is too high/low/correct Keep track of the guesses


Buy Material

Are you sure you want to buy this material for

25 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

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

Janice Dongeun University of Washington

"I used the money I made selling my notes & study guides to pay for spring break in Olympia, Washington...which was Sweet!"

Steve Martinelli UC Los Angeles

"There's no way I would have passed my Organic Chemistry class this semester without the notes and study guides I got from StudySoup."


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