C++ Primer Notes

Stanford opencourse--CS106A--Programming Methodology--notes

Sally posted @ Wed, 01 Feb 2012 15:41:34 -0700 in Programming Methodology--CS106A , 3328 readers

cs106a.stanford.edu

 

Lec1

knowing the language doesn't make you a good programmer. Focusing on the software engineering concepts is very important. 

 

Karel the Robot

 

Problem solving is the essence of programming.

Object-oriented programming: the programmer’s attention shifts away from the procedural specification of operations and focuses instead on modeling the behavior of conceptually integrated units called objects.

 

class is a pattern or template for objects that share a common behavior and collection of state attributes.

 

Whenever you have an actual robot in the world, that robot is an object that represents a specific instance of the Karel class

 

Lec 2

Karel's language (methods):

move

turnLeft

pickBeeper

putBeeper

methods--some instructions that we can call

 

public class FirstKarelProgram extends Karel

public void run() {

 

}

run is a method for Keral

 

while loop: do something while there's some condition that's true

Avatar_small
Wayne said:
Thu, 02 Feb 2012 11:04:26 -0700

This course seems to be quite too basic. CS106X will be better.

Avatar_small
Rriaive said:
Wed, 06 Feb 2019 21:19:36 -0700

In this blog you can receive so many programmers listed stanford course details. Everything we have to read for essayhave review posts to update many useful assignments. Then every user will get the online assignments and reviews.

Avatar_small
Dave said:
Fri, 08 Mar 2019 03:31:53 -0700

I am glad to read this article.
<a href="https://wwwaybabag.net/">aybabag</a>

Avatar_small
Dave said:
Fri, 08 Mar 2019 03:32:25 -0700

Your article is amazing. Keep posting.
[url=https://wwwaybabag.net/]aybabag[/url]

Avatar_small
Dave said:
Fri, 08 Mar 2019 03:33:08 -0700

I am glad to know about it.
https://www.sdfsd.com

Avatar_small
james said:
Wed, 07 Aug 2019 02:12:53 -0600

I wasn't lucky because I couldn't see the Black Panther on the big screen, but the great opportunity Disney gave me, I watched Superbahis without paying anything to the cinema. I was so happy.

Avatar_small
zaiya said:
Tue, 27 Sep 2022 22:00:56 -0600

good to see the post on the open course it was very helpful for me to know about the loops and programming methods that are used in the problem solving object oriented programming is very good one you engagement rings may get some of the hints that are used in the open programming language

Avatar_small
charlly said:
Wed, 16 Nov 2022 23:57:51 -0700

glad to see the open course post Knowing about loops and programming techniques that are utilised for problem-solving was really beneficial to me. Object-oriented programming is a nice one, and you types of arthritis might pick up some tips for using the open programming language.

Avatar_small
seo service london said:
Tue, 16 Jan 2024 06:46:53 -0700

There are several dissertation web sites on the net once you locate unsurprisingly explained in the website


Login *


loading captcha image...
(type the code from the image)
or Ctrl+Enter