1. º¯¼öÀÇ È°¿ë

º¯¼ö¶õ Àú±ÝÅë¿¡ µ·À» ³ÖµíÀÌ ¾î¶² °ªÀ» ±â¾ï½ÃÅ°´Â ±â¾ïÀå¼Ò(ramÀÇ ¾î´À ÇÑ ºÎºÐ)¸¦ º¯¼ö¶ó°í ÇÑ´Ù. º¯¼öÀÇ °ªÀº »ó¼öó·³ Á¤ÇØÁ® ÀÖÁö ¾Ê°í ¾ðÁ¦µçÁö º¯ÇÒ ¼ö ÀÖ´Ù.  º¯¼ö¸íÀº 40ÀÚ¸¦ ³ÑÁö ¸»¾Æ¾ß Çϸç ù ÀÚ¸¦ alphabet ¹®ÀÚ·Î ½ÃÀÛÇØ¾ß ÇÑ´Ù. ±× ¿ÜÀÇ ¹®ÀÚµéÀº ¾ËÆĺª, ¼ýÀÚ, ¸¶Ä§Ç¥ µîÀÌ µÉ ¼ö ÀÖ´Ù. º¯¼ö¸í¾È¿¡ space´Â Çã¿ëµÇÁö ¾Ê´Â´Ù. QbasicÀÇ keyword´Â º¯¼ö¸íÀ¸·Î »ç¿ëÇÒ ¼ö ¾ø´Ù.( 3456, current_balance, Date paid, print) »ó¼ö¶õ ÇÁ·Î±×·¥¿¡¼­ °è»ê¿¡ ÀÌ¿ëµÇ´Â ÀÚ·á·Î ±×  °ªÀÌ Çѹø Á¤ÇØÁö¸é º¯ÇÏÁö ¾Ê´Â ÀڷḦ ¶æÇÏ¸ç ¼ýÀÚ»ó¼ö¿Í ¹®ÀÚ»ó¼ö°¡ ÀÖ´Ù.

1)¼ýÀÚ»ó¼ö
   º£ÀÌÁ÷¹®¿¡¼­ ¼ýÀÚ·Î ³ªÅ¸³½ °ÍÀ» ¸»ÇÑ´Ù.
   ¿¹ 4, 9, 12
    ¼ýÀÚ»ó¼öÀÇ »ç¿ë±ÔÄ¢
     * ºÎÈ£(+, -)¸¦ °¡Áú ¼ö ÀÖÀ¸¸ç ¾ç¼öÀÏ ¶§´Â + ¸¦ »ý·«ÇÒ ¼ö ÀÖ´Ù.
     * ¼Ò¼ýÁ¡Àº »ç¿ëÇÒ ¼ö ÀÖÀ¸³ª ÄÞ¸¶´Â »ç¿ëÇÒ ¼ö ¾ø´Ù. 92.5
     * À¯È¿¼ýÀÚ 7ÀÚ¸® À̳»·Î Ç¥ÇöµÈ ¼ýÀÚ´Â ±×´ë·Î Ãâ·ÂµÇ³ª ±â ÀÌ»óÀÇ ¼ýÀÚ´Â Áö¼öÇüÅ·ΠÃâ·ÂµÈ´Ù.
 2)¹®ÀÚ»ó¼ö
    º£ÀÌÁ÷¹®¿¡¼­ µû¿ÈÇ¥("  ")¾ÈÀÇ ¹®ÀÚ³ª ¼ýÀÚ¸¦ ¹®ÀÚ¿­À̶ó Çϸç ÇϳªÀÇ »ó¼ö·Î °£ÁÖÇϴµ¥ À̸¦ ¹®ÀÚ»ó¼ö¶ó ÇÑ´Ù.
    ¿¹: "406-9051", "SEOUL",
    ¹®ÀÚ»ó¼öÀÇ »ç¿ë±ÔÄ¢
    * ¼ýÀÚµµ µû¿ÈÇ¥ ¾È¿¡ ÀÖÀ¸¸é ¹®ÀÚ»ó¼ö°¡ µÈ´Ù.
    * ¹®ÀÚ¿­ÀÇ »ç¿ë±æÀÌ´Â 256 ÀÚ Á¤µµÀÌ´Ù.
    * ¹®ÀÚ»ó¼ö°¡ 0 °³ ÀÖ´Â »ó¼ö¸¦ Null string À̶ó°í ÇÑ´Ù.


 º¯¼ö¿¡ »ó¼ö¸¦ ÁÖ¾î »ó¼ö¸¦ Ãâ·ÂÇÏ´Â source code

1) source code

 CLS
 A=4000
 B=3000
 C=6000
 D=A+B+C
 PRINT D

¿¬½À¹®Á¦: »çÄ¢¿¬»ê¿¡ ´ëÇؼ­µµ °øºÎÇغ¸ÀÚ.

½ÇÇà: ÇÕ°è »ó¼ö 12000ÀÌ È­¸é¿¡ Ãâ·ÂµÈ´Ù.

2) source code

 CLS
 INPUT "input a"; a
 INPUT "input b"; b
 INPUT "input c"; c
 d=a+50
 e=b+60
 f=c+70
 print d,e,f

Âü°í: ¶Ç´Â print a+50, b+60, c+70

 ½ÇÇà: input ÀÌ È­¸é¿¡ Ãâ·ÂµÇ¸é Â÷·Ê´ë·Î ¿¹¸¦ µé¸é »ó¼ö 10, 20, 30À» ÀÔ·ÂÇÏ¸é º¯¼ö d,e,f ¿¡ °è»êµÇ¾î ÀúÀåµÈ °ªÀÌ Ãâ·ÂµÈ´Ù.
 
ÇÁ·Î±×·¥¿¡ ÀÔ·ÂÀ» Çϱâ À§Çؼ­´Â input ¸í·ÉÀ» »ç¿ëÇÑ´Ù. input ¸í·É ´ÙÀ½¿¡´Â È­¸é¿¡ ³ªÅ¸³ª´Â ¸í·É¾î¿Í º¯¼öÀÇ À̸§À» ½á¾ß ÇÑ´Ù.  ÀԷµǴ °ªÀº º¯¼ö¿¡ ÀúÀåµÈ´Ù.

3) source code

 CLS
 INPUT "Please type in number of cars" ; car
 PRINT "You have"; car; "cars."

 ½ÇÇà
 Please input number of cars. ¶ó´Â ¹®ÀåÀÌ È­¸é¿¡ Ãâ·ÂµÇ¸é ÇöÀç °¡Áö°í ÀÖ´Â Â÷ÀÇ ¼ýÀÚ¸¦ ÀÔ·ÂÇÑ´Ù.
 3 À̶ó°í ÀÔ·ÂÇϸé
 You have 3 cars. °¡ Ãâ·ÂµÈ´Ù.

4) ºñµð¿À °¡°Ô ÁÖÀÎÀÌ catÀ̶ó´Â Á¦¸ñÀÇ ºñµð¿À¿Í wolf¶ó´Â Á¦¸ñÀÇ ºñµð¿À ±×¸®°í dog¶ó´Â Á¦¸ñÀÇ ºñµð¿À¸¦ °¡Áö°í ÀÖ´Â °æ¿ìÀÌ´Ù. ÀÌ °æ¿ì programmingÀ» ÅëÇؼ­ ºñµð¿À¸¦ ¾î¶»°Ô °ü¸®ÇÒ ¼ö ÀÖ´Â Áö¿¡ ´ëÇØ ¾Ë¾Æº¸ÀÚ
º¯¼ö cat. wolf. dog. tapes¸¦ ¼³Á¤ÇÑ´Ù.

1´Ü°è: tapeÀÇ ÃÑ °³¼ö °ü¸®

source code

CLS
INPUT "Type in number of cat"; cat
INPUT "Type in number of wolf"; wolf
INPUT "Type in number of dog"; dog
tapes=cat+wolf+dog
Print "total number of tapes"; tapes
Enter number of cat °ú °°Àº ¹®ÀÚ°¡ Ãâ·ÂµÇ¸é ÇöÀç º¸À¯ÇÏ°í ÀÖ´Â ¼ýÀÚ¸¦ ÀÔ·ÂÇÏ¸é µÈ´Ù.  ±×·Á¸é ¸¶Áö¸·¿¡ ÃÑ tapeÀÇ °³¼ö¸¦ Ãâ·ÂÇÏ¿© ÁØ´Ù.  

2´Ü°è: °¢  tapeÀÇ °¡°Ý ¹× ÃÑ °¡°Ý °ü¸®

source code

cls
input "How much is cat";
price
Input "How many cats do you have";
quantity
total.num.tapes=quantity
total.value=price*quantity
input "How much is wolf"; price
input "How many wolves do you have"; quantity
total.num.tapes=total.num.tapes+quantity
total.value=total.value+price*quantity
input "How much is dog"; price
input "How many dogs do you have"; quantity
total.num.tapes=total.num.tapes+quantity
total.value=total value+price*quantity
average.value=total.value/total.num.tapes
print "The total value of all tapes is:"
print "$", total.value
print "The average value is:"
print "$", average.value

½ÇÇà ¹× Çؼ³

¿©±â¿¡¼­´Â º¯¼ö price/quantity/total.num.tapes/total.value ¿¡ ¿¬ÀÌ¾î °è»êµÇ´Â »õ·Î¿î »ó¼ö°¡ °è»êµÇ¾îÁö¸é ±× °á°ú »ó¼ö°¡ ÀúÀåµÇ´Â Á¡¿¡ À¯ÀÇÇÑ´Ù.   ¶ÇÇÑ °è»êÀº ¿À¸¥ÂÊÀÇ °ªÀÌ ¸ÕÀú °è»êµÇ°í ¿ÞÂÊÀ¸·Î ÁøÇàµÇ´Â ¼ø¼­ÀÌ´Ù. Àß ÀÌÇØ°¡ ¾È°¡¸é ½ÇÁ¦ ¼ýÀÚ¸¦ ´ëÀÔÇØ º¸¸é »¡¸® ÀÌÇظ¦ ÇÒ ¼ö ÀÖÀ» °ÍÀÌ´Ù.

¶Ç´Â ´ÙÀ½°ú °°ÀÌ programingÀ» ÇÏ¿©µµ µÈ´Ù.

°¡Á¤ÇÏ¿© catÀÇ °³´ç °¼°ÝÀÌ 1000¿ø wolfÀÇ °³´ç°¡°ÝÀÌ 2000¿ø dogÀÇ °³´ç °¡°ÝÀÌ 3000¿øÀ̶ó°í ÇÑ´Ù¸é

source code

CLS
INPUT "Type in number of cat"; cat
INPUT "Type in number of wolf"; wolf
INPUT "Type in number of dog"; dog
tp=cat*1000+wolf*2000+dog*3000
print "total price of video"; tp

2. for/next ±¸¹®

2.1 °£´ÜÇÑ Ãâ·Â¹® ¹Ýº¹ ÇÁ¸°Æ®

(1)
source code

For
x=1 to 10
print  "rose"
next
x

½ÇÇà

rose
rose
rose
rose
rose
rose
rose
rose
rose
rose

Âü°í: X ´Â º¯¼öÀ̸ç next ´ÙÀ½ÀÇ º¯¼ö´Â »ý·«µÉ ¼ö ÀÖ´Ù.

(2)
source code

for x=1 to 10
print "rose"; x
next x

½ÇÇà

rose 1
rose 2
rose 3
rose 4
rose 5
rose 6
rose 7
rose 8
rose 9
rose 10

(3)
source code

cls
input "Please enter your name.", name$
print
for x=1 to 10
print name$
next x

½ÇÇà

Please enter your name. ÀÌ È­¸éÀÌ ³ª¿À¸é ¹Ù·Î À̸§À» ÀÔ·ÂÇÑ´Ù. Hyon-soo, Lee ÀÔ·ÂÇϸé

Hyon-soo, Lee
Hyon-soo, Lee
Hyon-soo, Lee
Hyon-soo, Lee
Hyon-soo, Lee
Hyon-soo, Lee
Hyon-soo, Lee
Hyon-soo, Lee
Hyon-soo, Lee
Hyon-soo, Lee

°¡ Ãâ·ÂµÈ´Ù.


2.2 ±¸±¸´Ü ÀÚµ¿½ÇÇà ÇÁ·Î±×·¥

source code

input "dan="; d
for x=1 to 9
print d;"*; x "="; d*x
next x

½ÇÇà
Å°¸¦ ´©¸£¸é
dan=? À̶ó°í ¸î´ÜÀ» ½ÇÇàÇÏ´À³Ä´Â ¹°À½Ç¥°¡ ³ª¿Â´Ù
ÀÌ ¶§ 1À» ÀÔ·ÂÇϸé

1*1=1
1*2=2
1*3=3
1*4=4
1*5=5
1*6=6
1*7=7
1*8=8
1*9=9

¿Í °°ÀÌ ½ÇÇàµÈ´Ù.

2.3 ¿¬¼ÓµÇ´Â ¼ýÀÚ ÀÚµ¿ÇÕ°è

(1) source code

CLS
FOR x=1 to 10
sum=sum+x
if x=10 then print "total="; sum
next x

½ÇÇàÅ°¸¦ ´©¸£¸é 1ºÎÅÍ ¿¬¼ÓµÇ´Â ¼ýÀÚ 1+2+3+5+6+7+8+9+10 ÀÇ ÇÕ°èÀÎ
total=55¸¦ È­¸é¿¡ Ãâ·ÂÇÑ´Ù.

(2) source code

cls
for x=2 to 8
sum=sum+x
if x=8 then print sum

½ÇÇàÅ°¸¦ ´©¸£¸é x=8  ÀÏ ¶§ÀÇ ÇÕ 20À» Ãâ·ÂÇÑ´Ù.

3. if~thenÀÇ Çü½Ä

source code

cls
print "menu"
print "-----"
print "1. red "
print "2. green "
print "3. blue "
input "your selection:". choice
if choice=1 then print "You chose red."
if choice=2 then print "You chose green."
if choise=3 then print "You chose blue."

½ÇÇà

menu
------

1. red
2. green
3. blue

Your seletionÀÌ È­¸é¿¡ Ãâ·ÂµÇ¸é 1À» ÀÔ·ÂÇÒ °æ¿ì
You chose red ¶ó´Â ±ÛÀÚ°¡ Ãâ·ÂµÈ´Ù.   

4. if ~ then, end if

source code 1

cls
print "menu"
print "-----"
print "1. red"
print "2. green"
print "3. blue"
input "Your selection:". choice
if choice=1 then
color 4
print "You chose red."
end if
if choice 2 then
color 2
print "You chose green."
end if
if choice =3 then
color 1
end if

½ÇÇà

È­¸é¿¡

menu
-----
1. red
2. green
3. blue
Your selection À̶ó´Â ±ÛÀÚ°¡ È­¸é¿¡ Ãâ·ÂµÇ¸é 1À» ÀÔ·ÂÇÏ¿´À» °æ¿ì
»¡°£ »öÀ¸·Î
You chose red ¶ó´Â ±ÛÀÚ°¡ È­¸é¿¡ Ãâ·ÂµÈ´Ù.
 

source code 2

cls
input "Enter sex:", sex$
if sex$="male" then
input "enter the height:", H
if H>175 then print "ok" else print "no"
endif
if sex$="female" then
input "enter the height:", H
if H>=160 then print "ok" else print "No"
endif
end

Çؼ³: ³²ÀÚ´Â Å°°¡ 175 cm ÀÌ»óµÇ´Â »ç¶÷¸¸ ¿©ÀÚÀÎ °æ¿ì´Â Å°°¡ 160cm  ÀÌ»óµÇ´Â »ç¶÷¸¸ Ãâ·ÂÇϵµ·Ï ÇÏ´Â ÇÁ·Î±×·¥
 

5. ºñ±³Çü½Ä

source code

cls
input Please enter a numrer:", number
if number <=100 then goto lessthan
print "Your number is greater than 100"
end
lessthan:
print "Your number is less than or equal 100"

½ÇÇà

Please enter number °¡ È­¸é¿¡ Ãâ·ÂµÇ¸é ¿¹¸¦ µé¾î 102¸¦ ÀÔ·ÂÇϸé
Your number is greater than 100 À̶ó´Â È­¸éÀÌ Ãâ·ÂµÇ°í
99¸¦ ÀÔ·ÂÇϸé
Your number is less than or equal to 100 À̶ó´Â ¹®ÀÚ°¡ È­¸é¿¡ Ãâ·ÂµÈ´Ù.

6. ¹è¿­

6.1 2Â÷¿ø ¹è¿­

data 50, 54, 56
data   5,  9,  0
data   1,  1,  1
data   2,  2,  2
data 10, 10, 10

»ó±â¿Í °°Àº ¸ð¾çÀ¸·Î Ãâ·ÂµÇ´Â ÇÁ·Î±×·¥À» ÀÛ¼ºÇغ¸ÀÚ

source code

cls
dim z(5,3)
for y=1 to 5
for x=1 to 3
read z(y,x)
next x
next y
for y=1 to 5
for x=1 to 3
print z(y,x)
next x
print
next y
data 50, 54, 56
data 5, 9, 0
data 1, 1, 1
data 2, 2, 2
data 10, 10, 10

½ÇÇàÇϸé

50 54 56
5  9    0
1   1   1
2   2   2
10 10 10
À¸·Î È­¸éÀÌ Ãâ·ÂµÈ´Ù.

7. Graphic Mode

ÀϹÝÀûÀ¸·Î »ç¿ëµÇ°í ÀÖ´Â text mode·Î È­¸é¿¡ Ç¥½ÃÇÒ ¼ö ÀÖ´Â ÃÖ´ë±ÛÀÚ¼ö´Â °¡·Î 80 * ¼¼·Î 25ÀÌ´Ù ±×·¯³ª graphic mode¿¡¼­ÀÇ ±âº»´ÜÀ§´Â ±ÛÀÚ°¡ ¾Æ´Ï¶ó Á¡(pixel)À̸ç ÀÌ Á¡À» È­¸é¿¡ ¾ó¸¶³ª ÃÖ´ë·Î ÂïÀ» ¼ö ÀÖ´Â Á¤µµ¸¦ Çػ󵵶ó ÇÑ´Ù. Çػ󵵴 ȭ¸éÀÇ Å©±â¿Í ¹«°üÇÏ¸ç ±×·¡ÇÈ Ä«µå Á¾·ù¿¡ µû¶ó °áÁ¤µÈ´Ù. graphic adapterÀÇ ÇØ»óµµÀÇ ÇØ»óµµ¿Í Á¾·ù´Â ´ÙÀ½°ú °°´Ù.

±×·¡ÇÈ ¾Ö´þÅÍ Á¾·ù        ÇØ»óµµ

CGA                              320*480
Hercules                        720*348
VGA                               640*480


QBASIC¿¡¼­´Â È­¸é¿¡ ±×¸²À» ±×¸®±â Àü¿¡ text mode¿¡¼­ graphic mode·Î Àüȯ½ÃÅ°±â À§ÇØ ÇÁ·Î±×·¥ ¼±µÎ¿¡ screen mode¸¦ ¼±¾ðÇØ¾ß ÇÑ´Ù. ÇöÀç ÀϹÝÀûÀ¸·Î »ç¿ëÇÏ°í ÀÖ´Â VGA¿¡¼­´Â
Screen Mode 12¸¦ ÁÖ¸é µÇ°í »ö»óÀº 16»öÀ» Áö¿øÇÑ´Ù.


¹øÈ£

»ö»ó

¹øÈ£

»ö»ó

0
1
2
3
4
5
6
7

black
blue
green
cyan(û·Ï»ö)
red
magenta(º¸¶ó)
brown
light gray

8
9
10
11
12
13
14
15

dark gray
light blue
light green
light cyan
light red
light magenta
ÁÖȲ
white

 

½ÇÁ¦·Î »ö»óÀÌ Àû¿ëµÇ´Â ´ÙÀ½ ÇÁ·Î±×·¥À» ½ÇÇàÇغ¸ÀÚ

source code 1

screen 12
cls
circle (320, 220), 60, 0
circle (320, 220), 70, 1 
circle (320, 220), 80, 2
circle (320, 220), 90, 3
circle (320, 220), 100, 4
circle (320, 220), 110, 5
circle (320, 220), 120, 6
circle (320, 220), 130, 7
circle (320, 220), 140, 8
circle (320, 220), 150, 9
circle (320, 220), 160, 10
circle (320, 220), 170, 11
circle (320, 220), 180, 12
circle (320, 220), 190, 13
circle (320, 220), 200, 14
circle (320, 220), 210, 15

½ÇÇà

È­¸é¿¡ Áß½ÉÁ¡ x, y ÁÂÇ¥(320, 220)¿¡ ÃÖ¼Ò ¹ÝÁö¸§ÀÌ 60¿¡¼­ 10¾¿ Áõ°¡ÇÏ´Â µ¿½É¿øÀÌ Ã³À½»ö»ó Èæ»öÀ» ÃʱⰪÀ¸·ÎÇÏ´Â 16°³°¡ È­¸é¿¡ ¾Æ¸§´ä°Ô ±×·ÁÁø´Ù. (Èæ»öÀº ¹ÙÅÁÈ­¸é°ú µ¿ÀÏÇϹǷΠ½Äº°µÇÁö ¾Ê´Â´Ù. )

»ó±â ÇÁ·Î±×·¥Àº for ~ next ±¸¹®À» ÀÌ¿ëÇÏ¿© ´ÙÀ½°ú °°ÀÌ °£´ÜÈ÷ ÇØ°áµÈ´Ù.

source code 2

screen 12
cls
Y=0
for x=60 to 210 step 10
circle (320, 220), x, y
y=y+1
next x

soruce code 3

cls
screen 12
for I=100 to 150 step 10
circle (300, 200), I, 4
next I

Çؼ³: À§ÀÇ source¿¡¼­ 4´Â Àû»öÀ» ³ªÅ¸³½´Ù. ¼ýÀÚ¸¦ ¹Ù²ã°¡¸ç »ö±òÀÌ º¯ÇÏ´Â ¸ð½ÀÀ» °üÂûÇÏÀÚ

8. Sound

 play: ÁöÁ¤µÈ À½¾ÇÀ» ¿¬ÁÖÇØÁØ´Ù.
 Çü½Ä: play ¹®ÀÚº¯¼ö ¶Ç´Â "À½°è¸í"
 À½ÀÇ °è¸í c  d  e   f   g   a   b
               µµ ·¹ ¹Ì ÆÄ ¼Ö  ¶ó  ½Ã
         +:  ¹ÝÀ½ ¿Ã¸² -: ¹ÝÀ½ ³»¸²
 ÅÛÆ÷(Tn): nÀº 32~255±îÁö ÁöÁ¤ÇÏ¸ç ¼ýÀÚ°¡ Ŭ¼ö·Ï ºü¸£¸ç ÁöÁ¤ÇÏÁö ¾ÊÀ¸¸é T120À¸·Î ¿¬ÁÖÇÑ´Ù.
 ¿ÁŸºê(On): nÀº 0~6±îÁö ÁöÁ¤ÇÏ¸ç ¼ýÀÚ°¡ Ŭ¼ö·Ï À§ÀÇ ¿ÁŸºêÀ̸ç ÁöÁ¤ÇÏÁö ¾ÊÀ¸¸é o4·Î °£ÁÖÇÏ°í Çѹø ÁöÁ¤ÇÏ¸é ´ÙÀ½¿¡ ÁöÁ¤ÇÒ ¶§±îÁö °è¼ÓÇؼ­ ÁöÁ¤ÇÑ ¿ÁŸºê·Î ¿¬ÁÖÇÑ´Ù.
    ³ôÀÌ  0   1   2   3   4   5   6  
    ±âÈ£ o0 o1 02 o3 o4 o5 o6
    * ´ÙÀ½°ú °°ÀÌ ¿ÁŸºê¸¦ ÁöÁ¤ÇØÁ־ µÈ´Ù.
      >: ÇÑ ¿ÁŸºê ³ôÀδÙ.
     >>: µÎ ¿ÁŸºê ³ôÀδÙ.
     <<: µÎ ¿ÁŸºê ³»¸°´Ù.
 

 ´ÙÀ½ À½¾ÇÀ» ¿¬ÁÖÇغ¸ÀÚ
  
 source code

 play "t120"
 play ""cdefgabo5c"

 source code

 play "t120"
 play "cdefgab>c

À½Ç¥(Ln): nÀº 1~64±îÁö ÁöÁ¤ÇÑ´Ù.
              ¿ÂÀ½Ç¥   2ºÐÀ½Ç¥  4ºÐÀ½Ç¥  8ºÐÀ½Ç¥  16ºÐÀ½Ç¥  32ºÐÀ½Ç¥  64ºÐÀ½Ç¥
               L1         L2          L4         L8          L16          L32          L64
 ½°Ç¥(Pn): nÀº 1~64±îÁö ÁöÁ¤ÇÑ´Ù.
               ¿Â½°Ç¥  2ºÐ½°Ç¥   4ºÐ½°Ç¥  8ºÐ½°Ç¥  16ºÐ½°Ç¥  32ºÐ½°Ç¥  64ºÐ½°Ç¥
               P1        P2           P4         P8          P16          P32         P64

º½¹Ù¶÷ ³ë·¡ source code

cls
rem Spring Wind
play "mn t120"
print "sol sol buneun bombaram sain nun nogigo"
play "o3L4c.e8go4co3ao4c8o3a8g2f.g9ecd2cp4"
print "jandibaten saesagi parut parut nagoyo"
play "ggffeg8e8d2ggffeg8e8d2"
print "sinaetmuleun jol jol jol noraehamyo hurune"
play "c.e8go4co3ao4c803ag2f.g8ecddcp4" 

¾î¸Ó´Ô ÀºÇý source code

cls
rem Thanks to Mom
play "mn t80"
print "Nopgo Nopeun Haneulira Maldeul hajiman
play "o3l4ef8go4c8c8o3b8a8g.ag8g8f8e8l2d.p8l4"
print "Naegenun nopunge tohana itchi"
play "l4ef8go4c8c8o3b8a8g.ag8f8e8d8l2c.p8l4"
print "nausigo girusineun omonim eunhye"
play "dd8gf8e8d8c8d.ee8f8g8a8l2g.p8"
print "pureun hanul gubodado nopeungotgatae"
play "l4o4cc8o3ba8g8a8g8e.aa8g8a8b8o4l2c.p8"