For faster navigation, this Iframe is preloading the Wikiwand page for 값 (컴퓨터 과학).

값 (컴퓨터 과학)

컴퓨터 과학에서 은 더 이상 평가될 수 없는 하나의 식이다.[1]의 멤버들은 그 형의 값들이다.[2] 예를 들어, 식 "1 + 2"는 표현 "3"으로 축약될 수 있기 때문에 값이 아니다. "3"은 더 이상 축약될 수 없으므로 하나의 값이다.

"한 변수의 값"은 그 환경에서의 상응되는 매핑에 의해 주어진다. 할당 가능한 변수들을 갖는 언어들에서, 이는 R-값(내용)과 L-값(위치)을 구분하기 위해 중요해진다.[3]

선언형 (고수준) 언어에서, 값들은 참조적으로 투명해야 한다. 이것은 그 결과값이 그 값을 계산하기 위해 필요한 (하위)식이 저장되는 위치와 독립적이라는 것을 의미하며, 오직 그 위치의 내용들 (0 또는 1의 bit들)과 해석만이 중요하다.

또한 "값"은 일부 자료형에 따라 해석되는 비트의 연속이다. 뜻을 해석하는 데에 쓰이는 형에 따라 같은 연속의 비트들이 다른 값을 가질 가능성이 있다. 이를테면, 값은 정수나, 부동소수점 값, 또는 문자열이 될 수 있다.

어떠한 종류의 값은 대부분의 프로그래밍 언어에 흔하다. (이를테면, 다양한 종류의 수식) 반면 파스칼과 같은 다른 언어들은 이를 잘 지원하지 않는다.

참조

[편집]
  1. Mitchell 1996, p. 92.
  2. Mitchell 1996, p. 9.
  3. Mitchell 1996, pp. 389–390.

참고 문헌

[편집]

외부 링크

[편집]
{{bottomLinkPreText}} {{bottomLinkText}}
값 (컴퓨터 과학)
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?