Class Notes (836,590)
Canada (509,861)
CS 246 (116)
Lecture 5

CS246 lecture 5-6 (Spring 2014).pdf
Premium

5 Pages
135 Views
Unlock Document

Department
Computer Science
Course
CS 246
Professor
Nomair Naeem
Semester
Spring

Description
Lecture 5Looping over a listExample Rename all cpp les to ccbinbashfor name in cpp domv name namecppccd o n eExample How many times does the word 1 occur in 2lebinbash x0for word in cat 2 doifword1then good idea to put invariables in double quotesxx1doneecho xSoftware Engineering TestingMarmoset will run your test suitepublic teston a correct programrelease teston buggy programsblack box testingwhite box testingCreate test suite before actual codeFunctional Testing run every function at least once within a function cover different control ow code coverageThings to concernRange of values positivenegativeBoundaries between ranges edge casesmultiple simultaneous boundaries corner casesRegression Testing new code does not break old code Chapter 2 CFirst exampleinclude iostreamusing namespace stdint maincountHello Worldendlreturn 0
More Less

Related notes for CS 246

Log In


OR

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


OR

By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.


Submit