한양대학교 컴파일러 20 21 중간기말

 1  한양대학교 컴파일러 20 21 중간기말-1
 2  한양대학교 컴파일러 20 21 중간기말-2
 3  한양대학교 컴파일러 20 21 중간기말-3
 4  한양대학교 컴파일러 20 21 중간기말-4
 5  한양대학교 컴파일러 20 21 중간기말-5
 6  한양대학교 컴파일러 20 21 중간기말-6
 7  한양대학교 컴파일러 20 21 중간기말-7
 8  한양대학교 컴파일러 20 21 중간기말-8
 9  한양대학교 컴파일러 20 21 중간기말-9
 10  한양대학교 컴파일러 20 21 중간기말-10
 11  한양대학교 컴파일러 20 21 중간기말-11
 12  한양대학교 컴파일러 20 21 중간기말-12
※ 미리보기 이미지는 최대 20페이지까지만 지원합니다.
  • 분야
  • 등록일
  • 페이지/형식
  • 구매가격
  • 적립금
자료 다운로드  네이버 로그인
소개글
한양대학교 컴파일러 20 21 중간기말에 대한 자료입니다.
본문내용
1. (10) Please construct a symbol table of your own program with “NAME, KIND, TYPE, ATTRIBUTES” to meet
following constraints: 1) two functions exist, 2) one of the function contains two inner scopes, where the scopes
are independent from each other, 3) three variables with same name in different scopes exist, 4) at least one
extern variable, const variable, float variable, int variable, char variable are required. You also need to provide
the program in C language.
2. (10) (a) Please construct a type derivation to show “if (iszero(succ(pred(0)))) then pred(succ(0)) else
succ(pred(0)): int” under the following situation.
(b) Please change “if (iszero(succ(pred(0)))) then pred(succ(0)) else succ(pred(0)): int” to have a type error
under the following situation.
하고 싶은 말
한양대학교 시험문제, 족보, 기출문제 입니다.
여러 과목 판매하고 있으니 판매자료 참고 부탁드립니다.