1. Introduction 3
while loop,
while loop is method that let variable move in routine.
There are three different type of while loop,
while loop is required WHILE
CONDITION, CONTENT. depend on the condition content can be repeated
as it is command
2. Learning Process 4
2.1. Increase Knowledge 4
I have listened the Video of C programming Chapter 7
Loop Section.
2.1.1. Make a note for something 4
while 기본원리 와 의미
while (반복조건)
반복내용
"반복의 조건" 이 만족되는 동안
"반복 내용"을 반복 실행하라.
while ( repeated condition)
{
repeated content
}
while( i <>
{
printf("Hello World!\n");
i++;
}
"i<10>
"printf()와 i++" 을 반복 실행하라
while( i <>
2.1.2. High light in a textbook 4
7장. 다양한 형태의 반복문
7-1 반복문이란?
반복문의 기능
특정 영역을 특정 조건이 만족하는 동안에 반복 실행하기 위한 문장
세 가지 형태의 반복문
while문에 의한 반복
do ~ while문에 의한 반복
for문에 의한 반복
7-2 while문에 의한 문장의 반복
while문의 기본 원리와 의미
예제 hello_while.c 참조
예제 nine_nine.c 참조
7-2 while문에 의한 문장의 반복
while 문의 중괄호
반복하고자 하는 영역이 둘 이상의 문장으로 구성되는 경우에 필수
무한 루프(반복)
반복의 조건으로 true가 오면 발생
7-2 while문에 의한 문장의 반복
while 문의 중첩
while문 안에 while문을 포함시킨다는 뜻
반복 구조 내에서 또 하나의 반복 구조 형성
예제 nested_while.c, two_to_nine.c 참조
7-2 while문에 의한 문장의 반복
while문의 순서도
7-3 do~while문에 의한 문장의 반복
do~while문과 while문의 차이점
do~while문은 일단 한번 실행하고 나서 조건 검사를 진행
예제 nine_nine2.c, add_end.c 참조
7-3 do~while문에 의한 문장의 반복
do~while문의 순서도
7-4 for문에 의한 문장의 반복
for문의 기본 원리와 의미
초기문, 조건문, 증감문 모두를 기본적으로 포함!
가장 많이 사용되는 반복문
for문과 while문의 비교
반복 과정의 이해
예제 add_ton.c, mean.c 참조
예제 nested_for.c, two_to_nine2.c 참조
2.1.3. Listening something or read it, 4
2.2. Memorising and reproducing 4
2.2.1. Make a list of similar things 4
for 문의 기본윈리 와 의미
-초기문, 조건문,증감문 모두를 기본적으로 포함
-가장 많이 사용되는 반복문
반복문
특정 영역
세가지 형태 반복문
while
do ~ while
for
기본 원리와 의미
while
반복조건
반복내용
while 문의 중괄호
무한루프(반복)
반복조건
True
while
중첩
반복구조
nested_while.c
do~while 과 while 의 차이점
초기문,조건문, 증감문
반복문
2.2.2. Say it or write it over and over; 4
2.2.3. Test yourself/by someone else test you 4
2.3. Applying 5
2.3.1. Practice applying it, initially in simple way 5
2.3.2. Looks for example 5
hello_while.c
nine_nine.c
while( i< i =" 0," j =" 0;" num =" 0;" j=" 0;" i =" 0;" i="0;" i="0;i<2;i++)" i =" 0;" i =" 0;">
2.3.3. Work on project that requires this new knowledge 5
2.3.4. Use formulae to solve problems or do calculation 5
WHILE ( 반복조건)
반복내용
FOR (초기문;조건문;증가문)
{
반복내용
}
2.3.5. Practice using the knowledge in short answers or essay 5
2.4. Understading 5
2.4.1. Think about new knowledge 5
2.4.2. Consider how the new knowledge relates to what you know 5
내가 코딩을 하는데 있어서 필요한 것이 포함되어 있다.ㅣ
LOOP는 PHP 코딩을 하는데 있어서, 리스트를 나타내게 하거나.
이것을 반복이 되게 나타낸다.
2.4.3. Write about it in your own word to clarify it for yourself 5
코딩을 하다 보면은 어떤것을 계속해서 반복적으로 나타내야 하는경우가 있다.
이런 반복을 컴퓨터가 제어를 하게 만드는것이 루틴,루프이다.
이것에는 3가지 종류가 있는데. 이것을 이해하려면 이것에 대한 구조를 알아야 한다.
초기문, 조건문, 증가문 을 파악할수 있다면, FOR LOOP 와 WHILE LOOP를 구분할수가 있다.
그리고, 두가지 다른 방식을 이해할수 있다.
2.4.4. Break it into parts and work out the part connected with each other 6
2.4.5. Talk about it 6
2.4.6. Draw a concept map or mind map or other diagram connecting it with other 6
2.5. Seeing something in a different way 6
만족이 되는것을 반복해서 계속해서 한다. 만약에 참인경우에.
어느순간에 참이 되는조건을 어긋낼때에는 그것이더이상 되지 않는다.
2.5.1. Diagram connecting it with other related knowledge engage in debates 6
2.5.2. Look for ideas and information that might show it wrong or inadequate 6
2.5.3. Think actively about the implications in relation to your own experience. 6
2.6. Changing as a person 6
2.6.1. Find out about what this means for others 7
This is useful for other programming and it will be useful creating the routine programming.
2.6.2. Consider whether this makes a difference 7
Loop While make me to help write essential programming code.
2.6.3. Look for how this changes other things you know 7
2.6.4. Change your ways of behaving / or understanding because of what you know see your self and your relationship to other differently. 7
wikipedia, PHP code souorce may have lots of for , while, do while routine programming
code. It may think to me understand the how they written by routine system.
3. Conclusion 8
I understand the concept and usage of the LOOP in C programming
I can used this technique in C, C++, JAVA, Javascript, PHP, action script.
4. References 9
열혈강의 C programming Ch 7
5. 10
No comments:
Post a Comment