prosyslab-classroom / cs348-information-security

60 stars 10 forks source link

[Question][Hw3] Can we 1) use stdlib predefined type, and 2) can define own module? #275

Closed Re-st closed 1 year ago

Re-st commented 1 year ago

Name: Geon Park

1) In lesson0 ppt, it says 'stdlib module is automatically opened'. And it is. Can we use stdlib predefined type (eg. Float) & functions (eg. truncate) ?

2) Homework2 was easy to handle functions since we were able to use modules - https://github.com/prosyslab-classroom/cs348-information-security/issues/246 But we also shouldn't "change directory structures " as described on each hw's readme. Can we define own module in the code, without hurting (if) existing modules? (Hurting would include changing existing modules' methods' any detail like input / output type, etc.)

yeonhee-ryou commented 1 year ago
  1. You can use anything as long as it can be compiled in a given environment. Check the execution results of Gradescope.
  2. You can define your own module inside the given file. Do not add or rename the given files and directories.
Re-st commented 1 year ago

Thank you!