컴퓨터과학 E-1:
컴퓨터와 인터넷의 이해

Harvard Extension School
  - "하바드 공개 교육 대학"을 말한다고 한다.
  - 학사 학위 취득 과정에 등록하면 까다롭지 않은 입학과정과 10분의 1에 해당하는 등록금으로 하바드를 경험할 수 있다고 한다.
http://blog.empas.com/steinwoo/read.html?a=11358669

메사추세츠, 캠브리지에서 촬영됨.
2006.09 ~ 2007.01

호환 과목(?):
컴퓨터 과학 50:
컴퓨터 과학 입문 I
하바드 대학교

David J. Malan, 전임강사
malan@post.harvard.edu
1999 – 2007

Rei Diaz, 선임 조교
Dan Armendariz, 조교
Eugenia Kim, 조교
Chris Thayer, 편집자
Chris Mehl, 비디오작가


이 코스는 다음의 이해에 관한 모든 것입니다: 당신이 스위치를 켤 때 컴퓨터 안에서 어떤 일이 벌어지는지, 왜 기술지원은 항상 당신의 컴퓨터를 재부팅 시키는지, 당신이 인터넷에서 한 모든 일들이 어떻게 다른 사람들에게 보여지는지, 그리고 어떻게 당신의 컴퓨터가 단지 컴퓨터를 켜는 것만으로도 웜에 감염될 수 있는지에 대한 이해를 할 수 있게 됩니다.

이 코스에서 우리들은 전문 용어와 함께 컴퓨터와 인터넷에 대한 신비함을 사라지게 합니다. 그리고 학생들이 각각 무엇을 할 수 있는지 뿐만 아니라, 모든 용어와 이유 역시 이해할 수 있도록 합니다. 학생들은 이 코스를 마칠 때 새로운 어휘와 좀 더 나은 컴퓨터와 인터넷에 대한 소양을 갖추게 됩니다.

주제는 하드웨어, 소프트웨어, 인터넷, 멀티미디어, 보안, 웹사이트 개발, 프로그램 작성, 그리고 .com을 포함합니다. 이 코스는 컴퓨터 초보자 뿐만 아니라 매일 컴퓨터를 사용하는 사람들 모두를 대상으로 합니다.

(번역 도움 : 배정탁 in JJSSM)

반응형

MIT의 강의를 들을 수 있는 기회가 있다.
http://ocw.mit.edu/OcwWeb/Electrical-Engineering-and-Computer-Science/index.htm
동영상 강의를 제공해주는 강의 목록은 다음에서 확인할 수 있다.
http://ocw.mit.edu/OcwWeb/web/courses/av/index.htm

MIT - 프로그램의 이해
http://swiss.csail.mit.edu/classes/6.001/abelson-sussman-lectures/
교재는
http://www-mitpress.mit.edu/sicp/full-text/book/book.html


버클리대의 강의도 들을 수 있다.
http://webcast.berkeley.edu/courses.php

컴퓨터 관련한 비디오 강의를 정리한 블로그
http://freescienceonline.blogspot.com/

이상한 대학?이지만 MIT 강의인 것 같고, 보기 편하다.
http://aduni.org/courses/

워싱턴 대학
http://www.cs.washington.edu/education/dl/course_index.html

하바드 대학의 컴퓨터 입문
http://www.fas.harvard.edu/~cscie1/?page=podcast&type=static
http://www.intelligentedu.com/blogs/post/best_new_training_sites/3778/harvard-course-understanding-computers-and-the-internet/ko/

영어보다 한글이 많은 연세대의 마이크로프로세서 강의
http://mpu.yonsei.ac.kr/Lecture/main_video_lect.htm
반응형
컴퓨터 연구정보 센터
http://www.cseric.or.kr/new_cseric/main.asp
반응형

최근 고려대학교에서 OCW에 참여하기로 했단다.

[고려대학교] 한국 오픈코스웨어 컨소시엄 협정 체결
http://news.naver.com/main/read.nhn?mode=LSD&mid=sec&sid1=001&oid=098&aid=0001957677&

내가 OCW에 대해서 알게 된 것은
"영어 공부와 전공 공부를 함께 할 수는 없을까?",
"영어로 진행되는 강의를 내가 들을 수 있을까?"
라는 생각에 온라인 검색을 하던 중 알게 되었다.

"美 대학들, 대세는 온라인강의"<WP>
http://news.naver.com/main/read.nhn?mode=LSD&mid=sec&sid1=102&oid=001&aid=0001877786

내가 한 때 좋아했던(지금도 좋아는 하지만) "MIT"에서 1,800개의 강의를 오픈했다는 것이다.
일부 강의는 실제 강의 동영상까지도 오픈을 했다.

바람직한 것 같다.
교수들에게 큰 자극제가 될 수 있을 것이다.

그들에게 철밥통을 안겨준 이유는 힘들게 공부했으니 이제는 쉬라는 것이 아니라,
힘들게 배운 것을 더 발전도 시키고,
보다 많은 사람에게 지식을 베풀라는 의미일 것이다.
반응형
Question 19 : 클래스의 형변환

Given:
1. class TestA {
2.      public void start() { System.out.println(”TestA”); }
3. }
4. public class TestB extends TestA {
5.      public void start() { System.out.println(”TestB”); }
6.      public static void main(String[] args) {
7.           ((TestA)new TestB()).start();
8.      }
9. }

What is the result?

A. TestA
B. TestB
C. Compilation fails.
D. An exception is thrown at runtime.


Answer: B
반응형

'잘난놈되기 > SCJP' 카테고리의 다른 글

Q021. 추상클래스  (1) 2008.05.03
Q020. 내부 무명 클래스  (0) 2008.04.30
Q018. 인터페이스  (0) 2008.04.13
Q017. import static  (0) 2008.04.11
Q016. 내부클래스  (0) 2008.04.04
Question 18  : 인터페이스

Given:
1. public interface A {
2.      String DEFAULT_GREETING = “Hello World”;
3.      public void method1();
4. }

A programmer wants to create an interface called B that has A as its parent. Which interface declaration is correct?

A. public interface B extends A { }
B. public interface B implements A { }
C. public interface B instanceOf A { }
D. public interface B inheritsFrom A { }


[HeadFirst Java - p.258]
# 인터페이스 정의
     public interface Pet {...}
# 인터페이스 구현
     public class Dog extends Canine implements Pet {...}


//A를 부모로 하여 B라는 인터페이스를 만들려고 한다. 인터페이스의 정의가 올바른 것은?
Answer: A
반응형

'잘난놈되기 > SCJP' 카테고리의 다른 글

Q020. 내부 무명 클래스  (0) 2008.04.30
Q019. 클래스의 형변환  (0) 2008.04.13
Q017. import static  (0) 2008.04.11
Q016. 내부클래스  (0) 2008.04.04
Q015. 무명클래스의 형태  (0) 2008.04.04
Question 17 : import static

Given:
1. package sun.scjp;
2. public enum Color { RED, GREEN, BLUE }

1. package sun.beta;
2. // insert code here
3. public class Beta {
4.      Color g = GREEN;
5.      public static void main( String[] argv)
6.      { System.o ut.println( GREEN); }
7. }

The class Beta and the enum Color are in different packages.

Which two code fragments, inserted individually at line 2 of the Beta declaration, will allow this code to compile? (Choose two.)

A. import sun.scjp.Color.*;
B. import static sun.scjp.Color.*;
C. import sun.scjp.Color; import static sun.scjp.Color.*;
D. import sun.scjp.*; import static sun.scjp.Color.*;
E. import sun.scjp.Color; import static sun.scjp.Color.GREEN;

[HeadFirst Java - p.261]
# 패키지가 원래 이름 충돌을 방지하기 위한 용도로 만들어진 것은 아니지만, 이름 충돌을 방지하는 것도 패키지의 핵심적인 기능 가운데 하나라고 할 수 있습니다.
# 클래스를 package에 집어넣는 방법
     1. 패키지 명을 결정합니다.
          - "com.headfirstjava"를 예로 들면, 클래스 명이 'PackageExercise'라면
          - 전체이름은 "com.headfirstjava.PackageExercise"
     2. 클래스에 package 선언문을 집어넣습니다.
          - 소스코드 파일의 첫번째 선언문이어야 한다.
          - 소스 파일 하나에 들어있는 클래스는 모두 같은 패키지에 들어있어야 한다.
          - package 선언문이 하나밖에 들어갈 수 없기 때문이다.
     3.디렉토리 구조를 패키지 구조에 맞게 설정
          - PackageExercise의 소스코드는
          - com이라는 디렉토리 밑에 있는 headfirstjava라는 디렉토리 밑에 위치

[HeadFirst Java - p.261]
# 정적 임포트를 사용한 코드
     import static java.lang.System.out;
     import static java.lang.Math.*;
     class WithStatic {
          public static void main(String [] args) {
               out.println("sqrt " + sqrt(2.0));
               out.println("tan " + tan(60));
          }
     }

Answer: CE
반응형

'잘난놈되기 > SCJP' 카테고리의 다른 글

Q019. 클래스의 형변환  (0) 2008.04.13
Q018. 인터페이스  (0) 2008.04.13
Q016. 내부클래스  (0) 2008.04.04
Q015. 무명클래스의 형태  (0) 2008.04.04
Q014. 열거형  (0) 2008.04.03
Question 16 : 내부클래스

Click the Exhibit button.
10. interface Foo {
11.      int bar();
12. }
13.
14. public class Beta {
15.
16.      class A implements Foo {
17.           public int bar() { return 1; }
18.      }
19.
20.      public int fubar( Foo foo) { return foo.bar(); }
21.
22.      public void testFoo() {
23.
24.           class A implements Foo {
25.                public int bar() { return 2; }
26.           }
27.
28.           System.out.println( fubar( new A()));
29.      }
30.
31.      public static void main( String[] argv) {
32.           new Beta().testFoo();
33.      }
34. }

Which three statements are true? (Choose three.)

A. Compilation fails.
B. The code compiles and the output is 2.
C. If lines 16, 17 and 18 were removed, compilation would fail.
D. If lines 24, 25 and 26 were removed, compilation would fail.
E. If lines 16, 17 and 18 were removed, the code would compile and the output would be 2.
F. If lines 24, 25 and 26 were removed, the code would compile and the output would be 1.


[HeadFirst Java - p.410]
# 내부클래스에서는 외부클래스의 모든 메소드와 변수를 사용할 수 있습니다. 심지어 private로 지정된 메소드와 클래스도 전부 쓸 수 있습니다. 내부클래스에서는 그런 외부클래스의 변수와 메소드도 모두 내부클래스 안에서 선언한 것처럼 사용하면 됩니다.
# 간단한 내부클래스 (내부클래스에서 외부클래스 변수를 사용하는 방법)
     class MyOuterClass {
          private int x;
          class MyInnerClass {
               void go() { x = 42; }
          }
     }


Answer: BEF
반응형

'잘난놈되기 > SCJP' 카테고리의 다른 글

Q018. 인터페이스  (0) 2008.04.13
Q017. import static  (0) 2008.04.11
Q015. 무명클래스의 형태  (0) 2008.04.04
Q014. 열거형  (0) 2008.04.03
Q013. import static  (0) 2008.04.03

+ Recent posts