LAB 1 REPRESENTATION OF NUMBERS AND INTRODUCTION TO C
|
|
- Horace Simmons
- 7 years ago
- Views:
Transcription
1 LAB 1 REPRESENTATION OF NUMBERS AND INTRODUCTION TO C 1. LAB OBJECTIVE The objective of this lab is to review binary numbers and to review/introduce you to the C programming language and the MATLAB environment. Specifically, you will learn: How to use the Visual C++ editor in Microsoft Developer Studio for writing C programs How to compile and execute C programs in Developer Studio Basic C syntax The use of for loops The use of arrays Hexadecimal and binary number systems Plotting data in MATLAB 2. BACKGROUND 2.1. C Language Basics C will be used extensively throughout this class, and the first two weeks will be devoted specifically to the C language. Several good books on C are available and can be used to review the basic syntax of C as well as to study example programs: Brian W Kernighan, Dennis M Ritchie, The C Programming Language, Prentice Hall. Byron S Gottfried, Schaum s Outline of Theory and Problems of Programming in C, (Schaum s outline series), McGraw Hill. In addition, the course web site includes a tutorial on C. For Lab1, the following aspects of C will be emphasized: Declaring variables (integer, floating point, character) Basic math operations (+, -, *, /) Scanf and printf statements Loops ( for, while ) Arrays 2.2. Unary operators (++, --) The unary operators ++ and -- are shorthand notation for incrementing and decrementing variables.
2 (i++) is equivalent to i=i+1 (i--) is equivalent to i=i-1 The unary operators ++ and -- can appear either before or after a variable. The order can make a difference, for example: but notice that i = 1; a = i++; /* results in a = 1; i = 2 */ i = 1; a = ++i; /* results in a = 2; i = 2; */ Write a test program to try it yourself if you don t believe it. Writing test programs is often the most effective way of learning the subtleties of C syntax = operator a += b; is equivalent to a = a + b; Similarly, we can use -=, *= and /= operators Number Systems Computers and programs that use real-time data acquisition systems deal with binary numbers (1s and 0s, i.e. ON/OFF states), hence, we need to know how to represent numbers in binary (base-2) numbering systems. Instead of dealing directly with binary numbers, though, it is often more convenient to use hexadecimal (base-16) numbers. For example, we will use hexadecimal (hex) numbers when we address input/output (I/O) ports on the Sensoray card for reading and writing electrical signals in this course. The following sections outline procedures for converting from decimals to hex and for representing negative numbers in hex Converting Decimal Integers to Two s Complement Hexadecimal Integers Consider the following examples. Example 1: Convert the decimal number to hexadecimal.
3 Solution: Form the following table: Quotient Integer part Remainder 18435/ / / / Read the reminder column from bottom to top, i.e Therefore, 4803 is the hexadecimal two s complement representation of the decimal number In C, hexadecimal numbers are typically represented with a 0x in front of them. For example 4803 is written as: 0x4803. Note: This procedure also works when converting to other bases. For example, to convert to binary (base-2) divide by 2 instead of 16 in the quotient column above Representing Negative Decimal Integers This involves two steps. First find the hex equivalent of the magnitude of the number. Then find its two s complement. The procedure for finding the two s complement of a number is explained below using an example. Example 2: Convert the decimal number to hexadecimal. Solution: First, find the hexadecimal value of , then take two s complement of that value. The result is the hexadecimal value of Note: Taking the two s complement of a number gives the negative of that number. From Example 1, the hexadecimal value of is 0x4803. Now, take the two s complement of 0x4803. Convert the hexadecimal number to binary. 0x4803 = ( ) in binary Complement the binary number by changing the 1 s to 0 s and the 0 s to 1 s: Complement of ( ) is ( )
4 Add one to the complement: ( ) + 1 ( ) Convert back to hexadecimal. ( ) = 0xB7FD 0xB7FD is the two s complement of 0x4803. Thus, 0xB7FD = As a check, verify that 0x xB7FD equals zero: 0x xB7FD + (-18435) 0x0000 0x00000 When adding two s complement numbers, ignore the remainder of the most significant digit if there is one, i.e., ignore the overflow bit. The example below shows a faster method of obtaining the two s complement of a hexadecimal number: What is the two s complement of 0xB7FD? Solution: Subtract each hexadecimal digit from B F - D Add one: 0x x4803 This is the same result as above Declaring Hex Numbers in C Example: #include <stdio.h> main() { int a = 0x4803; int b = 0xb7fd; int c; c = a + b; printf( \n A =%x, B =%x, C =%x \n,a,b,c);
5 The value of c should be zero in the output. Here the %x format tells the printf statement to print hexadecimal numbers Loops and if statements Review the online C tutorial paying particular attention to the following concepts if statement for loops while statement array declaration function declaration Adding comments to the program 2.9. break statement The break statement can be used to exit from loops (for, while). The following two programs produce identical results /* First program */ #include <stdio.h> #include <conio.h> /* conio declares console i/o functions like getch */ void main() { char a= a ; while(a!= 'q') { a = getch(); printf("you typed in %c\n", a); /* Second program */ #include <stdio.h> #include <conio.h> /* conio declares console i/o functions like getch */ void main() { char a= a ; while(1) {
6 a = getch(); printf("you typed in %c\n", a); if(a == 'q') break; continue statement The continue statement is used to bypass the remainder of the current pass through a loop. The loop does not terminate when a continue statement is encountered. Rather, the remaining loop statements are skipped and the computation proceeds to the next pass through the loop. For example, consider a program that prompts a user for an input and calculates the square root of the number. Whenever a negative number is encountered we want to ignore the input. #include <stdio.h> #include <math.h> /* declares math functions */ void main() { int i; double x,y; for(i=0; i < 10; i++) { printf("\n Enter a positive number: "); scanf("%lf",&x); if (x < 0.0) continue; /* ignore this dope s input */ y = sqrt(x); printf( \nthe square root of %f is %f\n,x,y); /* end of for */ /* end of main */ Arrays Review the lecture slides and the online C tutorial paying particular attention to the declaration and use of arrays. 3. PRELAB 1. Read the lab handout and any additional readings listed in the handout. 2. Write a program to convert temperature reading in degree Celsius to degree Fahrenheit (F=(9/5)C + 32). Take the Celsius value as the input from user and print out the Fahrenheit value to the screen. 4. Perform the following calculations (written hand in required). Calculate the sum in hexadecimal numbers. 0x x0009 0x x0079 0x x54BF 0x x4A05????
7 5. Convert the augends and addends of the above problem to binary, then calculate the sum for each problem. 6. Convert the augends and addends of the above problems to decimal, then calculate the sum for each problem. 7. Write a program that uses nested "for" loops to sort an array of integer numbers. Input = [ ]; Output = [ ]; 4. LAB PROCEDURE Microsoft Developer Studio will be used for creating and compiling C programs. More specifically, the Visual C++ Integrated Development Environment (IDE), a part of Developer Studio, will be used for program development (C++ will not be covered in this class). The IDE provides an editor where source code can be written, compiled and run. The IDE is a useful tool to learn, because Microsoft intends to support all future Windows programming languages within this environment. To get started with the editor follow the guidelines below. Creating a new project in Visual C++: Open the program by clicking on the Visual Studio shortcut on the Desktop or through the start menu of Windows (Start All programs etc.) When the program is opened, Click on File New Project. From the dialog box which opens up select Visual C++ Projects Win 32 under the Project Types Window on the left hand side of the dialog box. From the Templates window on the right, select Win32 Console Project. Now you should give a name to the project. Use reasonable names to avoid confusion in the future. For the defining the Location click Browse and choose a directory within your protected disk subdirectory area on drive Z:, which corresponds to the file server for this class. For example, using Windows Explorer you might want to create a subdirectory called Z:\userid\projects. If you choose this as the location of your workspace, then the directory Z:\userid\projects\lab1 will be created along with three workspace files required by Developer Studio. Click OK. This opens a Win32 Application Wizard dialog box. Click on Application Settings tab and check the Empty Project checkbox. Click Finish. A new project with the name that you specified opens. Creating a new C source file under a project: To add a new source file to your project select from the menu: File New File. On the dialog box that opens up select Visual C++ under the categories window and select C++ File under the templates window that is on the right hand side. Click Open Now to save the file from the menu select : File Save As and then from the Save As dialog box locate you project directory under Shared Documents students YOUR
8 NAME PROJECT NAME(or for future labs Z:\userid\projects\project name). You can give any name to the source file while saving as long as its extension is left as.cpp. Now you have to add this source file to the project. To do this from the Solution Explorer window under your project name, right click on Source Files and on the pop-up menu select Add Add existing item. Then locate the.cpp file you just saved and click open. 1. Now you are ready to start keying in your source code. Enter this program: #include <stdio.h> main() { printf( \n Hello World\n ); Save the file. Then try to compile and run this program. Compiling and running options are available under the BUILD tool bar. (note: as you become more proficient at the IDE, you will want to learn how to use the task bar or hotkey options to speed program development.) The \n statement inside the printf is called a newline character. Basically a newline is printed on the screen. Try the program without the \n in the printf statement and see the output. 2. Implement and debug the Celsius to Fahrenheit conversion program that you have written in your prelab. 3. Write a program to check the addition of hexadecimal numbers that you have done in the prelab. (refer to the example program given under the number systems section given in this handout). 4. Implement the sorting algorithm program. 5. Refer to the MATLAB handout given on the web site. Open the MATLAB window by double clicking on the MATLAB icon. Try out the simple math operations suggested in the MATLAB handout. PLOTTING GRAPHS IN MATLAB: Write a m-file that does the following 1) Creates a vector t with elements of t ranging from 0 to 5 seconds at time intervals of 0.1 seconds. 2) Creates a vector y which has elements that are a function of the elements of the vector t. a) The vector y is a sinusoid with an amplitude of 1 and a frequency of 1 Hz. b) The vector y is a sinusoid with an amplitude of 0.5 and a cycle time (period) of 0.1 seconds. 3) Plots y as a function of t for both (2a) and (2b). In each case, what is the frequency of the signal y (t) in radians/sec?
9 Show your working programs to your TA. Note on Projects and Workspaces When writing complicated programs that require several subroutines, it is a good idea to split up the source code into multiple files instead of placing everything inside a single file. In such a situation we want to have all files related to the main task to be easily accessible. As some software projects become so large, it may be too cumbersome to store all files related to a main task in the same directory. This is where the concept of a project helps. Basically it is a tool for handling multiple file programs. All files related to a particular task could be added to a project. The files still continue to exist in different directories, but the project provides a link for easily accessing these files. This collection of related files is called a project. For this course, a single directory for the project should suffice, though you may want to use multiple files. However, feel free to organize things differently if you feel the need. You will understand the importance of the concept of a project as we proceed to more complicated programs in this course. We still need to create a project to work on files since VC++ expects you to create a project even for single file programs. 5. POSTLAB AND LAB REPORT 1. Represent the decimal integer 11,304 as a two s complement hexadecimal integer. Show the steps followed clearly. 2. Submit a commented copy of your sorting program in task Submit a copy of your Matlab code, plots and answer to question 3 in task Come prepared with Prelab 2 for Lab 2.
Computer Science 281 Binary and Hexadecimal Review
Computer Science 281 Binary and Hexadecimal Review 1 The Binary Number System Computers store everything, both instructions and data, by using many, many transistors, each of which can be in one of two
More informationUseful Number Systems
Useful Number Systems Decimal Base = 10 Digit Set = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} Binary Base = 2 Digit Set = {0, 1} Octal Base = 8 = 2 3 Digit Set = {0, 1, 2, 3, 4, 5, 6, 7} Hexadecimal Base = 16 = 2
More informationIntroduction to the use of the environment of Microsoft Visual Studio 2008
Steps to work with Visual Studio 2008 1) Start Visual Studio 2008. To do this you need to: a) Activate the Start menu by clicking the Start button at the lower-left corner of your screen. b) Set the mouse
More informationLecture 2. Binary and Hexadecimal Numbers
Lecture 2 Binary and Hexadecimal Numbers Purpose: Review binary and hexadecimal number representations Convert directly from one base to another base Review addition and subtraction in binary representations
More informationCP Lab 2: Writing programs for simple arithmetic problems
Computer Programming (CP) Lab 2, 2015/16 1 CP Lab 2: Writing programs for simple arithmetic problems Instructions The purpose of this Lab is to guide you through a series of simple programming problems,
More informationMicrosoft Visual Studio 2010 Instructions For C Programs
Microsoft Visual Studio 2010 Instructions For C Programs Creating a NEW C Project After you open Visual Studio 2010, 1. Select File > New > Project from the main menu. This will open the New Project dialog
More informationOct: 50 8 = 6 (r = 2) 6 8 = 0 (r = 6) Writing the remainders in reverse order we get: (50) 10 = (62) 8
ECE Department Summer LECTURE #5: Number Systems EEL : Digital Logic and Computer Systems Based on lecture notes by Dr. Eric M. Schwartz Decimal Number System: -Our standard number system is base, also
More informationCSI 333 Lecture 1 Number Systems
CSI 333 Lecture 1 Number Systems 1 1 / 23 Basics of Number Systems Ref: Appendix C of Deitel & Deitel. Weighted Positional Notation: 192 = 2 10 0 + 9 10 1 + 1 10 2 General: Digit sequence : d n 1 d n 2...
More informationCOMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012
Binary numbers The reason humans represent numbers using decimal (the ten digits from 0,1,... 9) is that we have ten fingers. There is no other reason than that. There is nothing special otherwise about
More informationAppendix K Introduction to Microsoft Visual C++ 6.0
Appendix K Introduction to Microsoft Visual C++ 6.0 This appendix serves as a quick reference for performing the following operations using the Microsoft Visual C++ integrated development environment (IDE):
More informationBeginner s Matlab Tutorial
Christopher Lum lum@u.washington.edu Introduction Beginner s Matlab Tutorial This document is designed to act as a tutorial for an individual who has had no prior experience with Matlab. For any questions
More informationToday. Binary addition Representing negative numbers. Andrew H. Fagg: Embedded Real- Time Systems: Binary Arithmetic
Today Binary addition Representing negative numbers 2 Binary Addition Consider the following binary numbers: 0 0 1 0 0 1 1 0 0 0 1 0 1 0 1 1 How do we add these numbers? 3 Binary Addition 0 0 1 0 0 1 1
More informationLab 3: Introduction to Data Acquisition Cards
Lab 3: Introduction to Data Acquisition Cards INTRODUCTION: In this lab, you will be building a VI to display the input measured on a channel. However, within your own VI you will use LabVIEW supplied
More informationLab 2 - CMPS 1043, Computer Science I Introduction to File Input/Output (I/O) Projects and Solutions (C++)
Lab 2 - CMPS 1043, Computer Science I Introduction to File Input/Output (I/O) Projects and Solutions (C++) (Revised from http://msdn.microsoft.com/en-us/library/bb384842.aspx) * Keep this information to
More informationLab 1: Full Adder 0.0
Lab 1: Full Adder 0.0 Introduction In this lab you will design a simple digital circuit called a full adder. You will then use logic gates to draw a schematic for the circuit. Finally, you will verify
More informationSources: On the Web: Slides will be available on:
C programming Introduction The basics of algorithms Structure of a C code, compilation step Constant, variable type, variable scope Expression and operators: assignment, arithmetic operators, comparison,
More information2010/9/19. Binary number system. Binary numbers. Outline. Binary to decimal
2/9/9 Binary number system Computer (electronic) systems prefer binary numbers Binary number: represent a number in base-2 Binary numbers 2 3 + 7 + 5 Some terminology Bit: a binary digit ( or ) Hexadecimal
More informationCreating Database Tables in Microsoft SQL Server
Creating Database Tables in Microsoft SQL Server Microsoft SQL Server is a relational database server that stores and retrieves data for multi-user network-based applications. SQL Server databases are
More informationVisual Basic 2010 Essentials
Visual Basic 2010 Essentials Visual Basic 2010 Essentials First Edition 2010 Payload Media. This ebook is provided for personal use only. Unauthorized use, reproduction and/or distribution strictly prohibited.
More informationTwo's Complement Adder/Subtractor Lab L03
Two's Complement Adder/Subtractor Lab L03 Introduction Computers are usually designed to perform indirect subtraction instead of direct subtraction. Adding -B to A is equivalent to subtracting B from A,
More informationThe programming language C. sws1 1
The programming language C sws1 1 The programming language C invented by Dennis Ritchie in early 1970s who used it to write the first Hello World program C was used to write UNIX Standardised as K&C (Kernighan
More informationEmbedded Systems. Review of ANSI C Topics. A Review of ANSI C and Considerations for Embedded C Programming. Basic features of C
Embedded Systems A Review of ANSI C and Considerations for Embedded C Programming Dr. Jeff Jackson Lecture 2-1 Review of ANSI C Topics Basic features of C C fundamentals Basic data types Expressions Selection
More informationGraphing Parabolas With Microsoft Excel
Graphing Parabolas With Microsoft Excel Mr. Clausen Algebra 2 California State Standard for Algebra 2 #10.0: Students graph quadratic functions and determine the maxima, minima, and zeros of the function.
More informationInformatica e Sistemi in Tempo Reale
Informatica e Sistemi in Tempo Reale Introduction to C programming Giuseppe Lipari http://retis.sssup.it/~lipari Scuola Superiore Sant Anna Pisa October 25, 2010 G. Lipari (Scuola Superiore Sant Anna)
More informationGenerating Visual Studio Project Files
Table of Contents 1. Overview... 1 2. About this tutorial... 1 3. Setting up the pure::variants project... 1 4. Setting up the feature model... 3 5. Setting up the family model... 3 6. Setting up the transformation...
More informationMicrosoft Access Rollup Procedure for Microsoft Office 2007. 2. Click on Blank Database and name it something appropriate.
Microsoft Access Rollup Procedure for Microsoft Office 2007 Note: You will need tax form information in an existing Excel spreadsheet prior to beginning this tutorial. 1. Start Microsoft access 2007. 2.
More informationCreating a Simple Visual C++ Program
CPS 150 Lab 1 Name Logging in: Creating a Simple Visual C++ Program 1. Once you have signed for a CPS computer account, use the login ID and the password password (lower case) to log in to the system.
More informationBase Conversion written by Cathy Saxton
Base Conversion written by Cathy Saxton 1. Base 10 In base 10, the digits, from right to left, specify the 1 s, 10 s, 100 s, 1000 s, etc. These are powers of 10 (10 x ): 10 0 = 1, 10 1 = 10, 10 2 = 100,
More informationCode::Blocks Student Manual
Code::Blocks Student Manual Lawrence Goetz, Network Administrator Yedidyah Langsam, Professor and Theodore Raphan, Distinguished Professor Dept. of Computer and Information Science Brooklyn College of
More informationAppendix M: Introduction to Microsoft Visual C++ 2010 Express Edition
Appendix M: Introduction to Microsoft Visual C++ 2010 Express Edition This book may be ordered from Addison-Wesley in a value pack that includes Microsoft Visual C++ 2010 Express Edition. Visual C++ 2010
More informationMS Visual C++ Introduction. Quick Introduction. A1 Visual C++
MS Visual C++ Introduction 1 Quick Introduction The following pages provide a quick tutorial on using Microsoft Visual C++ 6.0 to produce a small project. There should be no major differences if you are
More information3 IDE (Integrated Development Environment)
Visual C++ 6.0 Guide Part I 1 Introduction Microsoft Visual C++ is a software application used to write other applications in C++/C. It is a member of the Microsoft Visual Studio development tools suite,
More informationDEPLOYING A VISUAL BASIC.NET APPLICATION
C6109_AppendixD_CTP.qxd 18/7/06 02:34 PM Page 1 A P P E N D I X D D DEPLOYING A VISUAL BASIC.NET APPLICATION After completing this appendix, you will be able to: Understand how Visual Studio performs deployment
More informationMicrocontroller Systems. ELET 3232 Topic 8: Slot Machine Example
Microcontroller Systems ELET 3232 Topic 8: Slot Machine Example 1 Agenda We will work through a complete example Use CodeVision and AVR Studio Discuss a few creative instructions Discuss #define and #include
More informationChapter 7 Lab - Decimal, Binary, Octal, Hexadecimal Numbering Systems
Chapter 7 Lab - Decimal, Binary, Octal, Hexadecimal Numbering Systems This assignment is designed to familiarize you with different numbering systems, specifically: binary, octal, hexadecimal (and decimal)
More informationInstalling S500 Power Monitor Software and LabVIEW Run-time Engine
EigenLight S500 Power Monitor Software Manual Software Installation... 1 Installing S500 Power Monitor Software and LabVIEW Run-time Engine... 1 Install Drivers for Windows XP... 4 Install VISA run-time...
More informationBIGPOND ONLINE STORAGE USER GUIDE Issue 1.1.0-18 August 2005
BIGPOND ONLINE STORAGE USER GUIDE Issue 1.1.0-18 August 2005 PLEASE NOTE: The contents of this publication, and any associated documentation provided to you, must not be disclosed to any third party without
More informationFEEG6002 - Applied Programming 5 - Tutorial Session
FEEG6002 - Applied Programming 5 - Tutorial Session Sam Sinayoko 2015-10-30 1 / 38 Outline Objectives Two common bugs General comments on style String formatting Questions? Summary 2 / 38 Objectives Revise
More information1 Description of The Simpletron
Simulating The Simpletron Computer 50 points 1 Description of The Simpletron In this assignment you will write a program to simulate a fictional computer that we will call the Simpletron. As its name implies
More informationInstructions for Configuring a SAS Metadata Server for Use with JMP Clinical
Instructions for Configuring a SAS Metadata Server for Use with JMP Clinical These instructions describe the process for configuring a SAS Metadata server to work with JMP Clinical. Before You Configure
More informationPresentations and PowerPoint
V-1.1 PART V Presentations and PowerPoint V-1.2 Computer Fundamentals V-1.3 LESSON 1 Creating a Presentation After completing this lesson, you will be able to: Start Microsoft PowerPoint. Explore the PowerPoint
More information2: Entering Data. Open SPSS and follow along as your read this description.
2: Entering Data Objectives Understand the logic of data files Create data files and enter data Insert cases and variables Merge data files Read data into SPSS from other sources The Logic of Data Files
More informationThe Answer to the 14 Most Frequently Asked Modbus Questions
Modbus Frequently Asked Questions WP-34-REV0-0609-1/7 The Answer to the 14 Most Frequently Asked Modbus Questions Exactly what is Modbus? Modbus is an open serial communications protocol widely used in
More informationWS_FTP Professional 12
WS_FTP Professional 12 Tools Guide Contents CHAPTER 1 Introduction Ways to Automate Regular File Transfers...5 Check Transfer Status and Logs...6 Building a List of Files for Transfer...6 Transfer Files
More informationHow to test and debug an ASP.NET application
Chapter 4 How to test and debug an ASP.NET application 113 4 How to test and debug an ASP.NET application If you ve done much programming, you know that testing and debugging are often the most difficult
More information6 3 4 9 = 6 10 + 3 10 + 4 10 + 9 10
Lesson The Binary Number System. Why Binary? The number system that you are familiar with, that you use every day, is the decimal number system, also commonly referred to as the base- system. When you
More informationUnit 1 Number Sense. In this unit, students will study repeating decimals, percents, fractions, decimals, and proportions.
Unit 1 Number Sense In this unit, students will study repeating decimals, percents, fractions, decimals, and proportions. BLM Three Types of Percent Problems (p L-34) is a summary BLM for the material
More informationMicrosoft SharePoint 2010 End User Quick Reference Card
Microsoft SharePoint 2010 End User Quick Reference Card Microsoft SharePoint 2010 brings together the people, documents, information, and ideas of the University into a customizable workspace where everyone
More information16.4.3 Lab: Data Backup and Recovery in Windows XP
16.4.3 Lab: Data Backup and Recovery in Windows XP Introduction Print and complete this lab. In this lab, you will back up data. You will also perform a recovery of the data. Recommended Equipment The
More informationVisual C++ 2010 Tutorial
Visual C++ 2010 Tutorial Fall, 2011 Table of Contents Page No Introduction ------------------------------------------------------------------- 2 Single file program demo --------- -----------------------------------------
More informationVodafone PC SMS 2010. (Software version 4.7.1) User Manual
Vodafone PC SMS 2010 (Software version 4.7.1) User Manual July 19, 2010 Table of contents 1. Introduction...4 1.1 System Requirements... 4 1.2 Reply-to-Inbox... 4 1.3 What s new?... 4 2. Installation...6
More informationSOS SO S O n O lin n e lin e Bac Ba kup cku ck p u USER MANUAL
SOS Online Backup USER MANUAL HOW TO INSTALL THE SOFTWARE 1. Download the software from the website: http://www.sosonlinebackup.com/download_the_software.htm 2. Click Run to install when promoted, or alternatively,
More information13-1. This chapter explains how to use different objects.
13-1 13.Objects This chapter explains how to use different objects. 13.1. Bit Lamp... 13-3 13.2. Word Lamp... 13-5 13.3. Set Bit... 13-9 13.4. Set Word... 13-11 13.5. Function Key... 13-18 13.6. Toggle
More informationSQL Server 2005: Report Builder
SQL Server 2005: Report Builder Table of Contents SQL Server 2005: Report Builder...3 Lab Setup...4 Exercise 1 Report Model Projects...5 Exercise 2 Create a Report using Report Builder...9 SQL Server 2005:
More informationPositional Numbering System
APPENDIX B Positional Numbering System A positional numbering system uses a set of symbols. The value that each symbol represents, however, depends on its face value and its place value, the value associated
More informationVisual Studio 2008 Express Editions
Visual Studio 2008 Express Editions Visual Studio 2008 Installation Instructions Burning a Visual Studio 2008 Express Editions DVD Download (http://www.microsoft.com/express/download/) the Visual Studio
More informationAMATH 352 Lecture 3 MATLAB Tutorial Starting MATLAB Entering Variables
AMATH 352 Lecture 3 MATLAB Tutorial MATLAB (short for MATrix LABoratory) is a very useful piece of software for numerical analysis. It provides an environment for computation and the visualization. Learning
More informationHypercosm. Studio. www.hypercosm.com
Hypercosm Studio www.hypercosm.com Hypercosm Studio Guide 3 Revision: November 2005 Copyright 2005 Hypercosm LLC All rights reserved. Hypercosm, OMAR, Hypercosm 3D Player, and Hypercosm Studio are trademarks
More informationEXCEL Tutorial: How to use EXCEL for Graphs and Calculations.
EXCEL Tutorial: How to use EXCEL for Graphs and Calculations. Excel is powerful tool and can make your life easier if you are proficient in using it. You will need to use Excel to complete most of your
More informationInstalling a Browser Security Certificate for PowerChute Business Edition Agent
Installing a Browser Security Certificate for PowerChute Business Edition Agent The Agent component of PowerChute Business Edition has a "self-signed" security certificate. This means that when you access
More informationREDUCING YOUR MICROSOFT OUTLOOK MAILBOX SIZE
There are several ways to eliminate having too much email on the Exchange mail server. To reduce your mailbox size it is recommended that you practice the following tasks: Delete items from your Mailbox:
More informationRecall the process used for adding decimal numbers. 1. Place the numbers to be added in vertical format, aligning the decimal points.
2 MODULE 4. DECIMALS 4a Decimal Arithmetic Adding Decimals Recall the process used for adding decimal numbers. Adding Decimals. To add decimal numbers, proceed as follows: 1. Place the numbers to be added
More informationSummary of important mathematical operations and formulas (from first tutorial):
EXCEL Intermediate Tutorial Summary of important mathematical operations and formulas (from first tutorial): Operation Key Addition + Subtraction - Multiplication * Division / Exponential ^ To enter a
More informationMicrosoft Word 2011: Create a Table of Contents
Microsoft Word 2011: Create a Table of Contents Creating a Table of Contents for a document can be updated quickly any time you need to add or remove details for it will update page numbers for you. A
More informationDeveloping, Deploying, and Debugging Applications on Windows Embedded Standard 7
Developing, Deploying, and Debugging Applications on Windows Embedded Standard 7 Contents Overview... 1 The application... 2 Motivation... 2 Code and Environment... 2 Preparing the Windows Embedded Standard
More informationFigure 1: Graphical example of a mergesort 1.
CSE 30321 Computer Architecture I Fall 2011 Lab 02: Procedure Calls in MIPS Assembly Programming and Performance Total Points: 100 points due to its complexity, this lab will weight more heavily in your
More informationWalkthrough: Creating and Using an ASP.NET Web Service in Visual Web Developer
http://msdn.microsoft.com/en-us/library/8wbhsy70.aspx Walkthrough: Creating and Using an ASP.NET Web Service in Visual Web Developer In addition to letting you create Web pages, Microsoft Visual Studio
More informationCreating a Database in Access
Creating a Database in Access Microsoft Access is a database application. A database is collection of records and files organized for a particular purpose. For example, you could use a database to store
More informationIntroduction to Eclipse
Introduction to Eclipse Overview Eclipse Background Obtaining and Installing Eclipse Creating a Workspaces / Projects Creating Classes Compiling and Running Code Debugging Code Sampling of Features Summary
More informationEXPERIMENT 4. Parallel Adders, Subtractors, and Complementors
EXPERIMENT 4. Parallel Adders, Subtractors, and Complementors I. Introduction I.a. Objectives In this experiment, parallel adders, subtractors and complementors will be designed and investigated. In the
More informationUser Manual. DG LINK Application Program 071-0056-50. www.tektronix.com. This document applies to firmware version 2.00 and above.
User Manual DG LINK Application Program 071-0056-50 This document applies to firmware version 2.00 and above. www.tektronix.com Copyright Tektronix Japan, Ltd. All rights reserved. Copyright Tektronix,
More information10.3.1.6 Lab - Data Backup and Recovery in Windows XP
5.0 10.3.1.6 Lab - Data Backup and Recovery in Windows XP Introduction Print and complete this lab. In this lab, you will back up data. You will also perform a recovery of the data. Recommended Equipment
More informationNUMBER SYSTEMS. 1.1 Introduction
NUMBER SYSTEMS 1.1 Introduction There are several number systems which we normally use, such as decimal, binary, octal, hexadecimal, etc. Amongst them we are most familiar with the decimal number system.
More informationStart A New Project with Keil Microcontroller Development Kit Version 5 and Freescale FRDM-KL25Z
Start A New Project with Keil Microcontroller Development Kit Version 5 and Freescale FRDM-KL25Z This tutorial is intended for starting a new project to develop software with Freescale FRDM-KL25Z board
More informationSetting Up ALERE with Client/Server Data
Setting Up ALERE with Client/Server Data TIW Technology, Inc. November 2014 ALERE is a registered trademark of TIW Technology, Inc. The following are registered trademarks or trademarks: FoxPro, SQL Server,
More informationCreating and Using Databases with Microsoft Access
CHAPTER A Creating and Using Databases with Microsoft Access In this chapter, you will Use Access to explore a simple database Design and create a new database Create and use forms Create and use queries
More informationE-Mail Campaign Manager 2.0 for Sitecore CMS 6.6
E-Mail Campaign Manager 2.0 Marketer's Guide Rev: 2014-06-11 E-Mail Campaign Manager 2.0 for Sitecore CMS 6.6 Marketer's Guide User guide for marketing analysts and business users Table of Contents Chapter
More informationUsing Device Discovery
2 CHAPTER You can use Active Discovery to scan your network for new monitors (Active Monitors and Performance Monitors) and devices on a regular basis. Newly discovered items are added to the Active Discovery
More informationKI6501 Data Manager. Software User Manual
KI6501 Data Manager Software User Manual CONTENTS 1. Installation of USB Virtual COM Port driver software... 2 2. Installation of KI6501 Manager Software... 2 3. Connecting KI6501 to PC (Personal Computer)
More informationExcel & Visual Basic for Applications (VBA)
Excel & Visual Basic for Applications (VBA) The VBA Programming Environment Recording Macros Working with the Visual Basic Editor (VBE) 1 Why get involved with this programming business? If you can't program,
More informationKeywords are identifiers having predefined meanings in C programming language. The list of keywords used in standard C are : unsigned void
1. Explain C tokens Tokens are basic building blocks of a C program. A token is the smallest element of a C program that is meaningful to the compiler. The C compiler recognizes the following kinds of
More information2011, The McGraw-Hill Companies, Inc. Chapter 3
Chapter 3 3.1 Decimal System The radix or base of a number system determines the total number of different symbols or digits used by that system. The decimal system has a base of 10 with the digits 0 through
More informationSolution for Homework 2
Solution for Homework 2 Problem 1 a. What is the minimum number of bits that are required to uniquely represent the characters of English alphabet? (Consider upper case characters alone) The number of
More informationPCSpim Tutorial. Nathan Goulding-Hotta 2012-01-13 v0.1
PCSpim Tutorial Nathan Goulding-Hotta 2012-01-13 v0.1 Download and install 1. Download PCSpim (file PCSpim_9.1.4.zip ) from http://sourceforge.net/projects/spimsimulator/files/ This tutorial assumes you
More informationMATLAB Programming. Problem 1: Sequential
Division of Engineering Fundamentals, Copyright 1999 by J.C. Malzahn Kampe 1 / 21 MATLAB Programming When we use the phrase computer solution, it should be understood that a computer will only follow directions;
More informationRARITAN VALLEY COMMUNITY COLLEGE ACADEMIC COURSE OUTLINE. CISY 105 Foundations of Computer Science
I. Basic Course Information RARITAN VALLEY COMMUNITY COLLEGE ACADEMIC COURSE OUTLINE CISY 105 Foundations of Computer Science A. Course Number and Title: CISY-105, Foundations of Computer Science B. New
More informationNumbering Systems. InThisAppendix...
G InThisAppendix... Introduction Binary Numbering System Hexadecimal Numbering System Octal Numbering System Binary Coded Decimal (BCD) Numbering System Real (Floating Point) Numbering System BCD/Binary/Decimal/Hex/Octal
More informationUsing SQL Server Management Studio
Using SQL Server Management Studio Microsoft SQL Server Management Studio 2005 is a graphical tool for database designer or programmer. With SQL Server Management Studio 2005 you can: Create databases
More informationInstalling Java. Table of contents
Table of contents 1 Jargon...3 2 Introduction...4 3 How to install the JDK...4 3.1 Microsoft Windows 95... 4 3.1.1 Installing the JDK... 4 3.1.2 Setting the Path Variable...5 3.2 Microsoft Windows 98...
More informationHow to Create a Resume Using Microsoft Word
Microsoft Word Welcome to the resume-building process! A lot of job postings that you find online today are asking for an electronic resume. There are lots of different ways that you can go about creating
More informationIntroduction to Java Applications. 2005 Pearson Education, Inc. All rights reserved.
1 2 Introduction to Java Applications 2.2 First Program in Java: Printing a Line of Text 2 Application Executes when you use the java command to launch the Java Virtual Machine (JVM) Sample program Displays
More information20 Using Scripts. (Programming without Parts) 20-1
20 Using Scripts (Programming without Parts) This chapter explains the basics of creating and using programming scripts in GP-Pro EX. Please start by reading 20.1 Settings Menu (page 20-2) and then turn
More informationACCESS 2007. Importing and Exporting Data Files. Information Technology. MS Access 2007 Users Guide. IT Training & Development (818) 677-1700
Information Technology MS Access 2007 Users Guide ACCESS 2007 Importing and Exporting Data Files IT Training & Development (818) 677-1700 training@csun.edu TABLE OF CONTENTS Introduction... 1 Import Excel
More informationGoals. Unary Numbers. Decimal Numbers. 3,148 is. 1000 s 100 s 10 s 1 s. Number Bases 1/12/2009. COMP370 Intro to Computer Architecture 1
Number Bases //9 Goals Numbers Understand binary and hexadecimal numbers Be able to convert between number bases Understand binary fractions COMP37 Introduction to Computer Architecture Unary Numbers Decimal
More informationBinary Representation. Number Systems. Base 10, Base 2, Base 16. Positional Notation. Conversion of Any Base to Decimal.
Binary Representation The basis of all digital data is binary representation. Binary - means two 1, 0 True, False Hot, Cold On, Off We must be able to handle more than just values for real world problems
More informationVHDL Test Bench Tutorial
University of Pennsylvania Department of Electrical and Systems Engineering ESE171 - Digital Design Laboratory VHDL Test Bench Tutorial Purpose The goal of this tutorial is to demonstrate how to automate
More informationUsing Microsoft Visual Studio 2010. API Reference
2010 API Reference Published: 2014-02-19 SWD-20140219103929387 Contents 1... 4 Key features of the Visual Studio plug-in... 4 Get started...5 Request a vendor account... 5 Get code signing and debug token
More informationSetting up VMware ESXi for 2X VirtualDesktopServer Manual
Setting up VMware ESXi for 2X VirtualDesktopServer Manual URL: www.2x.com E-mail: info@2x.com Information in this document is subject to change without notice. Companies, names, and data used in examples
More informationDiskPulse DISK CHANGE MONITOR
DiskPulse DISK CHANGE MONITOR User Manual Version 7.9 Oct 2015 www.diskpulse.com info@flexense.com 1 1 DiskPulse Overview...3 2 DiskPulse Product Versions...5 3 Using Desktop Product Version...6 3.1 Product
More informationViewPower. User s Manual. Management Software for Uninterruptible Power Supply Systems
ViewPower User s Manual Management Software for Uninterruptible Power Supply Systems Table of Contents 1. ViewPower Overview... 2 1.1. Introduction...2 1.2. Structure...2 1.3. Applications...2 1.4. Features...2
More information