Please, if possible, consider using the easily browsable figure formats—jpg, png, svg— in your projects.
The deadline for both your homeworks and examination projects is June 27, 24:00 (you may ask for few more days in extraordinary circumstances).
Remember that on the official examination day (20/6 12:00 +24h (check this information)) you must upload onto the examination server the link to your repository (free format) or else you will be automatically given the UB grade (failed to appear).
score = 0.9*total_score_for_homeworks/10 + 0.1*score_for_exam_project□ The grade will be given using the formula,
12 (A), if 9.1≤score; 10 (B), if 8.1≤score<9.1; 7 (C), if 7.1≤score<8.1; 4 (D), if 6.1≤score<7.1; 02 (E), if 5.1≤score<6.1; 00 (F), if score<51;
======================================
| # | homework | A | B | C | Σ |
======================================
| 1 | splines | 6 | 3 | 1 | 10 |
---------------------------------------
| 2 | roots | 6 | | | 6 |
---------------------------------------
| 3 | least-squares | 6 | 3 | | 9 |
---------------------------------------
...
---------------------------------------
| 10 | ODE | 6 | 3 | 1 | 10 |
---------------------------------------
... |
======================================
| total points: 95 |
======================================
$HOME/.dotnet directory.
SDKDIR=$(HOME)/.dotnet/sdk/6.0.102# or whatever your sdk is CSCPATH=$(SDKDIR)/Roslyn/bincore/csc.dll NETSTANDARD=$(SDKDIR)/ref/netstandard.dll CONFIG=$(SDKDIR)/vstest.console.runtimeconfig.json DOTNET=DOTNET_CLI_TELEMETRY_OPTOUT=1; dotnet CSC=$(DOTNET) $(CSCPATH) -reference:$(NETSTANDARD) RUN=$(DOTNET) exec --runtimeconfig $(CONFIG) #CSC = mcs #RUN = mono Out.txt: hello.exe $(RUN) hello.exe > Out.txt hello.exe: hello.cs $(CSC) -target:exe -out:hello.exe hello.cs
git clone https://github.com/dcf21/pyxplot9.git(should it be needed for debugging). Check that it actually works and doesn't ask for a password.
hg)
and Git [→] (git);
make utility [→]
for managing projects on a computer.
int
double
string
complex;
Scope of variables; Variable shadowing.
System.Console.Write method.
System.Math class.
$@ (the target),
$< (the first prerequisite),
$^ (all prerequisites).
System.Math class
[→];
the System.Console.Write method[→] method for simple output;
↑ and ↓
keys scroll over the previously issued commands.
!text runs the latest command
that begins with text. Useful for issuing the same command again.
sudo apt-get install manpages-posix manpages-posix-dev;
if else;
Loops for, while, do while;
Loop foreach;
for(init;condition;increment)body
using the while-loop.
while(condition)body using
the for-loop.
do body while(condition) using
the while-loop.
(condition?iftrue:iffalse),
using the "if" statement.
Hint: google "ternary conditional".
System.Console.Out and
System.Console.In?
Main(string[] args)
function after this command,
mono main.exe $(echo -e 1 '\t \n \t' 2 '\t\t' 3)
getconf ARG_MAX and/or (if you use GNU)
echo|xargs --show-limits.
`command` and
$(command) in bash. Hint:
Bash
command substitution; POSIX
shell command substitution.
$$(command), in the Makefile? Hint:
GNU make: variables in
recipes.
pwd = a string test: @echo pwd @echo `pwd` @echo $(pwd) @echo $$(pwd)