Premium Essay

Programming in Unix

In: Computers and Technology

Submitted By ebake006
Words 1049
Pages 5
Programming in Unix
Introduction to Sociology

In today’s society, computers have played a major part of how corporations and individuals conduct business. In a sense, they have made some of the hardest tasks fairly easy by the click of a button or by typing a certain command. Computer programs perform both simple and complex calculations with user seeing the end result. However, computer programs have to be written by computer programmers. To understand how programs work, you must consider how the computer interprets the information entered by the programmer. “A program is a set of instructions that guide the computer in performing its basic and logical arithmetic operations (Afzal, 2008, p. 349).” These programs have to be written in a certain language for the computer to interpret. There are several types of languages used to write programs. Although the programmer types words and numbers to perform these mathematical and logical calculations, the computer sees only 1’s and 0’s. This is called machine language. There is also assembler language. “Instead of a series of zeros and ones, assembler language uses some recognized symbols, called mnemonics (memory aids), to represent instructions (Afzal, 2008, p. 349).” High level language is the language in which the programmer desires to write in such as Pascal, C++, C, and Java to name a few. To translate a high level language to machine language, a compiler or an interpreter must be used. The first step to writing a program is to draw a diagram of how you want your program to work. This should document from start to finish of how you want the program to work. This should be done prior to typing any type of commands in a program.
When programming, the programmer has to store certain information and values into the memory. This is accomplished through variables. Unix supports two types of

Similar Documents

Free Essay

C Language

...UNIT 1 NOTES Digital Computer A digital computer is an electronic computing machine that uses the binary digits (bits) 0 and 1 to represent all forms of information internally in digital form. Every computer has a set of instructions that define the basic functions it can perform. Sequences of these instructions. Component of Digital Computer: (1)CPU: The Central Processing Unit (CPU) or the processor is the portion of a computer system that carries out the instructions of a Computer, and is the primary element carrying out the computer's functions. This term has been in use in the computer industry at least since the early 1960s . The form, design and implementation of CPUs have changed dramatically since the earliest examples, but their fundamental operation remains much the same. (2)ALU: an arithmetic logic unit (ALU) is a Digital computer that performs arthimatic and logical operations. The ALU is a fundamental building block of the central processing unit(CPU) of a computer, and even the simplest microprocessor contain one for purposes such as maintaining timers. The processors found inside modern CPUs and graphics processing units(CPU) accommodate very powerful and very complex ALUs; a single component may contain a number of ALUs. Mathematician proposed the ALU concept in 1945, when he wrote a report on the foundations for a new computer called the EDVAC. (3)Memory: memory is an organism's ability to store, retain, and recall information. Traditional studies of memory...

Words: 2515 - Pages: 11

Free Essay

Unix

...The UNIX OS What is UNIX? UNIX is a Main Frame operating system developed by AT&T employees at Bell Labs (1969 – 1971). UNIX originally was named “Unics” (Uniplexed Information & Computing Service). It was renamed “Unix” when it could support multiple users. In 1972 UNIX was rewritten in the C programming language. C was developed for the UNIX OS to write programming for the UNIX OS. C is a low level programming language but not as low level as assembly. So C makes writing programs easier than Assembly and also makes them hardware independent. The entire UNIX OS was rewritten in the C programming language. So this made UNIX portable. You don’t have to rewrite the operating system whenever you wanted to port it to a new type of hardware. In 1975 AT&T, because of a court order centering around an anti-trust case, was forbidden from entering the computer software business. Thus, unable to sell the UNIX OS, they gave it away. If you wrote to them and asked for a copy of UNIX-they would give you a free license and send you all the source code. This made it attractive for government agencies, universities and corporations. They could get this free, and very powerful operating system, to run on their main frames. 1975 was the point when computers were beginning to take off and there are a lot of people at universities learning about computers for the first time, getting access to main frame computers for the first time and they’re using UNIX. So UNIX becomes the...

Words: 576 - Pages: 3

Free Essay

Week Five

...While contrasting UNIX systems to Windows a few of the features discovered in UNIX incorporate: the usage of simple text for saving data; a ordered file system; UNIX manages tools for example printing equipments, mouse and keyboard and also other tools like files. The UNIX system also manages directories and procedures like files. There's only one root directory inside the UNIX operating system hierarchical tree. UNIX utilizes devices and applications via the command line in contrast to utilizing a single monolithic application which includes all the same functionality. The kernel offers services to begin and stop applications, deals with the file system that saves and arranges the computer system files and data. The kernel usually shifts data into as databases for storage and use. Both UNIX and Windows file systems are ordered and both support lengthy names as much as 255 characters. File Processing Evaluation UNIX programs that are based upon simple text files for setup use a lot of powerful devices that are utilized to process text files. Piping is widely utilized to reroute the result of one command to the input of the subsequent command. UNIX deals with most command in a consecutive order (first in first out) but the procedure may be overridden by making use of variables and alternatives (ADD). This lets commands to be installed collectively and implemented without storing all the results to an output file. UNIX utilizes commands that include: Echo - shows text...

Words: 2702 - Pages: 11

Premium Essay

Comparing Unix and Windows Operating Systems

...THE COMPARISONS OF UNIX AND WINDOWS OPERATING SYSTEMS The Comparisons of UNIX and Windows Operating Systems Herlinda Gibson Instructor: Richard Guirguis CIS 155 – Strayer University August 20, 2012 Abstract In today’s world filled with computers and computer technology, having an Operating System (OS) is a must in order to utilize or do anything on your computer but what are the differences in the operating systems and which one would you use? This paper will investigate and analyze some of the similarities and difference between two major Operating Systems; UNIX and Windows XP by comparing and contrasting with some key features such as; cost measurements, market share availability, hardware requirements, file processing, programming capabilities, availabilities of applications software and graphical user interface (GUI) with the hopes of selecting a better computer when purchased. The Comparisons of UNIX and Windows Operating Systems We now live in a world that is basically run by computers and in order to do anything on your computer you will need to have or run some type of Operating System (OS). An operating system is a program that allows you to interact directly with all of the software and hardware on your computer by entering various commands (Haas, 2010). But which operating system should you use? Two major types of Operating Systems are UNIX and Windows. The UNIX operating system which began as early as...

Words: 1184 - Pages: 5

Free Essay

Operating Systems

... CIS 155 December 10, 2011   Operating System You may have heard of UNIX, or maybe not. Where did this so called UNIX come from? What exactly is an operating system you ask and what is it comprised of? Read on to find out more. Birth of a New Creation: UNIX is the creation and brain child of Bell Laboratory researchers Dennis Ritchie and Ken Thompson. Ken Thompson was working with Space Travel. Space Travel was a program that simulated the motion of the planets in our solar system. The Space Travel program was under the operating system called Multics (Multics is one of the first operating systems that provided a multiuser environment, and ran on a General Electric 6000 Electric Computer) (Afzal, 2008). Multics was a slow and very large and required a substantial amount of computer resources. Ken Thompson found a small little PDP-7 computer (created by the Digital Equipment Corporation) and transferred the Space Travel program on to it. On this computer is in which Ken Thompson created the new operating system that he deemed to be UNIX. Ken Thompson adapted Multics advanced concepts to the operating system. UNIX took advantage of the other operating systems by incorporating some of all of the other operating systems into its own, and combining...

Words: 1257 - Pages: 6

Premium Essay

Hacking and Refactoring

...development. I, in my capacity as one of the principal theoreticians of open-source development, was invited to be at Snowbird, but couldn't make it. Ever since, though, I've been sensing a growing convergence between agile programming and the open-source movement. I've seen agile concepts and terminology being adopted rapidly and enthusiastically by my colleagues in open-source-land — especially ideas like refactoring, unit testing, and design from stories and personas. From the other side, key agile-movement figures like Kent Beck and Martin Fowler have expressed strong interest in open source both in published works and to me personally. Fowler has gone so far as to include open source on his list of agile-movement schools. I agree that we belong on that list. But I also agree with Fowler's description of of open source as a style, rather than a process. I think his reservations as to whether open source can be described as just another agile school are well-founded. There is something more complicated and interesting going on here. and I realized when I read Fowler's description of open source that at some point I was going to have to do some hard thinking and writing in an effort to sort it all out. While doing research for my book The Art of Unix Programming, I read one particular passage in Fowler's Refactoring that finally brought it all home. He writes: One argument is that refactoring can be an alternative to up-front design. In this scenario, you don't do any design at...

Words: 2291 - Pages: 10

Free Essay

Os-Dos

...run without human intervention 11. Scheduling and loading of programs 12. Provide appropriate response to the events 13. Handling errors and using corrective routines 14. Protecting hardware, software and data from improper use 15. Furnishing the complete records of all events and activities Types of Operating System Single-user OS: • • It is used for stand alone Computer (PC) It is further classified into two types: (1) Single-user Single-tasking (MS DOS) (2) Single-user Multi-tasking (MS Windows) Multi-user OS / Network Operation System: • • • It handles multiple users as well as multiple peripheral devices simultaneously. It also handles multiple tasks at the same time and therefore known as multi-user multi-tasking OS. Examples: UNIX, Linux, Windows (NT or Network Edition) Functions of Network Operating System: NOS do everything a stand alone OS does and more in much more complex environment. It is the heart and soul of the computer network. Apart from functions of...

Words: 2029 - Pages: 9

Free Essay

Employee Welfare

...C is a general-purpose, high-level language that was originally developed by Dennis M. Ritchie to develop the UNIX operating system at Bell Labs. C was originally first implemented on the DEC PDP-11 computer in 1972. In 1978, Brian Kernighan and Dennis Ritchie produced the first publicly available description of C, now known as the K&R standard. The UNIX operating system, the C compiler, and essentially all UNIX applications programs have been written in C. The C has now become a widely used professional language for various reasons. · Easy to learn · Structured language · It produces efficient programs. · It can handle low-level activities. · It can be compiled on a variety of computer platforms. Facts about C · C was invented to write an operating system called UNIX. · C is a successor of B language which was introduced around 1970 · The language was formalized in 1988 by the American National Standard Institute (ANSI). · The UNIX OS was totally written in C by 1973. · Today C is the most widely used and popular System Programming Language. · Most of the state-of-the-art softwares have been implemented using C. · Today's most popular Linux OS and RBDMS MySQL have been written in C. Why to use C? C was initially used for system development work, in particular the programs that make-up the operating system. C was adopted as a system development language because it produces code that runs nearly as fast as code written in assembly language. Some examples of the...

Words: 770 - Pages: 4

Premium Essay

Unit 1 Pt1420

...Unit 1 Research 1 PT1420 In the 1970s the programming language that was most popular was Pascal. Pascal was designed in 1968-69 but published in 1970. Niklaus Wirth created the Pascal language to “1) make available a language suitable for teaching programming as a systematic discipline based on fundamental concepts clearly by the language, and 2) to define a language whose implementations could be both reliable and efficient on then-available computers. In 1972 the C programming language was developed by Dennis Ritchie. C was created to work with the system Unix. “Unix gives C such advanced features as dynamic variables, multitasking, interrupt handling, forking, and strong, low-level, input-output. Because of this, C is very commonly used to program operating systems such as Unix, Windows, the MacOS, and Linux.” In the 1980s the popular programming language was C++. C++ was developed at Bell Laboratories. C++ is a general purpose multi-paradigm spanning compiled language that has both high-level and low-level languages’ features. It was started as an enhancement to the C programming language, Bjarne Stroustrup in 1979. In the 1990s Java was the popular programming language. It was created in 1991 developed by James Gosling at Sun Microsystems and release in 1995. In the 2000s Visual Basic (VB) was popular in the programming world. VB was developed from BASIC which was originally developed in 1964 by John Kemeny and Thomas Kurts. VB is a Microsoft programing language and software...

Words: 261 - Pages: 2

Premium Essay

Pt1420

...the programming language that was most popular was Pascal. Pascal was designed in 1968-69 but published in 1970. Niklaus Wirth created the Pascal language to “a) make available a language suitable for teaching programming as a systematic discipline based on fundamental concepts clearly and naturally reflected by the language, and b) to define a language whose implementations could be both reliable and efficient on then-available computers.” - http://pascal-central.com/ppl/#Origins In 1972 the C programming language was developed by Dennis Ritchie. C was created to work with the system Unix. “Unix gives C such advanced features as dynamic variables, multitasking, interrupt handling, forking, and strong, low-level, input-output. Because of this, C is very commonly used to program operating systems such as Unix, Windows, the MacOS, and Linux.” - http://cs.brown.edu/~adf/programming_languages.html In the 1980s the popular programming language was C++. C++ was developed at Bell Laboratories. “C++ is a general purpose multi-paradigm spanning compiled language that has both high-level and low-level languages’ features. It was started as an enhancement to the C programming language, Bjarne Stroustrup in 1979.” - http://www.freerepublic.com/focus/chat/2880277/posts In the 1990s Java was the popular programming language. It was created in 1991 developed by James Gosling at Sun Microsystems and release in 1995. In the 2000s Visual Basic (VB) was popular in the programming world...

Words: 279 - Pages: 2

Free Essay

Personal Information

...Curriculum & Development Backward Design Unit Planning Student Evaluation & Assessment Progress Monitoring Honors & College Readiness      Practical based instruction Content oriented Classroom Management Program Development College-to-career Connection EDUCATION & CERTIFICATION:  B.Sc., (Computer Science and IT) with 3.25 GPA at Wollega University, Ethiopia. TECHNICAL PROFILE: Programming Languages Database Technologies GUI Tools Web Technologies Operating System Packages Multimedia Application Professional Experience:  Presently working as Assistant Lecturer in Mizan-Tepi University, Ethiopia for B.Sc(CS & IT) and I have delivered Courses Introduction to Computer Science, Fundamentals of Programming I and II, Professional Ethics In computing, Fundamentals of Database Systems, Data Structures and Algorithms, Computer Organization and Architecture, Data Communication and Computer Networking, Object Oriented Programming, Operating Systems, Internet Programming I ,Advanced Database System, Internet Programming II, Unix System Administration, System Analysis and Design, Event Driven Programming, Information Retrieval, Software Engineering, Formal Language Theory, Logic for Computer Science, Computer Graphics, Analysis of Algorithms, Introduction to : : : : : : : C, C++,VB-5,6,VB.net ,C#, Java,python MySQL,Oracle 9i, 10 and 11g, MS SQL Server 7.0,weka DreamWeaver,Developer2000, VB6,VB.net,JCreater JAVA, HTML, DHTML, JAVASCRIPT MS-DOS, WINDOW,...

Words: 506 - Pages: 3

Free Essay

C Programming

...Welcome to CS 241 Systems Programming at Illinois Robin Kravets Copyright ©: University of Illinois CS 241 Staff 1 The Team  Robin Kravets    TAs   Office: 3114 SC rhk@illinois.edu Wade Fagen, Farhana Ashraf, Hilfi Alkaff and Mainak Ghosh Discussion Sections   8 sessions (Thursdays 9, 10, 11, 12, 1, 2, 3, 4) All sections in SC 0220 Copyright ©: University of Illinois CS 241 Staff 2 News and Email  Announcements and discussions: Piazza  http://www.piazza.com/illinois/cs241     All class questions This is your one-stop help-line! Will get answer < 24 hours e-mail   cs241help-fa12@cs.illinois.edu Personal questions not postable on the news group Copyright ©: University of Illinois CS 241 Staff 3 The Textbook  Introduction to Systems Concepts and Systems Programming      University of Illinois Custom Edition Copyright © 2007 Pearson Custom Publishing ISBN 0-536-48928-9 Taken from:    Operating Systems: Internals and Design Principles, Fifth Edition, by William Stallings UNIX™ Systems Programming: Communication, Concurrency, and Threads, by Kay A. Robbins and Steven Robbins Computer Systems: A Programmer's Perspective, by Randal E. Bryant and David R. O'Hallaron Copyright ©: University of Illinois CS 241 Staff 4 Your CS 241 “Mission”  Come to class     Read textbook    20% 7:00 – 9:00 PM October 15th Final  3% 47% Longer MPs are worth a little more Midterm   Reading assignments posted on webpage Homework...

Words: 1748 - Pages: 7

Free Essay

Casadelibro

...CTO, I would choose to retain the UNIX platform. My choice is based on the analysis of several factors and data presented in the case study which indicate the inefficiency to start managing the operations of the company operations with a new System, as further elaborated hereunder. The main issue in the case study concerns a strategic decision that the team of casadelibro.com has to take for the development of a ebook shop. The team has to assess and select one of the following options: A) retain the complex IT system already in place or B) installing a new one, more user friendly and cheaper although less capable to keep up with the increasing sales volumes indicated by the company forecasts. Before going into details, I started to take a look at the environment of the company and how the staff is reacting to this the strategic decision and they expect to handle possible operational changes. In doing so, I took into account the views of the managing team, especially in terms of ownership and accountability for the project. The whole team seems to agree on the need for a strategic decision and project to better address and meet the increasing demand of the book market as indicated in the chart n4. Moreover, the team, at a first glance, sees the option of setting a new system as a foregone decision, due to the problems they had to face during the implementation of the UNIX platform. If we analyse more in depth the weaknesses of the existing UNIX platform, it looks evident that they...

Words: 810 - Pages: 4

Free Essay

Operating System

...The Amoeba Distributed Operating System 1. INTRODUCTION Roughly speaking, we can divide the history of modern computing into the following eras: 1970s: Timesharing (1 computer with many users) 1980s: Personal computing (1 computer per user) 1990s: Parallel computing (many computers per user) Until about 1980, computers were huge, expensive, and located in computer centers. Most organizations had a single large machine. In the 1980s, prices came down to the point where each user could have his or her own personal computer or workstation. These machines were often networked together, so that users could do remote logins on other people’s computers or share files in various (often ad hoc) ways. Nowadays some systems have many processors per user, either in the form of a parallel computer or a large collection of CPUs shared by a small user community. Such systems are usually called parallel or distributed computer systems. This development raises the question of what kind of software will be needed for these new systems. To answer this question, a group under the direction of Prof. Andrew S. Tanenbaum at the Vrije Universiteit (VU) in Amsterdam (The Netherlands) has been doing research since 1980 in the area of distributed computer systems. This research, partly done in cooperation with the Centrum voor Wiskunde en Informatica (CWI), has resulted in the development of a new distributed operating system, called Amoeba, designed for an environment consisting...

Words: 4509 - Pages: 19

Premium Essay

Biodata

...Used the SQL Loader for extracting the data from Flat Files into Oracle. * Experience in PL/SQL programming, Developing Packages, stored procedures, Functions and Triggers. * Experience in developing business applications using Oracle 11g/10g/9i, Oracle Forms10g/9i, Reports10g/9i, SQL, PL/SQL, SQL*Loader and Open Interface. * Expertise in design, development of end user screens and reports using Oracle Developer/2000 (Forms, Reports) and other front-end tools. * Expert in writing Cursors and Handling Exceptions while developing the applications. * Experienced in Project planning and scheduling, System design, Functional Specification, Design specification, Coding and System test plan. * Data cleansing experience using PL/SQL. SQL coding and UNIX. * Using Informatica Designer designed and developed Source Entities for Oracle, COBOL files and Target warehouse Entity for Oracle. * Involved in preparing Test Plans, Unit Testing, System Integration Testing, Implementation and Maintenance. * Extracted the data from different sources like COBOL Files, Flat files (delimited & fixed width) and Oracle. * Used the SQL Loader for extracting the data from Flat Files into Oracle. * Experience in PL/SQL programming, Developing Packages, stored procedures, Functions and Triggers. * Experience in developing business...

Words: 622 - Pages: 3