← 수업 제작 도구
홈 › Components › Sketch (그림판) › 화면 32

화면 32. Sketch.readOnly [sink]

원본: Computation Layer 문서(Sketch (그림판)) · Try It (원본 화면)

화면 번호32 / 34
문서 항목 설명 (원문)readOnly Sets a Boolean value that determines whether or not a component will be ignored when determining a screen's correctness. If all components have a readOnly value of "true," we display a dash for the student's screen in the dashboard's summary view, indicating teachers can focus their efforts elsewhere.

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

화면 32 캡처

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

2. CL이 입력된 곳

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

번호이름종류CL 코드 원문, 번역, 설명
1레이블 없는 그림판그림판
# Marks this component as read-only, meaning
# that there is no student work to be scored.
▷ 이 구성요소를 읽기 전용으로 표시한다. 즉 점수를 매길 학생 작업이 없다는 뜻이다.
readOnly: true
▶ 그림판의 읽기 전용 여부(readOnly)는 true로 한다.
readOnly는 참이면 화면의 정답 판정에서 이 구성요소를 무시하고, 모든 구성요소의 readOnly가 참이면 대시보드 요약에 대시(-)를 표시한다.
2레이블 없는 수식 답변수식 답변
# Places a check mark in the summary tab of the
# teacher dashboard when the numeric value of the 
# input is 10
▷ 입력의 숫자 값이 10이면 교사 대시보드의 요약 탭에 체크 표시를 한다.

correct: this.numericValue = 10
▶ 수식 답변의 정답 조건(correct)은 this.numericValue = 10, 즉 이 입력의 계산한 값이 10과 같은지 비교한 결과로 한다.
correct는 참이면 교사 대시보드 요약에 회색 체크를 표시한다. numericValue는 입력한 식을 계산한 값을 가져온다.