Skip to main content

Posts

Showing posts with the label programming

Hello World program in different different languages

C: #include<stdio.h> int main(){     printf("Hello World\n");     return 0; }   C++: #include<iostream> using namespace std; int main(){     cout<<"Hello World"<<endl;     return 0; }   Python: print("Hello World\n")   Node JS: console.log("Hello World");   Java Script: document.write("Hello World");   Objective C: #import <Foundation/Foundation.h> int main(int argc, const char* argv[]){      @autoreleasepool{          NSLog(@"Hello World");      }      0; } JAVA: class HelloWorld{     public static void main(String[] args){          System.out.println("Hello World");     } } BASH: echo "Hello World"

A technical preview of an Operating System

Operating System (OS): An Operating system consists of a set of programs which controls, co-ordinates and supervises the activities of the various components of a computer system. Its function is to link between the computer hardware and the user. An operating system is a software or a series of programmes, which performs various types of functions in order to manage and organize file so". Objectives:  There are lot of objectives of an operating system, actually it covers the birth of a perfect operating system. A user is just like a wanting animal they just want everything. But as a developer we are just tying to make our software more & more better as per user requests. These are some main objectives ------ To describe the basic organization of computer systems. To provide a grand tour of the major components of operating systems. Provide more convenient environment for users. Provide maximum utilized performance to users as per hardware existance. Computer Startup: When a c