공지사항

2025년 2회 정보처리 산업기사 실기 가답

https://docs.google.com/spreadsheets/d/1SEWzera6gVpjt0bf6BPPC0NQK-G-4u3Fh6V-l6n9hy4/edit?usp=sharing



2025년 2회 정보처리산업기사실기 모범답안
시험일 :2025-07-19
번호분류문제답안
1데이터베이스 특성 고르기ㄱ,ㄴ,ㄷ,ㅁ
2ㄱ. 블랙 ㄴ. 화이트
3웹서버
4IP
5JAVAclass Parents {
void mo() {
System.out.print("B");
}


static void nu() {
System.out.print("b");

}

}

class Child extends Parents {
void mo() {
System.out.print("A");
}


static void nu() {
System.out.print("a");
}
}


public class Dumok {
public static void main(String[] args) {
Parents a = new Child();
a.mo();
Parents.nu();
}
}
Ab
6JAVApublic class Dumok {
static int x = f();

static int f() {
System.out.print("A");
return 1;
}

static {
x++;
}

public static void main(String[] args) {
System.out.print(x);
}
}
A2
7Cvoid func(int *p) {
int temp[] = {0, 1, 2};
p = temp;
p[0] = 9;
}


int main() {
int arr[] = {3, 4, 5};
func(arr);
printf("%d ", arr[0]);
return 0;
}
3
8Cint fn(int *a, int *b) {
*a = *a + *b;
return (*b = *a - *b);
}


int main() {
int x = 2;
int y = 3;
printf("%d", fn(&x, &y) + y);
return 0;
}
4
9Ctypedef struct {
int x;
} Struct;

void change(Struct *a, Struct b) {
a->x += b.x;
b.x = 100;
a = &b;
a->x = 200;
}

int main() {
Struct b1 = {3};
Struct b2 = {4};
change(&b1, b2);
printf("%d ", b1.x);
return 0;
}
7
109
11JAVApublic class Dumok {
int result = 0;

int test() {
try {
return 1;
} finally {
result = 2;
}
}

public static void main(String[] args) {
prog p = new prog();
System.out.print(p.test());
}
}
1
12Pythona = [1, 2]
b = a
a = a + [3]
b.append(4)

print(len(set(a) & set(b)))
2
13스크마 구분1)외부 2)개념 3)내부
14Ping
15형상관리
16FTP
17릴레이션 보기에서 고르기
181)and 2)between
19외래키
20C클래스 B클래스 A클래스