انظمة التشغيل
banner
2018-03-15 , 11:28 صباحاً
طبيبي’s Avatar
طبيبي

نشيط

المشاركات:562
التسجيل:Dec 2007
طبيبي
السلام عليكم جميعا اخواني محبين التقنية................
مثل ماهو مبين من العنوان حبيت اوضح كم شغلة بخصوص انظمة التشغيل بما ان في ناس كثيرة تعتقد ان لغة البرمجة هي اساس سرعة النظام طبعا انا بافصل كل شي وبحاول اشرح اشياء كثيرة طبعا بشرحها بالانجليزي لان لابتوبي ما فيه كيبورد عربي فالعذر والسموحة

?First, what do we mean by Mobile Operating System

It manages the smartphone's memory and processes, as well as all of its software and hardware.
why do we need an operating system in the deviced

Because it allows you to communicate with the computer without knowing how to speak the computer's language.

why cannot we communicate with the smart phone directly?

because smartphones uses the binary system which is based on one and zeros

this means it is really hard to tell the smartphone what to do using binary system and that is why people invented programming language.

Now, what do we mean by programming language?

A programming language is a set of commands, instructions, and other syntax use to create a software program. Languages that programmers use to write code are called "high-level languages." This code can be compiled into a "low-level language," which is recognized directly by the computer hardware.


So, companies such as apple, google and windows use programming language to build their own operating system.

Types of programming languages:
Examples of high-level languages include C++, Java, Perl, and PHP. Languages like C++ and Java are called "compiled languages" since the source code must first be compiled in order to run. Languages like Perl and PHP are called "interpreted languages" since the source code can be run through an interpreter without ****g compiled. Generally, compiled languages are used to create software applications, while interpreted languages are used for running scripts, such as those used to generate content for dynamic websites.
Also, there is the assembly language

Interpreter ,Compiler and assembly language

a compiler or an interpreter is a program that converts program written in high-level language into machine code understood by the computer.

the assembly language allows the programmer to write the software in more than one language


Now, we will talk about the main parts of the operating system

Operating systems are built out of two main parts:

The kernel;
System programs.
The kernel is the heart of the operating system. It is the first program loaded when the computer starts up, it manages computer resources, and it handles requests from system programs and applications.

System programs run on top of the kernel. They aren't used to perform useful work, instead, they are the programs necessary to connect the kernel to user applications and peripheral devices. Device drivers, file systems, networking programs, and system utilities like disk defragmeters are all examples of system programs.

Application programs aren't part of the operating system and are the programs used to perform useful work. Word processing applications, browsers, and media player are common types of application programs. Application programs are managed and enabled by the kernel, and use system programs to access computer periphery devices and hardware.


Preferred languages to write kernel code are C and assembly language. Although once the executable is generated it does not matter which language was used for writing the kernel.

this means that the kernel is the most important software in the smartphones.

Let's explore the kernel code of the IOS and the android

both IOS and Android OS
use C and C++, although we here so much talking about the java in the android and swift in the iPhone. So, why do we see people saying that?

that is because the app designed by the developer are the ones which written in Jave or swift but theoretically you can use them in one condition which is that the hardware has to match with the programming language and it would so much hard to do so that is why apple and google use a variant of a BSD UNIX kernel because it is already out there

actually the apps in the android are written in Jave while the ios is written in swift

another question rises is what is the difference between the swift and java .

the difference basically is the syntax

some people believe that swift is faster than Java, but benchmarks indicates the opposite.
however, it not true although there are tests that shows this fact but I do not believe because it depends on the logic of the codes
,the frequency and number of processor and the ram memory size
maybe people heared about the logic and think they understand but let me emphasis that for so you really understand the effect of the logic on the
executing time and can results in bugs.

(read this (https://stackoverflow.com/questions/9471837/wha...


Thanks and my apologies for writing this thread in English language

sources:
https://techterms.com/definition/programming_la...
https://stackoverflow.com/questions/12544360/on...
https://www.whoishostingthis.com/resources/os-d...
https://www.programiz.com/article/difference-co...
https://tomassetti.me/difference-between-compil...
https://www.geeksforgeeks.org/compiler-vs-inter...
Enlarged Image
2018-03-15 , 11:28 صباحاً
2018-03-15 , 04:05 مساءً
M7md3li’s Avatar
M7md3li

مشارك

المشاركات:265
التسجيل:Sep 2012
M7md3li
شكرا لك
على المعلومات الجميلة
2018-03-15 , 04:05 مساءً
2018-03-15 , 10:18 مساءً
أسحاق نيوتن’s Avatar
أسحاق نيوتن

مشارك

المشاركات:244
التسجيل:Oct 2016
أسحاق نيوتن
الحين يجيك واحد يقولك
نظام تشغيل جافا مع زر رجوع ههههههههههه

زر رجوع افضل من اني اروح لـ اعلى الشاشة عشان ارجع انت ونظامك الميت
2018-03-15 , 10:18 مساءً