1. Write the following functions and a program which shows your functions working correctly. 1) int strlen(char *s) - Calculate the length of the string s, not including ‘ ’ - Return the length of the string s. 2) char *strcpy(char *dest, char *src) - Copy the string pointed by src to the array pointed to by dest. - Return a pointer to the destination string dest.3) char *strcat(char *dest, char *src) - Append the string src to the string dest. - Return a pointer to the destination string dest.
1. Write a program which calculates the resistance if you connects several resistances in parallel. Note:If n resistances are connected in parallel, the total resistance R is like this.1/R = 1/R1 + 1/R2 + … + 1/Rn
Write a program that works as follows.- Whenever a user enters an integer, store it and show all the stored integers in an ascending order.- If -1 is entered, terminate.- You must use a linked list to store integers.Execution example:> 1616> 2516 25> 44 16 25> 224 16 22 25> 384 16 22 25 38> -1
1. Write a salary calculation program. Input:You should give the program the amount of time that an employee works a day and the pay that the employee earns an hour. Output:The program calculates salary for a week of the employee. Note:If the employee works more than 40 hours a week, he gets 1.5 times more salary for the additional time (exceeding 40 hours).
Salvador Dali『The Persistence of Memory(기억의 영속)』과목명외국의 현대문학담당교수교수님학 부응용수학과학 번이 름제출일2005년 5월 26일The Persistence of Memory (1931)사라지지 않는 이 기억의 시공간은 황량하고 적막하며, 이상하게도 평안하다. 녹아 내리는 이 시계들은 누군가 말했듯 '무르고 기이하며 고독하고 강박적이다'. 시간에 대한 우리의 지각(知覺)이 그러하듯.< 감상 >절벽을 배경으로 흡사 태아의 모습 같은 머리 하나가 놓고, 그 위에 시계가 쭉 늘어져있다.왼쪽에는 흙색의 장도리돌 위에 또 다른 시계가 흐물흐물 녹아있다. 그 옆에는 수많은 개미들이 꼬여 움직이고 있는 전혀 녹지 않은- 그야말로 정상적인- 시계가 있다. 또한 그 장도리돌 가장자리에는 나뭇가지에 축 늘어진 시계를 걸고 있는 죽은 나무가 앙상히 서있다. 달리의 그림을 본 순간 처음 떠오르는 생각은 ‘참 알 수 없다! 왜 시계가 늘어져있을까?’ 였다.늘어진 시계들! 시계가 흐물흐물 녹아있고 젖은 옷마냥 나뭇가지에 걸려있다. 보통 우리가 접한 시계들과는 전혀 다르다. 각 시계들이 가리키고 있는 시간들 또한 다르다.기억의 영속이라...영속? 영원함? 누구나 자신 나름대로의 기억이 있다. 그것은 좋은 기억도 있을 테고 물론 그 반대로 좋지 않은 기억도 가지고 있을 것이다. 가령 같은 상황에 처해있었다 할지라도 가지각색 사람이란 자신의 잣대로 기억하고 싶은 대로 기억하기 마련이다. 이처럼 그 시계들이 가리키고 있는 시간들이 각각 다양한 것도 이와 같지 않을까 싶다. 사실 지금 시계가 오후 3시 36분을 가리키고 있지만 저 멀리 미국은 깜깜한 밤일테니까!사실 기억이란 것은 쉽게 사라지기도 하지만 또 반대로 쉽게 사라지지 않는다. 가령 어제도 오늘도 밥을 먹는 것은 전혀 새로운 일이 아니다. 늘 하는 일이니까.... 그런 기억은 그냥 쉽게 사라진다. 하지만 달리의 늘어진 시계와 같이 전혀 평소와 같지않은 새로운 것을 접하게 되었을 때 그런 기억은 쉽게 사라지지 않는다.사람의 기억이란 것은 인식하고 나름대로 그 기억이 강렬한 것이면 무의식 중에 남는다.달리가 말하고자 했던 것이 그런 뜻에서 비슷한 의미가 아닌가 싶은 생각을 해본다. 내가 기억한다면 그 기억은 내 의식 중에 영원한 것은 아닐까?현대 미술사 과제1 DATE @ "M/d/yyyy" 5/26/2006 - PAGE 2 - Korea Advanced Institute of Science and Technology현대 미술사 과제1 DATE @ "M/d/yyyy" 5/26/2006 Korea Advanced Institute of Science and Technology