Nov 30, 2020

Relation Between Hardware and Software and Operating System

 Relation Between Hardware and Software

relationbetweenhardwareandsoftware, hardware, software, what is hardware, what is software, hardware definition, definition of software, what is operating system, definition of OS
relation between hardware and software
The relation between hardware and software is like the relation of human body and soul if the soul is get separated form body then is the body works, Defiantly not and same way if a soul without body also of no works. This process is same in computer system between hardware and software if software fail in a system than the hardware is just a thing of no work. And yes for the software it always needs hardware to execute, thus this two are dependable on each other.

Here the software control the hardware and tell what to do and how to do and the hardware obey the instruction by software in this way by collaborating of this two component of computer process the data and produce useful output which is the main goal/ thing what user want.

Relationship between User, Hardware, Operating System and Applications.

relationship of os to hardware and software, relation of user and os , relation of hardware and operating system, relation between operating system and application software
relationship of os to hardware and software

Here the diagram represent the relationship between the four component in which the Operating System pay main role to provide interface between application to hardware and also to user to interact to the applications.

                Where the user going to use applications software on computer which mean there should be something which can provide link between user to applications to make task possible, Yes the thing which provide link between user to application is Operating System OS not only provide links further OS monitoring that is the application running smoothly or not if some problem raise in application loading or running first the OS itself solve the problem or may be it ask to user to solve it, and provide interface between user to application

                Second case if we using application that runs on hardware so here also we have to build interface between application to hardware, this task also doing by OS it provide an interface between application to the hardware so it easily communicate each other and also OS monitoring.

BASIC COMPUTER (Hardware, Software , Operating System)

INTRODUCTION TO HARDWARE SOFTWARE AND OPERATING SYSTEM:  

                In Operating system we will study go through a simple overview to Hardware, Software (Operating System, Application System) and User.  After the short view of this topic we will go for Operating System its types, uses, function and goals etc.

HARDWARE

hardware, software, os, operating system, relation between os and hardware
hardware,software,os

                As we studied early to class Hardware is the physical component of Computer system, which can be visible and touchable. Some hardware like CPU, Hard disk and all peripheral devices. But all the hardware is useless or just a physical component without Software.

SOFTWARE

                Software the soul of computer, which is set of instruction which tell computer what to do and how to do. It operates and controls all hardware to perform specific task mainly it has done by Operating System. Where there are two further type of Software

(i.)  System software                    (ii  ) Application  software

System software

                 The software which is required for the computer itself to boot up like Operating System. This software is not direct use by user but it provides platform or environment to execute the user’s software or other software like application software. 

Application Software

                The second type of software that is design for user uses to perform their daily task, task like solving problem maintain any data base or use for entertainment purpose. Some application software is word processor, spreadsheet maker, Browsers etc. The application software can be further divide into two categories

i.                     Custom Application Software

   Custom applications are those applications that design for some special people or organization or company for their individual interest and use only, this type of software isn’t available in market place internet and the public cannot access to custom software directly.

ii.                   Package Application Software

   Package Software are those software which can directly accessible by the public and it can be available In market place, like MS Office, Photoshop and all those software which is used by public in their daily life for different purpose like MS Office for transcription, Photoshop for editing photos ,YouTube for entertainment and all social media platform to interact one another all these application comes in Package Application.

OPERATING SYSTEM (OS)

                Operating system is a system software which is the most important part of computer system other which computers are useless even if you have application software, because the application software are also load and run by Operating system and also operating system is the one which is responsible to provide interface between the hardware to user and the hardware to applications to perform different tasks. 

      "Operating system manages all the execution take place in CPU ,manage the input output device and their behavior, the memory and the read write permission also manage by Operating System all over Operating System is Manager of Computer task and behavior."


Relation between hardware and software    👉👉 read more

Relationship between user, hardware, operating system and applications.   ðŸ‘‰ðŸ‘‰ read more

relation between hardware and software


Nov 29, 2020

LINQ in C# (SQL vs LINQ)

linqinc# , linqvssql, linqtosql, linqdistint, linqquerry .c#programming
linq-in-c#
LINQ in C#

        It represents Language Integrated Query. It is a query language design by Microsoft using which we can write queries on a different verity of data sources to retrieve data form data source , like data from Array and collections.

 Basically it is derived from the SQL where SQL used in RDBMS and LINQ is use in programming language like c#.When we going to use LINQ in programming first of all we should import the system.Linq from library.

LINQ program example

Write a program to display the numbers greater than 40 from the array using LINQ statement.

using Systme;

using System.Linq ;

 Staic void Main()

{

   int[] arr = { 23, 34, 43,41, 54, 15, 4, 0, 66, 72, 91, 45, 17,86};

   var brr = from i in arr where i>40 orderby i select i;

   foreach (int a in brr)

      Console.Write({“0}\t”,a);

   Conosole.ReadLine();

}

Difference between SQL and LINQ

SQL

LINQ

   Ã˜  SQL is a Structure Query Language use in RDBMS (Relational Data Base Management System) mainly in Sql Workbench.

   Ã˜  SQL is used in Relational Data Base to retrieve and Manuplication of data from Tables or Relations.

   Ã˜  The syntax of SQL start from ‘Selectclause and end with clauses like (where, group by, having and orderby).

   Ã˜  Syntax

Select [<columns>] From [<Table>]  [<Clauses>]

Note : Clauses contain Where, Groupby, Having and Orderby . clauses are optional

and it always in the above sequence.

  Ø  LINQ is a Language Integrated Query use by programmer in programming language, like in c#.

 

  Ø  LINQ is used in programming to retrieve data form Array and Collection.

 

  Ø  The syntax starts with ‘From’ clause and end with ‘Select’ clause.

 

  Ø  Syntax

from [<alias>] in <collection | array> [<Clauses>] Select[<alias>]

here all the place of columns name we going to use alias. Alias in nothing it just a name like ‘I’, ‘a’ whatever you want names it.

 

Example difference

Example difference

Suppose we have a table ‘Num’ contain only one column ‘col1’ and it contain the following data 23, 34, 43,41, 54, 15, 4, 0, 66, 72, 91, 45, 17,86

Suppose we have an array

‘arr’ contain the following data same as in table 23, 34, 43,41, 54, 15, 4, 0, 66, 72, 91, 45, 17,86

List col1 greater than 40

Select col1 From Num Where col1> 40 orderby col1;

print array greater than 40

from i in arr where i>40 orderby i select i;