C for Programmers

Total Page:16

File Type:pdf, Size:1020Kb

C for Programmers C FOR PROGRAMMERS WITH AN INTRODUCTION TO C11 DEITEL® DEVELOPER SERIES Deitel® Series Page Deitel® Developer Series CourseSmart Web Books CforProgrammers www.deitel.com/books/CourseSmart/ C++ for Programmers, 2/E C++ How to Program, 7/E, 8/E & 9/E Android™ for Programmers: An App-Driven Simply C++: An App-Driven Tutorial Approach Approach Java™ How to Program, 7/E, 8/E & 9/E C# 2010 for Programmers, 3/E Simply Visual Basic® 2010: An App-Driven Dive Into® iOS 6: An App-Driven Approach Approach, 4/E Java™ for Programmers, 2/E Visual Basic® 2012 How to Program JavaScript for Programmers Visual Basic® 2010 How to Program Visual C#® 2012 How to Program, 5/E LiveLessons Video Learning Products Visual C#® 2010 How to Program, 4/E www.deitel.com/books/LiveLessons/ Android® App Development Fundamentals How To Program Series C++ Fundamentals Android™ How to Program C# Fundamentals C How to Program, 7/E iOS® 6 App Development Fundamentals C++ How to Program, 9/E Java™ Fundamentals C++ How to Program, Late Objects Version, 7/E JavaScript Fundamentals Java™ How to Program, 9/E Visual Basic® Fundamentals Java™ How to Program, Late Objects Version, 8/E Internet & World Wide Web How to Program, 5/E Simply Series Visual Basic® 2012 How to Program Simply C++: An App-Driven Tutorial Approach Visual C#® 2012 How to Program, 5/E Simply Java™ Programming: An App-Driven Visual C++® 2008 How to Program, 2/E Tutorial Approach Small Java™ How to Program, 6/E Simply Visual Basic® 2010, 4/E: An App-Driven Small C++ How to Program, 5/E Tutorial Approach To receive updates on Deitel publications, Resource Centers, training courses, partner offers and more, please register for the free Deitel® Buzz Online e-mail newsletter at: www.deitel.com/newsletter/subscribe.html and join the Deitel communities on Twitter® @deitel Facebook® facebook.com/DeitelFan Google+ gplus.to/deitel and LinkedIn bit.ly/DeitelLinkedIn To communicate with the authors, send e-mail to: [email protected] For information on government and corporate Dive-Into® Series on-site seminars offered by Deitel & Associates, Inc. worldwide, visit: www.deitel.com/training/ or write to [email protected] For continuing updates on Pearson/Deitel publications visit: www.deitel.com www.pearsonhighered.com/deitel/ Visit the Deitel Resource Centers that will help you master programming languages, software devel- opment, Android™ and iPhone®/iPad® app development, and Internet- and web-related topics: www.deitel.com/ResourceCenters.html C FOR PROGRAMMERS WITH AN INTRODUCTION TO C11 DEITEL® DEVELOPER SERIES Paul Deitel Deitel & Associates, Inc. Harvey Deitel Deitel & Associates, Inc. Upper Saddle River, NJ • Boston • Indianapolis • San Francisco New York • Toronto • Montreal • London • Munich • Paris • Madrid Capetown • Sydney • Tokyo • Singapore • Mexico City Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals. The authors and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein. The publisher offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales, which may include electronic versions and/or custom covers and content particular to your business, training goals, marketing focus, and branding interests. For more information, please contact: U. S. Corporate and Government Sales (800) 382-3419 [email protected] For sales outside the U. S., please contact: International Sales [email protected] Visit us on the Web: informit.com/ph Library of Congress Cataloging-in-Publication Data On file © 2013 Pearson Education, Inc. All rights reserved. Printed in the United States of America. This publication is protected by copyright, and permission must be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmis- sion in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. To obtain permission to use material from this work, please submit a written request to Pearson Education, Inc., Permissions Department, One Lake Street, Upper Saddle River, New Jersey 07458, or you may fax your request to (201) 236-3290. ISBN-13: 978-0-13-346206-7 ISBN-10: 0-13-346206-4 Text printed in the United States on recycled paper at RR Donnelley in Crawfordsville, Indiana. First printing, April 2013 In memory of Dennis Ritchie, creator of the C programming language and co-creator of the UNIX operating system. Paul and Harvey Deitel Trademarks DEITEL, the double-thumbs-up bug and DIVE INTO are registered trademarks of Deitel and Associates, Inc. MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED AS PART OF THE SERVICES FOR ANY PURPOSE. ALL SUCH DOCUMENTS AND RELATED GRAPHICS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS HEREBY DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THIS INFORMA- TION, INCLUDING ALL WARRANTIES AND CONDITIONS OF MERCHANTABILITY, WHETHER EXPRESS, IMPLIED OR STATUTORY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PER- FORMANCE OF INFORMATION AVAILABLE FROM THE SERVICES. THE DOCUMENTS AND RELATED GRAPHICS CONTAINED HEREIN COULD INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS. CHANGES ARE PERIODI- CALLY ADDED TO THE INFORMATION HEREIN. MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS MAY MAKE IMPROVEMENTS AND/OR CHANGES IN THE PRODUCT(S) AND/ OR THE PROGRAM(S) DESCRIBED HEREIN AT ANY TIME. PARTIAL SCREEN SHOTS MAY BE VIEWED IN FULL WITHIN THE SOFTWARE VERSION SPECIFIED. Throughout this book, trademarks are used. Rather than put a trademark symbol in every occurrence of a trademarked name, we state that we are using the names in an editorial fashion only and to the benefit of the trademark owner, with no intention of infringement of the trademark. Contents Preface xv 1 Introduction 1 1.1 Introduction 2 1.2 The C Programming Language 2 1.3 C Standard Library 4 1.4 C++ and Other C-Based Languages 4 1.5 Typical C Program Development Environment 5 1.5.1 Phase 1: Creating a Program 6 1.5.2 Phases 2 and 3: Preprocessing and Compiling a C Program 7 1.5.3 Phase 4: Linking 7 1.5.4 Phase 5: Loading 7 1.5.5 Phase 6: Execution 7 1.5.6 Standard Input, Standard Output and Standard Error Streams 8 1.6 Test-Driving a C Application in Windows, Linux and Mac OS X 8 1.6.1 Running a C Application from the Windows Command Prompt 9 1.6.2 Running a C Application Using GNU C with Linux 11 1.6.3 Running a C Application Using GNU C with Mac OS X 14 1.7 Operating Systems 16 1.7.1 Windows—A Proprietary Operating System 17 1.7.2 Linux—An Open-Source Operating System 17 1.7.3 Apple’s Mac OS X; Apple’s iOS® for iPhone®, iPad® and iPod Touch® Devices 17 1.7.4 Google’s Android 18 2 Introduction to C Programming 19 2.1 Introduction 20 2.2 A Simple C Program: Printing a Line of Text 20 2.3 Another Simple C Program: Adding Two Integers 24 2.4 Arithmetic in C 27 2.5 Decision Making: Equality and Relational Operators 31 2.6 Secure C Programming 35 viii Contents 3 Control Statements: Part I 37 3.1 Introduction 38 3.2 Control Structures 38 3.3 The if Selection Statement 40 3.4 The if…else Selection Statement 40 3.5 The while Repetition Statement 43 3.6 Class Average with Counter-Controlled Repetition 44 3.7 Class Average with Sentinel-Controlled Repetition 46 3.8 Nested Control Statements 49 3.9 Assignment Operators 51 3.10 Increment and Decrement Operators 52 3.11 Secure C Programming 55 4 Control Statements: Part II 57 4.1 Introduction 58 4.2 Repetition Essentials 58 4.3 Counter-Controlled Repetition 59 4.4 for Repetition Statement 60 4.5 for Statement: Notes and Observations 63 4.6 Examples Using the for Statement 64 4.7 switch Multiple-Selection Statement 67 4.8 do…while Repetition Statement 73 4.9 break and continue Statements 75 4.10 Logical Operators 77 4.11 Confusing Equality (==) and Assignment (=) Operators 80 4.12 Secure C Programming 81 5 Functions 83 5.1 Introduction 84 5.2 Program Modules in C 84 5.3 Math Library Functions 85 5.4 Functions 86 5.5 Function Definitions 87 5.6 Function Prototypes: A Deeper Look 91 5.7 Function Call Stack and Stack Frames 94 5.8 Headers 97 5.9 Passing Arguments By Value and By Reference 98 5.10 Random Number Generation 99 5.11 Example: A Game of Chance 104 5.12 Storage Classes 107 5.13 Scope Rules 109 5.14 Recursion 112 5.15 Example Using Recursion: Fibonacci Series 116 Contents ix 5.16 Recursion vs. Iteration 119 5.17 Secure C Programming 121 6 Arrays 122 6.1 Introduction 123 6.2 Arrays 123 6.3 Defining Arrays 124 6.4 Array Examples 125 6.5 Passing Arrays to Functions 138 6.6 Sorting Arrays 142 6.7 Case Study: Computing Mean, Median and Mode Using Arrays 144 6.8 Searching
Recommended publications
  • Feature Tracking & Visualization in 'Visit'
    FEATURE TRACKING & VISUALIZATION IN ‘VISIT’ By NAVEEN ATMAKURI A thesis submitted to the Graduate School—New Brunswick Rutgers, The State University of New Jersey in partial fulfillment of the requirements for the degree of Master of Science Graduate Program in Electrical and Computer Engineering written under the direction of Professor Deborah Silver and approved by New Brunswick, New Jersey October 2010 ABSTRACT OF THE THESIS Feature Tracking & Visualization in VisIt by Naveen Atmakuri Thesis Director: Professor Deborah Silver The study and analysis of large experimental or simulation datasets in the field of science and engineering pose a great challenge to the scientists. These complex simulations generate data varying over a period of time. Scientists need to glean large quantities of time-varying data to understand the underlying physical phenomenon. This is where visualization tools can assist scientists in their quest for analysis and understanding of scientific data. Feature Tracking, developed at Visualization & Graphics Lab (Vizlab), Rutgers University, is one such visualization tool. Feature Tracking is an automated process to isolate and analyze certain regions or objects of interest, called ‘features’ and to highlight their underlying physical processes in time-varying 3D datasets. In this thesis, we present a methodology and documentation on how to port ‘Feature Tracking’ into VisIt. VisIt is a freely available open-source visualization software package that has a rich feature set for visualizing and analyzing data. VisIt can successfully handle massive data quantities in the range of tera-scale. The technology covered by this thesis is an improvement over the previous work that focused on Feature Tracking in VisIt.
    [Show full text]
  • Python for Economists Alex Bell
    Python for Economists Alex Bell [email protected] http://xkcd.com/353 This version: October 2016. If you have not already done so, download the files for the exercises here. Contents 1 Introduction to Python 3 1.1 Getting Set-Up................................................. 3 1.2 Syntax and Basic Data Structures...................................... 3 1.2.1 Variables: What Stata Calls Macros ................................ 4 1.2.2 Lists.................................................. 5 1.2.3 Functions ............................................... 6 1.2.4 Statements............................................... 7 1.2.5 Truth Value Testing ......................................... 8 1.3 Advanced Data Structures .......................................... 10 1.3.1 Tuples................................................. 10 1.3.2 Sets .................................................. 11 1.3.3 Dictionaries (also known as hash maps) .............................. 11 1.3.4 Casting and a Recap of Data Types................................. 12 1.4 String Operators and Regular Expressions ................................. 13 1.4.1 Regular Expression Syntax...................................... 14 1.4.2 Regular Expression Methods..................................... 16 1.4.3 Grouping RE's ............................................ 18 1.4.4 Assertions: Non-Capturing Groups................................. 19 1.4.5 Portability of REs (REs in Stata).................................. 20 1.5 Working with the Operating System....................................
    [Show full text]
  • Lecture 1: September 8 Lecturer: Emery Berger Scribes: Bruno Silva, Gene Novark, Jim Partan
    CMPSCI 377 Operating Systems Fall 2009 Lecture 1: September 8 Lecturer: Emery Berger Scribes: Bruno Silva, Gene Novark, Jim Partan 1.1 General information This class is taught by Prof. Emery Berger in ELAB 323, every Tuesday and Thursday from 9:30am to 11:00am. ELAB is the older brick building next to the computer science building. For additional information related to the course (syllabus, projects, etc), please visit www.cs.umass.edu/~emery. Although the class name is Operating Systems, this course will deal mostly with large-scale computer systems. The main question to be studied is how to build correct, reliable and high performance computer systems. In order to answer this question, problems such as memory management, concurrency, scheduling, etc, will be studied. 1.1.1 Getting help Prof. Berger is available by appointment in his office (CS344). The TA's office hours are Mondays and Wednesdays from 4:00 PM to 5:00 PM in the Edlab (LGRT 223, 225). In addition to office hours, Discussion Sections will be led by the TA on Wednesdays from 12:20pm to 1:10pm in CMPSCI 142. Attendance is very important since sample test problems will be discussed, and the main concepts presented during the last couple of classes will be reinforced. Also, students looking for help can access the course's newsgroup (look for the link at Prof. Berger's website). Lecture notes will also be available. Although this class requires no textbook, interested students might look for classics of the area, such as Operating System Concepts (Silberschatz et all), 7th Edition.
    [Show full text]
  • Oracle Solaris Containers Data Sheet
    ORACLE DATA SHEET ORACLE SOLARIS 8 CONTAINERS AND ORACLE SOLARIS 9 CONTAINERS KEY BENEFITS Oracle Solaris 8 Containers and Oracle Solaris 9 Containers let you migrate !"Quickly deploy Oracle Solaris 8 or Oracle Solaris 8 and Oracle Solaris 9 applications and environments to the Oracle Solaris 9 applications on Oracle Solaris 10 latest SPARC systems running Oracle Solaris 10. These environments can later !"Lower costs through consolidation onto be updated, at your own pace, to Oracle Solaris 10 Containers. With migration newer systems assistance from Oracle Advanced Customer Services, take advantage of Oracle !"Mitigate risks with expert assistance Solaris 8 Containers and Oracle Solaris 9 Containers to reduce the effort and !"Implement your solution for a single risk associated with migrating to the latest network computing environments. application or as part of a larger virtualization strategy Deploy Previous-Version Oracle Solaris Applications on Oracle Solaris 10 Oracle Solaris 8 Containers and Oracle Solaris 9 Containers serve as transition tools, decoupling your hardware upgrade from the operating system (OS) and applications, giving you more time to upgrade your applications to Oracle Solaris 10. Oracle guarantees application compatibility between OS releases, and builds on that by adding the ability to capture and transfer the surrounding configuration, data, and other elements of the OS. You can rapidly upgrade to new Oracle hardware and Oracle Solaris 10 while providing the Oracle Solaris 8 or Oracle Solaris 9 runtime environment as needed. Lower Costs by Consolidating Systems Today’s systems can be many times more powerful, space-efficient, and cost-efficient than earlier generations. However, hardware upgrades often demand OS as well as application upgrades.
    [Show full text]
  • Developing for Industrial Iot with Embedded Linux OS on Dragonboard™ 410C by Timesys University
    Qualcomm Developer Network Presents Developing for Industrial IoT with Embedded Linux OS on DragonBoard™ 410c by Timesys University Co-sponsored by Qualcomm Technologies, Inc. and Arrow Electronics Session 3 Building a Cutting-Edge User Interface with Qt® Maciej Halasz, Vice President of Technology Timesys Corporation Maurice Kalinowski, Principal Software Engineer Qt Company www.timesys.com ©2017 Timesys Corp. 3 Webinar Series . Session 1: Introduction to DragonBoard 410 SoC and Starting Development of Your Embedded Linux based “Industrial Internet of Things” (IIoT) Device • Setup for designing IIoT products • How to assemble and deploy initial BSP . Session 2: Application Development for Embedded Linux • Application development environment setup • How to reflect product requirements in the BSP • Communication in the IIoT system . Session 3: Building a Cutting-Edge User Interface with Qt® • Developing modern, rich UIs for factory terminals . Session 4: Embedded Products Security • Designing security-rich devices www.timesys.com ©2017 Timesys Corp. 4 Session 2 recap . What we did • Reflected API requirements in OpenEmbedded RPB Linux BSP • Talked about BSP customizations – New meta-layer – New recipe – Modified image . Application Development • SDK setup on a host • Used IDE to develop/deploy/debug code on DragonBoard 410c • We looked briefly at a BLE protocol • Programmed an application that received info from a sensor board – Temperature, Luminosity, FreeFall . Key takeaways • Its very straight forward to develop C/C++ application code for the 410c • IDEs accelerate development process • When working with Linaro BSP, customers can leverage meta layer library on OpenEmbedded https://layers.openembedded.org www.timesys.com ©2017 Timesys Corp. 5 Session 3 — Agenda . Sharing information in an IoT system .
    [Show full text]
  • Oracle Solaris 11.3 Frequently Asked Questions
    ORACLE FAQ Oracle Solaris 11.3 Frequently Asked Questions Introduction x REST-based admin interfaces: Oracle Solaris 11 includes Oracle Solaris is an efficient and simple, secure and support for developing REST-based APIs using the Remote Administration Daemon. This is in addition to the existing compliant, open and affordable solution for deploying programmatic interfaces that enable administrators to enterprise-grade clouds. More than just an operating remotely configure Oracle Solaris systems using Python, C, and Java. system (OS), Oracle Solaris 11.3 includes features and For more information, see “What's New in Oracle Solaris 11.3.” enhancements that deliver no-compromise virtualization, application-driven software-defined Frequently Asked Questions networking, and a complete OpenStack distribution for General Information creating and managing an enterprise cloud, thus Q: Where can I download Oracle Solaris 11.3? enabling you to meet IT demands and redefine your A: Download Oracle Solaris 11.3 from Oracle Technology business. Network at the following location: oracle.com/technetwork/server- storage/solaris11/downloads/index.html Oracle Solaris 11.3 Highlights Q: Where can I log issues relating to Oracle Solaris 11.3? Oracle Solaris 11.3 introduces hundreds of new features that A: Customers who have an active Oracle support agreement enhance its capabilities as an overall cloud infrastructure can log service requests through My Oracle Support at solution, including the following: support.oracle.com. x Oracle’s Software in Silicon technology: The SPARC M7 processor enables application developers to take advantage Q: Where can I find more information about Oracle Solaris of the Silicon Secured Memory feature of the chip to help 11.3? prevent buffer overflows and other external attacks.
    [Show full text]
  • An Introduction to Windows Operating System
    EINAR KROGH AN INTRODUCTION TO WINDOWS OPERATING SYSTEM Download free eBooks at bookboon.com 2 An Introduction to Windows Operating System 2nd edition © 2017 Einar Krogh & bookboon.com ISBN 978-87-403-1935-4 Peer review by Høgskolelektor Lars Vidar Magnusson, Høgskolen i Østfold Download free eBooks at bookboon.com 3 AN INTRODUCTION TO WINDOWS OPERATING SYSTEM CONTENTS CONTENTS Introduction 9 1 About Windows history 10 1.1 MS-DOS 10 1.2 The first versions of Windows 11 1.3 Windows NT 12 1.4 Windows versions based on Windows NT 13 1.5 Windows Server 15 1.6 Control Questions 17 2 The tasks of an operating system 18 2.1 About the construction of computers 19 2.2 Central tasks for an operating system 20 2.3 Control Questions 22 �e Graduate Programme I joined MITAS because for Engineers and Geoscientists I wanted real responsibili� www.discovermitas.comMaersk.com/Mitas �e Graduate Programme I joined MITAS because for Engineers and Geoscientists I wanted real responsibili� Maersk.com/Mitas Month 16 I wwasas a construction Month 16 supervisorI wwasas in a construction the North Sea supervisor in advising and the North Sea Real work helpinghe foremen advising and IInternationalnternationaal opportunities ��reeree wworkoro placements solves Real work problems helpinghe foremen IInternationalnternationaal opportunities ��reeree wworkoro placements solves problems Download free eBooks at bookboon.com Click on the ad to read more 4 AN INTRODUCTION TO WINDOWS OPERATING SYSTEM CONTENTS 3 Some concepts and terms of the Windows operating system 23 3.1
    [Show full text]
  • The UNIX Time- Sharing System
    1. Introduction There have been three versions of UNIX. The earliest version (circa 1969–70) ran on the Digital Equipment Cor- poration PDP-7 and -9 computers. The second version ran on the unprotected PDP-11/20 computer. This paper describes only the PDP-11/40 and /45 [l] system since it is The UNIX Time- more modern and many of the differences between it and older UNIX systems result from redesign of features found Sharing System to be deficient or lacking. Since PDP-11 UNIX became operational in February Dennis M. Ritchie and Ken Thompson 1971, about 40 installations have been put into service; they Bell Laboratories are generally smaller than the system described here. Most of them are engaged in applications such as the preparation and formatting of patent applications and other textual material, the collection and processing of trouble data from various switching machines within the Bell System, and recording and checking telephone service orders. Our own installation is used mainly for research in operating sys- tems, languages, computer networks, and other topics in computer science, and also for document preparation. UNIX is a general-purpose, multi-user, interactive Perhaps the most important achievement of UNIX is to operating system for the Digital Equipment Corpora- demonstrate that a powerful operating system for interac- tion PDP-11/40 and 11/45 computers. It offers a number tive use need not be expensive either in equipment or in of features seldom found even in larger operating sys- human effort: UNIX can run on hardware costing as little as tems, including: (1) a hierarchical file system incorpo- $40,000, and less than two man years were spent on the rating demountable volumes; (2) compatible file, device, main system software.
    [Show full text]
  • Linux/UNIX Administration UNX.CA
    COMPUTER STUDIES Computer Information Systems CERTIFICATE OF ACHIEVEMENT CIP Code 11.9999 Linux/UNIX Administration UNX.CA FIRST YEAR/FIRST SEMESTER Course # Course Name Credits Notes CIS-181 Linux/UNIX Essentials 3 CST-102 Introduction to Networking 3 CSC-171 Introduction to Python 3 FIRST YEAR/SECOND SEMESTER CIS-285 Linux Networking and Security 3 Prerequisite: CIS-181, CST-102 and CSC-171 CIS-288 Linux Administration 3 Prerequisite: CIS-181, CST-102 and CSC-171 CIS-289 Linux System and Services 3 Prerequisite: CIS-181, CST-102 and CSC-171 TOTAL CREDITS 18 PROGRAM DESCRIPTION PROGRAM STUDENT LEARNING OUTCOMES CONTACT PERSON At the end of the program, the graduate will be able to: The three-semester certificate program is career-oriented and Professor Bernadette Carlin, Coordinator 1. Demonstrate a comprehensive knowledge of popular versions consists of six core courses using RedHat Linux that will provide (856) 227-7200, ext. 4423 of Linux and UNIX operating systems, commands, VI editor, the student with a general working knowledge of the Linux/UNIX email: [email protected] processes, kernel structures and tables, and associated shells. Operating System and the skill to handle the software used by 2. Use Python to write scripts to perform tasks. the system. The goal of this certificate program is to enhance the THIS PROGRAM IS NOT APPROVED FOR FINANCIAL AID 3. Install, configure, and manage a Linux server and relevant student’s computer skills with a general, practical background in services and applications. RedHat Linux/UNIX to become a Linux/UNIX Administrator. 4. Perform duties as a junior Linux System Administrator in managing users and groups, monitoring processes and permissions, performing backup and recovery, and evaluating basic security concepts.
    [Show full text]
  • Visit Python Interface Manual
    VisIt Python Interface Manual Version 2.3.0 Contents 1 Introduction to VisIt1 1.1 Overview............................................1 1.2 Manual chapters........................................1 1.3 Understanding how VisIt works................................2 1.4 Starting VisIt..........................................2 1.5 Getting started.........................................3 2 Python 5 2.1 Overview............................................5 2.2 Indentation...........................................5 2.3 Comments............................................5 2.4 Identifiers............................................6 2.5 Data types...........................................6 2.5.1 Strings..........................................6 2.5.2 Tuples..........................................6 2.5.3 Lists...........................................7 2.5.4 Dictionaries.......................................7 2.6 Control flow...........................................7 2.6.1 if/elif/else........................................7 2.6.2 For loop.........................................8 2.6.3 While loop.......................................8 2.7 Functions............................................8 3 Quick Recipes 10 3.1 Overview............................................ 10 3.2 How to start.......................................... 10 3.2.1 Using session files................................... 10 3.2.2 Getting something on the screen........................... 11 3.3 Saving images.......................................... 11 3.3.1 Setting
    [Show full text]
  • Oracle Solaris Cluster Storage Partner Program
    ORACLE SOLARIS CLUSTER STORAGE PARTNER PROGRAM Oracle's Solaris Cluster Storage Partner Program provides customers with expanded choice of supported third-party storage arrays with Oracle Solaris Cluster. Customers who have invested in non-Sun/Oracle storage infrastructure and want to leverage Oracle Solaris Cluster to increase application and database availability at low risk, can do so. Under this program customers are given a wider choice of supported storage arrays from leading vendors for their Oracle Solaris Cluster deployments. This program provides customers opportunity to choose among the well-tested storage components to architect their mission-critical Oracle Solaris Cluster deployment. In addition, customers enjoy higher degree of confidence resting assured that both parties jointly respond to support calls. The following partners are Oracle Solaris Cluster certified. This means each partner has successfully completed the stringent OSCATE test protocols required to establish system compatibility and interoperability. Interoperability Matrices Storage Vendors Compellent Storage (SPARC only) Dell Compellent Dell Compellent SC8000 (x86 only) EMC Clariion Storage Oracle Solaris Cluster 3.X support Oracle Solaris Cluster 4.X support EMC Symmetrix Oracle Solaris Cluster 3.X support Oracle Solaris Cluster 4.X support EMC VNX Storage EMC Oracle Solaris Cluster 3.X support Oracle Solaris Cluster 4.X support EMC XtremIO Storage Oracle Solaris Cluster 3.X support Oracle Solaris Cluster 4.X support EMC VPLEX Oracle Solaris Cluster 3.3.X
    [Show full text]
  • Scientific Visualization with Visit
    Intro Overview Import Basics Quantitative Controls Scripting Remote Summary Scientific Visualization with VisIt ALEX RAZOUMOV [email protected] slides in collaboration with Marcelo Ponce (SciNet) 3 install VisIt from http://goo.gl/KcGWHa 3 slides and data files at http://bit.ly/visitzip (∼26 MB) F optional data for movies at http://bit.ly/2dTxkqx (∼361 MB) VisIt Workshop May 2017 1 / 111 Intro Overview Import Basics Quantitative Controls Scripting Remote Summary Workshop outline 9AM-NOON ë MORNING SESSION, COFFEE BREAK @ ∼10:30AM Introduction to scientific visualization I general ideas, tools, plotting vs. multi-dimensional visualization I overview of current general-purpose multi-dimensional visualization tools VisIt basics: GUI, loading files, plots and operators I working with plots: overview, pseudocolour, contour, volume, ... I working with operators: slice, clip, threshold, isosurface, ... Quantitative analysis with VisIt I invited session by Artem Korobenko (Mechanical and Manufacturing Engineering) I data at http://bit.ly/2pCYMis (127MB) VisIt: professional quality plots (fine tuning) & animation NOON-1PM ë YOU ARE ON YOUR OWN FOR LUNCH 1PM-4PM ë AFTERNOON SESSION, COFFEE BREAK @ ∼2:30PM Python scripting in VisIt Remote and distributed visualization with VisIt Summary VisIt Workshop May 2017 2 / 111 Intro Overview Import Basics Quantitative Controls Scripting Remote Summary Ready to show your research or your visualization skills? Spring: SEEING BIG showcase (since 2015) I researchers submit visualizations to showcase their
    [Show full text]