Contents. I. A Simple Java Program. Topic 02 - Java Fundamentals. VIII. Conversion and type casting

Size: px
Start display at page:

Download "Contents. I. A Simple Java Program. Topic 02 - Java Fundamentals. VIII. Conversion and type casting"

Transcription

1 Tpic 02 Cntents Tpic 02 - Java Fundamentals CS2312 Prblem Slving and Prgramming I. A simple JAVA Prgram access mdifier (eg. public), static, II. III. IV. Packages and the Imprt statement, Java API (java.lang, java.util, Math,) Creating Packages and Default Package Cmments and Javadc V. Data types and Variables VIII. Cnversin and type casting IX. Parentheses, Operatr Hierarchy, Precedence levels, Assciativity X. Strings, StringBuilder XI. Input (cnsle, file, input frm string) XII. Output (System.ut.printf, String.frmat, PrinterWriter) VI. Cnstants (the final keywrd) XIII. Cntrl flw VII. Arithmetic Operatrs, Relatinal Operatrs, Blean (lgical) Operatrs, Bitwise Operatrs XIV. Arrays I. A Simple Java Prgram FirstSample.java public class FirstSample public static vid main(string[] args) System.ut.println("Hell!"); Access Mdifier: public The keywrd public is ne f the access mdifiers, that states hw ther parts can get the access. Fr example, here public is applied t class FirstSample meaning that utsiders can use the class. Except public, we als have ther mdifiers: private, prtected, etc., We will cver them in next tpic. JAVA classes and.java files Classes are the building blcks fr Java prgrams. By cnventin: start with an uppercase letter A.java file cannt have 2 r mre public classes. The name f a public class = The file name Case sensitive. FirstSample.java matches with class name FirstSample The main methd in Java main() des nt return anything, thus vid main() has t be inside a class; as a static methd (ie. A methd that des nt perate n bjects.). String[] args Arguments can be supplied t main() as an array f strings. (Ref. Tpic01) Last mdified: 15-Sep /14

2 Tpic 02 CS2312 Prblem Slving and Prgramming print(), println() General syntax t invke a methd: bject.methd(parameters) Use the System.ut bject and call its println methd. System.ut.println("Hell!"); prints Hell! + terminate the line (newline character '\n') Can be withut argument: simply a blank line.print() methd System.ut.println(); System.ut.print("Hell!"); nt terminating the line ( \n ) II. Packages and the imprt statement Packages are grups f classes. The standard Java library is distributed ver a number f packages e.g. java.lang, java.util, java.util (and many ther classes) java.util cntains the Scanner class We can use it like: java.util.scanner If we imprt java.util.*, then we can simply write: Scanner The imprt statement: imprt java.util.*; We can use all classes in java.util imprt java.util.scanner; We can use Scanner java.lang - Java fundamental classes N need t imprt java.lang (assumed already fr all prgrams) java.lang prvides the System class, Math class, and many mre Use f the java.lang.system class: public class FirstSample public static vid main(string[] args) System.ut.println("Hell!"); Ref: JAVA API Dcumentatin Last mdified: 15-Sep /14

3 Tpic 02 CS2312 Prblem Slving and Prgramming java.lang.math class - prvides static methds that perate n numbers. e.g. max, abs, sin, cs, pw, sqrt, lg Cnstants: Math.PI, Math.E Withut imprt public class Testing With imprt (static is needed if we use the static methds in the imprted class) imprt static java.lang.math.*; public static vid main(string[] args) int n1, n2, n; n1 = 100; n2 = 200; n = Math.max(n1,n2); System.ut.println(n); System.ut.println(Math.PI); public class Testing public static vid main(string[] args) int n1, n2, n; n1 = 100; n2 = 200; n = max(n1,n2); System.ut.println(n); //200 System.ut.println(PI); // III. Creating Packages and Default Package We can grup ur surce files int packages A class nt gruped int package is in "default package" A class gruped int package is in the package flder and has the package statement: Eclipse prject File explrer Surce cde Calendar package cntains Day.java Package name must match flder name Add package statement t the tp f file T use the class, type Calendar.Day r add imprt Calendar.* Unluckily PASS desn t cmpile packages at this mment. IV. Cmments Three ways f marking Cmments Like C++: //, /*... */ Fr autmatic dcumentatin generatin: /**... */ /** Just print t1-1st thing t be t2-2nd thing t be dne */ static vid dtwthings(string t1, String t2) System.ut.println(t1); System.ut.println(t2); autmatic dcumentatin generatin (by the javadc prgram frm JDK) Sme IDEs add * in frnt f /** every line, fr visual style nly. * Just print them t1-1st thing t be dne t2-2nd thing t be dne */ Last mdified: 15-Sep /14

4 Tpic 02 CS2312 Prblem Slving and Prgramming V. Data Types and Variables Overview f Data types There are tw kinds f types in the Java: Primitive types and Reference types I. Primitive types: - Java has 8 primitive types: blean, byte, shrt, int, lng, flat, duble, char II. Reference types (~ pinters in C++) : - The values f a reference type are references t bjects. Recall: an bject is an instance f a class, created using the new peratr. - Examples f built-in Java classes: String, Math, Scanner Examples f user-defined classes (Lab01-03): Day, Table2dMxSumRwCl, Student We can create bjects f these classes, using the new peratr We ften use a variable t hld the bject reference; Then we can use the variable t access the bject. e.g. Table2dMxSumRlCl t = new Table2dMxSumRlCl( data.txt ); - An array is als a special kind f bject t.print(); Variables We have seen that there are 2 types f data: Primitive and Reference types. These tw kinds f data can be stred in variables: primitive values and reference values: Types f variables in JAVA Infrmatin stred Examples (i) Variables f Primitive Types primitive values int x; x = 689; (ii) Variables f Reference Types references t bjects (Like pinters in C++) Day d; d = new Day(2016,1,20); #1 int[][] arr; arr = new int[10][10]; #1: Use f a class: We use a class name as variable type, and use the class t create ("new") an bject f its kind. Data Types Integers Integer types Java has n unsigned types Lng integer numbers have a suffix L lng x; x = L; //2,223,123,123 is supprted nly as lng System.ut.println(x); T prvide numbers in Binary, we need prefix: 0b T prvide numbers in Hexadecimal, we need prefix: 0x int x; x = 0b10110; System.ut.print(x); //shws 22 x = 0xFF; System.ut.print(x); //shws 255 Last mdified: 15-Sep /14

5 Tpic 02 CS2312 Prblem Slving and Prgramming Data Types Flating Pint Types Flating Pint Types Fr numbers with fractinal parts, (ie. nt whle numbers, e.g. 1.1), and Fr very large numbers (e.g. 5 x ) The precisin is limited (ie. keep a few significant digits). 2 Types: Suffix: flat - F duble D (ptinal) flat x1 = F; System.ut.println(x1); //Shws duble x2= d; System.ut.println(x2); //Shws duble x3= ; //'D' is ptinal System.ut.println(x3); //Shws duble x4= d; System.ut.println(x4); //Shws E19 Rundff errrs System.ut.println( ); // Reasn f Rundff errrs: cmputer uses binary number system; and there is n precise binary representatin f a lt f fractins (e.g. 1/10) Slutin: use the BigDecimal class (Interested students may lk fr the example in the given cde f this tpic) Data Types char and Escape Sequence Primitive type fr characters: char Escape Sequence fr special char values: Data Types Blean Blean type: true, false We cannt cnvert between integers and Blean values blean b=true; int i = 3; b = i; //Errr!! Type mismatch - cannt cnvert frm int t blean i = b; //Errr!! Type mismatch - cannt cnvert frm blean t int Last mdified: 15-Sep /14

6 Tpic 02 CS2312 Prblem Slving and Prgramming Declaratin f Variables Every variable has a type: duble salary; int vacatindays; lng earthppulatin; blean dne; Cmmn ways t name: start with lwercase letter Bx bx; //Bx is a class type and bx is the variable. Bx abx; //using a as prefix Bx bxjewels, bxcins; Must explicit initialize befre use int x; System.ut.println(x); // ERROR--variable nt initialized int x = 12; System.ut.println(x); //12 int x; x= 28; System.ut.println(x); //28 VI. Cnstants Cnstants: Java keywrd is final final: the value is set nce and fr all. Cmmn ways t name a cnstant: all in uppercase Often given as Methd cnstants r Class cnstants public class MyApp public static vid main(string[] args) final duble CM_PER_INCH = 2.54; public class MyApp public static final duble CM_PER_INCH = 2.54; public static vid main(string[] args) VII. Operatrs: Arithmetic Operatrs, Relatinal Operatrs, Blean (lgical) Operatrs, Bitwise Operatrs (I) Arithmetic Operatrs: +, -, *, /, %, +=, -=, *=, /=, %= x/y If bth x and y are integers, dentes integer divisin, e.g. 3/4 is 0 Otherwise flating-pint divisin, eg. 3.0/4 is 0.75 x/0 If x is integer => divisin by zer exceptin (run-time errr) Otherwise, ie. x is flating pint if x is 0.0 => 0.0/0 gives NaN Nt a number, can check with Duble.isNaN() Else, eg. 12.0/0 gives Infinity Can check with Duble.isInfinite() System.ut.println(0/0); java.lang.arithmeticexceptin: / by zer System.ut.println(0%0); java.lang.arithmeticexceptin: / by zer System.ut.println(0.0/0); gives NaN System.ut.println(0.0%0); gives NaN System.ut.println(12.0/0); gives Infinity System.ut.println(12.0%0); gives NaN Last mdified: 15-Sep /14

7 Tpic 02 CS2312 Prblem Slving and Prgramming (II) Relatinal Operatrs: ==,!=, >, <, >=, <= (III) Blean (lgical) peratrs: && AND, OR Evaluated in Shrt circuit fashin I.e., The secnd argument is nt evaluated if first argument already determines the value. Example 1: if ((ismember==true) (calculateage()>=65)) System.ut.print("Gift"); if ismember is true, then calculateage desn't need t (will nt) run. Example 2: if (ttcurses>0 && ttalmarks/ttcurses >=90) System.ut.print("Well dne!!"); if ttcurse is 0, then ttalmark/ttcurses will nt be calculated (avid run-time errr "Divisin-by-zer ) (IV) Bitwise Operatrs: & ( AND ) ( OR ) ^ ( XOR ) ~ ( NOT ) << (left-shift) >> (right-shift) Example: int n1, n2, n3; n1 = 0xFE; (ie. 0b ) n2 = n1 ^ 0xFF; //set n2 t 0b (0b XOR 0b ) n3 = n2 << 4; //set n3 t 0b (left-shift 0b by 4 bits) VIII. Cnversin between numbers, type casting Legal cnversins: 2 bytes Case 1: Withut infrmatin lss, r 1 byte 2 bytes 4 bytes 8 bytes Case 2: Just t lse precisin duble d; flat f; int i= ; d=i; f=i; System.ut.println(f); //utput: E9 System.ut.println(d); //utput: E9 System.ut.println(i); //utput: bytes 8 bytes Case 3: Thugh legal, but may lse infrmatin. Fr these cases explicit type casting is needed: int i=97; char c; c=(char)i; System.ut.println(i); //utput: 97 System.ut.println(c); //utput: a Q: Why int->char may cause infrmatin lst? A: int is 4 bytes, can hld big range f values But char is 2 bytes nly Last mdified: 15-Sep /14

8 Tpic 02 CS2312 Prblem Slving and Prgramming IX. Parentheses and Operatr Hierarchy When ne expressin cntains 2 r mre peratrs, then The rder f Evaluatin depends n precedence level and assciativity. E.g. int x = / (4 + 5 * 7-2); - The precedence level f / and * are higher than the precedence level f + and - - T verride the abve rdering, we add () fr gruping. the precedence level f () is high precedence level Exercise: Q1. Fr each underlined expressin belw, mark the steps with, : (i). System.ut.println(1234 / 100 / 10) ; (ii) System.ut.println(1234 * 60 % 24); (nte: * and % have the same precedence) (iii). int a,b; a = b = 10; Q2. Delete the wrng items belw (*): In * (i) / (ii) / (iii), we say that the assciativity is left-t-right. In * (i) / (ii) / (iii), we say that the assciativity is right-t-left. Nte: When peratrs have the same precedence level, then the assciativity rules f the peratrs decide the rder f evaluatin. Last mdified: 15-Sep /14

9 Tpic 02 CS2312 Prblem Slving and Prgramming X. Strings & StringBuilder Strings (java.lang.string) A String bject cntains a sequence f Unicde characters (cde units in UTF-16 encding) String variables are references t string bjects String s = new String("Hell"); r String s = "Hell"; Shrthand.length methd yields number f characters "" is the empty string f length 0, different frm null if (s!= null && s.length()!= 0) Check fr nn-null and nn-empty.charat methd yields char: char c = s.charat(i);.substring methd yields substrings: String greeting = "Hell"; String s = greeting.substring(1,3); It means frm psitin 1 inclusive t psitin 3 exclusive "el" + String greeting = "Hell"; String s; s = " " + greeting; // "1000 Hell" s = ' ' + greeting; // Use.equals t cmpare string cntents: String greeting = "Hell"; String part = greeting.substring(1, 3); if (part == "el") //NO! if (part.equals("el")) //OK Cnverting Strings t Numbers: Integer.parseInt String input = "7"; int n = Integer.parseInt(input); // n gets 7 Strings are immutable: N methd can change a character in an existing string T turn greeting frm Hell t Help!, it is nt s cnvenient: greeting = greeting.substring(0,3)+"p!"; actually a new string bject Fr the riginal string bject which was previusly referred by greeting, Java has the Garbage Cllectin mechanism t recycle the unused memry. StringBuilder (java.lang.stringbuilder) If mre cncatenatin wrk is needed, using + fr string cncatenatin is inefficient reasn: it actually creates new string bjects StringBuilder sb = new StringBuilder(); sb.append("hell "); sb.append(name); //suppse name is "Peter" String result=sb.tstring(); //gives "Hell Peter" StringBuilder bject can manipulate characters within itself. Other StringBuilder methds fr handling character cntents: setcharat, insert, delete Last mdified: 15-Sep /14

10 Tpic 02 CS2312 Prblem Slving and Prgramming XI. Input (Cnsle, File, Input frm String) (1) Reading input frm Cnsle Cnstruct Scanner frm input stream (e.g. System.in) Scanner in = new Scanner(System.in);.nextInt,.nextDuble reads next int r duble int n = in.nextint();.next reads next string (delimited by whitespace: space, tab, newline; discard leading whitespace).nextline reads until newline and remves newline frm the stream. Smetimes we need.nextline t remve extra line break (Learn frm Lab03).clse clses the stream Scanner in = new Scanner(System.in); String s1,s2; s1 = in.next(); //type " Tday is a gd day." s2 = in.nextline(); System.ut.println(s1); //"Tday" System.ut.println(s2); //" is a gd day in.clse(); Tday is a gd day. Tday is a gd day. Rundwn (2) Reading input frm a file Cnstruct Scanner frm a File bject Scanner infile = new Scanner(new File("c:\\data\\case1.txt"));.hasNext() checks whether there is still next string in the file. Scanner infile = new Scanner(new File(fileName)); while (infile.hasnext()) String line = infile.nextline(); infile.clse(); (3) Reading input frm anther string Scanner indata = new Scanner(str); //where str is a String // apply.hasnext(),.next(),.clse() etc Example: Read a f wrds and shw them line by line: System.ut.print("Enter a line f wrds: "); Scanner scannercnsle = new Scanner(System.in); String str = scannercnsle.nextline(); Scanner scannerstr = new Scanner(str); while (scannerstr.hasnext()) System.ut.println(scannerStr.next()); scannerstr.clse(); scannercnsle.clse(); Output Enter a line f wrds: Have a gd day! Have a gd day! Last mdified: 15-Sep /14

11 Tpic 02 CS2312 Prblem Slving and Prgramming XII. Output (System.ut.printf, String.frmat, PrinterWriter) Frmatted Output using System.ut.printf() Using.print,.println fr flating-pint values (prblem): duble x = / 3.0; System.ut.println(x); //prints Using.printf frmatted utput (slutin) duble x = / 3.0; System.ut.printf("%8.2f", x);//prints Field width f 8 characters Precisin f 2 characters => Result has a leading space and 7 characters Using.printf multiple parameters System.ut.printf("Hi %s. Next year yu'll be %d\n", name, (age+1)); Cnversin characters (%f, %d, %s): Similar methd t create a string String msg = String.frmat( Hi %s. Next year yu'll be %d", name, age+1); Output t a file (Create a PrinterWriter bject, then apply.print etc) PrintWriter ut = new PrintWriter("c:\\reprt\\myfile.txt"); ut.println("my GPA is 4.0"); ut.clse(); Last mdified: 15-Sep /14

12 Tpic 02 CS2312 Prblem Slving and Prgramming XIII. Cntrl flw Cntrl structures (similar t C++): if ifelse switch-case while d-while fr Blck Scpe (cmpund statement inside ) Cannt declare identically named variables in 2 nested blcks: public static vid main(string[] args) int n;... int k; int n; // ERROR--can't redefine n in inner blck... Declaring a variable in a fr-lp: fr (int i = 1; i <= 10; i++)... // i n lnger defined here fr (int i = 11; i <= 20; i++) // OK t define anther variable named i... Using break and cntinue: break means "immediately halt executin f this lp" Cntinue means "skip t next iteratin f this lp." // Find x in an array A // read in 10 numbers // and handle nly the psitive nes bfund=false; fr (i=0; i<10; i++) fr (i=0;i<n;i++) x=scannerobj.nextint(); if (A[i]==x) if (x<0) bfund=true; System.ut.println("Wrng"); break; cntinue; // N need t use break // prcessing f x bfund=false; fr (i=0;i<n &&!bfund;i++) if (A[i]==x) bfund=true; Last mdified: 15-Sep /14

13 Tpic 02 CS2312 Prblem Slving and Prgramming XIV. Arrays An array is a cllectin f elements f the same type Index is zer-based int[] arr; // int[] is the array type; arr is the array name // int arr[]; is als kay, but nt welcme by Java fans arr = new int[5]; //create the array; arr[0] = 3; arr[1] = 25; fr (int i=0;i<arr.length;i++) //use.length t tell the array size System.ut.println(arr[i]); Output Initialized values Fr number elements : 0 Fr blean elements: false; Fr bject elements: null Once created, cannt change size If extensin is needed, make arr t refer t a new larger array and cpy the ld cntents. Array variable is a reference arr [0] = 3 [1] = 25 Styles f array declaratin: (1) int[] arr; (2) int[] arr = new int[5]; (3) arr = new int[5]; arr[0] = 3; arr[0] = 3; arr[1] = 25; arr[1] = 25; int[] arr = 3,5,0,0,0; Shrthand - Declaratin with initializers Reinitializing an array variable int[] arr = 3,5,0,0,0; arr = new int[] 1,2,3,4,5,6,7,8; a new array Fr the riginal array which was previusly referred by arr, Java has a Garbage Cllectin mechanism t recycle the unused memry. The fr each lp: Syntax: fr (variable : cllectin) statement Example: fr (int x: arr) System.ut.println(x); "fr each" lp - ges thrugh each element as x Arrays.tString Prvided by the java.util.arrays class Returns a string representatin f the array int[] arr = 3,5,0,0,0; Output System.ut.println(Arrays.tString(arr)); [3, 5, 0, 0, 0] Srting with Arrays.srt Arrays.srt(arr); Output System.ut.println(Arrays.tString(arr)); [0, 0, 0, 3, 5] Last mdified: 15-Sep /14

14 Tpic 02 CS2312 Prblem Slving and Prgramming Array cpying (1) Cpying reference nt really creating new array arr1 = new int[] 3,25,0,0,0; arr2 = arr1; arr1 arr2 [0] = 3 [1] = 25 (2) Cpying as a new array: Arrays.cpyOf Syntax: Arrays.cpyOf(riginalArray, newsize); arr1 arr3 int[] arr1, arr2, arr3, arr4, arr5; arr1 = new int[] 3,25,0,0,0; // 5 elements arr2 [0] = 3 [1] = 99 [0] = 3 [1] = 25 arr2 = arr1; arr3 = Arrays.cpyOf(arr1, 4); // nly want 4 elements arr4 = Arrays.cpyOf(arr1, arr1.length); arr5 = Arrays.cpyOf(arr1, 8); // 3 additinal elements are 0 arr1[1]=99; arr4 [0] = 3 [1] = 25 arr5 [0] = 3 [1] = 25 System.ut.println(Arrays.tString(arr1)); System.ut.println(Arrays.tString(arr2)); System.ut.println(Arrays.tString(arr3)); System.ut.println(Arrays.tString(arr4)); System.ut.println(Arrays.tString(arr5)); Output [3, 99, 0, 0, 0] [3, 99, 0, 0, 0] [3, 25, 0, 0] [3, 25, 0, 0, 0] [3, 25, 0, 0, 0, 0, 0, 0] Arrays.cpyOfRange is anther useful methd. Learn it in Lab03. Multidimensinal array 2D array: - Is a 1D array f sme 1D arrays 5 rws 10 clumns int[][] table = new int[5][10]; table[3][5]=1234; // set 4th rw, 6th clumn t 1234 fr (int[] arr1d: table) System.ut.println(Arrays.tString(arr1D)); Output [0, 0, 0, 0, 0, 0, 0, 0, 0, 0] [0, 0, 0, 0, 0, 0, 0, 0, 0, 0] [0, 0, 0, 0, 0, 0, 0, 0, 0, 0] [0, 0, 0, 0, 0, 1234, 0, 0, 0, 0] [0, 0, 0, 0, 0, 0, 0, 0, 0, 0] table = table[0]= table[4]= 1234 Ragged Array: - Different rws have different lengths It is easy t d s in Java. String[][] helpers = "Helena", "Kit", "Jasn", "Helena", "Kit", "Jasn", "Kit", "Jasn", "Helena", "Kit", "Helena" ; System.ut.println("Helpers fr T01-T05:"); System.ut.println("===================="); fr (String[] arr1d: helpers) System.ut.println(Arrays.tString(arr1D)); Output Helpers fr T01-T05: ==================== [Helena, Kit, Jasn] [Helena, Kit, Jasn] [Kit, Jasn] [Helena, Kit] [Helena] Last mdified: 15-Sep /14

CS1150 Principles of Computer Science Midterm Review

CS1150 Principles of Computer Science Midterm Review CS1150 Principles f Cmputer Science Midterm Review Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang CS1150 UC. Clrad Springs Office hurs 10/15, Mnday, 12:05 12:50pm 10/17, Wednesday

More information

CS1150 Principles of Computer Science Introduction (Part II)

CS1150 Principles of Computer Science Introduction (Part II) Principles f Cmputer Science Intrductin (Part II) Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang UC. Clrad Springs Review Terminlgy Class } Every Java prgram must have at least

More information

CS1150 Principles of Computer Science Methods

CS1150 Principles of Computer Science Methods CS1150 Principles f Cmputer Science Methds Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang CS1150 UC. Clrad Springs Opening Prblem Find the sum f integers frm 1 t 10, frm 20

More information

The Java if statement is used to test the condition. It checks Boolean condition: true or false. There are various types of if statement in java.

The Java if statement is used to test the condition. It checks Boolean condition: true or false. There are various types of if statement in java. Java If-else Statement The Java if statement is used t test the cnditin. It checks Blean cnditin: true r false. There are varius types f if statement in java. if statement if-else statement if-else-if

More information

DECISION CONTROL CONSTRUCTS IN JAVA

DECISION CONTROL CONSTRUCTS IN JAVA DECISION CONTROL CONSTRUCTS IN JAVA Decisin cntrl statements can change the executin flw f a prgram. Decisin cntrl statements in Java are: if statement Cnditinal peratr switch statement If statement The

More information

Lab 4. Name: Checked: Objectives:

Lab 4. Name: Checked: Objectives: Lab 4 Name: Checked: Objectives: Learn hw t test cde snippets interactively. Learn abut the Java API Practice using Randm, Math, and String methds and assrted ther methds frm the Java API Part A. Use jgrasp

More information

CS1150 Principles of Computer Science Loops

CS1150 Principles of Computer Science Loops CS1150 Principles f Cmputer Science Lps Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang CS1150 UC. Clrad Springs Annuncement HW1 graded HW2 due tnight HW3 will be psted sn Due

More information

Lab 1 - Calculator. K&R All of Chapter 1, 7.4, and Appendix B1.2

Lab 1 - Calculator. K&R All of Chapter 1, 7.4, and Appendix B1.2 UNIVERSITY OF CALIFORNIA, SANTA CRUZ BOARD OF STUDIES IN COMPUTER ENGINEERING CMPE13/L: INTRODUCTION TO PROGRAMMING IN C SPRING 2012 Lab 1 - Calculatr Intrductin In this lab yu will be writing yur first

More information

CS1150 Principles of Computer Science Final Review

CS1150 Principles of Computer Science Final Review CS1150 Principles f Cmputer Science Final Review Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang CS1150 UC. Clrad Springs Numerical Data Types Name Range Strage Size byte 2 7

More information

CS1150 Principles of Computer Science Methods

CS1150 Principles of Computer Science Methods CS1150 Principles f Cmputer Science Methds Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang CS1150 UC. Clrad Springs Passing Parameters public static vid nprintln(string message,

More information

COP2800 Homework #3 Assignment Spring 2013

COP2800 Homework #3 Assignment Spring 2013 YOUR NAME: DATE: LAST FOUR DIGITS OF YOUR UF-ID: Please Print Clearly (Blck Letters) YOUR PARTNER S NAME: DATE: LAST FOUR DIGITS OF PARTNER S UF-ID: Please Print Clearly Date Assigned: 15 February 2013

More information

CS1150 Principles of Computer Science Boolean, Selection Statements (Part II)

CS1150 Principles of Computer Science Boolean, Selection Statements (Part II) CS1150 Principles f Cmputer Science Blean, Selectin Statements (Part II) Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang CS1150 Review What s the scientific ntatin f 9,200,000?

More information

Iteration Part 2. Review: Iteration [Part 1] Flow charts for two loop constructs. Review: Syntax of loops. while continuation_condition : statement1

Iteration Part 2. Review: Iteration [Part 1] Flow charts for two loop constructs. Review: Syntax of loops. while continuation_condition : statement1 Review: Iteratin [Part 1] Iteratin Part 2 CS111 Cmputer Prgramming Department f Cmputer Science Wellesley Cllege Iteratin is the repeated executin f a set f statements until a stpping cnditin is reached.

More information

LAB 7 (June 29/July 4) Structures, Stream I/O, Self-referential structures (Linked list) in C

LAB 7 (June 29/July 4) Structures, Stream I/O, Self-referential structures (Linked list) in C LAB 7 (June 29/July 4) Structures, Stream I/O, Self-referential structures (Linked list) in C Due: July 9 (Sun) 11:59 pm 1. Prblem A Subject: Structure declaratin, initializatin and assignment. Structure

More information

Relational Operators, and the If Statement. 9.1 Combined Assignments. Relational Operators (4.1) Last time we discovered combined assignments such as:

Relational Operators, and the If Statement. 9.1 Combined Assignments. Relational Operators (4.1) Last time we discovered combined assignments such as: Relatinal Operatrs, and the If Statement 9/18/06 CS150 Intrductin t Cmputer Science 1 1 9.1 Cmbined Assignments Last time we discvered cmbined assignments such as: a /= b + c; Which f the fllwing lng frms

More information

Lab 1 - Calculator. K&R All of Chapter 1, 7.4, and Appendix B1.2 Iterative Code Design handout Style Guidelines handout

Lab 1 - Calculator. K&R All of Chapter 1, 7.4, and Appendix B1.2 Iterative Code Design handout Style Guidelines handout UNIVERSITY OF CALIFORNIA, SANTA CRUZ BOARD OF STUDIES IN COMPUTER ENGINEERING CMPE13/L: INTRODUCTION TO PROGRAMMING IN C SPRING 2013 Lab 1 - Calculatr Intrductin Reading Cncepts In this lab yu will be

More information

CS5530 Mobile/Wireless Systems Swift

CS5530 Mobile/Wireless Systems Swift Mbile/Wireless Systems Swift Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang UC. Clrad Springs cat annunce.txt_ imacs remte VNC access VNP: http://www.uccs.edu/itservices/services/netwrk-andinternet/vpn.html

More information

Querying Data with Transact SQL

Querying Data with Transact SQL Querying Data with Transact SQL Curse Cde: 20761 Certificatin Exam: 70-761 Duratin: 5 Days Certificatin Track: MCSA: SQL 2016 Database Develpment Frmat: Classrm Level: 200 Abut this curse: This curse is

More information

Eastern Mediterranean University School of Computing and Technology Information Technology Lecture2 Functions

Eastern Mediterranean University School of Computing and Technology Information Technology Lecture2 Functions Eastern Mediterranean University Schl f Cmputing and Technlgy Infrmatin Technlgy Lecture2 Functins User Defined Functins Why d we need functins? T make yur prgram readable and rganized T reduce repeated

More information

UiPath Automation. Walkthrough. Walkthrough Calculate Client Security Hash

UiPath Automation. Walkthrough. Walkthrough Calculate Client Security Hash UiPath Autmatin Walkthrugh Walkthrugh Calculate Client Security Hash Walkthrugh Calculate Client Security Hash Start with the REFramewrk template. We start ff with a simple implementatin t demnstrate the

More information

Programming Project: Building a Web Server

Programming Project: Building a Web Server Prgramming Prject: Building a Web Server Submissin Instructin: Grup prject Submit yur cde thrugh Bb by Dec. 8, 2014 11:59 PM. Yu need t generate a simple index.html page displaying all yur grup members

More information

CS1150 Principles of Computer Science Introduction

CS1150 Principles of Computer Science Introduction Principles f Cmputer Science Intrductin Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang UC. Clrad Springs Intr f Intr Yanyan Zhuang PhD in netwrk systems yzhuang@uccs.edu Office

More information

Project #1 - Fraction Calculator

Project #1 - Fraction Calculator AP Cmputer Science Liberty High Schl Prject #1 - Fractin Calculatr Students will implement a basic calculatr that handles fractins. 1. Required Behavir and Grading Scheme (100 pints ttal) Criteria Pints

More information

CS1150 Principles of Computer Science Boolean, Selection Statements (Part II)

CS1150 Principles of Computer Science Boolean, Selection Statements (Part II) CS1150 Principles f Cmputer Science Blean, Selectin Statements (Part II) Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang CS1150 Review What s the scientific ntatin f 9,200,000?

More information

Web of Science Institutional authored and cited papers

Web of Science Institutional authored and cited papers Web f Science Institutinal authred and cited papers Prcedures written by Diane Carrll Washingtn State University Libraries December, 2007, updated Nvember 2009 Annual review f paper s authred and cited

More information

Primitive Types and Methods. Reference Types and Methods. Review: Methods and Reference Types

Primitive Types and Methods. Reference Types and Methods. Review: Methods and Reference Types Primitive Types and Methds Java uses what is called pass-by-value semantics fr methd calls When we call a methd with input parameters, the value f that parameter is cpied and passed alng, nt the riginal

More information

Reading and writing data in files

Reading and writing data in files Reading and writing data in files It is ften very useful t stre data in a file n disk fr later reference. But hw des ne put it there, and hw des ne read it back? Each prgramming language has its wn peculiar

More information

UiPath Automation. Walkthrough. Walkthrough Calculate Client Security Hash

UiPath Automation. Walkthrough. Walkthrough Calculate Client Security Hash UiPath Autmatin Walkthrugh Walkthrugh Calculate Client Security Hash Walkthrugh Calculate Client Security Hash Start with the REFramewrk template. We start ff with a simple implementatin t demnstrate the

More information

$ARCSIGHT_HOME/current/user/agent/map. The files are named in sequential order such as:

$ARCSIGHT_HOME/current/user/agent/map. The files are named in sequential order such as: Lcatin f the map.x.prperties files $ARCSIGHT_HOME/current/user/agent/map File naming cnventin The files are named in sequential rder such as: Sme examples: 1. map.1.prperties 2. map.2.prperties 3. map.3.prperties

More information

C++ Reference Material Programming Style Conventions

C++ Reference Material Programming Style Conventions C++ Reference Material Prgramming Style Cnventins What fllws here is a set f reasnably widely used C++ prgramming style cnventins. Whenever yu mve int a new prgramming envirnment, any cnventins yu have

More information

- Replacement of a single statement with a sequence of statements(promotes regularity)

- Replacement of a single statement with a sequence of statements(promotes regularity) ALGOL - Java and C built using ALGOL 60 - Simple and cncise and elegance - Universal - Clse as pssible t mathematical ntatin - Language can describe the algrithms - Mechanically translatable t machine

More information

Ascii Art Capstone project in C

Ascii Art Capstone project in C Ascii Art Capstne prject in C CSSE 120 Intrductin t Sftware Develpment (Rbtics) Spring 2010-2011 Hw t begin the Ascii Art prject Page 1 Prceed as fllws, in the rder listed. 1. If yu have nt dne s already,

More information

Data Structure Interview Questions

Data Structure Interview Questions Data Structure Interview Questins A list f tp frequently asked Data Structure interview questins and answers are given belw. 1) What is Data Structure? Explain. Data structure is a way that specifies hw

More information

Structure Query Language (SQL)

Structure Query Language (SQL) Structure Query Language (SQL) 1. Intrductin SQL 2. Data Definitin Language (DDL) 3. Data Manipulatin Language ( DML) 4. Data Cntrl Language (DCL) 1 Structured Query Language(SQL) 6.1 Intrductin Structured

More information

Preparation: Follow the instructions on the course website to install Java JDK and jgrasp on your laptop.

Preparation: Follow the instructions on the course website to install Java JDK and jgrasp on your laptop. Lab 1 Name: Checked: (instructr r TA initials) Objectives: Learn abut jgrasp - the prgramming envirnment that we will be using (IDE) Cmpile and run a Java prgram Understand the relatinship between a Java

More information

Laboratory #13: Trigger

Laboratory #13: Trigger Schl f Infrmatin and Cmputer Technlgy Sirindhrn Internatinal Institute f Technlgy Thammasat University ITS351 Database Prgramming Labratry Labratry #13: Trigger Objective: - T learn build in trigger in

More information

Computer Organization and Architecture

Computer Organization and Architecture Campus de Gualtar 4710-057 Braga UNIVERSIDADE DO MINHO ESCOLA DE ENGENHARIA Departament de Infrmática Cmputer Organizatin and Architecture 5th Editin, 2000 by William Stallings Table f Cntents I. OVERVIEW.

More information

Adverse Action Letters

Adverse Action Letters Adverse Actin Letters Setup and Usage Instructins The FRS Adverse Actin Letter mdule was designed t prvide yu with a very elabrate and sphisticated slutin t help autmate and handle all f yur Adverse Actin

More information

Mathematical Functions, Characters, and Strings. APSC 160 Chapter 4

Mathematical Functions, Characters, and Strings. APSC 160 Chapter 4 Mathematical Functins, Characters, and Strings APSC 160 Chapter 4 1 Objectives T slve mathematics prblems by using the C++ mathematical functins (4.2) T represent characters using the char type (4.3) T

More information

INSTALLING CCRQINVOICE

INSTALLING CCRQINVOICE INSTALLING CCRQINVOICE Thank yu fr selecting CCRQInvice. This dcument prvides a quick review f hw t install CCRQInvice. Detailed instructins can be fund in the prgram manual. While this may seem like a

More information

MySqlWorkbench Tutorial: Creating Related Database Tables

MySqlWorkbench Tutorial: Creating Related Database Tables MySqlWrkbench Tutrial: Creating Related Database Tables (Primary Keys, Freign Keys, Jining Data) Cntents 1. Overview 2 2. Befre Yu Start 2 3. Cnnect t MySql using MySqlWrkbench 2 4. Create Tables web_user

More information

Lab 5 Sorting with Linked Lists

Lab 5 Sorting with Linked Lists UNIVERSITY OF CALIFORNIA, SANTA CRUZ BOARD OF STUDIES IN COMPUTER ENGINEERING CMPE13/L: INTRODUCTION TO PROGRAMMING IN C WINTER 2013 Lab 5 Srting with Linked Lists Intrductin Reading This lab intrduces

More information

Groovy Programming Language. Duration : 5 days. Groovy Getting Started. Groovy Big Picture. Groovy Language Spec. Syntax.

Groovy Programming Language. Duration : 5 days. Groovy Getting Started. Groovy Big Picture. Groovy Language Spec. Syntax. Grvy Prgramming Language Duratin : 5 days Grvy Getting Started Dwnlad Grvy Setting up Grvy Installing Grvy grvyc the Grvy cmpiler grvysh the Grvy cmmand -like shell grvycnsle the Grvy Swing cnsle IDE integratin

More information

Java 8 Programming and Object Oriented Essentials for Developers New to OO (5 Days)

Java 8 Programming and Object Oriented Essentials for Developers New to OO (5 Days) www.peaklearningllc.cm Java 8 Prgramming and Object Oriented Essentials fr Develpers New t OO (5 Days) This curse is geared fr develpers wh have little r n prir wrking knwledge f bjectriented (OO) prgramming

More information

Using the Swiftpage Connect List Manager

Using the Swiftpage Connect List Manager Quick Start Guide T: Using the Swiftpage Cnnect List Manager The Swiftpage Cnnect List Manager can be used t imprt yur cntacts, mdify cntact infrmatin, create grups ut f thse cntacts, filter yur cntacts

More information

Lab 0: Compiling, Running, and Debugging

Lab 0: Compiling, Running, and Debugging UNIVERSITY OF CALIFORNIA, SANTA CRUZ BOARD OF STUDIES IN COMPUTER ENGINEERING CMPE13/L: INTRODUCTION TO PROGRAMMING IN C SPRING 2012 Lab 0: Cmpiling, Running, and Debugging Intrductin Reading This is the

More information

Java Programming Course IO

Java Programming Course IO Java Prgramming Curse IO By Võ Văn Hải Faculty f Infrmatin Technlgies Industrial University f H Chi Minh City Sessin bjectives What is an I/O stream? Types f Streams Stream class hierarchy Cntrl flw f

More information

Computer Organization and Architecture

Computer Organization and Architecture Campus de Gualtar 4710-057 Braga UNIVERSIDADE DO MINHO ESCOLA DE ENGENHARIA Departament de Infrmática Cmputer Organizatin and Architecture 5th Editin, 2000 by William Stallings Table f Cntents I. OVERVIEW.

More information

The programming for this lab is done in Java and requires the use of Java datagrams.

The programming for this lab is done in Java and requires the use of Java datagrams. Lab 2 Traffic Regulatin This lab must be cmpleted individually Purpse f this lab: In this lab yu will build (prgram) a netwrk element fr traffic regulatin, called a leaky bucket, that runs ver a real netwrk.

More information

CS1150 Principles of Computer Science Math Functions, Characters and Strings

CS1150 Principles of Computer Science Math Functions, Characters and Strings CS1150 Principles f Cmputer Science Math Functins, Characters and Strings Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang CS1150 UC. Clrad Springs Mathematical Functins Java

More information

DesignScript summary:

DesignScript summary: DesignScript summary: This manual is designed fr thse readers wh have sme experience with prgramming and scripting languages and want t quickly understand hw DesignScript implements typical prgramming

More information

Importing data. Import file format

Importing data. Import file format Imprting data The purpse f this guide is t walk yu thrugh all f the steps required t imprt data int CharityMaster. The system allws nly the imprtatin f demgraphic date e.g. names, addresses, phne numbers,

More information

TRAINING GUIDE. Overview of Lucity Spatial

TRAINING GUIDE. Overview of Lucity Spatial TRAINING GUIDE Overview f Lucity Spatial Overview f Lucity Spatial In this sessin, we ll cver the key cmpnents f Lucity Spatial. Table f Cntents Lucity Spatial... 2 Requirements... 2 Setup... 3 Assign

More information

Whitepaper. Migrating External Specs to AutoCAD Plant 3D. Set Up the Required Folder Structure. Migrating External Specs to AutoCAD Plant 3D

Whitepaper. Migrating External Specs to AutoCAD Plant 3D. Set Up the Required Folder Structure. Migrating External Specs to AutoCAD Plant 3D Whitepaper The wrkflw fr migrating specs frm 3 rd -party sftware packages t AutCAD Plant 3D is as fllws: Set Up the Required Flder Structure Build CSV Files Cntaining Part Infrmatin Map External Parts

More information

Xerox WorkCentre 7120/7125 Series User Instructions

Xerox WorkCentre 7120/7125 Series User Instructions Xerx WrkCentre 7120/7125 Series User Instructins Hw t Make a Cpy Using the Duplex Autmatic Dcument Feeder (DADF) NOTE: Use the DADF fr multiple r single pages. Use the Dcument Glass fr single cpies r paper

More information

Word 2007 The Ribbon, the Mini toolbar, and the Quick Access Toolbar

Word 2007 The Ribbon, the Mini toolbar, and the Quick Access Toolbar Wrd 2007 The Ribbn, the Mini tlbar, and the Quick Access Tlbar In this practice yu'll get the hang f using the new Ribbn, and yu'll als master the use f the helpful cmpanin tls, the Mini tlbar and the

More information

Normally, an array is a collection of similar type of elements that have a contiguous memory location.

Normally, an array is a collection of similar type of elements that have a contiguous memory location. Java Array: Nrmally, an array is a cllectin f similar type f elements that have a cntiguus memry lcatin. Java array is an bject which cntains elements f a similar data type. It is a data structure where

More information

McGill University School of Computer Science COMP-206. Software Systems. Due: September 29, 2008 on WEB CT at 23:55.

McGill University School of Computer Science COMP-206. Software Systems. Due: September 29, 2008 on WEB CT at 23:55. Schl f Cmputer Science McGill University Schl f Cmputer Science COMP-206 Sftware Systems Due: September 29, 2008 n WEB CT at 23:55 Operating Systems This assignment explres the Unix perating system and

More information

2. Candidate can appear in SCJA/OCJA or SCJP/OCJP certifications. Module I

2. Candidate can appear in SCJA/OCJA or SCJP/OCJP certifications. Module I Java SE Syllabus Pre-Requite: Basics f Prgramming (C r C++) Exit Prfile: 1. Applicatin Prgrammer 2. Candidate can appear in SCJA/OCJA r SCJP/OCJP certificatins. Mdule I 1 Intrductin t Java 2 Pre- requites

More information

Create Your Own Report Connector

Create Your Own Report Connector Create Yur Own Reprt Cnnectr Last Updated: 15-December-2009. The URS Installatin Guide dcuments hw t cmpile yur wn URS Reprt Cnnectr. This dcument prvides a guide t what yu need t create in yur cnnectr

More information

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Yu will learn the fllwing in this lab: The UNIVERSITY f NORTH CAROLINA at CHAPEL HILL Cmp 541 Digital Lgic and Cmputer Design Spring 2016 Lab Prject (PART A): A Full Cmputer! Issued Fri 4/8/16; Suggested

More information

Municode Website Instructions

Municode Website Instructions Municde Website instructins Municde Website Instructins The new and imprved Municde site allws yu t navigate t, print, save, e-mail and link t desired sectins f the Online Cde f Ordinances with greater

More information

TRAINING GUIDE. Lucity Mobile

TRAINING GUIDE. Lucity Mobile TRAINING GUIDE The Lucity mbile app gives users the pwer f the Lucity tls while in the field. They can lkup asset infrmatin, review and create wrk rders, create inspectins, and many mre things. This manual

More information

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Yu will learn the fllwing in this lab: The UNIVERSITY f NORTH CAROLINA at CHAPEL HILL Designing a mdule with multiple memries Designing and using a bitmap fnt Designing a memry-mapped display Cmp 541 Digital

More information

The Reporting Tool. An Overview of HHAeXchange s Reporting Tool

The Reporting Tool. An Overview of HHAeXchange s Reporting Tool HHAeXchange The Reprting Tl An Overview f HHAeXchange s Reprting Tl Cpyright 2017 Hmecare Sftware Slutins, LLC One Curt Square 44th Flr Lng Island City, NY 11101 Phne: (718) 407-4633 Fax: (718) 679-9273

More information

ROCK-POND REPORTING 2.1

ROCK-POND REPORTING 2.1 ROCK-POND REPORTING 2.1 AUTO-SCHEDULER USER GUIDE Revised n 08/19/2014 OVERVIEW The purpse f this dcument is t describe the prcess in which t fllw t setup the Rck-Pnd Reprting prduct s that users can schedule

More information

Using SPLAY Tree s for state-full packet classification

Using SPLAY Tree s for state-full packet classification Curse Prject Using SPLAY Tree s fr state-full packet classificatin 1- What is a Splay Tree? These ntes discuss the splay tree, a frm f self-adjusting search tree in which the amrtized time fr an access,

More information

Using the Swiftpage Connect List Manager

Using the Swiftpage Connect List Manager Quick Start Guide T: Using the Swiftpage Cnnect List Manager The Swiftpage Cnnect List Manager can be used t imprt yur cntacts, mdify cntact infrmatin, create grups ut f thse cntacts, filter yur cntacts

More information

Project 4: System Calls 1

Project 4: System Calls 1 CMPT 300 1. Preparatin Prject 4: System Calls 1 T cmplete this assignment, it is vital that yu have carefully cmpleted and understd the cntent in the fllwing guides which are psted n the curse website:

More information

Configuring Database & SQL Query Monitoring With Sentry-go Quick & Plus! monitors

Configuring Database & SQL Query Monitoring With Sentry-go Quick & Plus! monitors Cnfiguring Database & SQL Query Mnitring With Sentry-g Quick & Plus! mnitrs 3Ds (UK) Limited, Nvember, 2013 http://www.sentry-g.cm Be Practive, Nt Reactive! One f the best ways f ensuring a database is

More information

1 Version Spaces. CS 478 Homework 1 SOLUTION

1 Version Spaces. CS 478 Homework 1 SOLUTION CS 478 Hmewrk SOLUTION This is a pssible slutin t the hmewrk, althugh there may be ther crrect respnses t sme f the questins. The questins are repeated in this fnt, while answers are in a mnspaced fnt.

More information

CS510 Concurrent Systems Class 2. A Lock-Free Multiprocessor OS Kernel

CS510 Concurrent Systems Class 2. A Lock-Free Multiprocessor OS Kernel CS510 Cncurrent Systems Class 2 A Lck-Free Multiprcessr OS Kernel The Synthesis kernel A research prject at Clumbia University Synthesis V.0 ( 68020 Uniprcessr (Mtrla N virtual memry 1991 - Synthesis V.1

More information

Stealing passwords via browser refresh

Stealing passwords via browser refresh Stealing passwrds via brwser refresh Authr: Karmendra Khli [karmendra.khli@paladin.net] Date: August 07, 2004 Versin: 1.1 The brwser s back and refresh features can be used t steal passwrds frm insecurely

More information

BI Publisher TEMPLATE Tutorial

BI Publisher TEMPLATE Tutorial PepleSft Campus Slutins 9.0 BI Publisher TEMPLATE Tutrial Lessn T2 Create, Frmat and View a Simple Reprt Using an Existing Query with Real Data This tutrial assumes that yu have cmpleted BI Publisher Tutrial:

More information

EASTERN ARIZONA COLLEGE Java Programming I

EASTERN ARIZONA COLLEGE Java Programming I EASTERN ARIZONA COLLEGE Java Prgramming I Curse Design 2011-2012 Curse Infrmatin Divisin Business Curse Number CMP 126 Title Java Prgramming I Credits 3 Develped by Jeff Baer Lecture/Lab Rati 2 Lecture/2

More information

ClassFlow Administrator User Guide

ClassFlow Administrator User Guide ClassFlw Administratr User Guide ClassFlw User Engagement Team April 2017 www.classflw.cm 1 Cntents Overview... 3 User Management... 3 Manual Entry via the User Management Page... 4 Creating Individual

More information

To over come these problems collections are recommended to use. Collections Arrays

To over come these problems collections are recommended to use. Collections Arrays Q1. What are limitatins f bject Arrays? The main limitatins f Object arrays are These are fixed in size ie nce we created an array bject there is n chance f increasing r decreasing size based n ur requirement.

More information

MOS Access 2013 Quick Reference

MOS Access 2013 Quick Reference MOS Access 2013 Quick Reference Exam 77-424: MOS Access 2013 Objectives http://www.micrsft.cm/learning/en-us/exam.aspx?id=77-424 Create and Manage a Database Create a New Database This bjective may include

More information

History of Java. VM (Java Virtual Machine) What is JVM. What it does. 1. Brief history of Java 2. Java Version History

History of Java. VM (Java Virtual Machine) What is JVM. What it does. 1. Brief history of Java 2. Java Version History Histry f Java 1. Brief histry f Java 2. Java Versin Histry The histry f Java is very interesting. Java was riginally designed fr interactive televisin, but it was t advanced technlgy fr the digital cable

More information

Integrating QuickBooks with TimePro

Integrating QuickBooks with TimePro Integrating QuickBks with TimePr With TimePr s QuickBks Integratin Mdule, yu can imprt and exprt data between TimePr and QuickBks. Imprting Data frm QuickBks The TimePr QuickBks Imprt Facility allws data

More information

Enabling Your Personal Web Page on the SacLink

Enabling Your Personal Web Page on the SacLink 53 Enabling Yur Persnal Web Page n the SacLink *Yu need t enable yur persnal web page nly ONCE. It will be available t yu until yu graduate frm CSUS. T enable yur Persnal Web Page, fllw the steps given

More information

Populate and Extract Data from Your Database

Populate and Extract Data from Your Database Ppulate and Extract Data frm Yur Database 1. Overview In this lab, yu will: 1. Check/revise yur data mdel and/r marketing material (hme page cntent) frm last week's lab. Yu will wrk with tw classmates

More information

D e s i g n S c r i p t L a n g u a g e S u m m a r y P a g e 1

D e s i g n S c r i p t L a n g u a g e S u m m a r y P a g e 1 D e s i g n S c r i p t L a n g u a g e S u m m a r y P a g e 1 This manual is designed fr tw types f readers. First, thse wh want t make an initial fray int text based prgramming and wh may be currently

More information

INFOCUS Enrollment by Count Date

INFOCUS Enrollment by Count Date 0 INFOCUS Enrllment by Cunt Date Crsstab 11/5/2012 Sftware Technlgy, Inc. Thmas Murphy 0 Enrllment by Cunt Date Crsstab OBJECTIVES: A crsstab reprt that cunts enrlled and withdrawn students based n a cunt

More information

EASTERN ARIZONA COLLEGE Visual Basic Programming I

EASTERN ARIZONA COLLEGE Visual Basic Programming I EASTERN ARIZONA COLLEGE Visual Basic Prgramming I Curse Design 2015-2016 Curse Infrmatin Divisin Business Curse Number CMP 121 Title Visual Basic Prgramming I Credits 3 Develped by Lydia Mata Lecture/Lab

More information

Automatic imposition version 5

Automatic imposition version 5 Autmatic impsitin v.5 Page 1/9 Autmatic impsitin versin 5 Descriptin Autmatic impsitin will d the mst cmmn impsitins fr yur digital printer. It will autmatically d flders fr A3, A4, A5 r US Letter page

More information

REFWORKS: STEP-BY-STEP HURST LIBRARY NORTHWEST UNIVERSITY

REFWORKS: STEP-BY-STEP HURST LIBRARY NORTHWEST UNIVERSITY REFWORKS: STEP-BY-STEP HURST LIBRARY NORTHWEST UNIVERSITY Accessing RefWrks Access RefWrks frm a link in the Bibligraphy/Citatin sectin f the Hurst Library web page (http://library.nrthwestu.edu) Create

More information

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL The UNIVERSITY f NORTH CAROLINA at CHAPEL HILL Cmp 541 Digital Lgic and Cmputer Design Prf. Mntek Singh Spring 2019 Lab #7: A Basic Datapath; and a Sprite-Based Display Issued Fri 3/1/19; Due Mn 3/25/19

More information

Chalkable Classroom Items

Chalkable Classroom Items Chalkable Classrm Items Adding Items Activities in InfrmatinNOW are referred t as Items in Chalkable Classrm. T insert a new item (activity r lessn plan) t a Grade Bk, chse New Item frm the Menu n the

More information

Microsoft Excel Extensions for Enterprise Architect

Microsoft Excel Extensions for Enterprise Architect Excel Extensins User Guide Micrsft Excel Extensins fr Enterprise Architect Micrsft Excel Extensins fr Enterprise Architect... 1 Disclaimer... 2 Dependencies... 2 Overview... 2 Installatin... 4 Verifying

More information

Systems & Operating Systems

Systems & Operating Systems McGill University COMP-206 Sftware Systems Due: Octber 1, 2011 n WEB CT at 23:55 (tw late days, -5% each day) Systems & Operating Systems Graphical user interfaces have advanced enugh t permit sftware

More information

Design Patterns. Collectional Patterns. Session objectives 11/06/2012. Introduction. Composite pattern. Iterator pattern

Design Patterns. Collectional Patterns. Session objectives 11/06/2012. Introduction. Composite pattern. Iterator pattern Design Patterns By Võ Văn Hải Faculty f Infrmatin Technlgies HUI Cllectinal Patterns Sessin bjectives Intrductin Cmpsite pattern Iteratr pattern 2 1 Intrductin Cllectinal patterns primarily: Deal with

More information

To start your custom application development, perform the steps below.

To start your custom application development, perform the steps below. Get Started T start yur custm applicatin develpment, perfrm the steps belw. 1. Sign up fr the kitewrks develper package. Clud Develper Package Develper Package 2. Sign in t kitewrks. Once yu have yur instance

More information

Arduino Basics Intro to ArduBlocks

Arduino Basics Intro to ArduBlocks Arduin Basics Intr t ArduBlcks Materials: Arduin ArduBlcks Sftware Arduin IDE Laptp Breadbard Wires Resistrs LEDs Ptentimeter Temprary Push Buttn Get the Sftware Dwnlad Arduin IDE https://www.arduin.cc/en/main/sftware

More information

Andrid prgramming curse Data strage Sessin bjectives Internal Strage Intrductin By Võ Văn Hải Faculty f Infrmatin Technlgies Andrid prvides several ptins fr yu t save persistent applicatin data. The slutin

More information

Infrastructure Series

Infrastructure Series Infrastructure Series TechDc WebSphere Message Brker / IBM Integratin Bus Parallel Prcessing (Aggregatin) (Message Flw Develpment) February 2015 Authr(s): - IBM Message Brker - Develpment Parallel Prcessing

More information

Access 2000 Queries Tips & Techniques

Access 2000 Queries Tips & Techniques Access 2000 Queries Tips & Techniques Query Basics The query is the basic tl that Access prvides fr retrieving infrmatin frm yur database. Each query functins like a questin that can be asked immediately

More information

1on1 Sales Manager Tool. User Guide

1on1 Sales Manager Tool. User Guide 1n1 Sales Manager Tl User Guide Table f Cntents Install r Upgrade 1n1 Page 2 Setting up Security fr Dynamic Reprting Page 3 Installing ERA-IGNITE Page 4 Cnverting (Imprting) Queries int Dynamic Reprting

More information

Access the site directly by navigating to in your web browser.

Access the site directly by navigating to   in your web browser. GENERAL QUESTIONS Hw d I access the nline reprting system? Yu can access the nline system in ne f tw ways. G t the IHCDA website at https://www.in.gv/myihcda/rhtc.htm and scrll dwn the page t Cmpliance

More information

Chapter 6: Lgic Based Testing LOGIC BASED TESTING: This unit gives an indepth verview f lgic based testing and its implementatin. At the end f this unit, the student will be able t: Understand the cncept

More information