Anasayfa » Lectures by Ziynet

Lectures by Ziynet kategorisindeki yazılar

C / C++ »

[24 Oca 2012 | Yorum Yok Kii | 1.912 views ]
C / C++ Courses ? 14 (Break & Continue)

We can understand this just with an example:

for(x=1; x<10; x++){ if(x==5) break; //exits from loop } printf(?x = %d ?, x); // this will print ?x=5? x=3; while(x<10){ if(x==5) continue; //continue with next iteration of the loop printf(?...

Devamını Oku »

Japonca »

[14 Eyl 2011 | 2 Yorum | 2.030 views ]
Japonca Dersi / Dai 2-ka

 

Dai 2-ka (2.Ders)
Kono + isim : bu ?
 
Kore wa ? des (Bu ?dır)
Sore wa ? des (Şu ?dır)
Are wa ? des (O ?dır)
 
Kore wa konpyuutaa des. (Bu bilgisayardır.)
Kore wa watashi no konpyuutaa dewa arimasen. (Bu benim bilgisayarım değildir…

Devamını Oku »

C / C++ »

[6 Eyl 2011 | Yorum Yok Kii | 1.377 views ]
C / C++ Courses ? 13 (Switch)

Switch is a selection structure just like if, if/else. It is not a repetition structure. Important points of using switch:
? We use switch while checking one variable with different outcomes with more than one value.

? It should be equality. Comparison (< or >) won’t work with switch.

? In switch, only integer can be used, not other types. But character is also acceptable, because as you know, character has also an integer value which is ASCII code. So we can say,

Devamını Oku »

C / C++ »

[5 Eyl 2011 | Yorum Yok Kii | 1.352 views ]
C / C++ Courses ? 12 (Do/While and Comparison of Loops)

After a long time, i have started to continue this course. Because i got some mails which want me to complete this course. Even if there is someone who benefits this course, it is enough for me to be willing to continue. Let’s continue then;)

Do/While

Let’s try one example with 3 different loops that we have learned before. Also this example will remind us how to use loops.

(1) int x=1;

while(x<=10){ ...

Devamını Oku »

Japonca »

[2 Eyl 2011 | Yorum Yok Kii | 3.108 views ]
Japonca Dersi / Dai 1-ka

 

Almış olduğum alan dışı seçmeli dersi olan Japonca (JPN 201) dersinde öğrendiklerimi paylaşayım dedim, belki birilerinin işine yarar. Ancak biz Japoncayı İngilizce tarzı yazarak öğrendik, Japonca harflerle değil. O yüzden ben de o şekilde yazacağım.
(Soldaki resim de Japonca’da Z harfi, kendimden bir iz=) )
Haydi ilk dersten başlayalım!
Dai 1-ka (1.Ders)
Japonca ekleri bakımından Türkçe?ye benziyor. Mesela bunu göstermek için bir cümle yazalım…

Devamını Oku »

C / C++ »

[7 May 2011 | 2 Yorum | 1.754 views ]
C / C++ Courses ? 11 (Negation Operator and For Loops)

The Negation Operator (! ? NOT)
x=3;
if(! (x>10) )
printf(?%d?,x); //it will print ?3?.
if(!0)
printf(?hey?); //it will print ?hey?.
if(!x)
printf(?%d?,x); //it will print nothing.

!true=false
!false=true

3 Steps Which We Should Follow

1- Declare the input and use scanf initialized before while
2- Use the input in condition while and compare it with sentinal value
3- Change the input using scanf before the end of the loop

Devamını Oku »

Ceng 351 / Database »

[25 Oca 2011 | Yorum Yok Kii | 1.253 views ]
Database Courses ? 3 (Relations )

? One-to-One Relation
An entity may be related to zero or one entity
in another entity set.

? Like Chairman – Department Relation

Devamını Oku »

Ceng 351 / Database »

[25 Ara 2010 | Yorum Yok Kii | 1.682 views ]
Database Courses ? 2 (Entity ? Relationship Model )

Entity ? Relationship model is a Database design tool for creating a diagram.
( ?entity? means record, object )


? Binary Relationship Set
? Ternary Relationship Set


There are kinds of attributes. Some of them is like that:


? Single valued attribute: at most one value
?Multi-valued attribute: 0 or more similar values. We don?t put them to the E-R diagram, but we can…

Devamını Oku »

C / C++ »

[25 Ara 2010 | 2 Yorum | 1.598 views ]
C / C++ Courses ? 10 (Pre-increment and Post-increment)

Pre-increment and Post-increment

Pre-increment changes the value of the variable, and then makes the calculation or processes which should be done. (It?s written like this: ?++x ?)

Post-increment makes the processes and then changes the value of the variable. (It?s written like this: ?++x ?)

Decrement versions of these are the same. (?–x? or? x–?)

int x=3;

printf(?%d?, ++x); //it will change the value of x to 4 and then print 4…

Devamını Oku »

C / C++ »

[18 Ara 2010 | Yorum Yok Kii | 1.499 views ]
C / C++ Courses ? 9 (While Loops)

While Loops

*Counter Controlled Loops:

Steps that we should follow:

? 1- Declare and initialize a counter

? 2-Use the counter in the condition part of while

? 3-Change the value of the counter inside the loop (increment or decrement)

¤ These 3 steps must be used in our program, else it means there is something wrong.

Devamını Oku »