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

Weekly Review, Week 2

by: MJ F.

Weekly Review, Week 2 EECS 138

Marketplace > Kansas > Engineering and Tech > EECS 138 > Weekly Review Week 2

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

Weekly review of basics!
Programming in C++
Class Notes
c++, programming
25 ?




Popular in Programming in C++

Popular in Engineering and Tech

This 1 page Class Notes was uploaded by MJ F. on Friday September 2, 2016. The Class Notes belongs to EECS 138 at Kansas taught by in Fall 2016. Since its upload, it has received 11 views. For similar materials see Programming in C++ in Engineering and Tech at Kansas.

Popular in Engineering and Tech


Reviews for Weekly Review, Week 2


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/02/16
Madeline Fines EECS 138: Homework 2 Due: 2016-04-05, end of day 1. A variable that can hold many values of the same type is called a(n) _Arrary______________. 2. What library must be included in order to read to or from files? ____ifstream______ 3. (T or F) Vectors and arrays are the same data type? False 4. (T or F) strcmp for c-strings and == for strings work the same way when making a comparison? False 5. The flag to always show the decimal point in floating point numbers is ios::precision()_____. 6. “\n” is a _end line signal_____ and ‘\n’ is a _char______. 7. When is the external name of a file used in a program (the name of the file as it appears on disk)? When the file is opened/called at the beginning of the program 8. Why are arrays of characters and c-strings not exactly the same thing? Arrays have extra features built in 9. If we declare an array using int a[10];, is there any problem setting a value in a with a[10] = 5;? Yes, the max position label will be at a[9] 10. (T or F) When accessing an element of an array, the index value you use must be an integer? False 11. (T or F) Arrays, when passed to functions, can’t be modified unless they are specified to be pass-by-reference using the & identifier. True 12. You can use a call to a void function in a cout statement (ex cout << print(a) << endl; if print were a void function) False, void doesn’t return a value to cout 13. The variables passed to a function are called its __arguments_______. 14. What type of value do void functions return? Don’t return any


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

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.