CS1150 Principles of Computer Science Math Functions, Characters and Strings

Size: px
Start display at page:

Download "CS1150 Principles of Computer Science Math Functions, Characters and Strings"

Transcription

1 CS1150 Principles f Cmputer Science Math Functins, Characters and Strings Yanyan Zhuang Department f Cmputer Science CS1150 UC. Clrad Springs

2 Mathematical Functins Java prvides many useful methds in the Math class fr perfrming cmmn mathematical functins. (we have used Math.sqrt(), Math.pw(), Math.randm()) 2

3 The Math Class Math class is different frm Scanner class Dn t create a Math instance } N need fr Math mymath = new Math(); We call Math class methds withut creating an instance Use Math.methdName() directly } duble squarert = Math.sqrt(25); 3

4 The Math Class Type Math. Yu can see cnstants and methds 4

5 The Math Class Class cnstants: PI ( ) E ( base f natual lg) Class methds: Trignmetric Methds Expnent Methds Runding Methds min, max, abs, and randm Methds 5

6 min, max, and abs max(a, b)and min(a, b) Returns the maximum r minimum f tw parameters. abs(a) Returns the abslute value f the parameter. randm() Returns a randm duble value in the range [0.0, 1.0). Numbers1.java Examples: Math.max(2, 3) returns 3 Math.max(2.5, 3) returns 3.0 Math.min(2.5, 3.6) returns 2.5 Math.abs(-2) returns 2 Math.abs(-2.1) returns 2.1 Numbers3.java 6

7 The randm Methd Generates a randm duble value greater than r equal t 0.0 and less than 1.0 (0 <= Math.randm() < 1.0). Examples: (int)(math.randm() * 10) 50 + (int)(math.randm() * 50) Returns a randm integer between 0 and 9. Returns a randm integer between 50 and 99. In general, a + Math.randm() * b Returns a randm number between a and a + b, excluding a + b. 7

8 Previus example Math.randm() Hw t generate a randm integer between [lwer, upper)? } Example: int lwer=100, upper=120; } randmduble = Math.randm(); // [0.0, 1.0) } randmduble = randmduble * (upper-lwer); // [0.0, 20.0) } randmduble = lwer + randmduble; // [100.0, 120.0) } randmint = (int) randmduble; // cast duble à int Or in ne step } randmint = (int) (lwer + Math.randm() * (upper-lwer)); CS1150 UC. Clrad Springs

9 Runding Methds duble ceil(duble x) x runded up t its nearest integer. This integer is returned as a duble value. duble flr(duble x) x is runded dwn t its nearest integer. This integer is returned as a duble value. duble rint(duble x) x is runded t its nearest integer. If x is equally clse t tw integers, the even ne is returned as a duble. int rund(flat x) Return (int)math.flr(x+0.5). lng rund(duble x) Return (lng)math.flr(x+0.5). 9

10 Runding Methds Examples Math.ceil(2.1) returns 3.0 Math.ceil(2.0) returns 2.0 Math.ceil(-2.0) returns 2.0 Math.ceil(-2.1) returns -2.0 Math.flr(2.1) returns 2.0 Math.flr(2.0) returns 2.0 Math.flr(-2.0) returns 2.0 Math.flr(-2.1) returns -3.0 Math.rint(2.1) returns 2.0 Math.rint(2.0) returns 2.0 Math.rint(-2.0) returns 2.0 Math.rint(-2.1) returns -2.0 Math.rint(2.5) returns 2.0 Math.rint(-2.5) returns -2.0 Math.rund(2.6f) returns 3 Math.rund(2.0) returns 2 Math.rund(-2.0f) returns -2 Math.rund(-2.6) returns -3 Numbers2.java 10

11 Runding Methds Examples Math.rund(x) returns int r a lng (depends n if the argument is a flat r a duble) int x = Math.rund (81.7); // This wn't wrk? Why? // 81.7 is a duble s need t stre result in lng int intresult = Math.rund (81.7f); lng lngresult = Math.rund(81.7); // Returns 82 - an int // Returns 82 - a lng CS1150 UC. Clrad Springs

12 Expnent Methds exp(duble a) Returns e raised t the pwer f a. lg(duble a) Returns the natural lgarithm f a. lg10(duble a) Returns the 10-based lgarithm f a. pw(duble a, duble b) Returns a raised t the pwer f b. Examples: Math.exp(1) returns 2.71 Math.lg(2.71) returns 1.0 Math.pw(2, 3) returns 8.0 Math.pw(3, 2) returns 9.0 Math.pw(3.5, 2.5) returns Math.sqrt(4) returns 2.0 Math.sqrt(10.5) returns 3.24 sqrt(duble a) Returns the square rt f a. 12

13 Trignmetric Methds sin(duble a) cs(duble a) tan(duble a) acs(duble a) asin(duble a) atan(duble a) Radians tradians(90) Examples: Math.sin(0) returns 0.0 Math.sin(Math.PI / 6) returns 0.5 Math.sin(Math.PI / 2) returns 1.0 Math.cs(0) returns 1.0 Math.cs(Math.PI / 6) returns Math.cs(Math.PI / 2) returns 0.0 tdegrees() 13

14 Trignmetric Methds Prvide an angle in radians duble sinofzer = Math.sin(0); // 0 is in radian System.ut.println ("Math.sin(0) = " + sinofzer); // Displays 0.0 Examples with a value in degrees duble angleinradians = Math.tRadians(60); // 60 is degree System.ut.println("Sixty degrees = " + angleinradians + " radians"); duble sinofangle = Math.sin(angleInRadians); System.ut.println ("Math.sin(60) = " + sinofangle); CS1150 UC. Clrad Springs

15 Case Study: Cmputing Angles f a Triangle x2, y2 A = acs((a * a - b * b - c * c) / (-2 * b * c)) c B a C B = acs((b * b - a * a - c * c) / (-2 * a * c)) C = acs((c * c - b * b - a * a) / (-2 * a * b)) A x3, y3 x1, y1 b Write a prgram that prmpts the user t enter the x- and y-crdinates f the three crner pints in a triangle and then displays the triangle s angles. Let s see CmputeAngle.java example. 15

16 Character Data Type Values: ne single character Use single qute x t represent a character (duble qutes xxx are fr Strings) } char middleinitial = 'M'; } char numcharacter = '4'; // Assigns digit character 4 t numcharacter } System.ut.println(numCharacter); // Displays 4 Placing a character in it is n lnger a char: it is a String (with ne char in it) } char middleinitial = "M"; // Errr - cannt cnvert String t char Example: Char1.java CS1150 UC. Clrad Springs

17 Base 10, base 2 and base 16 The Decimal Number System is als called "Base 10" There are 10 symbls (0,1,2,3,4,5,6,7,8 and 9) There is n symbl fr "ten". "10" is actually tw symbls put tgether, a "1" and a "0 Hw t get a number in base 10? Example: 23, 123 But dn't have t use 10 as a "Base". Culd use 2 ("Binary"), 16 ("Hexadecimal"), r any number UC. Clrad Springs

18 Base 10, base 2 and base 16 Binary (base 2) 000, 001, 010, 011, 100, Cmputers can nly recgnize 0/1 s Hexadecimal (base 16) Decimal: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 Hexadecimal: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F Example: 3BD UC. Clrad Springs

19 Character Data Type char letter = 'A'; (ASCII) Fur hexadecimal digits. char numchar = '4'; (ASCII) char letter = '\u0041'; (Unicde) char numchar = '\u0034'; (Unicde) NOTE: The increment and decrement peratrs can als be used n char variables t get the next r preceding ASCII/Unicde character. Fr example, the fllwing statements display character b. char ch = 'a'; System.ut.println(++ch); 19

20 What s ASCII A cmputer cannt stre characters The nly thing it can stre and wrk with are bits A bit can nly have tw values: 1 r 0 (an "actual" bit is a blip f electricity that either is r isn't there) American Standard Cde fr Infrmatin Interchange (ASCII): 8-bit character scheme Prvides encding fr 128 characters (0 t 127) Based n rdering f English alphabet CS1150 UC. Clrad Springs

21 ASCII Cde fr Cmmnly Used Characters Characters Cde Value in Decimal Unicde Value '0' t '9' 48 t 57 \u0030 t \u0039 'A' t 'Z' 65 t 90 \u0041 t \u005a 'a' t 'z' 97 t 122 \u0061 t \u007a Mre infrmatin: 21

22 Unicde Frmat Java characters use Unicde, a 16-bit encding scheme t supprt texts in the wrld s diverse languages. Unicde takes tw bytes, preceded by \u, expressed in fur hexadecimal numbers: frm '\u0000' t '\uffff'. S, Unicde can represent characters. Unicde \u03b1 \u03b2 \u03b3 fr three Greek letters 22

23 Escape Sequences fr Special Characters (Cnsidered a Single character) 23

24 Casting between char and Numeric Types int i = 'a'; // Same as int i = (int)'a'; System.ut.println ( i = " + i); // i = 97 all numeric peratrs can be applied t the char perands char c = 97; // Same as char c = (char)97; System.ut.println ("c = " + c); // c = a Increment and decrement can be used n char variables t get the next r preceding ASCII/Unicde character. char ch = 'a'; System.ut.println(++ch); //shws character b 24

25 Cmparing and Testing Characters if (ch >= 'A' && ch <= 'Z') System.ut.println(ch + " is an uppercase letter"); else if (ch >= 'a' && ch <= 'z') System.ut.println(ch + " is a lwercase letter"); else if (ch >= '0' && ch <= '9') System.ut.println(ch + " is a numeric character"); all numeric peratrs can be applied t the char perands 25

26 Methds in the Character Class Methd Descriptin isdigit(ch) Returns true if the specified character is a digit. isletter(ch) Returns true if the specified character is a letter. isletterofdigit(ch) Returns true if the specified character is a letter r digit. islwercase(ch) Returns true if the specified character is a lwercase letter. isuppercase(ch) Returns true if the specified character is an uppercase letter. tlwercase(ch) Returns the lwercase f the specified character. tuppercase(ch) Returns the uppercase f the specified character. Like the Math class - yu dn't create an instance f this class 26

27 Methds in the Character Class if (Character.isUpperCase(c)) { System.ut.println( c is an uppercase letter"); System.ut.println ("Its lwercase versin is: " + Character.tLwerCase(c)); } Example: Char2.java CS1150 UC. Clrad Springs

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 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

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

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

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

CS5000: Foundations of Programming. Mingon Kang, PhD Computer Science, Kennesaw State University

CS5000: Foundations of Programming. Mingon Kang, PhD Computer Science, Kennesaw State University CS5000: Foundations of Programming Mingon Kang, PhD Computer Science, Kennesaw State University Mathematical Functions Java provides many useful methods in the Math class for performing common mathematical

More information

Chapter 4 Mathematical Functions, Characters, and Strings

Chapter 4 Mathematical Functions, Characters, and Strings Chapter 4 Mathematical Functions, Characters, and Strings Liang, Introduction to Java Programming, Tenth Edition, Global Edition. Pearson Education Limited 2015 1 Motivations Suppose you need to estimate

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

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 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

CS-201 Introduction to Programming with Java

CS-201 Introduction to Programming with Java CS-201 Introduction to Programming with Java California State University, Los Angeles Computer Science Department Lecture V: Mathematical Functions, Characters, and Strings Introduction How would you estimate

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

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

Introduction to functions in C

Introduction to functions in C Intrductin t functins in C Lecture Tpics Intrductin t functins in C Overview f C standard library Lecture materials Textbk 14.1, 14.2, 14.4 SP16 1 V. Kindratenk Intrductin t functins in C A functin in

More information

Mathematical Functions, Characters, and Strings. CSE 114, Computer Science 1 Stony Brook University

Mathematical Functions, Characters, and Strings. CSE 114, Computer Science 1 Stony Brook University Mathematical Functions, Characters, and Strings CSE 114, Computer Science 1 Stony Brook University http://www.cs.stonybrook.edu/~cse114 1 Static methods Remember the main method header? public static void

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

Mathematical Functions, Characters, and Strings. CSE 114, Computer Science 1 Stony Brook University

Mathematical Functions, Characters, and Strings. CSE 114, Computer Science 1 Stony Brook University Mathematical Functions, Characters, and Strings CSE 114, Computer Science 1 Stony Brook University http://www.cs.stonybrook.edu/~cse114 1 Static methods Remember the main method header? public static void

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

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

12. Numbers. Java. Summer 2008 Instructor: Dr. Masoud Yaghini

12. Numbers. Java. Summer 2008 Instructor: Dr. Masoud Yaghini 12. Numbers Java Summer 2008 Instructor: Dr. Masoud Yaghini Outline Numeric Type Conversions Math Class References Numeric Type Conversions Numeric Data Types (Review) Numeric Type Conversions Consider

More information

Chapter 5 Methods. Liang, Introduction to Java Programming, Ninth Edition, (c) 2013 Pearson Education, Inc. All rights reserved.

Chapter 5 Methods. Liang, Introduction to Java Programming, Ninth Edition, (c) 2013 Pearson Education, Inc. All rights reserved. Chapter 5 Methods 1 Opening Problem Find the sum of integers from 1 to 10, from 20 to 30, and from 35 to 45, respectively. 2 Problem int sum = 0; for (int i = 1; i

More information

CS110: PROGRAMMING LANGUAGE I

CS110: PROGRAMMING LANGUAGE I CS110: PROGRAMMING LANGUAGE I Computer Science Department Lecture 8: Methods Lecture Contents: 2 Introduction Program modules in java Defining Methods Calling Methods Scope of local variables Passing Parameters

More information

Chapter 5 Methods. Lecture notes for computer programming 1 Faculty of Engineering and Information Technology Prepared by: Iyad Albayouk

Chapter 5 Methods. Lecture notes for computer programming 1 Faculty of Engineering and Information Technology Prepared by: Iyad Albayouk Chapter 5 Methods Lecture notes for computer programming 1 Faculty of Engineering and Information Technology Prepared by: Iyad Albayouk ١ Introducing Methods A method is a collection of statements that

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

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

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

To define methods, invoke methods, and pass arguments to a method ( ). To develop reusable code that is modular, easy-toread, easy-to-debug,

To define methods, invoke methods, and pass arguments to a method ( ). To develop reusable code that is modular, easy-toread, easy-to-debug, 1 To define methods, invoke methods, and pass arguments to a method ( 5.2-5.5). To develop reusable code that is modular, easy-toread, easy-to-debug, and easy-to-maintain. ( 5.6). To use method overloading

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

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

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

Flying into Trig on a Paper Plate

Flying into Trig on a Paper Plate Flying int Trig n a Paper Plate Warm-up: 1. Label the quadrants:. Classify the fllwing angles as btuse, acute r right: a) b) 91 c) 90 d) 18. Add the fllwing fractins (withut a calculatr!) a) + 5 b) 1 8

More information

Higher Check In Triangle mensuration. 5. Calculate angle K, giving your answer to 3 significant figures. 158 m. 195 m A cm.

Higher Check In Triangle mensuration. 5. Calculate angle K, giving your answer to 3 significant figures. 158 m. 195 m A cm. Higher Check In - 10.05 Triangle mensuratin 1. Calculate angle, giving yur answer t 3 significant figures. 158 m 195 m. Calculate angle B, giving yur answer t 3 significant figures. B A 65 C 3. Calculate

More information

Chapter 5 Methods. Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved.

Chapter 5 Methods. Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved. Chapter 5 Methods 1 Opening Problem Find the sum of integers from 1 to 10, from 20 to 30, and from 35 to 45, respectively. 2 Problem int sum = 0; for (int i = 1; i

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

HOW-TO Use SAP SUIM OR RSUSR008_009_NEW to Analysing Critical Authorisations

HOW-TO Use SAP SUIM OR RSUSR008_009_NEW to Analysing Critical Authorisations HOW-TO Use SAP SUIM OR RSUSR008_009_NEW t Analysing Critical Authrisatins Len Ye Cntents Preface... 2 Access the Prgram... 2 Analysing Users with Critical Authrisatins... 3 Defining Critical Authrisatins...

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

Module 4: Characters, Strings, and Mathematical Functions

Module 4: Characters, Strings, and Mathematical Functions Module 4: Characters, Strings, and Mathematical Functions Objectives To solve mathematics problems by using the methods in the Math class ( 4.2). To represent characters using the char type ( 4.3). To

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

Using UB Stream and UBlearns

Using UB Stream and UBlearns Using UB Stream and UBlearns Instructrs can nw uplad vides/audi r create a vide using their webcam in UBLearns. There is a new mashup tl (MEDIAL) that allws yu t uplad yur media files t UB s streaming

More information

Procurement Contract Portal. User Guide

Procurement Contract Portal. User Guide Prcurement Cntract Prtal User Guide Cntents Intrductin...2 Access the Prtal...2 Hme Page...2 End User My Cntracts...2 Buttns, Icns, and the Actin Bar...3 Create a New Cntract Request...5 Requester Infrmatin...5

More information

It has hardware. It has application software.

It has hardware. It has application software. Q.1 What is System? Explain with an example A system is an arrangement in which all its unit assemble wrk tgether accrding t a set f rules. It can als be defined as a way f wrking, rganizing r ding ne

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

Common Language Runtime

Common Language Runtime Intrductin t.net framewrk.net is a general-purpse sftware develpment platfrm, similar t Java. Micrsft intrduced.net with purpse f bridging gap between different applicatins..net framewrk aims at cmbining

More information

TECHNICAL REQUIREMENTS

TECHNICAL REQUIREMENTS TECHNICAL REQUIREMENTS Table f Cntent PLATFORMS... 2 CONNECTION SPEED... 2 SUPPORTED BROWSERS... 2 ARMENIAN LANGUAGE SUPPORT... 2 Windws XP... 2 Windws Vista... 3 Windws 7... 4 Windws 8... 5 MAC OS...

More information

TL 9000 Quality Management System. Measurements Handbook. SFQ Examples

TL 9000 Quality Management System. Measurements Handbook. SFQ Examples Quality Excellence fr Suppliers f Telecmmunicatins Frum (QuEST Frum) TL 9000 Quality Management System Measurements Handbk Cpyright QuEST Frum Sftware Fix Quality (SFQ) Examples 8.1 8.1.1 SFQ Example The

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

Chapter 5 Methods / Functions

Chapter 5 Methods / Functions Chapter 5 Methods / Functions 1 Motivations A method is a construct for grouping statements together to perform a function. Using a method, you can write the code once for performing the function in a

More information

Solving Problems with Trigonometry

Solving Problems with Trigonometry Cnnectins Have yu ever... Slving Prblems with Trignmetry Mdeled a prblem using a right triangle? Had t find the height f a flagple r clumn? Wndered hw far away a helicpter was? Trignmetry can be used t

More information

Managing Your Access To The Open Banking Directory How To Guide

Managing Your Access To The Open Banking Directory How To Guide Managing Yur Access T The Open Banking Directry Hw T Guide Date: June 2018 Versin: v2.0 Classificatin: PUBLIC OPEN BANKING LIMITED 2018 Page 1 f 32 Cntents 1. Intrductin 3 2. Signing Up 4 3. Lgging In

More information

Transferring a BERNINA V8 software license

Transferring a BERNINA V8 software license Transferring a BERNINA V8 sftware license Intrductin Yu can use the RUS utility (Remte Update System) t transfer a Bernina V8 sftware license frm ne cmputer (the surce cmputer) t anther (the recipient

More information

Higher Maths EF1.2 and RC1.2 Trigonometry - Revision

Higher Maths EF1.2 and RC1.2 Trigonometry - Revision Higher Maths EF and R Trignmetry - Revisin This revisin pack cvers the skills at Unit Assessment and exam level fr Trignmetry s yu can evaluate yur learning f this utcme. It is imprtant that yu prepare

More information

Tutorial 5: Retention time scheduling

Tutorial 5: Retention time scheduling SRM Curse 2014 Tutrial 5 - Scheduling Tutrial 5: Retentin time scheduling The term scheduled SRM refers t measuring SRM transitins nt ver the whle chrmatgraphic gradient but nly fr a shrt time windw arund

More information

STUDIO DESIGNER. Design Projects Basic Participant

STUDIO DESIGNER. Design Projects Basic Participant Design Prjects Basic Participant Thank yu fr enrlling in Design Prjects 2 fr Studi Designer. Please feel free t ask questins as they arise. If we start running shrt n time, we may hld ff n sme f them and

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

These tasks can now be performed by a special program called FTP clients.

These tasks can now be performed by a special program called FTP clients. FTP Cmmander FAQ: Intrductin FTP (File Transfer Prtcl) was first used in Unix systems a lng time ag t cpy and mve shared files. With the develpment f the Internet, FTP became widely used t uplad and dwnlad

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

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

CSCI L Topics in Computing Fall 2018 Web Page Project 50 points

CSCI L Topics in Computing Fall 2018 Web Page Project 50 points CSCI 1100-1100L Tpics in Cmputing Fall 2018 Web Page Prject 50 pints Assignment Objectives: Lkup and crrectly use HTML tags in designing a persnal Web page Lkup and crrectly use CSS styles Use a simple

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

Step 3:- You Will See the Sign-in Page. Then Enter your Login ID & Password and Click on the Sign in Button.

Step 3:- You Will See the Sign-in Page. Then Enter your Login ID & Password and Click on the Sign in Button. Client User Guide Hme Page Fr Client:- Step 1:- Open a Web brwser n yur Cmputer System Step 2:- Type this URL in search bar www.lgnutility.in Step 3:- Yu Will See the Sign-in Page. Then Enter yur Lgin

More information

Using CppSim to Generate Neural Network Modules in Simulink using the simulink_neural_net_gen command

Using CppSim to Generate Neural Network Modules in Simulink using the simulink_neural_net_gen command Using CppSim t Generate Neural Netwrk Mdules in Simulink using the simulink_neural_net_gen cmmand Michael H. Perrtt http://www.cppsim.cm June 24, 2008 Cpyright 2008 by Michael H. Perrtt All rights reserved.

More information

I - EDocman Installation EDocman component EDocman Categories module EDocman Documents Module...2

I - EDocman Installation EDocman component EDocman Categories module EDocman Documents Module...2 I - EDcman Installatin...2 1 - EDcman cmpnent...2 2 - EDcman Categries mdule...2 3 - EDcman Dcuments Mdule...2 4 - EDcman Search Plugin...3 5 - SH404 SEF plugin...3 II - Using EDcman extensin...3 I - EDcman

More information

CS5530 Mobile/Wireless Systems Android UI

CS5530 Mobile/Wireless Systems Android UI Mbile/Wireless Systems Andrid UI Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang UC. Clrad Springs cat annunce.txt_ Assignment 2 will be psted sn Due after midterm I will be

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

Computer Programming, I. Laboratory Manual. Experiment #4. Mathematical Functions & Characters

Computer Programming, I. Laboratory Manual. Experiment #4. Mathematical Functions & Characters Think Twice Code Once The Islamic University of Gaza Engineering Faculty Department of Computer Engineering Fall 2017 ECOM 2005 Khaleel I. Shaheen Computer Programming, I Laboratory Manual Experiment #4

More information

Information about the ACC Education App Featuring ACCSAP 9

Information about the ACC Education App Featuring ACCSAP 9 Infrmatin abut the ACC Educatin App Featuring ACCSAP 9 Key Features: This app is designed t be a study tl fr select educatinal prducts. It des nt include all features and functinality f the nline prtin

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

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

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

Outlook Web Application (OWA) Basic Training

Outlook Web Application (OWA) Basic Training Outlk Web Applicatin (OWA) Basic Training Requirements t use OWA Full Versin: Yu must use at least versin 7 f Internet Explrer, Safari n Mac, and Firefx 3.X. (Ggle Chrme r Internet Explrer versin 6, yu

More information

MATH PRACTICE EXAM 2 (Sections 2.6, , )

MATH PRACTICE EXAM 2 (Sections 2.6, , ) MATH 1050-90 PRACTICE EXAM 2 (Sectins 2.6, 3.1-3.5, 7.1-7.6) The purpse f the practice exam is t give yu an idea f the fllwing: length f exam difficulty level f prblems Yur actual exam will have different

More information

Concentrix University Learning Portal FAQ Document

Concentrix University Learning Portal FAQ Document Cncentrix University Learning Prtal FAQ Dcument Belw are answers t sme cmmnly asked questins abut the Cncentrix University Learning Prtal. If yu d nt see an answer t yur questin, there are cntacts fr additinal

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

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

Uploading Your Catalogue

Uploading Your Catalogue Uplading Yur Catalgue Creating a Catalgue A simple timed auctin catalgue shuld cntain fur kinds f infrmatin: Lt Number Descriptin Start Price Reserve The best way t frmat yur catalgue is t use Micrsft

More information

TaiRox Mail Merge. Running Mail Merge

TaiRox Mail Merge. Running Mail Merge TaiRx Mail Merge TaiRx Mail Merge TaiRx Mail Merge integrates Sage 300 with Micrsft Wrd s mail merge functin. The integratin presents a Sage 300 style interface frm within the Sage 300 desktp. Mail Merge

More information

EBSCOhost User Guide Print/ /Save. Print, , Save, Notetaking, Export, and Cite Your Search Results. support.ebsco.com

EBSCOhost User Guide Print/ /Save. Print,  , Save, Notetaking, Export, and Cite Your Search Results. support.ebsco.com EBSCOhst User Guide Print/E-Mail/Save Print, E-mail, Save, Ntetaking, Exprt, and Cite Yur Search Results supprt.ebsc.cm Table f Cntents Inside this User Guide... 3 Printing Yur Results... 3 E-mailing Yur

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

RxAXIS Security Module 09/25/2013

RxAXIS Security Module 09/25/2013 RxAXIS Security Mdule 09/25/2013 Lessn Title Intrductin: Security Mdule In this tutrial we are ging t lk at the Security Maintenance Mdule f the RxAXIS system. When used, this system gives emplyees access

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

CS4500/5500 Operating Systems Synchronization

CS4500/5500 Operating Systems Synchronization Operating Systems Synchrnizatin Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang UC. Clrad Springs Recap f the Last Class Multiprcessr scheduling Tw implementatins f the ready

More information

Project 3 Specification FAT32 File System Utility

Project 3 Specification FAT32 File System Utility Prject 3 Specificatin FAT32 File System Utility Assigned: Octber 30, 2015 Due: Nvember 30, 11:59 pm, 2015 Yu can use the reminder f the slack days. -10 late penalty fr each 24-hur perid after the due time.

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

Maintaining order. A small student database. Managing databases. Representing table of student data. Sorting and searching

Maintaining order. A small student database. Managing databases. Representing table of student data. Sorting and searching Maintaining rder Srting and searching A small student database ID# First Last Year Majr 1 Jane Williams 2007 BISC 2 Ann Smith 2009 CS GPA 3.3 2.8 3 Susan Jnes 2008 ARTS 3.1 4 Claire French 2007 ENG 2.7

More information

Client Configurations

Client Configurations Email Client Cnfiguratins Chse ne f the links belw fr yur particular email client. Easy t use instructins will help yu change the settings n yur email client t ur settings. Recmmended Email Settings Incming

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

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

Introduction to CS111 Part 2: Big Ideas

Introduction to CS111 Part 2: Big Ideas What is Cmputer Science? Intrductin t CS111 Part 2: Big Ideas CS111 Cmputer Prgramming Department f Cmputer Science Wellesley Cllege It s nt really abut cmputers. It s nt really a science. It s abut imperative

More information

CSE 3320 Operating Systems Synchronization Jia Rao

CSE 3320 Operating Systems Synchronization Jia Rao CSE 3320 Operating Systems Synchrnizatin Jia Ra Department f Cmputer Science and Engineering http://ranger.uta.edu/~jra Recap f the Last Class Multiprcessr scheduling Tw implementatins f the ready queue

More information

PaperStream Capture change history

PaperStream Capture change history PaperStream Capture change histry Versin 2.0.1 New features: 1. Ad hc scan is added, which allws yu t mdify sme f the settings (scanner setting, destinatin setting, etc.) extempre and scan withut changing

More information

Because of security on the site, you cannot create a bookmark through the usual means. In order to create a bookmark that will work consistently:

Because of security on the site, you cannot create a bookmark through the usual means. In order to create a bookmark that will work consistently: The CllegeNet URL is: https://admit.applyweb.cm/admit/shibbleth/crnell Lg in with Crnell netid and Kerbers passwrd Because f security n the site, yu cannt create a bkmark thrugh the usual means. In rder

More information

CHAPTER 4 MATHEMATICAL FUNCTIONS, CHARACTERS, STRINGS

CHAPTER 4 MATHEMATICAL FUNCTIONS, CHARACTERS, STRINGS CHAPTER 4 MATHEMATICAL FUNCTIONS, CHARACTERS, STRINGS ACKNOWLEDGEMENT: THESE SLIDES ARE ADAPTED FROM SLIDES PROVIDED WITH INTRODUCTION TO JAVA PROGRAMMING, LIANG (PEARSON 2014) MATHEMATICAL FUNCTIONS Java

More information

Code should compile and demonstrate proper programming style; e.g., whitespace, identifier naming, etc.

Code should compile and demonstrate proper programming style; e.g., whitespace, identifier naming, etc. Name: E-mail ID: On my hnr, I pledge that I have neither given nr received help n this test. Signature: Test rules and infrmatin Print yur name, id, and pledge as requested. The nly paper yu can have in

More information

Chapter 5 Methods. Modifier returnvaluetype methodname(list of parameters) { // method body; }

Chapter 5 Methods. Modifier returnvaluetype methodname(list of parameters) { // method body; } Chapter 5 Methods 5.1 Introduction A method is a collection of statements that are grouped together to perform an operation. You will learn how to: o create your own mthods with or without return values,

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

How to Mass Assign Student Course Requests

How to Mass Assign Student Course Requests Hw t Mass Assign Student Curse Requests It is pssible that an entire grade level r grup f students will need t request the same curse r curses. If this is the case, yu have the ptin f mass assigning curse

More information

COMPUTER SCIENCE COMPETITION - JAVA TOPIC LIST

COMPUTER SCIENCE COMPETITION - JAVA TOPIC LIST COMPUTER SCIENCE COMPETITION - JAVA TOPIC LIST 2003-04 IMPORTANT NOTES: UIL Cmputer Science will begin using Java as its fficial prgramming language in the 2003-04 schl year. The written test tpic list

More information

3 AXIS STAGE CONTROLLER

3 AXIS STAGE CONTROLLER CORTEX CONTROLLERS 50, St Stephen s Pl. Cambridge CB3 0JE Telephne +44(0)1223 368000 Fax +44(0)1223 462800 http://www.crtexcntrllers.cm sales@crtexcntrllers.cm 3 AXIS STAGE CONTROLLER Instructin Manual

More information

Relius Documents ASP Checklist Entry

Relius Documents ASP Checklist Entry Relius Dcuments ASP Checklist Entry Overview Checklist Entry is the main data entry interface fr the Relius Dcuments ASP system. The data that is cllected within this prgram is used primarily t build dcuments,

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