Skip to content

Commit 5b5e238

Browse files
committed
Merge branch '2025' of github.com:minprog/programmeren-1 into 2025
2 parents d94a75f + eca7feb commit 5b5e238

4 files changed

Lines changed: 12 additions & 7 deletions

File tree

problems/beatles/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This exercise helps you practice creating `struct`s and variables of some struct
66

77
![embed](https://www.youtube.com/embed/E4lb2gkyXr8)
88

9-
Watch the video and then precisely answer the following questions. The video may not suffice for answering the questions, so we encourage you to seek additional information online.
9+
Watch the video and then precisely answer the following questions (in Dutch or English). The video may not suffice for answering the questions, so we encourage you to seek additional information online.
1010

1111
1. What is the "dot operator"?
1212

problems/scrabble/index.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ For example, if we wanted to score the word `Code`, we would note that in genera
2626

2727
### Hints
2828

29+
- Use this array at the top of your file (below the includes!) to look up letter values:
30+
31+
int POINTS[] = {1, 3, 3, 2, 1, 4, 2, 4, 1, 8, 5, 1, 3, 1,
32+
1, 3, 10, 1, 1, 1, 1, 4, 4, 8, 4, 10};
33+
2934
- You may find the functions `isupper()` and `islower()` to be helpful to you. These functions take in a character as the argument and return a boolean.
3035

3136
- Recall that computers represent characters using [ASCII](http://asciitable.com/), a standard that represents each character as a number.
@@ -54,6 +59,6 @@ Your program should behave per the examples below.
5459
Player 2: wiNNeR
5560
Player 1 wins!
5661

57-
Execute the below to evaluate the correctness of your code using `check50`. But be sure to compile and test it yourself as well!
62+
<!-- Execute the below to evaluate the correctness of your code using `check50`. But be sure to compile and test it yourself as well!
5863
59-
check50 -l minprog/checks/2022/scrabble
64+
check50 -l minprog/checks/2022/scrabble -->

problems/tiles/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Given the above, it should come as no surprise that `board` is an important vari
5454

5555
## Questions
5656

57-
Read over the code and comments in `tiles.c` and then answer the questions below in `questions.txt`, which is a (nearly empty) text file that we included for you inside of the distribution's `tiles` directory. No worries if you're not quite sure how `fprintf` or `fflush` work; we're simply using those to automate some testing.
57+
Read over the code and comments in `tiles.c` and then answer the questions below in `questions.txt`, in Dutch or English, which is a (nearly empty) text file that we included for you inside of the distribution's `tiles` directory. No worries if you're not quite sure how `fprintf` or `fflush` work; we're simply using those to automate some testing.
5858

5959
1. Besides 4 × 4, what other dimensions does the framework allow?
6060
1. With what sort of data structure is the game's board represented?
@@ -108,7 +108,7 @@ This function checks if the puzzle has been solved. To do this, we count all til
108108

109109
So what to do?
110110

111-
1. Answer the questions above in `questions.txt`.
111+
1. Answer the questions above in `questions.txt` (Dutch or English).
112112
1. Implement Tiles, per the comments in `tiles.c` and the information from this specification.
113113
{: start="0"}
114114

problems/tiles_single/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Given the above, it should come as no surprise that `board` is an important vari
4747

4848
## Questions
4949

50-
Read over the code and comments in `tiles.c` and then answer the questions below in `questions.txt`, which is a (nearly empty) text file that we included for you inside of the distribution's `tiles` directory. No worries if you're not quite sure how `fprintf` or `fflush` work; we're simply using those to automate some testing.
50+
Read over the code and comments in `tiles.c` and then answer the questions below in `questions.txt`, in Dutch or English, which is a (nearly empty) text file that we included for you inside of the distribution's `tiles` directory. No worries if you're not quite sure how `fprintf` or `fflush` work; we're simply using those to automate some testing.
5151

5252
1. Besides 4 × 4, what other dimensions does the framework allow?
5353
1. With what sort of data structure is the game's board represented?
@@ -101,7 +101,7 @@ This function checks if the puzzle has been solved. To do this, we count all til
101101

102102
So what to do?
103103

104-
1. Answer the questions above in `questions.txt`.
104+
1. Answer the questions above in `questions.txt` (Dutch or English).
105105
1. Implement Tiles, per the comments in `tiles.c` and the information from this specification.
106106
{: start="0"}
107107

0 commit comments

Comments
 (0)