Etiket arşivi: Microsoft

2014 MOBİL TRENDLER

23 Ocak Perşembe Saat 19.00

23 Ocak Perşembe
Saat 19.00

Merhabalar arkadaşlar. Mobil Istanbul ‘un Trend temalı etkinliğinde Blackberry ‘den Özkan Altuner, 2014 yılında mobilde trendlerin ne yöne gideceğini, hangi inovatif çözümlerin vitrine çıkacağını anlatacak. Etkinlik 23 Ocak Perşembe günü Bahçeşehir Üniversitesi B Konferans Salonunda gerçekleşecek ve saat 19:00 ‘de başlayacak. Etkinlik kayıt linkini paylaşıyorum. İyi çalışmalar.

BEST PROGRAMMING LANGUAGES

With thousands of programming languages out there, it can be daunting to find a language to start with and a good course that assumes no prior knowledge. This post highlights programming languages that are good for beginning programmers and some resources to get started.

progLanguages

With thousands of programming languages out there, it can be daunting to find a language to start with and a good course that assumes no prior knowledge. Especially if you are someone who is busy and wants to learn on their own time and don’t have the flexibility to take an in-person class, getting started with programming can be difficult. This post highlights programming languages that are good for beginning programmers and some resources to get started.

For those with no experience

These courses have been designed for people who have little or no programming experience.

C

C is one of the most widely used programming languages and often used as an introduction to programming. It has influenced many languages that came after it, and knowledge of C will make learning later languages, such as Objective-C (used by Apple), easier. It influences many later languages you could want to learn, so starting with C will give you a deeper understanding of how computers work.

Java

Java is a higher level language which is designed to be compatible with any operating system. It has similar syntax to C and C++. It’s a great programming language to start with because it is widely used and practical, however it won’t give you as deep of an understanding of computer operation as a lower level language like C will.

C++

C++ bridges the gap between a language like C and Java as it has features of both low-level and high-level languages. It’s another commonly used language that has a wide range of uses and compatibility. It’s based off of C and adds object-oriented features. It has also influenced many other languages such as C# and Java.

Python

Python is a language that was designed with human readability in mind. Because of this, it doesn’t take as much code to execute programs as other languages. It’s a great, easy way to learn recurring concepts in computer science and has real world use in the creation of scripts.

Ruby

Ruby has similar function to Python but is less readable. It’s more object-oriented than Python and is similarly designed with simplicity in mind. It has many applications, but is most often used for web applications.

HTML and CSS

HTML and CSS are used for webpage design. While these languages won’t really help pave the way for learning more traditional programming languages, they are essential for webpage design. HTML (HyperText Markup Language) is a “markup language” which allows you to put content into a webpage whereas CSS (Cascading Style Sheets), is used to format and define the layout of a page.

MIT App Inventor for Android

If you aren’t interested in programming as a profession (at least at the moment) it may be worth looking at using the MIT App Inventor for Android. It requires no coding, but will teach you how programmers think and provide knowledge on some concepts in computing. Plus, you’ll end up being able to make Android apps once you’ve mastered it!

What’s next?

If you already have knowledge of another programming language then these are great follow-up languages.

C#

C# is primarily used for Windows applications in the .NET Framework. Learning C# is easy if you have experience in C, C++, or Java. The syntax is similar. It’s popularity has been increasing as C# is used for third-party apps on Windows 8 or Windows Phone.

Objective-C

Objective-C is primarily used for Apple’s operating systems, OSX (for Macs) and iOS (for iPhone and iPad). If you are looking to develop for Mac, Objective-C is the way to go. Apple provides lots of support for learning Objective-C through their developer program.

Javascript

Javascript (little relation to Java) is a common language used to make webpages more dynamic. With a syntax similar to C, it doesn’t require a lot of effort to set up as it’s built into web browsers. It’s also used in other applications such as PDFs.

PHP

PHP is another language often used for web development, although it works well as a general-purpose language as well. PHP can be implemented directly into HTML. Those looking to learn PHP should already know HTML, CSS, and Javascript.

Where to learn online?

If you are just beginning to learn, we recommend that you stick to one language until you are extremely comfortable with it. Once you’ve picked a language, check out these resources to find courses:

OpenSesame

OpenSesame is a corporate elearning course seller that hosts content from a variety of sellers. It’s the best option if you would like to have your employees learn and track them through your own learning management system. If you are an individual however, they allow for the purchase of single licenses and a learning management system is not required. They offer courses in all the languages listed on this page and more from InfiniteSkills, Learntoprogram.tv, Webucator, Stone River, Compuworks, Pearson and more.

CodeAcademy

CodeAcademy offers free in-browser courses that require little set-up and is very user-friendly. The courses are very interactive and offer courses in Javascript, jQuery, PHP, Python and Ruby.

TreeHouse

TreeHouse is a paid service ($25-$49/month) that allows you to take courses in HTML, CSS, jQuery, JavaScript, Ruby, Ruby on Rails, WordPress, PHP, iOS and Android. Similar to CodeAcademy, it focuses on interactivity and allows you to learn in the browser.

C de Binary Search

Arkadaşlar Binary Search algoritmasını  kullandığım kod parçasını main ile birlikte paylaşıyorum.İyi çalışmalar

Binary Search

Binary Search

#include <stdio.h>

#define SIZE 15

int binarySearch( const int b[], int searchKey, int low, int high);

int main(void)
{
int a[SIZE];
int i, key, result;

for(i=0; i<SIZE; i++){
a[i] = 2 * i;
}           //a arrayini çift sayılar ile initialize ediyoruz.Bu bizim içinde arama yapacağımız array olacak.

printf(“Enter number btw 0 and 28: “);
scanf(“%d”, &key);                                               //Hangi integerı aramak istiyorsak onu key değişkenine atıyoruz.

printf (“The array is initialized with this numbers : n”);
for (i = 0 ; i < SIZE ; i++ )
printf (“a[%d] = %d n”,i,a[i]);

result= binarySearch(a, key, 0, SIZE-1);

if(result != -1){                                                      //Eğer key a dizininde var ise ‘ İF’  functionu kaçıncı eleman olduğunu gösterecektir.
printf(“n%d found in array elemet %dn”, key, result);
}else{
printf(“nKey not found!n”);                  //  Şayet aranılan key dizinde yok ise ekranda Key not found görülecektir.
}
return 0;

}

int binarySearch( const int b[], int searchKey, int low, int high)
{
int middle;

while(low<= high){
middle=(low+high)/2;

if(searchKey == b[middle]){
return middle;
}else if(searchKey < b[middle]){
high= middle – 1;
}else{
low = middle + 1;
}
}

return -1;
}