Computer Programming Articles

Page 18 of 18

High-level language program

Arjun Thakur
Arjun Thakur
Updated on 27-Jun-2020 3K+ Views

High level language is the next development in the evolution of computer languages. Examples of some high-level languages are given belowPROLOG (for “PROgramming LOGic”)FORTRAN (for ‘FORrmula TRANslation’)LISP (for “LISt Processing”)Pascal (named after the French scientist Blaise Pascal).High-level languages are like English-like language, with less words also known as keywords and fewer ambiguities. Each high level language will have its own syntax and keywords. The meaning of the word syntax is grammar.Now let us discuss about the disadvantages of high-level languagesA high level language program can’t get executed directly. It requires some translator to get it translated to machine language. There ...

Read More

Why Java programs running on Android systems do not use the standard Java API and virtual machine?

David Meador
David Meador
Updated on 22-Jun-2020 931 Views

The standard Java API and virtual machine are mainly designed for desktop as well as server systems. They are not that compatible with mobile devices. Because of this, Google has created a different API and virtual machine for mobile devices. This is known as the Dalvik virtual machine.The Dalvik virtual machine is a key component of the Android runtime and is a part of JVM (Java Virtual Machine) developed specially for Android. The Dalvik virtual machine uses features that are quite important in Java such as memory management, multi-threading etc. The programs in Java are first converted into JVM and ...

Read More

Loading and Removing Kernel Module

Ricky Barnes
Ricky Barnes
Updated on 22-Jun-2020 995 Views

The Linux kernel modules can be loaded or removed from the kernel as required. This can be done without recompiling the kernel or rebooting the system and it enhances the functionality of the system.Without the kernel modules, the operating system would have to include all the systems that provide all anticipated functionalities in the base kernel. This would lead to wastage of memory as most of those systems would not be used often. Also, the users would need to rebuild and reboot the base kernel every time they would require a new functionality.The kernel modules have a .ko extension and ...

Read More

Mass Storage Management

Amit Diwan
Amit Diwan
Updated on 22-Jun-2020 9K+ Views

Disks are the mainly used mass storage devices. They provide the bulk of secondary storage in operating systems today.Disk StructureEach modern disk contains concentric tracks and each track is divided into multiple sectors. The disks are usually arranged as a one dimensional array of blocks, where blocks are the smallest storage unit.Blocks can also be called as sectors. For each surface of the disk, there is a read/write desk available. The same tracks on all the surfaces is known as a cylinder.Disk SchedulingThere are many disk scheduling algorithms that provide the total head movement for various requests to the disk. ...

Read More

Count spaces, uppercase and lowercase in a sentence using C

Arnab Chakraborty
Arnab Chakraborty
Updated on 27-Jan-2020 949 Views

#include int main() {    char str[100],i;    int upper = 0, lower = 0, number = 0, special = 0,whitesp=0;    printf("enter string");    gets(str);    for (i = 0; i < str[i]!='\0'; i++) {       if (str[i] >= 'A' && str[i] = 'a' && str[i] = '0' && str[i]

Read More

What is the difference between a kernel and an operating system?

Arnab Chakraborty
Arnab Chakraborty
Updated on 11-Oct-2019 895 Views

Operating SystemAn operating system (OS) is a collection of software that manages computer hardware resources and acts as an interface between user and hardware of the computer. It provides common services for computer programs. The OS is a crucial component of the system software in a computer system.KernelKernel is the core part of operating system and responsible for all major activities of this operating system. Kernel consists of various modules and it interacts directly with the low level hardware. It also provides the required abstraction to hide low level hardware details to system or application programs. An operating system is ...

Read More

What is a Computer language?

Arnab Chakraborty
Arnab Chakraborty
Updated on 04-Oct-2019 13K+ Views

To communicate with the computers, we need some languages. These are computer languages.There are mainly three different languages with the help of which we can develop computer programs. And they are –Machine Level languageAssembly Level Language andHigh Level LanguageMachine Level LanguageComputer can understand only the language of Digital Electronics. Digital Electronics deals with presence and absence of voltages. Within the computer there are two logics can play their role. These logics are –Positive Logic – Here presence of voltage will be denoted by 1 and absence of voltage will be denoted by 0Negative Logic – Here presence of voltage will be ...

Read More
Showing 171–177 of 177 articles
« Prev 1 14 15 16 17 18 Next »
Advertisements