U E D R , A S I H C RSS

Programming Language Class/Report2002_2

Principles of Programming Languages Spring, 2002 Programming Assignment #2

Due : May 6th, 2002

No report will be accepted after due date.
  • 해당 날짜 이후 레포트는 받지 않음

Problem Description


Design and implement simple test programs in Visual C++(V6.0), Visual Basic(V6.0) and Java(JDK 1.4).
  • Visual C++(6.0)과 Visual Basic(6.0), Java(JDK1.4)에서 디자인과 구현에 대한 간단한 테스트


  1. To find out the maximum length of a variable name
    • 변수명의 최대 길이 값을 찾기
  2. To assess the type-compatibility rule adopted by the Compilers;
    • 컴파일러가 적용하는 type-compatibility 규칙(묵시적 형변환 따위) 에 대한 평가.
      DeleteMe) 여기서는 name-compatibility 와 structured-compatibility를 이야기하는것 같은데 --석천
  3. To evaluate the security of pointers in the Compilers;
    • 컴파일러에서 포인터에 대한 보안성에 관한 평가
  4. To check the evaluation order of operands in the Compilers by raising the functional side-effects if possible;
    • 만약 가능하다면 functional side-effects가 발생이 컴파일러에서 operand의 순서에 대한 평가 점검한다. -수정 필요
  5. To identify a situation in which the “add” operator would not be associative;
    • "add" 연산자(operator)가 쓰일수 없는 상황에 대하여 확인하기
  6. To determine the largest and smallest positive floating point number in Intel Pentium processor.
    • Intel Pentium processor 상에서 양수인 부동 소수점의 가장 큰값과 작은 값 결정

Output


The output should be a sequence of test programs with the results generated from them. Your grade will be highly dependent on the quality of your test programs.
  • 결과물은 주어진 것들에 의해서 만들어지는 테스트 프로그램을 순서대로 제출하라. 채점은 아마 테스트 프로그램의 품질이 많은 영향을 미칠것이다.

Hand In


As usual, you shall submit a floppy diskette with a listing of your program and a set of test data of your own choice, and the output from running your program on your test data set.
  • 보통, floppy diskette에 당신의 프로그램과, 테스트한 데이터들과 실행에 의한 결과를 제출한다.
Be sure to design carefully your test data set to exercise your program completely. You are also recommended in your documentation to include the rationale behind your test programs.
  • 프로그램의 완벽한 수행을 위해서 당신의 데스트 데이터를 신중히 설계하라. 또한 당신의 테스트 프로그램 내부에 합당한 문서를 첨부하는 것을 추천한다.
In order words, explain why you design them in such a way and what you intend to demonstrate
  • 다시 말하여, 당신이 왜 그러한 디자인을 하였는지, 어떠한 의도로 해당 테스트를 만들었는지에 대한 논리적 설명을 첨부하라.

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:24:03
Processing time 0.0132 sec