This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Assignment for logic and numeric……………………………..……………….…..…..6 Microsoft office Word……………………………………………………………........12 Microsoft office Excel………………………………………………………….……...15 Python Programming…………………………………………………………………..22
រយៈ:ច្ចេ�លបច្ចេង់�3តិ ៖ ១៨២២ បច្ចេង់�3តិច្ចេដ្ឋាយៈ Charles Baggages មា� ស�3នគ តិច្ចេលខស&រាប"ព្វាA ជំ9�ម្ពុ1 ម្ពុ នព្រះតិgម្ពុណែតិមានសម្ពុតិ�ភ្នា��%�ង់ការគAនា វា�aអាចច្ចេធី[3ការវិ �ភ្នាគ ព្រះប�\ន]គAនា ព្រះប�\ន]បញ្ចូ�(ល ន ង់បច្ចេញ្ចូ�ញទ្យា ន%ន\យៈ រយៈ:ច្ចេ�លបច្ចេង់�3តិ ៖ ១៩៤៥ ច្ចេដ្ឋាយៈច្ចេលា� ៖ John Von Neuman គ&ន តិ�&ប(ង់បង់xស"ថ្ងៃនព្រះប�\ន]មា� ស�3ន��&�C(ទ្យា\រ�&ប(ង់បង់xស" មានសម្ពុតិ�ភ្នា��%�ង់ការគAនា ន ង់ច្ចេធី[3ការវិ �ភ្នាគច្ចេដ្ឋាយៈ�ម្ពុ1វិ �ធី3 ព្រះប�\ន]វិ �ភ្នាគទ្យា ន%ន\យៈ ព្រះប�\ន]គAនាទ្យា ន%ន\យៈ ព្រះប�\ន]Wf��ទ្យា ន%ន\យៈ ព្រះប�\ន]បញ្ចូ�(ល (Input) ន ង់ បច្ចេញ្ចូ�ញទ្យា ន%ន\យៈ (Output) រយៈ:ច្ចេ�លបច្ចេង់�3តិ ៖ ១៩៤៣ - ១៩៤៦ John William Mauchly ន ង់ J.Presper Eckert, ថ្ងៃនម្ពុហាវិ�ទ្យា�ល\យៈ University of
Pennsylvania បច្ចេង់�3តិព្រះប�\ន]មា� ស�3ន��&�C(ទ្យា\រ�&ប(ង់បង់xស"តាម្ពុគ&ន តិរបស" John Von Neuman ENIAC (Electronic Numerical Intergrator and Computer)
Speed: 5000 operations per second, multiplication in 3ms (H/W/S): 3.048m, 30T, 1000squre meters ច្ចេព្រះប3ព្រះប៉ាស"Vacuume Tubes 18000 អ&�(ល ច្ចេព្រះប3ព្រះប៉ាស"ថ្នាម្ពុ�ល 150kw
២. វិ �ធី3សាព្រះស/(Methodology)Answer of assignment for logic and numeric
Institute of Technology of Cambodia Information Technology
3. What is this?
It is a Central Processing Unit (CPU)
4. What is this?
They are Input devices for gaming (Joystick and Racing wheels).
5. What is a program?
Program is a specific set of ordered operations for a computer to perform.
6. What is a file?
File is a combination of data that represent documents or any information.
7. What is a Microsoft Word?
Microsoft Word is a program using for report and other documents that is fulfill of convenient and quality meaning that it provide the way to decorate and prepare the data in any document as what we want.
8. What is the Algorithm?Algorithm is the ways to solve problems step by step and continuously until we are able to find the answer.
9. What is the Hardware?
Hardware is an electric tool which joins on the reaction of computer and we can touch it by your hand.
10. What is the Software?
Software is a soft part, combination of programs that order hardware to run any work and give the result that user want.
II. Draw a line from the word to the correct definition
1 Personal Computer Aa word processing program that you can use to type, save, and print documents
2 Spell Check BThe line or arrow that you control by moving the mouse.
3 Operating System CEarphones and a microphone that you wear on your head.
4 Cursor DSymbols or pictures that you can click on to perform an action. Each program has its own i con.
5 Headset E The tools you can use tell the computer what to Page | 10
Institute of Technology of Cambodia Information Technology
do. For example you can open programs and fills by clicking or double clicking.
6 Mouse FThe most important program in your computer. This program is like the “manager” of all of the other programs.
7 Screen Saver GA computer that is made to use the Windows operating system. There are two basic kinds of computer PCs and Macs.
8 Icon HA design on the screen that turns on if you don’t use your computer for a few minutes.
9 Laptop IOrganizes information into rows and columns and often uses math and numbers.
10 Spreadsheet JWhen you’re using Microsoft Word, you can click on this button to look for spelling and grammar mistakes.
1. Operating System F c
2. Cursor B c
3. Spell Check J c
4. Laptop G c
5. Headset C c
6. Icon D c
7. Mouse E c
8. Screen Saver H c
9. Spreadsheet I c
10. Personal Computer A c
III. Microsoft Word 2013 Screen
Page | 11
4
89
710
6
532
1
Institute of Technology of Cambodia Information Technology
1. File button
2. Quick Access Toolbar
3. Title bar
4. Minimize bar
5. Restore Down bar
6. Text Boundaries
7. Scroll bar
8. Zoom bar
9. Status Toolbar
10. Rulers bar
Answer of Assignment for Ms. Excel
Exercise 1: Using Excel’s AND, OR and NOT Function
A
1 The Data
2 15
3 9
4 8
Page | 12
Institute of Technology of Cambodia Information Technology
A. Write an AND formula to determine if A2>A3 and A2<A4 is true or false statement.
If A2>A3 and A2<A4 is false statement
B. Write an OR formula to determine if A2>A3 and A2<A4 is true or false statement.
If A2>A3 and A2<A4 is true statement
C. Write a formula that expresses that A2+A3=24 is a false statement.
We use NOT formula to determine A2+A3=24 is a false statement
Exercise 2: Using Excel’s IF Function
A
1 The Data
2 50
A. Write an IF statement so that if the number in cell A2 is less than 100 the formula displays the text “Within budget”, otherwise the formula displays the text “Over budget”.
=if (A 2<100 ,within budget ,Over budget)
B. Write an IF statement so that if the number in cell A2 is 100 then the formula sums the range B5:B15.Otherwise, the formula returns a blank(empty text)
=if ¿)
Exercise 3: More Practice with IF Function
A If score is Then return
1 Scores Greater than 89 A
2 45 From 80 to 89 B
3 90 From 70 to 79 C
4 78 From 60 to 69 D
Less than 60 E
A. Write an IF statement to assign a letter grade to the score in cell A2.
Exercise 4: Building & Using a Nested IF Statement
A B
1 cost/gallon for the first 500 gallons $23
2 cost/gallon for next 500 gallons $20
3 cost/gallon for gallons>1,000 $15
4
5 16006 4837 2001
Write two formulas using nested IF statement to calculate the cost of the quantities of olive oil listed in Cell A6 (483 gallons) and Cell A7 (2,001 gallons) above.
An Excel nested IF function can be written with this syntax: =IF(condition-to-test,IF(condition-to-test, value-if-condition-true, value-if-condition-false), value-if-condition-true, value-if-condition-false)
For example, one formula to find the cost for 1,600 gallons is:=IF(A5<=500,A5*$B$1,IF(A5<=1000,(500*$B$1)+(A5-500)*$B$2,(500*$B$1)+ (500*$B$2)+(A5-1000)*$B$3))
A. Write a formula to find the cost of 483 gallons.
Exercise 5: The IF, the MIN, and the SUMPRODUCT Function
Page | 14
Institute of Technology of Cambodia Information Technology
The price schedule for olive oil is the same but the data layout has changed, as illustrated below. In this view, the costs for each of the quantities (Cells G6 through I6) have already been calculated. The answers are in Cells G12:I12
Write formulas that use the MIN function, the IF function (nested), and the SUMPRODUCT function to calculate the quantities of olive oil listed in Cells H6 (483 gallons) and I6(2,001 gallons), above.
The syntax of Excel’s MIN function is: =MIN(number1,number2, ...)One way to write Excel’s nested IF function is: =IF(condition-to-test, IF(condition-to-test, value-if-condition-true, value-if-condition-false), value-condition-true, value-if-condition-false).
Excel’s SUMPRODUCT function multiplies corresponding components in the given ranges and returns the sum of those products. One way to write Excel’s SUMPRODUCT function is: =SUMPRODUCT(range1, range2) where ranges 1 and 2 hold components you want to multiply and then add. (Both ranges must be the same length.)
B C D E F G
6 1600
7 gallons
8 Price Schedule gals/price level
9 First 500 gallons at $23.00 500
10 next 500 gallons at $20.00 500
11 any additional gallons at $15.00 600
12 cost $30,500.00
For example, formulas to calculate the cost of 1,600 gallons are located below in Cells G9, G10, G11 and G12
B C D E F G
6 1600
Page | 15
Institute of Technology of Cambodia Information Technology
7 Gallons
8 Price Schedule gals/price level
9 First 500 gallons at $23.00 =MIN(G6,$C$9)10 next 500 gallons at $20.00
=MAX(IF(G$6<$C$9+$C$10,G$6-$C$9,$C$10),0)
11 any additional gallons at $15.00
=IF(G$6>1000,G$6-1000,0)
12
cost =SUMPRODUCT($E$9:$E$11,G9:G11)
A. Write the four formulas to calculate the cost of 483 gallons.
Exercise 6: Calculate Employee Retirement & Health Plan
A company contributes to each eligible employee’s retirement plan at the rate of 4% of the employee’s annual salary. However, to be eligible for this benefit, an employee must have full-time status with two or more years of employment. A calculation for the retirement contribution requires a test of two conditions: Full-time status and number of years of employment. A graphical view of
the conditions to test might look like this illustration:
Page | 16
Yes
Yes
No
No
No retirement benifit Benefit=salary*4%
>=2yrs employmt?
Full time
Start
Institute of Technology of Cambodia Information Technology
There are three retirement contribution possibilities to account for:- An employee works full time AND has been employed two or more years. The retirement
benefit applies.- An employee works full time but has NOT been employed two or more years. The
retirement benefit does not apply.- An employee does NOT work full time. The retirement benefit does not apply.
You can account for these three possibilities in a single formula. Write your formula using logical functions. There’s more than one way to write this formula. For example, you might use both the IF and AND statement or you could express the same thing with a nested IF statement.
B C D E F G H
8 NameEmployment
status
Health Plan
SalaryHireDate
# YearsEmployed
RetirementContribution
9 Gopnik Part time Family $45,000 Jan-98 510 Mahfouz Full time Family $120,000 May-89 1311 Bryson Full time Individual $145,000 Mar-01 212 Peters Full time Individual $100,000 Nov-00 213 Deviles Full time Individual $115,000 Jul-97 514 Talento Part time Family $55,000 Aug-95 715 Yang Full time Other plan $95,000 Apr-99 416 Marks Part time Family $15,000 May-01 117 Heller Full time Family $124,000 Oct-00 2
A. Write the formula to calculate the Retirement Contribution for Gopnik. You should be able to copy this formula down the column to get valid values for employees Mahfouz through Heller.
B H
8 NameRetirement
Contribution
9 Gopnik=IF(AND(G9>=2,C9=" Part time"),E9*0%,IF(AND(G9>=2,C9="Full time"),E9*4%, IF(AND(G9<2,C9="Full time"),E9*0%,IF(AND(G9<2,C9="Part time "),E9*0%))))
The company supplies two health plan options:- Up to $10K of annual coverage for employees who choose the family plan.- Up to $8K of annual coverage for employees who choose the individual plan.
These benefits do not apply if the employee or employee-and-family is already covered by some other health plan. A calculation for health insurance requires a test of three conditions: Individual, Family, and Already Covered. A graphical view of the conditions to test might look like this illustration that follows.
Page | 18
Yes
Yes
No
No
No retirement benifit Benefit=salary*4%
>=2yrs employmt?
Full time
Start
Institute of Technology of Cambodia Information Technology
B C D E F G H I
8 NameEmployment
status
Health Plan
SalaryHireDate
# YearsEmployed
RetirementContribution
Health Plan Cost
9 Gopnik Part time Family $45,000 Jan-98 5 $0 $10
10 Mahfouz Full time Family $120,000May-
8913 $4,800 $4,810
11 Bryson Full time Individual $145,000 Mar-01 2 $5,600 $5,60812 Peters Full time Individual $100,000 Nov-00 2 $4,000 $4,00813 Deviles Full time Individual $115,000 Jul-97 5 $4,600 $4,60814 Talento Part time Family $55,000 Aug-95 7 $0 $10
15 Yang Full timeOther plan
$95,000 Apr-99 4 $3,800 $3,800
16 Marks Part time Family $15,000May-
011 $0 $10
17 Heller Full time Family $124,000 Oct-00 2 $4,960 $4,970
B. Write the formula to calculate the Health Plan Cost for Gopnik. You should be able to copy this formula down the column to get valid values for employees Mahfouz through Heller.