Uncategorized

visual programming monday morning (subject: window form part #2)

there is link to download your exercise in class, this morning.

the exercise (take home) is to show the picture into the pictureBox and the input of the picture come form openFileDialog and add it to comboBox

the form is transparent, like this screen below:

button add, to choose the picture:

after that, the address of the image (path directory) is added into combobox:

to show the picture, just click the one item of combobox:

for .exe(dot exe) of this exercise, click here to download it

Show your project/exercise to assistant:

  • next meeting
  • via removable disk
  • at class

I love kaskus

best regards,

-y2-

Advertisements
Uncategorized

algorithm and data structure (friday 14pm) – subject: struct, and pointer

look and compile  this code below:

#include <stdio.h>
struct x {
	int a;
	int b;
	int c;
} ;

void showMember(struct x * pz){
	printf(" first member %d \n", (*pz).a);
}

main(){
	struct x z, *pz;
	pz = &z;
	z.a = 10;
	z.a++;
	showMember(pz);
}

From this code, please modify and make a simple program to show “prime number”.

  • Use a struct. Example:
              struct prime { int topLimit; };
  • Main function just to input topLimit (batas atas) of prime number and call function to show the prime number
  • showPrime is a function to show prime number before the topLimit. This function has a parameter. The type of parameter is sturct (topLimit)

example:

      void showPrime(struct prime *x){ ....................... }

for more know, look at this screen shot:

Send your project hard copy next meeting!

happy source code!

best regards,

-y2-

Uncategorized

visual programming exercise (monday morning) – subject: Window Form Programming

Window Form is a graphical user interface (GUI) for make a program which integrated component. in C# it is very simple to build a program with form GUI basic.

you have to make a program to “simple and simulate” transaction, like this screen shoot below:

the sample and the description of this exercise, you can click here to download.

Show your exercise to assistant:

  • monday, February 28, 2011
  • at class
  • soft copy via USB Removable Disk (no virus please!!)
  • give the name TUGAS4_nim for your folder name

KASKUS as the largest indonesian community, ready to help you!

let’s go to PERTAMAX for make Thread for this exercise

best regards,

-y2-

powered by:


Uncategorized

for Visual Programming A (Monday 07am) – Object Oriented Programming in C# (with exercise)

OOP or object oriented programming is a powerful and a new paradigm in programming world. C# is one of language programming that support you to work with OOP principles.

for you all, if you take class of visual programming in Monday 07 am, the exercise is like this:

  • you have to input a string or sentence
  • you will get the output of this string in “Alay” mode
  • look at this screen shoot below:

this is a material and the user manual of exercise for your study about object oriented programming. you can click here to download it.

if you do this exercise, you can show your project by:

  • Hard Copy (Source code and screen shoot)
  • show it to: Assistant
  • best before Monday, February 21, 2011 in class

for you, if you do not understand to do the exercise of visual programming (monday 07am) please visit this Thread: http://www.kaskus.us/showthread.php?t=7093104&page=3 #ngacir

get the best for you!

regards,

-y2-

Uncategorized

exercise visual programming for class J (Friday, 07am)

this exercise is divide by seven  part or step. they are:

  • input the count or size of the array
  • input the value of this array and it also can be contain of String
  • show the original result of array
  • ask and input what character will be replace? (example: ‘a’)
  • ask and input the new character for replace (example: ‘4’)
  • show the SORTED array with NEW REPLACE CHARACTER
  • show the ORIGINAL array, but the string is read from back (example: ‘eko’ be ‘oke’

okay, for example look at this screen shoot below:

for evaluation, please send through mail, your project to:

  • Mr. Indra Septi Tulak
  • in: hack.crack.me13@gmail.com
  • best before 15 February 2011, in the night
  • the subject is: CINTA2_nim

okay, you all are good boy and good girl, I believe you will do this. keep on fire and stay blessed,

with love regards

-yere-

Uncategorized

exercise for algorithm and data structure class S (Friday, 02pm)

Exercise

Please do it, if your Student’s Id is ID % 2 = 0

  • Make a two dimension of array (matrix) with size 3 for width and 3 for height
  • Make again a two dimension of array (matrix) with size 3 for width and 3 for height
  • And then add the first matrix with the second matrix
  • please make it, in the matrix format
    • example:

12        4

3        34

Please do it, if your Student’s Id is ID % 2 != 0

  • Make a two dimension of array (matrix) with size 3 for width and 3 for height
  • Make again a two dimension of array (matrix) with size 3 for width and 3 for height
  • And then minus the first matrix with the second matrix
  • please make it, in the matrix format
    • example:

12        4

3        34

Please send the answer of this exercise to:

Mr. Ranu

Email: ranuezkiu90@gmail.com

With subject: TUGAS3_S_[NIM LENGKAP]

Best before Night Valentine’s Day (14 night)