λ³Έλ¬Έ λ°”λ‘œκ°€κΈ°

전체 κΈ€251

[μ†Œν”„νŠΈμ›¨μ–΄ 곡학] Verification, Validation and Testing Fundamentals of SW Test Verification: 잘 λ§Œλ“€κ³  μžˆλŠ”κ°€? Are we builing the product right? Validation: 잘 λ§Œλ“€μ—ˆλŠ”κ°€? Are we building the right product? Testing: μ‹€ν–‰ κ²°κ³Όλ₯Ό ν™•μΈν•œλ‹€. Testing vs. Debugging Testing: bug둜 인해 λ°œμƒν•œ 문제λ₯Ό μ°ΎλŠ”λ‹€. (by. tester) Debugging: bugλ₯Ό λ°œμƒμ‹œν‚¨ 문제λ₯Ό μ°Ύκ³ , μ½”λ“œλ₯Ό κ³ μΉœλ‹€. (by. developer) Confirm testing: failureκ°€ ν•΄κ²°λ˜μ—ˆμŒμ„ λ‹€μ‹œ ν™•μΈν•œλ‹€. (by. tester) Test Process Unit test: κ°œλ°œμžκ°€ μžμ‹ μ΄ κ΅¬ν˜„ν•œ 뢀뢄을 ν…ŒμŠ€νŠΈν•œλ‹€. Integration tes.. 2024. 2. 19.
[μ†Œν”„νŠΈμ›¨μ–΄ 곡학] UML(Unified Modeling Language), OOP(Object-Oriented Development Process), Modeling Engineering UML(Unified Modeling Language) Use Case Diagram: actor와 use case의 관계λ₯Ό λ„μ‹ν™”ν•œλ‹€. λͺ¨λ“  μœ μŠ€μΌ€μ΄μŠ€λ₯Ό μ·¨ν•©ν•˜λ©΄ μ‹œμŠ€ν…œμ˜ λͺ¨μŠ΅μ΄ λœλ‹€. Class Diagram: 클래슀 λ˜λŠ” ν΄λž˜μŠ€λ“€κ³Ό κ·Έλ“€μ˜ 관계λ₯Ό ν‘œμ‹œν•œλ‹€. Sequence Diagram: μ‹œκ°„ 경과에 따라 객체 κ°„μ˜ ꡐλ₯˜ 과정을 ν‘œν˜„ν•œλ‹€. Communication Diagram: 객체 κ°„μ˜ μƒν˜Έκ΄€κ³„λ₯Ό ν‘œν˜„ν•œλ‹€. Activity Diagram State Chart Component Diagram Deployment Diagram OOP(Object-Oriented Development Process) Inception: κΈ°μ‘΄ μ‹œμŠ€ν…œμ„ μ—…λ°μ΄νŠΈν•˜κ±°λ‚˜, μƒˆλ‘œμš΄ μ‹œμŠ€ν…œμ„ κ°œλ°œν•˜κΈ° μœ„ν•œ business ca.. 2024. 2. 19.
[μ†Œν”„νŠΈμ›¨μ–΄ 곡학] μ†Œν”„νŠΈμ›¨μ–΄ ν”„λ‘œμ„ΈμŠ€, μš”κ΅¬ 곡학 μ†Œν”„νŠΈμ›¨μ–΄ μ•„ν‚€ν…μ²˜ λ””μžμΈ μ†Œν”„νŠΈμ›¨μ–΄ κ³΅ν•™μ΄λž€? : 초기 ꡬ상 단계뢀터 μ‹œμŠ€ν…œ μ‚¬μš© 이후 λ°œμƒν•˜λŠ” μœ μ§€λ³΄μˆ˜κΉŒμ§€ ν¬ν•¨ν•˜λŠ” μ†Œν”„νŠΈμ›¨μ–΄ μƒμ‚°μ˜ λͺ¨λ“  관점과 κ΄€λ ¨ν•œ 곡학적인 ν•™λ¬Έ 뢄야이닀. μ†Œν”„νŠΈμ›¨μ–΄ 곡학은 κ³ ν’ˆμ§ˆ μ†Œν”„νŠΈμ›¨μ–΄ μ‹œμŠ€ν…œμ˜ λΉ„μš© 효율적인 κ°œλ°œμ— 쀑점을 λ‘”λ‹€. μ†Œν”„νŠΈμ›¨μ–΄ κ³΅ν•™μ—μ„œμ˜ λΉ„μš©(cost): 개발 + ν…ŒμŠ€νŠΈ λΉ„μš© μ†Œν”„νŠΈμ›¨μ–΄ ν”„λ‘œμ„ΈμŠ€ μ†Œν”„νŠΈμ›¨μ–΄ λͺ…μ„Έν™”(specification): μ‹œμŠ€ν…œμ„ κ°œλ°œν•˜κΈ° μœ„ν•΄ μ–΄λ–€ μ„œλΉ„μŠ€κ°€ ν•„μš”ν•œμ§€ μ΄ν•΄ν•˜κ³  μ •μ˜ν•˜λ©°, μ‹œμŠ€ν…œμ˜ 운영/κ°œλ°œμ— λŒ€ν•œ μ œμ•½μ‚¬ν•­μ„ μ°Ύμ•„λ‚΄λŠ” ν”„λ‘œμ„ΈμŠ€ μ†Œν”„νŠΈμ›¨μ–΄ 섀계(design) 및 κ΅¬ν˜„(implementation) : λͺ…μ„Έλ₯Ό μ‹€ν˜„ν•˜λŠ” μ†Œν”„νŠΈμ›¨μ–΄ ꡬ쑰λ₯Ό μ„€κ³„ν•˜κ³ , μ†Œν”„νŠΈμ›¨μ–΄ ꡬ쑰λ₯Ό μ‹€ν–‰ κ°€λŠ₯ν•œ ν”„λ‘œκ·Έλž¨μœΌλ‘œ λ³€ν™˜ν•œλ‹€. μ•„ν‚€ν…μ²˜ 섀계: μ‹œμŠ€ν…œμ˜ 전체 ꡬ쑰, μ£Όμš” μ»΄ν¬λ„ŒνŠΈ, 이듀.. 2024. 2. 19.
[C++] 15. STLκ³Ό λžŒλ‹€μ‹ 15.1 이번 μž₯μ—μ„œ λ§Œλ“€μ–΄ λ³Ό ν”„λ‘œκ·Έλž¨ 15.2 ν‘œμ€€ ν…œν”Œλ¦Ώ 라이브러리(STL: Standard Templete Library) : ν”„λ‘œκ·Έλž˜λ¨Έλ“€μ΄ κ³΅ν†΅μ μœΌλ‘œ μ‚¬μš©ν•˜λŠ” μžλ£Œκ΅¬μ‘°μ™€ μ•Œκ³ λ¦¬μ¦˜μ„ κ΅¬ν˜„ν•œ 클래슀 μ»¨ν…Œμ΄λ„ˆ: 자료λ₯Ό μ €μž₯ν•˜λŠ” 창고와 같은 역할을 ν•˜λŠ” ꡬ쑰 - λ°°μ—΄, μ—°κ²°λ¦¬μŠ€νŠΈ, 벑터, 집합, 사전, 트리 λ“± 반볡자(iterator): μ»¨ν…Œμ΄λ„ˆμ˜ μš”μ†Œλ₯Ό κ°€λ¦¬ν‚€λŠ” 데 μ‚¬μš©λœλ‹€. μ•Œκ³ λ¦¬μ¦˜ 탐색(find): μ»¨ν…Œμ΄λ„ˆ μ•ˆμ—μ„œ νŠΉμ •ν•œ 자료λ₯Ό μ°ΎλŠ”λ‹€. μ •λ ¬(sort): μžλ£Œλ“€μ„ 크기순으둜 μ •λ ¬ν•œλ‹€. λ°˜μ „(reverse): μžλ£Œλ“€μ˜ μˆœμ„œλ₯Ό μ—­μˆœμœΌλ‘œ ν•œλ‹€. μ‚­μ œ(remove): 쑰건이 λ§Œμ‘±λ˜λŠ” 자료λ₯Ό μ‚­μ œν•œλ‹€. λ³€ν™˜(transform): μ»¨ν…Œμ΄λ„ˆμ˜ μš”μ†Œλ“€μ„ μ‚¬μš©μžκ°€ μ œκ³΅ν•˜λŠ” λ³€ν™˜ ν•¨μˆ˜μ— λ”°λΌμ„œ λ³€ν™˜ν•œλ‹€. 15.3 .. 2024. 2. 17.
[μ–΄μ„œμ™€ C++λŠ” μ²˜μŒμ΄μ§€!] CH8 Exercise 1 #include using namespace std; int main() { int n; cout > n; int* p; // 포인터 μ„ μ–Έ p = new int[n]; // 동적 λ©”λͺ¨λ¦¬ ν• λ‹Ή for (int i = 0; i p[i]; // 동적 λ©”λͺ¨λ¦¬μ— μ •μˆ˜ μ €μž₯ } cout 2024. 2. 12.
[C++] 8. 포인터와 동적객체 생성 8.1 이번 μž₯μ—μ„œ λ§Œλ“€μ–΄ λ³Ό ν”„λ‘œκ·Έλž¨ 8.2 ν¬μΈν„°λž€? int n = 10; // λ³€μˆ˜ μ •μ˜ int *p; // 포인터 μ„ μ–Έ p = &n; // λ³€μˆ˜ n의 μ£Όμ†Œλ₯Ό 포인터 p에 μ €μž₯ #include using namespace std; int main() { int n = 10; int* p = &n; // 포인터 p에 λ³€μˆ˜ n의 μ£Όμ†Œ μ €μž₯ cout 2024. 2. 12.
[μ–΄μ„œμ™€ C++λŠ” μ²˜μŒμ΄μ§€!] CH6 Exercise 1 벑터 크기 μ„€μ • #include #include using namespace std; int main() { int n; cout > n; vector v(n); for (auto& e : v) { cout > e; } int max = v[0]; int min = v[0]; for (auto& e : v) { if (e > max) max = e; if (e < min) min = e; } cout 2024. 1. 30.
[C++] 6. 객체 λ°°μ—΄κ³Ό 벑터 6.1 이번 μž₯μ—μ„œ λ§Œλ“€μ–΄ λ³Ό ν”„λ‘œκ·Έλž¨ 6.2 객체 λ°°μ—΄ : 객체듀이 λͺ¨μ—¬ μžˆλŠ” μ»¨ν…Œμ΄λ„ˆ #include #include using namespace std; class Circle { public: int x, y; int radius; Circle() { x = 0; y = 0; radius = 0; } Circle(int _x, int _y, int r) { x = _x; y = _y; radius = r; } void print() { cout 2024. 1. 30.
[μ–΄μ„œμ™€ C++λŠ” μ²˜μŒμ΄μ§€!] CH5 Exercise 1 #include using namespace std; class Book { public: string title; string author; // μƒμ„±μž Book(string t, string a) { title = t; author = a; } }; int main() { Book myBook("Great C++", "Bob"); cout 2024. 1. 29.