Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 CSE 1520 -- Computer Use: Fundamentals Week 5: Glade Manual Chapter 4 Gates and Circuits (Dale & Lewis Ch. 4)

Similar presentations


Presentation on theme: "1 CSE 1520 -- Computer Use: Fundamentals Week 5: Glade Manual Chapter 4 Gates and Circuits (Dale & Lewis Ch. 4)"— Presentation transcript:

1 1 CSE 1520 -- Computer Use: Fundamentals Week 5: Glade Manual Chapter 4 Gates and Circuits (Dale & Lewis Ch. 4)

2 Glade Manual 2 CSE 1520 -- Computer Use: Fundamentals Ch. 4 – More on Logical, Information, and Text Functions Go to “Resources” “Support Files” “Chapter 4” There are 2 exercises in Ch. 4 In exercise 1, there are 3 sub-exercises (Ex 1.1, 1.2, 1.3)

3 Glade Manual – Chapter 4 3 CSE 1520 -- Computer Use: Fundamentals Logical Functions: There are seven functions listed in the logical category in Excel – the functions AND, FALSE, IF, NOT, OR, TRUE and IFERROR. The more traditional Boolean operators are AND, OR, NOT. These are used to build complex Boolean expressions. NOT() is the inverter. So NOT (TRUE) = FALSE NOT (FALSE) = TRUE

4 Glade Manual – Chapter 4 4 CSE 1520 -- Computer Use: Fundamentals IS Functions: FunctionReturns TRUE if ISBLANK (Reference)Reference refers to an empty cell ISERR (Reference)Reference refers to any error Reference except #N/A. ISERROR (Reference)Reference refers to any error Reference (#N/A, #REFERENCE!, #REF!, #DIV/0!, #NUM!, #NAME?, or #NULL!). ISLOGICAL (Reference)Reference refers to a logical Reference ISNA (Reference)Reference refers to the #N/A (Reference not available) error Reference. ISNONTEXT (Reference)Reference refers to any item that is not text. (Note that this function returns TRUE if Reference refers to a blank cell.) ISNUMBER (Reference)Reference refers to a number. ISREF (Reference)Reference refers to a reference. ISTEXT (Reference)Reference refers to text. These functions are often used as the Logical_test in an IF function.

5 Glade Manual – Chapter 4 5 CSE 1520 -- Computer Use: Fundamentals Example: it's possible that the cell a formula will use as the divisor might be blank. The formula would then produce an error because the blank cell has value 0, and division by 0 is impossible For example: a column called “Average” that calculates the formula: “Total/Count” could be calculated as follows: = IF (ISBLANK (Count), "", Total / Count) This formula “looks” at the current value of “Count” to see if the cell is empty. If it is, the cell is left blank.

6 Glade Manual – Chapter 4 6 CSE 1520 -- Computer Use: Fundamentals Text Functions: FunctionReturns TRUE if LEFTReturns the leftmost characters from a text value RIGHTReturns the rightmost characters from a text value MIDReturns a specific number of characters from a text string starting at the position you specify LENReturns the number of characters in a text string EXACTChecks to see if two text values are identical CONCATENATEJoins several text items into one text item UPPERConverts text to uppercase LOWERConverts all uppercase letters in a text string to lowercase. TEXTFormats a number and converts it to text VALUEConverts a text argument to a number

7 Glade Manual – Chapter 4 7 CSE 1520 -- Computer Use: Fundamentals Text Functions: Example 2: = MID ("Hi ho", 2, 3) produces the string “i h”, i.e. 3 characters starting from position 2 Example 1: = LEFT ("Hi ho", 2) returns the string “Hi”. It copies 2 characters from the left end of the string.

8 Glade Manual – Chapter 4: Homework 8 CSE 1520 -- Computer Use: Fundamentals Ex 1.2 In the “Accounts” sheet. It lists “Surnames” and “Given Names” for a group of fictitious people. Your task is to create another column in which to calculate each person’s user identification number. The rule for these IDs is to join the first letter of the “Given Name” to the whole “Surname”, and convert the resulting string to UPPERCASE. The logic procedure should be: 1.Use “LEFT” to get the leftmost character from “Given Name” 2. Use “CONCATENATE” to combine the result from step 1 and the “Surname” 3. Use “UPPER” to convert the resulting string to UPPERCASE

9 Glade Manual – Chapter 4 9 CSE 1520 -- Computer Use: Fundamentals Ex 1.3 In this exercise you implement a spreadsheet that converts 8-digit (natural) binary numbers to decimal with the 8-digit binary number has the form: The formula that converts 8-digit (natural) binary numbers to decimal is: Example: the 8-bit binary numbers 0000 0110 is converted to decimal 6:


Download ppt "1 CSE 1520 -- Computer Use: Fundamentals Week 5: Glade Manual Chapter 4 Gates and Circuits (Dale & Lewis Ch. 4)"

Similar presentations


Ads by Google