Posts

Structure & Union

Image
In one of Algorithm Class we had, we have learnt about Structure and Union. Although we haven't learnt it more precisely or more deep. we have been thought what is structure and union.  A structure is a user-defined data type available in C that allows to combining data items of different kinds. Structures are used to represent a record.  And on the other hand, Union is  a special data type available in C that allows storing different data types in the same memory location. You can define a union with many members, but only one member can contain a value at any given time. Unions provide an efficient way of using the same memory location for multiple purposes. there are some similarities between this two, such as both are user defined data types, both are objects of any type etc. but there are a difference such as how to define structure as struct and to define union we use union , there can only be first member on union can be initialized and there can be several on stru...

Function (Recursive & Iterative)

Image
In one of Algorithm Class this last 2-3 weeks, we learnt about function. The point of learning function is basically so that programmer can make a code or simply a sub-program that we can easily call if we have to or wanted to use it. we learnt that sometimes there's a problem that may be or may not be cleared by using a function. Nonetheless we must know what kind of problem is best use using a function or by using just the usual programming method. On the other hand, we have a learnt about recursive and iterative function. Basically recursive function is a function that will call or repeat it's own function to solve a certain problem. While iterative function is creating the usual function without calling it inside the function we are creating. We learnt that we need function in a more difficult task so that we can split up the work in our teams, and to find a more efficient way in our programming to complete the task or problem

Cloud Computing Service

Image
In the 28th November 2018, Algorithm class we got a visit from a company that focused on Cloud Computing Service. he told us a lot about what is cloud, the advandtage and disadvantage, and many more. from what we have been informed, cloud refers to a network or internet, that can be access from any location over public or private network. cloud computing is offering people online storage,network infrastructure and application. some of the deployment examples of cloud is social networking (Facebook,Instagram,etc),data sharing (Email,Dropbox),Education (Quipper, E-learning), and last is business (online shop etc). there are some concepts of cloud, such as private cloud,public cloud,hybrid cloud. Basically cloud is a storage where you save data, but this storage can be access at any location and anytime just by connecting to the internet. from there people can exchange works, exchange data. although it seems easy and help people all around, the cloud suffers from big disadvantage such as ...

Algo Week 5 (String Manipulation, Pointers , Array)

Image
In the week 5 of algorithm class. we learnt about many things regarding the pointers, string manipulation and array. in the week 1 of algorithm class we already learnt about the array but this week algorithm class goes further into the array functionality. from this week class, we learnt about how to use the pointers, the pointers usually used when we wanted to assign a certain variable with another variable declaration. about the string manipulation, we now know there's is so many string manipulation function called strstr,strcmp,strlen all of this function have 1 purpose. for example the strlen is used to know about the length of a certain string. while strcmpr used to compare 1 strings to another strings to know which ASCII worth more. and on the array material, what we learnt from the class is that we can use the index of an array to print certain characters from 1 string for example. from this week algo class we know how to utilize the C programming even more
This blog created by Yulio Darmawan Kilfi / 2201794984

Algo Week 4 (Selection & Repetition)

Image
What we learnt from learning algorithm in week 4 is about selection and repetition, it consists of if,else,switch case,dowhile,for and many else. basically we learnt how to do a loop in C language that proof beneficial for your programming purposes. selection in programing proof to be useful in terms of use. the selection logics if usually used when were about to make a menu type of program. Although the selection logic can also be used to solve mathematical problems such as even and odd numbers. by using if and else we can tell whether or not a certain number is even or odd. by using switch case we can make a simple menu type of program. for the repetition we can use the dowhile or for. this loop usually be used to solve a mathematical problem or solve any problems that consist of looping or counting a certain steps over and over again. by learning selection and repetition you can easily solve any problems given to you in seconds if you master the logic.