정보처리기능사 - 기초프로그래밍 실무 (실기)
정보처리기능사 실기. 기초 프로그래밍 실무와 문제 해결 절차를 다룹니다.
- Cards
- 100 cards
- Learners
- 151
- Category
- Information Processing
Study the complete deck in the app.
Card preview
Showing the first 5 of 100 cards.
- 1
C언어에서 정수형 변수를 선언할 때 사용하는 키워드는?
- 1int
- 2float
- 3char
- 4double
Answerint
int는 정수형(integer) 자료형을 선언하는 키워드이다. float과 double은 실수형, char는 문자형이다.
- 2
C언어에서 문자 한 개를 저장할 때 사용하는 자료형은?
- 1char
- 2int
- 3float
- 4long
Answerchar
char는 단일 문자 1바이트를 저장하는 자료형이다.
- 3
printf 함수에서 정수를 출력할 때 사용하는 서식 지정자는?
- 1%d
- 2%f
- 3%c
- 4%s
Answer%d
%d는 정수(decimal) 출력, %f는 실수, %c는 문자, %s는 문자열 출력에 사용된다.
- 4
printf 함수에서 실수를 출력할 때 사용하는 서식 지정자는?
- 1%f
- 2%d
- 3%c
- 4%s
Answer%f
%f는 부동소수점(floating-point) 실수 출력에 사용된다.
- 5
printf 함수에서 문자열을 출력할 때 사용하는 서식 지정자는?
- 1%s
- 2%d
- 3%f
- 4%c
Answer%s
%s는 문자열(string) 출력에 사용되며, %c는 단일 문자 출력에 사용된다.
Continue with 95 more cards in the app
Open the deck to continue with scheduled review and test mode.