분류 전체보기
-
CS 기술 면접 핵심 요약 오답노트Computer Science 2024. 8. 10. 23:59
그저께 쓴 TIL이 자체적으로 제출하는 오답노트인 줄 알았는데 아니었구나ㅎㅎ 기술 면접 질문들에 대해 조금 더 공부해서 정리한 그리고 민준튜터님의 피드백을 반영해 답변을 작성했다.다음엔 민준튜터님 말씀대로 좀 더 자신감있게 씩씩하게 대답해야지. [1] 배열과 링크드 리스트의 차이점은 배열은 미리 크기를 정해놓는 정적 자료구조로서 연속된 메모리 주소를 할당받습니다. 인덱스가 존재하기 때문에 접근과 탐색이 용이합니다. 연결리스트는 크기를 정할 필요가 없는 동적 자료구조로서 연속된 메모리 주소를 할당받지 않습니다. 노드가 존재하며 추가나 삭제가 용이합니다. [2] TCP와 UDP의 차이점은?UDP는 비연결형 데이터그램 방식의 프로토콜로 신뢰성을 보장하지 않습니다. ..
-
django 프로젝트 생성, 서버 연결, App 생성 & 등록Django 2024. 8. 10. 22:46
django 프로젝트 생성 이어서.. vs code > 터미널 이렇게 아래 명령어로 프로젝트 생성을 해주면 django-admin startproject my_first_pjt 이렇게 바로 파일이 생성되고 뭔가가 많이 만들어진걸 확인할 수 있다. *참고 만약 이 폴더를 지우고 싶다면 ↓ rm -rf (지우고자 하는 폴더명)rm -rf my_first_pjt 그리고 생성한 해당 프로젝트 폴더 안쪽으로 이동해준다.cd my_first_pjt 드디어, 장고 개발 서버 실행python manage.py runserver 롸? 😟 강의대로 라면...ㅠㅠ 이런 링크가 뜨고 커맨드 클릭하고 저 링크 타고 들어가면 첫 장고 웹페이지가 나오고 축하 메시지가 나오면서 환호성이 터저야 되는데... 내..
-
Django 장고 설치, 가상환경, 프로젝트 생성Django 2024. 8. 9. 02:59
친구: 너 개발 배운다며?!나: 응친구: 나 쇼핑몰 오픈해서 웹 사이트 하나 만들어줄 수 있어?나: 음.. 이때 장고를 배웠다면 웹 사이트 하나는 뚝딱 만들어 줄 수 있다고 한다. 일단 지금은 '장고의 모든 작동 방식을 알아보겠다' 는 마인드는 버리고 아 그렇구나. 이렇게 쓰는거구나. → 그걸 이용해서 웹사이트 만드는 방법을 배우면 된다. [mac OS] 파이썬을 처음 설치한다면, 3.10 버전 권장https://www.python.org/ftp/python/3.10.11/python-3.10.11-macos11.pkg 이제 본격적으로 장고를 쓰기 위한 환경을 세팅해보자. 일단 터미널이나 iTerm 콘솔창을 열어준다. 가상 환경가상환경은 하나의 컴퓨터에 여러개의 개발 환경을 셋팅해주는 거다. venv..
-
[TIL] CS 기술면접 (Feat. 밍글데이)Computer Science 2024. 8. 8. 06:59
오늘 모의 기술면접을 봤다. 난 민준튜터님께 보게 되었다. 스윗한 민준튜터님이라 하더라도 걱정되는 건 마찬가지였다. 스윗한 분의 안 스윗한 표정을 보게 될까봐 무섭기도 했고, 무엇보다 CS 특강을 해주신 게 민준튜터님이기에 잘 못하면 실망하실까봐 걱정이 됐다.. 암튼 면접 시간 전까지 그냥 열심히 외우는 수밖에 없었다. 우리조는 파트를 나눠서 예상문제를 만들어 공유하기로 했었는데 내가 맡은게 소프트웨어 문서 파트였다. 근데 아무리 생각해도 여기서는 문제가 안 나올 것 같았다ㅠ 예상문제를 만들다 현타가 와서 급하게 매니저님께 여쭤보니, 예상대로.. 그 질문엔 답변해줄 수 없지만, 시간이 없으니 모르는 질문이 나오더라도 대처할 수 있도록 '말하는 연습'을 하는 게 면접을 위한 방법이 될 거라고 하셨다...
-
SQL 기초 문법 3SQL 2024. 8. 6. 15:12
수업 자료와 함께 SQL KATA(프로그래머스 SQL문제)를 풀어보면서 알아두면 좋을 SQL기초 문법들 날짜 포맷 date_format(date(컬럼명), ' % 바꿔주고 싶은 날짜 포맷 ' )년 : Y (4자리), y(2자리)월 : M, m일 : d, e요일 : w 오늘 날짜를 예로 들면, 2024.08.06.(화) %Y → 2024 %y → 24%M → August%m → 08%d → 06 %e → 6 %w → 2 요일은 0 일요일1 월요일2 화요일3 수요일4 목요일5 금요일6 토요일 예를 들어, date_format(date(HIRE_YMD), '%Y-%m-%d') 이렇게 SQL문을 작성해서 실행하면 select DR_NAME, DR_ID, MCDP_CD, date_format(..
-
SQL 기초 문법 2SQL 2024. 8. 6. 04:22
SQL 조건에 따라 포맷 다르게 변경하기selectfromwheregroup byorder by 1. 데이터를 사용할 때 예전에 사용하던 값이어서 수정이 필요하거나 잘못된 값이어서 수정이 필요할 때가 있다. 2. 혹은 주소 데이터에서 전체 데이터가 아닌 부분 데이터 값만 필요할 때가 있다. 예를 들어 서울시 강남구 도곡동 어쩌구.. 일 때 [서울] 만 가져오고 싶다거나 하는. 3. 혹은 보고서를 작성할 때 사업장 명과 지역이 같이 나와야 할 때 '사업장' → '사업장 [지역]' 으로 문자 포맷을 변경해주고 싶을 때를 알아보자. 문자열 바꾸기 (replace)replace(바꿀 컬럼, 현재 값, 바꿀 값) 코드를 예로 들면 이렇게 바꿔줄 수 있다. (식당 명의 ‘Blue Ribbon’ 을 → ‘Pin..
-
SQL 기초 다지기SQL 2024. 8. 2. 19:44
SQL 데이터베이스와 대화를 하기 위한 언어 기본 명령어 select *from select: 데이터를 가져오는 기본 명령어 * : 은 모든 컬럼 값 다 가져오기from: 가져올 데이터 테이블을 특정하는 명렁어 실행 → ctrl + enter 필터링 기초 문법 where 다음에 원하는 조건을 써주면 된다.select *from 테이블where 필터링 조건 (예시: where age = 20) 만약 20살 이상을 원하면 where age >= 20이름이 난천재인 사람을 원하면 where name = '난천재' 숫자는 그냥 써주고, 문자는 '작은 따옴표'를 사용해야 한다. 대소문자 구분 필요없음.select *from customerswhere gender='female' 파이썬 처럼 비교연산자를 동일하게..