Elle Joy Vasquez
Preliminary Test 04
Create a Python function that takes a list of n integers and returns the largest number among the n integers.
Elle Joy Vasquez
Preliminary Test 03
Create a Python function that takes a list and returns a new list with unique elements of the first list.
Sample List: [1,2,3,3,3,3,4,5]
Unique List: [1, 2, 3, 4, 5]
Create a class called Employee to represent the details of an Employee. a) Include the following data members to the Employee class. EmpId, name, address (all are string data) b) Your class should have a constructor that initializes all instance variables. c) Include a method called void Read() which will input the above values from the keyboard d) Include a method called void Print() to display the properties
What is the circulatory system of a cattle and how its circulatory features help it for adaptations? (5)
What is the digestive system of a cattle and how it digestive features help it for adaptations? (5)
What is the skeletal system of a cattle and how its skeletal features contribute to its adaptations? (5)
A. Cr2O7 -2 + 2OH- → 2Cr2O4 -2 + H2O
Redox or Nonredox?
If REDOX:
Balanced equation:
Oxidizing agent:
Reducing agent:
Receive a number and determine whether it is odd or even.
A meter stick which is 100 cm is moving with an observed length of 60 cm. What is its speed?
Receive a number and determine whether it is odd or even.
2. Obtain two numbers from the keyboard, and determine and display which (if either) is the larger of the two numbers.
3. Receive 3 numbers and display them in ascending order from smallest to largest
4. Add the numbers from 1 to 100 and display the sum
5. Add the even numbers between 0 and any positive integer number given by the user.
6. Find the average of two numbers given by the user.
7. Find the average, maximum, minimum, and sum of three numbers given by the user.
8. Find the area of a circle where the radius is provided by the user.
9. Swap the contents of two variables using a third variable.
10. Swap the content of two variables without using a third variable.
11. Read an integer value from the keyboard and display a message indicating if this number is odd or even.
12. read 10 integers from the keyboard in the range 0 - 100, and count how many of them are larger than 50, and display this result