Posts

Showing posts from October, 2017

CSC 104 weekly Discussion week 7

Hello! Welcome to my CSC 104 weekly discussion!  Today I want to talk something about I learned this week, "Local Function". Lets look at the original function: (define (a some-settings)   (local [define b ......                 .......     ]     (the function that can use a and b together  ))) So this function can understand us to run the local first, then run the remaining function. If we don't have the local function, what will we do? We need to define the function ahead and then run the remaining function, which will cause some issues and space for the program. Since local function only will be defined inside the function, it will not influence other functions, which is essential and useful all the time. For a lot of my classmate, they do not understand the concept of the local function, but my strategy is that to understand what we need first (the input of the function) and then design the remaining function. Sometimes I also fou

The CSC Blog after midterm

Image
Hello everyone, This is another slog for my CSC104 class. The New Version of my Note     Last week we just finished the midterm exam. While I got a B on my exam, I am not satisfied with my current mark. So I decided to change in the following month. Such as the way I made my note and the way I review. Last week when I review my note in the class, I always Found the fact that some of the parts were too messy to understand. Hence, the first step for me is to change the way I write my note and make them more clear and understandable. I will also try to help others when I was preparing my test because helping others is the best way to re-read all the memory in my brain. The class is also getting more interesting than the beginning of the term. We start to learn a lot about functions and defining numerous of things. I am really enjoying when I first test a function can model the lottery ticket. Since I played a lot of phone game are about winning a prize with only 1%. Now I know

CSC 104 Weekly discuss week 6

Hello! Welcome to my CSC 104 weekly Discussion Blog  This week I will talk about the most challenge function I met this week.     This week we taught about condition function, which I felt is the hardest function in the Course comparing other materials. The condition function features two parts, if the first part falls, it will atomically go to the second part. The condition function looks like (cond [ ............]      [else (........ )])😫🤯           Condition function is always related to recursion functions, which I've heard is the most important part in CSC 148. Despite the difficulties, I think this function is interesting since it features two parts in its body and makes a lot of situations and conditions for the functions and recursions enable a lot of possibility in the program.  While it is hard to understand, I will manage some time and discuss this topic in TA office hour.

CSC 104 Weekly discussion Week 5

Image
Hello everyone, Welcome to my CSC Blog weekly Discussion  This week I want to briefly talk about my term test since  I just finished my first term test in Computer science. The First term test for me is not bad, I finished everything only in 30 minutes. I felt the contexts are not very hard for me since I made my own note for every class. However, I noticed that I might make some mistake  in the detail parts, When I try to check what I did in the  an exam by doing it again on my computer, I found out that  I might lose some parts of the questions, which might  takes a few marks from my paper. Overall, I am satisfied with the test and Hopefully, I can achieve a good mark on it!Next week we will learn a lot of condition function, which might be the most challenging part of the course! I will work hard next week on this function! (Picture from https://en.wikipedia.org/wiki/Binary_tree)

CSC weekly discussion week 4

Image
Hello everyone, Welcome to my CSC Blog weekly Discussion        This week I learned some concepts about and/or/first/rest function,  and we can use the  function  to sort a list whether is in order or not, which will produce a boolean. This concept is useful since there will be an upcoming project and I might use these concepts in the Project.       Sort a function and produce a boolean  The and/ or function determined the booleans in the function. "and" takes booleans and determines if they are all #True. ON the other hand, or function takes Boolean and determines if at least one of them is #true. The first and rest function also give the idea of sorting function by parts, if you only want to have the first string in your entire string, the first function will help you in a second. Similarly, if you want to have the string without the first one, the function "rest" will aid you. These Functions are really essential for text editing and helpful when

Computer Science Blog

Image
         H i , everyone, welcome to my blog and I am glad that I can share my academic experience in CSC 104 in U of T. The reason I choose CSC 104 is that I used to be a huge fan of Minecraft, which is a fantastic game allows you to build your own houses or even a city. However, I soon realized that all of my friends know how to use different codes to make the game more interesting and more playable. Therefore, I want to take one Computer Science course in my first year to see what is Computer Science and How to play with codes.I hope after I finished this course, I will be more interested in dealing with codes and also decide whether take computer science as one of my major or minor.         In my own perspective, I think programming is played with the codes and debug them. When I was five, my father bought me a Desktop as my birthday present. When I first learn how to use the computer and discovers there are so many interesting apps and websites in that unreal world. However, I al