← 수업 제작 도구
홈 › Components › Graph and Graphing Calc › 화면 27

화면 27. Graph.correct [sink]

원본: Computation Layer 문서(Graph) · Try It (원본 화면)

화면 번호27 / 29
문서 항목 설명 (원문)Sets a Boolean value that determines whether or not a gray checkmark is displayed for the student's screen in the dashboard's summary view.

1. 화면 캡처 (빨간 번호 = 아래 표의 번호)

화면 27 캡처

화면에 적힌 영어 문구(원문):

2. CL이 입력된 곳

코드 안의 회색 줄은 원문 영어 주석이고, 파란 줄은 그 영어 주석의 번역이며, 연분홍 줄은 코드가 하는 일의 설명이다.

번호이름종류CL 코드 원문, 번역, 설명
1레이블 없는 그래프그래프
# Sets the screen's "correct" sink to "true"
# if the student has created a square with the
# side length of 2 units.
▷ 학생이 한 변의 길이가 2인 정사각형을 만들었다면 화면의 "correct" sink를 "true"로 정한다.

correct: this.number("a") = 2
▶ 정답 조건(correct)은 그래프 변수 "a"가 2이면 참, 아니면 거짓(this.number("a") = 2)으로 한다.
correct는 참이면 교사 대시보드 요약에 회색 체크를 표시한다.